]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/src/mac/windows_wrap.cpp
Add some ownerdraw methods to ListBox for MSW
[wxWidgets.git] / wxPython / src / mac / windows_wrap.cpp
... / ...
CommitLineData
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/***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
137#include "Python.h"
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187typedef double (*py_objasdbl_conv)(PyObject *obj);
188
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
197
198/* -----------------------------------------------------------------------------
199 * the needed conversions between C++ and python
200 * ----------------------------------------------------------------------------- */
201/* basic types */
202/*
203 utilities
204*/
205SWIGIMPORT(char* ) SWIG_PyObj_AsCharPtr(PyObject *obj, swig_type_info* pchar_info);
206SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharPtr(const char* cptr);
207SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLong(PyObject * obj);
208SWIGIMPORT(long) SWIG_PyObj_AsLongInRange(PyObject * obj, const char* type,
209 long min_value, long max_value);
210SWIGIMPORT(unsigned long) SWIG_PyObj_AsUnsignedLongInRange(PyObject *obj, const char* type,
211 unsigned long max_value);
212SWIGIMPORT(char *) SWIG_PyObj_AsNewCharPtr(PyObject *obj, swig_type_info* pchar_info);
213SWIGIMPORT(void) SWIG_PyObj_AsCharPtrAndSize(PyObject *obj, swig_type_info* pchar_info,
214 char** cptr, size_t* size);
215SWIGIMPORT(void) SWIG_PyObj_AsCharArray(PyObject *obj, swig_type_info* pchar_info,
216 char* carray, size_t size);
217SWIGIMPORT(PyObject *) SWIG_PyObj_FromCharArray(const char* carray, size_t size);
218SWIGIMPORT(float) SWIG_PyObj_AsFloatConv(PyObject *obj, py_objasdbl_conv pyconv);
219
220
221/* Contract support */
222
223#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
224
225#ifdef __cplusplus
226}
227#endif
228
229
230
231/* -------- TYPES TABLE (BEGIN) -------- */
232
233#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
234#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
235#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
236#define SWIGTYPE_p_wxPyPanel swig_types[3]
237#define SWIGTYPE_p_wxMenu swig_types[4]
238#define SWIGTYPE_p_wxPrintData swig_types[5]
239#define SWIGTYPE_p_wxFontData swig_types[6]
240#define SWIGTYPE_p_wxEvent swig_types[7]
241#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
242#define SWIGTYPE_p_wxIconBundle swig_types[9]
243#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
244#define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
245#define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
246#define SWIGTYPE_p_wxFont swig_types[13]
247#define SWIGTYPE_p_wxSplitterEvent swig_types[14]
248#define SWIGTYPE_p_wxRegion swig_types[15]
249#define SWIGTYPE_p_wxFindReplaceData swig_types[16]
250#define SWIGTYPE_p_int swig_types[17]
251#define SWIGTYPE_p_wxSize swig_types[18]
252#define SWIGTYPE_p_wxDC swig_types[19]
253#define SWIGTYPE_p_wxIcon swig_types[20]
254#define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
255#define SWIGTYPE_p_wxColourData swig_types[22]
256#define SWIGTYPE_p_wxNotifyEvent swig_types[23]
257#define SWIGTYPE_p_wxPyWindow swig_types[24]
258#define SWIGTYPE_p_wxSplashScreen swig_types[25]
259#define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
260#define SWIGTYPE_p_wxProgressDialog swig_types[27]
261#define SWIGTYPE_p_wxMessageDialog swig_types[28]
262#define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
263#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
264#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
265#define SWIGTYPE_p_wxFileDialog swig_types[32]
266#define SWIGTYPE_p_wxPrinter swig_types[33]
267#define SWIGTYPE_p_wxArrayInt swig_types[34]
268#define SWIGTYPE_p_wxEvtHandler swig_types[35]
269#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
270#define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
271#define SWIGTYPE_p_wxPyVListBox swig_types[38]
272#define SWIGTYPE_p_wxRect swig_types[39]
273#define SWIGTYPE_p_char swig_types[40]
274#define SWIGTYPE_p_wxMiniFrame swig_types[41]
275#define SWIGTYPE_p_wxFrame swig_types[42]
276#define SWIGTYPE_p_wxPyPrintout swig_types[43]
277#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[44]
278#define SWIGTYPE_p_wxScrollWinEvent swig_types[45]
279#define SWIGTYPE_p_wxStatusBar swig_types[46]
280#define SWIGTYPE_p_wxMDIParentFrame swig_types[47]
281#define SWIGTYPE_p_wxPoint swig_types[48]
282#define SWIGTYPE_p_wxObject swig_types[49]
283#define SWIGTYPE_p_unsigned_long swig_types[50]
284#define SWIGTYPE_p_wxMDIClientWindow swig_types[51]
285#define SWIGTYPE_p_wxTipWindow swig_types[52]
286#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[53]
287#define SWIGTYPE_p_wxSashLayoutWindow swig_types[54]
288#define SWIGTYPE_p_wxSplitterWindow swig_types[55]
289#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[56]
290#define SWIGTYPE_p_wxPopupWindow swig_types[57]
291#define SWIGTYPE_p_wxSashWindow swig_types[58]
292#define SWIGTYPE_p_wxTopLevelWindow swig_types[59]
293#define SWIGTYPE_p_wxWindow swig_types[60]
294#define SWIGTYPE_p_wxScrolledWindow swig_types[61]
295#define SWIGTYPE_p_wxSplashScreenWindow swig_types[62]
296#define SWIGTYPE_p_wxMenuBar swig_types[63]
297#define SWIGTYPE_p_wxPrintPreview swig_types[64]
298#define SWIGTYPE_p_wxSashEvent swig_types[65]
299#define SWIGTYPE_p_wxString swig_types[66]
300#define SWIGTYPE_p_wxPyPrintPreview swig_types[67]
301#define SWIGTYPE_p_wxPageSetupDialog swig_types[68]
302#define SWIGTYPE_p_wxFontDialog swig_types[69]
303#define SWIGTYPE_p_wxDirDialog swig_types[70]
304#define SWIGTYPE_p_wxColourDialog swig_types[71]
305#define SWIGTYPE_p_wxDialog swig_types[72]
306#define SWIGTYPE_p_wxPanel swig_types[73]
307#define SWIGTYPE_p_wxPrintDialog swig_types[74]
308#define SWIGTYPE_p_wxBitmap swig_types[75]
309#define SWIGTYPE_p_wxCommandEvent swig_types[76]
310#define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
311#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
312#define SWIGTYPE_p_wxColour swig_types[79]
313#define SWIGTYPE_p_wxToolBar swig_types[80]
314#define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
315#define SWIGTYPE_p_wxPrintDialogData swig_types[82]
316static swig_type_info *swig_types[84];
317
318/* -------- TYPES TABLE (END) -------- */
319
320
321/*-----------------------------------------------
322 @(target):= _windows.so
323 ------------------------------------------------*/
324#define SWIG_init init_windows
325
326#define SWIG_name "_windows"
327
328#include <limits.h>
329#include <float.h>
330#include <string.h>
331
332#ifndef SWIGSTATIC
333#ifdef __cplusplus
334#define SWIGSTATIC(a) static inline a
335#else
336#define SWIGSTATIC(a) static a
337#endif
338#endif
339
340#ifndef numeric_cast
341#ifdef __cplusplus
342#ifdef HAVE_NUMERIC_CAST
343#define numeric_cast(type,a) numeric_cast<type>(a)
344#else
345#define numeric_cast(type,a) static_cast<type>(a)
346#endif
347#else
348#define numeric_cast(type,a) (type)(a)
349#endif
350#endif
351
352
353
354#define SWIG_PyObj_FromSignedChar PyInt_FromLong
355#define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
356#define SWIG_PyObj_FromShort PyInt_FromLong
357#define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
358#define SWIG_PyObj_FromInt PyInt_FromLong
359#define SWIG_PyObj_FromLong PyInt_FromLong
360#define SWIG_PyObj_FromFloat PyFloat_FromDouble
361#define SWIG_PyObj_FromDouble PyFloat_FromDouble
362#define SWIG_PyObj_FromFloat PyFloat_FromDouble
363#define SWIG_PyObj_FromDouble PyFloat_FromDouble
364
365
366#include "wx/wxPython/wxPython.h"
367#include "wx/wxPython/pyclasses.h"
368
369
370 static const wxString wxPyEmptyString(wxEmptyString);
371 static const wxString wxPyPanelNameStr(wxPanelNameStr);
372
373
374
375SWIGSTATIC(int)
376SWIG_PyObj_AsInt(PyObject *obj)
377{
378 return numeric_cast(int,
379 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
380}
381
382
383SWIGSTATIC(long)
384SWIG_PyObj_AsLong(PyObject * obj)
385{
386 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
387}
388
389
390SWIGSTATIC(bool)
391SWIG_PyObj_AsBool(PyObject *obj)
392{
393 return PyObject_IsTrue(obj) ? true : false;
394}
395
396
397static PyObject* t_output_helper(PyObject* target, PyObject* o) {
398 PyObject* o2;
399 PyObject* o3;
400
401 if (!target) {
402 target = o;
403 } else if (target == Py_None) {
404 Py_DECREF(Py_None);
405 target = o;
406 } else {
407 if (!PyTuple_Check(target)) {
408 o2 = target;
409 target = PyTuple_New(1);
410 PyTuple_SetItem(target, 0, o2);
411 }
412 o3 = PyTuple_New(1);
413 PyTuple_SetItem(o3, 0, o);
414
415 o2 = target;
416 target = PySequence_Concat(o2, o3);
417 Py_DECREF(o2);
418 Py_DECREF(o3);
419 }
420 return target;
421}
422
423
424SWIGSTATIC(double)
425SWIG_PyObj_AsDouble(PyObject *obj)
426{
427 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
428#if HAVE_LONG_LONG
429 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
430#else
431 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
432#endif
433 if (PyErr_Occurred()) {
434 PyErr_Clear();
435 PyErr_SetString(PyExc_TypeError, "a double is expected");
436 }
437}
438
439 static const wxString wxPyFrameNameStr(wxFrameNameStr);
440 static const wxString wxPyDialogNameStr(wxDialogNameStr);
441 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
442 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
443bool wxDialog_IsModalShowing(wxDialog *self){
444
445
446
447 return self->IsModalShowing();
448
449 }
450
451
452wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
453 wxRect r;
454 self->GetFieldRect(i, r);
455 return r;
456 }
457 static const wxString wxPySplitterNameStr(wxT("splitter"));
458 static const wxString wxPySashNameStr(wxT("sashWindow"));
459 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
460
461#include <wx/popupwin.h>
462
463
464class wxPopupWindow : public wxWindow {
465public:
466 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
467 wxPopupWindow() { wxPyRaiseNotImplemented(); }
468};
469
470class wxPyPopupTransientWindow : public wxPopupWindow
471{
472public:
473 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
474 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
475};
476
477
478#include <wx/tipwin.h>
479
480wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
481 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
482 }
483
484#include <wx/tipwin.h>
485
486
487#include <wx/vscroll.h>
488
489
490class wxPyVScrolledWindow : public wxVScrolledWindow
491{
492 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
493public:
494 wxPyVScrolledWindow() : wxVScrolledWindow() {}
495
496 wxPyVScrolledWindow(wxWindow *parent,
497 wxWindowID id = wxID_ANY,
498 const wxPoint& pos = wxDefaultPosition,
499 const wxSize& size = wxDefaultSize,
500 long style = 0,
501 const wxString& name = wxPyPanelNameStr)
502 : wxVScrolledWindow(parent, id, pos, size, style, name)
503 {}
504
505 // Overridable virtuals
506
507 // this function must be overridden in the derived class and it should
508 // return the height of the given line in pixels
509 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
510
511
512 // this function doesn't have to be overridden but it may be useful to do
513 // it if calculating the lines heights is a relatively expensive operation
514 // as it gives the user code a possibility to calculate several of them at
515 // once
516 //
517 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
518 // shouldn't rely on the latter being called for all lines in the interval
519 // specified here. It is also possible that OnGetLineHeight() will be
520 // called for the lines outside of this interval, so this is really just a
521 // hint, not a promise.
522 //
523 // finally note that lineMin is inclusive, while lineMax is exclusive, as
524 // usual
525 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
526
527
528 // when the number of lines changes, we try to estimate the total height
529 // of all lines which is a rather expensive operation in terms of lines
530 // access, so if the user code may estimate the average height
531 // better/faster than we do, it should override this function to implement
532 // its own logic
533 //
534 // this function should return the best guess for the total height it may
535 // make
536 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
537
538
539 // Also expose some other interesting protected methods
540
541
542 // find the index of the line we need to show at the top of the window such
543 // that the last (fully or partially) visible line is the given one
544 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
545 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
546
547 // get the total height of the lines between lineMin (inclusive) and
548 // lineMax (exclusive)
549 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
550 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
551
552
553 PYPRIVATE;
554};
555
556IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
557
558IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
559IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
560IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
561
562
563SWIGSTATIC(PyObject* )
564SWIG_PyObj_FromUnsignedLong(unsigned long value)
565{
566 return (value > (unsigned long)(LONG_MAX)) ?
567 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
568}
569
570
571#include <wx/vlbox.h>
572
573 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
574
575class wxPyVListBox : public wxVListBox
576{
577 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
578public:
579 wxPyVListBox() : wxVListBox() {}
580
581 wxPyVListBox(wxWindow *parent,
582 wxWindowID id = wxID_ANY,
583 const wxPoint& pos = wxDefaultPosition,
584 const wxSize& size = wxDefaultSize,
585 long style = 0,
586 const wxString& name = wxPyVListBoxNameStr)
587 : wxVListBox(parent, id, pos, size, style, name)
588 {}
589
590 // Overridable virtuals
591
592 // the derived class must implement this function to actually draw the item
593 // with the given index on the provided DC
594 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
595 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
596
597
598 // the derived class must implement this method to return the height of the
599 // specified item
600 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
601 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
602
603
604 // this method may be used to draw separators between the lines; note that
605 // the rectangle may be modified, typically to deflate it a bit before
606 // passing to OnDrawItem()
607 //
608 // the base class version doesn't do anything
609 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
610 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
611
612
613 // this method is used to draw the items background and, maybe, a border
614 // around it
615 //
616 // the base class version implements a reasonable default behaviour which
617 // consists in drawing the selected item with the standard background
618 // colour and drawing a border around the item if it is either selected or
619 // current
620 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
621 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
622
623
624 PYPRIVATE;
625};
626
627IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
628
629IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
630IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
631IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
632IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
633
634
635
636#include <wx/htmllbox.h>
637
638
639class wxPyHtmlListBox : public wxHtmlListBox
640{
641 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
642public:
643 wxPyHtmlListBox() : wxHtmlListBox() {}
644
645 wxPyHtmlListBox(wxWindow *parent,
646 wxWindowID id = wxID_ANY,
647 const wxPoint& pos = wxDefaultPosition,
648 const wxSize& size = wxDefaultSize,
649 long style = 0,
650 const wxString& name = wxPyVListBoxNameStr)
651 : wxHtmlListBox(parent, id, pos, size, style, name)
652 {}
653
654 // Overridable virtuals
655
656 // this method must be implemented in the derived class and should return
657 // the body (i.e. without <html>) of the HTML for the given item
658 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
659
660 // this function may be overridden to decorate HTML returned by OnGetItem()
661 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
662
663// TODO:
664// // this method allows to customize the selection appearance: it may be used
665// // to specify the colour of the text which normally has the given colour
666// // colFg when it is inside the selection
667// //
668// // by default, the original colour is not used at all and all text has the
669// // same (default for this system) colour inside selection
670// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
671
672// // this is the same as GetSelectedTextColour() but allows to customize the
673// // background colour -- this is even more rarely used as you can change it
674// // globally using SetSelectionBackground()
675// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
676
677
678 PYPRIVATE;
679};
680
681
682IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
683
684IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
685IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
686
687
688
689
690
691#ifdef __WXMAC__
692// implement dummy classes and such for wxMac
693
694class wxTaskBarIcon : public wxEvtHandler
695{
696public:
697 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
698};
699
700
701class wxTaskBarIconEvent : public wxEvent
702{
703public:
704 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
705 { wxPyRaiseNotImplemented(); }
706 virtual wxEvent* Clone() const { return NULL; }
707};
708
709enum {
710 wxEVT_TASKBAR_MOVE = 0,
711 wxEVT_TASKBAR_LEFT_DOWN = 0,
712 wxEVT_TASKBAR_LEFT_UP = 0,
713 wxEVT_TASKBAR_RIGHT_DOWN = 0,
714 wxEVT_TASKBAR_RIGHT_UP = 0,
715 wxEVT_TASKBAR_LEFT_DCLICK = 0,
716 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
717};
718#endif
719
720 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
721 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
722 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
723 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
724 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
725 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
726PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
727 wxArrayString arr;
728 self->GetFilenames(arr);
729 return wxArrayString2PyList_helper(arr);
730 }
731PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
732 wxArrayString arr;
733 self->GetPaths(arr);
734 return wxArrayString2PyList_helper(arr);
735 }
736PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
737 return wxArrayInt2PyList_helper(self->GetSelections());
738 }
739wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
740 return new wxSingleChoiceDialog(parent, message, caption,
741 choices, choices_array, NULL, style, pos);
742 }
743
744#include <wx/mdi.h>
745
746 // C++ version of Python aware wxWindow
747class wxPyWindow : public wxWindow
748{
749 DECLARE_DYNAMIC_CLASS(wxPyWindow)
750public:
751 wxPyWindow() : wxWindow() {}
752 wxPyWindow(wxWindow* parent, const wxWindowID id,
753 const wxPoint& pos = wxDefaultPosition,
754 const wxSize& size = wxDefaultSize,
755 long style = 0,
756 const wxString& name = wxPyPanelNameStr)
757 : wxWindow(parent, id, pos, size, style, name) {}
758
759
760 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
761 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
762 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
763 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
764
765 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
766 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
767 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
768
769 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
770 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
771
772 DEC_PYCALLBACK__(InitDialog);
773 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
774 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
775 DEC_PYCALLBACK_BOOL_(Validate);
776
777 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
778 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
779 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
780
781 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
782 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
783
784 PYPRIVATE;
785};
786
787IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
788
789IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
790IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
791IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
792IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
793
794IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
795IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
796IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
797
798IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
799IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
800
801IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
802IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
803IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
804IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
805
806IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
807IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
808IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
809
810IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
811IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
812
813
814 // C++ version of Python aware wxPanel
815class wxPyPanel : public wxPanel
816{
817 DECLARE_DYNAMIC_CLASS(wxPyPanel)
818public:
819 wxPyPanel() : wxPanel() {}
820 wxPyPanel(wxWindow* parent, const wxWindowID id,
821 const wxPoint& pos = wxDefaultPosition,
822 const wxSize& size = wxDefaultSize,
823 long style = 0,
824 const wxString& name = wxPyPanelNameStr)
825 : wxPanel(parent, id, pos, size, style, name) {}
826
827
828 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
829 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
830 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
831 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
832
833 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
834 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
835 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
836
837 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
838 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
839
840 DEC_PYCALLBACK__(InitDialog);
841 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
842 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
843 DEC_PYCALLBACK_BOOL_(Validate);
844
845 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
846 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
847 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
848
849 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
850 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
851
852 PYPRIVATE;
853};
854
855IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
856
857IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
858IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
859IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
860IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
861
862IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
863IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
864IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
865
866IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
867IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
868
869IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
870IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
871IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
872IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
873
874IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
875IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
876IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
877
878IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
879IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
880
881
882
883#include "wx/wxPython/printfw.h"
884
885
886 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
887 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
888
889
890
891// Since this one would be tough and ugly to do with the Macros...
892void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
893 bool hadErr = False;
894 bool found;
895
896 wxPyBeginBlockThreads();
897 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
898 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
899 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
900 PyObject* val;
901
902 val = PyTuple_GetItem(result, 0);
903 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
904 else hadErr = True;
905
906 val = PyTuple_GetItem(result, 1);
907 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
908 else hadErr = True;
909
910 val = PyTuple_GetItem(result, 2);
911 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
912 else hadErr = True;
913
914 val = PyTuple_GetItem(result, 3);
915 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
916 else hadErr = True;
917 }
918 else
919 hadErr = True;
920
921 if (hadErr) {
922 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
923 PyErr_Print();
924 }
925 Py_DECREF(result);
926 }
927 wxPyEndBlockThreads();
928 if (! found)
929 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
930}
931
932void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
933 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
934}
935
936
937IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
938IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
939IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
940IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
941IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
942IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
943IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
944
945
946
947
948
949#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
950 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
951 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
952
953
954#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
955 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
956 bool rval=False; \
957 bool found; \
958 wxPyBeginBlockThreads(); \
959 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
960 PyObject* win = wxPyMake_wxObject(a); \
961 PyObject* dc = wxPyMake_wxObject(&b); \
962 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
963 Py_DECREF(win); \
964 Py_DECREF(dc); \
965 } \
966 wxPyEndBlockThreads(); \
967 if (! found) \
968 rval = PCLASS::CBNAME(a, b); \
969 return rval; \
970 } \
971 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
972 return PCLASS::CBNAME(a, b); \
973 }
974
975
976
977
978class wxPyPrintPreview : public wxPrintPreview
979{
980 DECLARE_CLASS(wxPyPrintPreview)
981public:
982 wxPyPrintPreview(wxPyPrintout* printout,
983 wxPyPrintout* printoutForPrinting,
984 wxPrintData* data=NULL)
985 : wxPrintPreview(printout, printoutForPrinting, data)
986 {}
987
988 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
989 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
990 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
991 DEC_PYCALLBACK_BOOL_INT(RenderPage);
992 DEC_PYCALLBACK_VOID_INT(SetZoom);
993 DEC_PYCALLBACK_BOOL_BOOL(Print);
994 DEC_PYCALLBACK_VOID_(DetermineScaling);
995
996 PYPRIVATE;
997};
998
999// Stupid renamed classes... Fix this in 2.5...
1000#if defined(__WXMSW__)
1001IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1002#elif defined(__WXMAC__)
1003IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1004#else
1005IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1006#endif
1007
1008IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1009IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1010IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1011IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1012IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1013IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1014IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1015
1016
1017class wxPyPreviewFrame : public wxPreviewFrame
1018{
1019 DECLARE_CLASS(wxPyPreviewFrame);
1020public:
1021 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1022 const wxString& title,
1023 const wxPoint& pos = wxDefaultPosition,
1024 const wxSize& size = wxDefaultSize,
1025 long style = wxDEFAULT_FRAME_STYLE,
1026 const wxString& name = wxPyFrameNameStr)
1027 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1028 {}
1029
1030 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1031 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1032
1033 DEC_PYCALLBACK_VOID_(Initialize);
1034 DEC_PYCALLBACK_VOID_(CreateCanvas);
1035 DEC_PYCALLBACK_VOID_(CreateControlBar);
1036
1037 PYPRIVATE;
1038};
1039
1040IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1041
1042IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1043IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1044IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1045
1046
1047class wxPyPreviewControlBar : public wxPreviewControlBar
1048{
1049 DECLARE_CLASS(wxPyPreviewControlBar);
1050public:
1051 wxPyPreviewControlBar(wxPrintPreview *preview,
1052 long buttons,
1053 wxWindow *parent,
1054 const wxPoint& pos = wxDefaultPosition,
1055 const wxSize& size = wxDefaultSize,
1056 long style = 0,
1057 const wxString& name = wxPyPanelNameStr)
1058 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1059 {}
1060
1061 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1062
1063 DEC_PYCALLBACK_VOID_(CreateButtons);
1064 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1065
1066 PYPRIVATE;
1067};
1068
1069IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1070IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1071IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1072
1073#ifdef __cplusplus
1074extern "C" {
1075#endif
1076static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1077 PyObject *resultobj;
1078 wxWindow *arg1 = (wxWindow *) 0 ;
1079 int arg2 = (int) (int)-1 ;
1080 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1081 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1082 wxSize const &arg4_defvalue = wxDefaultSize ;
1083 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1084 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1085 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1086 wxString *arg6 = (wxString *) &arg6_defvalue ;
1087 wxPanel *result;
1088 wxPoint temp3 ;
1089 wxSize temp4 ;
1090 bool temp6 = False ;
1091 PyObject * obj0 = 0 ;
1092 PyObject * obj1 = 0 ;
1093 PyObject * obj2 = 0 ;
1094 PyObject * obj3 = 0 ;
1095 PyObject * obj4 = 0 ;
1096 PyObject * obj5 = 0 ;
1097 char *kwnames[] = {
1098 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1099 };
1100
1101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1103 if (obj1) {
1104 {
1105 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
1106 if (PyErr_Occurred()) SWIG_fail;
1107 }
1108 }
1109 if (obj2) {
1110 {
1111 arg3 = &temp3;
1112 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1113 }
1114 }
1115 if (obj3) {
1116 {
1117 arg4 = &temp4;
1118 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1119 }
1120 }
1121 if (obj4) {
1122 {
1123 arg5 = (long) SWIG_PyObj_AsLong(obj4);
1124 if (PyErr_Occurred()) SWIG_fail;
1125 }
1126 }
1127 if (obj5) {
1128 {
1129 arg6 = wxString_in_helper(obj5);
1130 if (arg6 == NULL) SWIG_fail;
1131 temp6 = True;
1132 }
1133 }
1134 {
1135 PyThreadState* __tstate = wxPyBeginAllowThreads();
1136 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1137
1138 wxPyEndAllowThreads(__tstate);
1139 if (PyErr_Occurred()) SWIG_fail;
1140 }
1141 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1142 {
1143 if (temp6)
1144 delete arg6;
1145 }
1146 return resultobj;
1147 fail:
1148 {
1149 if (temp6)
1150 delete arg6;
1151 }
1152 return NULL;
1153}
1154
1155
1156static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1157 PyObject *resultobj;
1158 wxPanel *result;
1159 char *kwnames[] = {
1160 NULL
1161 };
1162
1163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1164 {
1165 PyThreadState* __tstate = wxPyBeginAllowThreads();
1166 result = (wxPanel *)new wxPanel();
1167
1168 wxPyEndAllowThreads(__tstate);
1169 if (PyErr_Occurred()) SWIG_fail;
1170 }
1171 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1172 return resultobj;
1173 fail:
1174 return NULL;
1175}
1176
1177
1178static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1179 PyObject *resultobj;
1180 wxPanel *arg1 = (wxPanel *) 0 ;
1181 wxWindow *arg2 = (wxWindow *) 0 ;
1182 int arg3 ;
1183 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1184 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1185 wxSize const &arg5_defvalue = wxDefaultSize ;
1186 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1187 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1188 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1189 wxString *arg7 = (wxString *) &arg7_defvalue ;
1190 bool result;
1191 wxPoint temp4 ;
1192 wxSize temp5 ;
1193 bool temp7 = False ;
1194 PyObject * obj0 = 0 ;
1195 PyObject * obj1 = 0 ;
1196 PyObject * obj2 = 0 ;
1197 PyObject * obj3 = 0 ;
1198 PyObject * obj4 = 0 ;
1199 PyObject * obj5 = 0 ;
1200 PyObject * obj6 = 0 ;
1201 char *kwnames[] = {
1202 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1203 };
1204
1205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1207 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1208 {
1209 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
1210 if (PyErr_Occurred()) SWIG_fail;
1211 }
1212 if (obj3) {
1213 {
1214 arg4 = &temp4;
1215 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1216 }
1217 }
1218 if (obj4) {
1219 {
1220 arg5 = &temp5;
1221 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1222 }
1223 }
1224 if (obj5) {
1225 {
1226 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1227 if (PyErr_Occurred()) SWIG_fail;
1228 }
1229 }
1230 if (obj6) {
1231 {
1232 arg7 = wxString_in_helper(obj6);
1233 if (arg7 == NULL) SWIG_fail;
1234 temp7 = True;
1235 }
1236 }
1237 {
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) SWIG_fail;
1243 }
1244 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1245 {
1246 if (temp7)
1247 delete arg7;
1248 }
1249 return resultobj;
1250 fail:
1251 {
1252 if (temp7)
1253 delete arg7;
1254 }
1255 return NULL;
1256}
1257
1258
1259static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1260 PyObject *resultobj;
1261 wxPanel *arg1 = (wxPanel *) 0 ;
1262 PyObject * obj0 = 0 ;
1263 char *kwnames[] = {
1264 (char *) "self", NULL
1265 };
1266
1267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1269 {
1270 PyThreadState* __tstate = wxPyBeginAllowThreads();
1271 (arg1)->InitDialog();
1272
1273 wxPyEndAllowThreads(__tstate);
1274 if (PyErr_Occurred()) SWIG_fail;
1275 }
1276 Py_INCREF(Py_None); resultobj = Py_None;
1277 return resultobj;
1278 fail:
1279 return NULL;
1280}
1281
1282
1283static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1284 PyObject *obj;
1285 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1286 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1287 Py_INCREF(obj);
1288 return Py_BuildValue((char *)"");
1289}
1290static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1291 PyObject *resultobj;
1292 wxWindow *arg1 = (wxWindow *) 0 ;
1293 int arg2 = (int) (int)-1 ;
1294 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1295 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1296 wxSize const &arg4_defvalue = wxDefaultSize ;
1297 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1298 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1299 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1300 wxString *arg6 = (wxString *) &arg6_defvalue ;
1301 wxScrolledWindow *result;
1302 wxPoint temp3 ;
1303 wxSize temp4 ;
1304 bool temp6 = False ;
1305 PyObject * obj0 = 0 ;
1306 PyObject * obj1 = 0 ;
1307 PyObject * obj2 = 0 ;
1308 PyObject * obj3 = 0 ;
1309 PyObject * obj4 = 0 ;
1310 PyObject * obj5 = 0 ;
1311 char *kwnames[] = {
1312 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1313 };
1314
1315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
1316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1317 if (obj1) {
1318 {
1319 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
1320 if (PyErr_Occurred()) SWIG_fail;
1321 }
1322 }
1323 if (obj2) {
1324 {
1325 arg3 = &temp3;
1326 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1327 }
1328 }
1329 if (obj3) {
1330 {
1331 arg4 = &temp4;
1332 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1333 }
1334 }
1335 if (obj4) {
1336 {
1337 arg5 = (long) SWIG_PyObj_AsLong(obj4);
1338 if (PyErr_Occurred()) SWIG_fail;
1339 }
1340 }
1341 if (obj5) {
1342 {
1343 arg6 = wxString_in_helper(obj5);
1344 if (arg6 == NULL) SWIG_fail;
1345 temp6 = True;
1346 }
1347 }
1348 {
1349 PyThreadState* __tstate = wxPyBeginAllowThreads();
1350 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1351
1352 wxPyEndAllowThreads(__tstate);
1353 if (PyErr_Occurred()) SWIG_fail;
1354 }
1355 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1356 {
1357 if (temp6)
1358 delete arg6;
1359 }
1360 return resultobj;
1361 fail:
1362 {
1363 if (temp6)
1364 delete arg6;
1365 }
1366 return NULL;
1367}
1368
1369
1370static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1371 PyObject *resultobj;
1372 wxScrolledWindow *result;
1373 char *kwnames[] = {
1374 NULL
1375 };
1376
1377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1378 {
1379 PyThreadState* __tstate = wxPyBeginAllowThreads();
1380 result = (wxScrolledWindow *)new wxScrolledWindow();
1381
1382 wxPyEndAllowThreads(__tstate);
1383 if (PyErr_Occurred()) SWIG_fail;
1384 }
1385 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1386 return resultobj;
1387 fail:
1388 return NULL;
1389}
1390
1391
1392static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1393 PyObject *resultobj;
1394 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1395 wxWindow *arg2 = (wxWindow *) 0 ;
1396 int arg3 = (int) (int)-1 ;
1397 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1398 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1399 wxSize const &arg5_defvalue = wxDefaultSize ;
1400 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1401 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1402 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1403 wxString *arg7 = (wxString *) &arg7_defvalue ;
1404 bool result;
1405 wxPoint temp4 ;
1406 wxSize temp5 ;
1407 bool temp7 = False ;
1408 PyObject * obj0 = 0 ;
1409 PyObject * obj1 = 0 ;
1410 PyObject * obj2 = 0 ;
1411 PyObject * obj3 = 0 ;
1412 PyObject * obj4 = 0 ;
1413 PyObject * obj5 = 0 ;
1414 PyObject * obj6 = 0 ;
1415 char *kwnames[] = {
1416 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1417 };
1418
1419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
1420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1421 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1422 if (obj2) {
1423 {
1424 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
1425 if (PyErr_Occurred()) SWIG_fail;
1426 }
1427 }
1428 if (obj3) {
1429 {
1430 arg4 = &temp4;
1431 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1432 }
1433 }
1434 if (obj4) {
1435 {
1436 arg5 = &temp5;
1437 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1438 }
1439 }
1440 if (obj5) {
1441 {
1442 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1443 if (PyErr_Occurred()) SWIG_fail;
1444 }
1445 }
1446 if (obj6) {
1447 {
1448 arg7 = wxString_in_helper(obj6);
1449 if (arg7 == NULL) SWIG_fail;
1450 temp7 = True;
1451 }
1452 }
1453 {
1454 PyThreadState* __tstate = wxPyBeginAllowThreads();
1455 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1456
1457 wxPyEndAllowThreads(__tstate);
1458 if (PyErr_Occurred()) SWIG_fail;
1459 }
1460 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
1461 {
1462 if (temp7)
1463 delete arg7;
1464 }
1465 return resultobj;
1466 fail:
1467 {
1468 if (temp7)
1469 delete arg7;
1470 }
1471 return NULL;
1472}
1473
1474
1475static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1476 PyObject *resultobj;
1477 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1478 int arg2 ;
1479 int arg3 ;
1480 int arg4 ;
1481 int arg5 ;
1482 int arg6 = (int) 0 ;
1483 int arg7 = (int) 0 ;
1484 bool arg8 = (bool) False ;
1485 PyObject * obj0 = 0 ;
1486 PyObject * obj1 = 0 ;
1487 PyObject * obj2 = 0 ;
1488 PyObject * obj3 = 0 ;
1489 PyObject * obj4 = 0 ;
1490 PyObject * obj5 = 0 ;
1491 PyObject * obj6 = 0 ;
1492 PyObject * obj7 = 0 ;
1493 char *kwnames[] = {
1494 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1495 };
1496
1497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
1498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1499 {
1500 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1501 if (PyErr_Occurred()) SWIG_fail;
1502 }
1503 {
1504 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1505 if (PyErr_Occurred()) SWIG_fail;
1506 }
1507 {
1508 arg4 = (int) SWIG_PyObj_AsInt(obj3);
1509 if (PyErr_Occurred()) SWIG_fail;
1510 }
1511 {
1512 arg5 = (int) SWIG_PyObj_AsInt(obj4);
1513 if (PyErr_Occurred()) SWIG_fail;
1514 }
1515 if (obj5) {
1516 {
1517 arg6 = (int) SWIG_PyObj_AsInt(obj5);
1518 if (PyErr_Occurred()) SWIG_fail;
1519 }
1520 }
1521 if (obj6) {
1522 {
1523 arg7 = (int) SWIG_PyObj_AsInt(obj6);
1524 if (PyErr_Occurred()) SWIG_fail;
1525 }
1526 }
1527 if (obj7) {
1528 {
1529 arg8 = (bool) SWIG_PyObj_AsBool(obj7);
1530 if (PyErr_Occurred()) SWIG_fail;
1531 }
1532 }
1533 {
1534 PyThreadState* __tstate = wxPyBeginAllowThreads();
1535 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1536
1537 wxPyEndAllowThreads(__tstate);
1538 if (PyErr_Occurred()) SWIG_fail;
1539 }
1540 Py_INCREF(Py_None); resultobj = Py_None;
1541 return resultobj;
1542 fail:
1543 return NULL;
1544}
1545
1546
1547static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1548 PyObject *resultobj;
1549 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1550 int arg2 ;
1551 int arg3 ;
1552 PyObject * obj0 = 0 ;
1553 PyObject * obj1 = 0 ;
1554 PyObject * obj2 = 0 ;
1555 char *kwnames[] = {
1556 (char *) "self",(char *) "x",(char *) "y", NULL
1557 };
1558
1559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
1560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1561 {
1562 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1563 if (PyErr_Occurred()) SWIG_fail;
1564 }
1565 {
1566 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1567 if (PyErr_Occurred()) SWIG_fail;
1568 }
1569 {
1570 PyThreadState* __tstate = wxPyBeginAllowThreads();
1571 (arg1)->Scroll(arg2,arg3);
1572
1573 wxPyEndAllowThreads(__tstate);
1574 if (PyErr_Occurred()) SWIG_fail;
1575 }
1576 Py_INCREF(Py_None); resultobj = Py_None;
1577 return resultobj;
1578 fail:
1579 return NULL;
1580}
1581
1582
1583static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1584 PyObject *resultobj;
1585 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1586 int arg2 ;
1587 int result;
1588 PyObject * obj0 = 0 ;
1589 PyObject * obj1 = 0 ;
1590 char *kwnames[] = {
1591 (char *) "self",(char *) "orient", NULL
1592 };
1593
1594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
1595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1596 {
1597 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1598 if (PyErr_Occurred()) SWIG_fail;
1599 }
1600 {
1601 PyThreadState* __tstate = wxPyBeginAllowThreads();
1602 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1603
1604 wxPyEndAllowThreads(__tstate);
1605 if (PyErr_Occurred()) SWIG_fail;
1606 }
1607 resultobj = SWIG_PyObj_FromInt((int)result);
1608 return resultobj;
1609 fail:
1610 return NULL;
1611}
1612
1613
1614static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1615 PyObject *resultobj;
1616 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1617 int arg2 ;
1618 int arg3 ;
1619 PyObject * obj0 = 0 ;
1620 PyObject * obj1 = 0 ;
1621 PyObject * obj2 = 0 ;
1622 char *kwnames[] = {
1623 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1624 };
1625
1626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
1627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1628 {
1629 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1630 if (PyErr_Occurred()) SWIG_fail;
1631 }
1632 {
1633 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1634 if (PyErr_Occurred()) SWIG_fail;
1635 }
1636 {
1637 PyThreadState* __tstate = wxPyBeginAllowThreads();
1638 (arg1)->SetScrollPageSize(arg2,arg3);
1639
1640 wxPyEndAllowThreads(__tstate);
1641 if (PyErr_Occurred()) SWIG_fail;
1642 }
1643 Py_INCREF(Py_None); resultobj = Py_None;
1644 return resultobj;
1645 fail:
1646 return NULL;
1647}
1648
1649
1650static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1651 PyObject *resultobj;
1652 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1653 int arg2 ;
1654 int arg3 ;
1655 PyObject * obj0 = 0 ;
1656 PyObject * obj1 = 0 ;
1657 PyObject * obj2 = 0 ;
1658 char *kwnames[] = {
1659 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1660 };
1661
1662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
1663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1664 {
1665 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1666 if (PyErr_Occurred()) SWIG_fail;
1667 }
1668 {
1669 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1670 if (PyErr_Occurred()) SWIG_fail;
1671 }
1672 {
1673 PyThreadState* __tstate = wxPyBeginAllowThreads();
1674 (arg1)->SetScrollRate(arg2,arg3);
1675
1676 wxPyEndAllowThreads(__tstate);
1677 if (PyErr_Occurred()) SWIG_fail;
1678 }
1679 Py_INCREF(Py_None); resultobj = Py_None;
1680 return resultobj;
1681 fail:
1682 return NULL;
1683}
1684
1685
1686static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1687 PyObject *resultobj;
1688 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1689 int *arg2 = (int *) 0 ;
1690 int *arg3 = (int *) 0 ;
1691 int temp2 ;
1692 int temp3 ;
1693 PyObject * obj0 = 0 ;
1694 char *kwnames[] = {
1695 (char *) "self", NULL
1696 };
1697
1698 arg2 = &temp2;
1699 arg3 = &temp3;
1700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1702 {
1703 PyThreadState* __tstate = wxPyBeginAllowThreads();
1704 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1705
1706 wxPyEndAllowThreads(__tstate);
1707 if (PyErr_Occurred()) SWIG_fail;
1708 }
1709 Py_INCREF(Py_None); resultobj = Py_None;
1710 {
1711 PyObject *o = PyInt_FromLong((long) (*arg2));
1712 resultobj = t_output_helper(resultobj,o);
1713 }
1714 {
1715 PyObject *o = PyInt_FromLong((long) (*arg3));
1716 resultobj = t_output_helper(resultobj,o);
1717 }
1718 return resultobj;
1719 fail:
1720 return NULL;
1721}
1722
1723
1724static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1725 PyObject *resultobj;
1726 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1727 bool arg2 ;
1728 bool arg3 ;
1729 PyObject * obj0 = 0 ;
1730 PyObject * obj1 = 0 ;
1731 PyObject * obj2 = 0 ;
1732 char *kwnames[] = {
1733 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1734 };
1735
1736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1738 {
1739 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
1740 if (PyErr_Occurred()) SWIG_fail;
1741 }
1742 {
1743 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
1744 if (PyErr_Occurred()) SWIG_fail;
1745 }
1746 {
1747 PyThreadState* __tstate = wxPyBeginAllowThreads();
1748 (arg1)->EnableScrolling(arg2,arg3);
1749
1750 wxPyEndAllowThreads(__tstate);
1751 if (PyErr_Occurred()) SWIG_fail;
1752 }
1753 Py_INCREF(Py_None); resultobj = Py_None;
1754 return resultobj;
1755 fail:
1756 return NULL;
1757}
1758
1759
1760static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1761 PyObject *resultobj;
1762 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1763 int *arg2 = (int *) 0 ;
1764 int *arg3 = (int *) 0 ;
1765 int temp2 ;
1766 int temp3 ;
1767 PyObject * obj0 = 0 ;
1768 char *kwnames[] = {
1769 (char *) "self", NULL
1770 };
1771
1772 arg2 = &temp2;
1773 arg3 = &temp3;
1774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1776 {
1777 PyThreadState* __tstate = wxPyBeginAllowThreads();
1778 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1779
1780 wxPyEndAllowThreads(__tstate);
1781 if (PyErr_Occurred()) SWIG_fail;
1782 }
1783 Py_INCREF(Py_None); resultobj = Py_None;
1784 {
1785 PyObject *o = PyInt_FromLong((long) (*arg2));
1786 resultobj = t_output_helper(resultobj,o);
1787 }
1788 {
1789 PyObject *o = PyInt_FromLong((long) (*arg3));
1790 resultobj = t_output_helper(resultobj,o);
1791 }
1792 return resultobj;
1793 fail:
1794 return NULL;
1795}
1796
1797
1798static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1799 PyObject *resultobj;
1800 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1801 double arg2 ;
1802 double arg3 ;
1803 PyObject * obj0 = 0 ;
1804 PyObject * obj1 = 0 ;
1805 PyObject * obj2 = 0 ;
1806 char *kwnames[] = {
1807 (char *) "self",(char *) "xs",(char *) "ys", NULL
1808 };
1809
1810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
1811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1812 {
1813 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
1814 if (PyErr_Occurred()) SWIG_fail;
1815 }
1816 {
1817 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
1818 if (PyErr_Occurred()) SWIG_fail;
1819 }
1820 {
1821 PyThreadState* __tstate = wxPyBeginAllowThreads();
1822 (arg1)->SetScale(arg2,arg3);
1823
1824 wxPyEndAllowThreads(__tstate);
1825 if (PyErr_Occurred()) SWIG_fail;
1826 }
1827 Py_INCREF(Py_None); resultobj = Py_None;
1828 return resultobj;
1829 fail:
1830 return NULL;
1831}
1832
1833
1834static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1835 PyObject *resultobj;
1836 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1837 double result;
1838 PyObject * obj0 = 0 ;
1839 char *kwnames[] = {
1840 (char *) "self", NULL
1841 };
1842
1843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1845 {
1846 PyThreadState* __tstate = wxPyBeginAllowThreads();
1847 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1848
1849 wxPyEndAllowThreads(__tstate);
1850 if (PyErr_Occurred()) SWIG_fail;
1851 }
1852 resultobj = SWIG_PyObj_FromDouble((double)result);
1853 return resultobj;
1854 fail:
1855 return NULL;
1856}
1857
1858
1859static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1860 PyObject *resultobj;
1861 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1862 double result;
1863 PyObject * obj0 = 0 ;
1864 char *kwnames[] = {
1865 (char *) "self", NULL
1866 };
1867
1868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1870 {
1871 PyThreadState* __tstate = wxPyBeginAllowThreads();
1872 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1873
1874 wxPyEndAllowThreads(__tstate);
1875 if (PyErr_Occurred()) SWIG_fail;
1876 }
1877 resultobj = SWIG_PyObj_FromDouble((double)result);
1878 return resultobj;
1879 fail:
1880 return NULL;
1881}
1882
1883
1884static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1885 PyObject *resultobj;
1886 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1887 wxPoint *arg2 = 0 ;
1888 wxPoint result;
1889 wxPoint temp2 ;
1890 PyObject * obj0 = 0 ;
1891 PyObject * obj1 = 0 ;
1892
1893 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1895 {
1896 arg2 = &temp2;
1897 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1898 }
1899 {
1900 PyThreadState* __tstate = wxPyBeginAllowThreads();
1901 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1902
1903 wxPyEndAllowThreads(__tstate);
1904 if (PyErr_Occurred()) SWIG_fail;
1905 }
1906 {
1907 wxPoint * resultptr;
1908 resultptr = new wxPoint((wxPoint &) result);
1909 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1910 }
1911 return resultobj;
1912 fail:
1913 return NULL;
1914}
1915
1916
1917static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1918 PyObject *resultobj;
1919 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1920 int arg2 ;
1921 int arg3 ;
1922 int *arg4 = (int *) 0 ;
1923 int *arg5 = (int *) 0 ;
1924 int temp4 ;
1925 int temp5 ;
1926 PyObject * obj0 = 0 ;
1927 PyObject * obj1 = 0 ;
1928 PyObject * obj2 = 0 ;
1929
1930 arg4 = &temp4;
1931 arg5 = &temp5;
1932 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
1933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1934 {
1935 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1936 if (PyErr_Occurred()) SWIG_fail;
1937 }
1938 {
1939 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1940 if (PyErr_Occurred()) SWIG_fail;
1941 }
1942 {
1943 PyThreadState* __tstate = wxPyBeginAllowThreads();
1944 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1945
1946 wxPyEndAllowThreads(__tstate);
1947 if (PyErr_Occurred()) SWIG_fail;
1948 }
1949 Py_INCREF(Py_None); resultobj = Py_None;
1950 {
1951 PyObject *o = PyInt_FromLong((long) (*arg4));
1952 resultobj = t_output_helper(resultobj,o);
1953 }
1954 {
1955 PyObject *o = PyInt_FromLong((long) (*arg5));
1956 resultobj = t_output_helper(resultobj,o);
1957 }
1958 return resultobj;
1959 fail:
1960 return NULL;
1961}
1962
1963
1964static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1965 int argc;
1966 PyObject *argv[4];
1967 int ii;
1968
1969 argc = PyObject_Length(args);
1970 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1971 argv[ii] = PyTuple_GetItem(args,ii);
1972 }
1973 if (argc == 2) {
1974 int _v;
1975 {
1976 void *ptr;
1977 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1978 _v = 0;
1979 PyErr_Clear();
1980 } else {
1981 _v = 1;
1982 }
1983 }
1984 if (_v) {
1985 {
1986 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1987 }
1988 if (_v) {
1989 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1990 }
1991 }
1992 }
1993 if (argc == 3) {
1994 int _v;
1995 {
1996 void *ptr;
1997 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1998 _v = 0;
1999 PyErr_Clear();
2000 } else {
2001 _v = 1;
2002 }
2003 }
2004 if (_v) {
2005 {
2006 SWIG_PyObj_AsInt(argv[1]);
2007 if (PyErr_Occurred()) {
2008 _v = 0;
2009 PyErr_Clear();
2010 } else {
2011 _v = 1;
2012 }
2013 }
2014 if (_v) {
2015 {
2016 SWIG_PyObj_AsInt(argv[2]);
2017 if (PyErr_Occurred()) {
2018 _v = 0;
2019 PyErr_Clear();
2020 } else {
2021 _v = 1;
2022 }
2023 }
2024 if (_v) {
2025 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
2026 }
2027 }
2028 }
2029 }
2030
2031 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2032 return NULL;
2033}
2034
2035
2036static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2037 PyObject *resultobj;
2038 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2039 wxPoint *arg2 = 0 ;
2040 wxPoint result;
2041 wxPoint temp2 ;
2042 PyObject * obj0 = 0 ;
2043 PyObject * obj1 = 0 ;
2044
2045 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
2046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2047 {
2048 arg2 = &temp2;
2049 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2050 }
2051 {
2052 PyThreadState* __tstate = wxPyBeginAllowThreads();
2053 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
2054
2055 wxPyEndAllowThreads(__tstate);
2056 if (PyErr_Occurred()) SWIG_fail;
2057 }
2058 {
2059 wxPoint * resultptr;
2060 resultptr = new wxPoint((wxPoint &) result);
2061 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2062 }
2063 return resultobj;
2064 fail:
2065 return NULL;
2066}
2067
2068
2069static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2070 PyObject *resultobj;
2071 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2072 int arg2 ;
2073 int arg3 ;
2074 int *arg4 = (int *) 0 ;
2075 int *arg5 = (int *) 0 ;
2076 int temp4 ;
2077 int temp5 ;
2078 PyObject * obj0 = 0 ;
2079 PyObject * obj1 = 0 ;
2080 PyObject * obj2 = 0 ;
2081
2082 arg4 = &temp4;
2083 arg5 = &temp5;
2084 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
2085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2086 {
2087 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2088 if (PyErr_Occurred()) SWIG_fail;
2089 }
2090 {
2091 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2092 if (PyErr_Occurred()) SWIG_fail;
2093 }
2094 {
2095 PyThreadState* __tstate = wxPyBeginAllowThreads();
2096 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
2097
2098 wxPyEndAllowThreads(__tstate);
2099 if (PyErr_Occurred()) SWIG_fail;
2100 }
2101 Py_INCREF(Py_None); resultobj = Py_None;
2102 {
2103 PyObject *o = PyInt_FromLong((long) (*arg4));
2104 resultobj = t_output_helper(resultobj,o);
2105 }
2106 {
2107 PyObject *o = PyInt_FromLong((long) (*arg5));
2108 resultobj = t_output_helper(resultobj,o);
2109 }
2110 return resultobj;
2111 fail:
2112 return NULL;
2113}
2114
2115
2116static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2117 int argc;
2118 PyObject *argv[4];
2119 int ii;
2120
2121 argc = PyObject_Length(args);
2122 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2123 argv[ii] = PyTuple_GetItem(args,ii);
2124 }
2125 if (argc == 2) {
2126 int _v;
2127 {
2128 void *ptr;
2129 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2130 _v = 0;
2131 PyErr_Clear();
2132 } else {
2133 _v = 1;
2134 }
2135 }
2136 if (_v) {
2137 {
2138 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2139 }
2140 if (_v) {
2141 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
2142 }
2143 }
2144 }
2145 if (argc == 3) {
2146 int _v;
2147 {
2148 void *ptr;
2149 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2150 _v = 0;
2151 PyErr_Clear();
2152 } else {
2153 _v = 1;
2154 }
2155 }
2156 if (_v) {
2157 {
2158 SWIG_PyObj_AsInt(argv[1]);
2159 if (PyErr_Occurred()) {
2160 _v = 0;
2161 PyErr_Clear();
2162 } else {
2163 _v = 1;
2164 }
2165 }
2166 if (_v) {
2167 {
2168 SWIG_PyObj_AsInt(argv[2]);
2169 if (PyErr_Occurred()) {
2170 _v = 0;
2171 PyErr_Clear();
2172 } else {
2173 _v = 1;
2174 }
2175 }
2176 if (_v) {
2177 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
2178 }
2179 }
2180 }
2181 }
2182
2183 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2184 return NULL;
2185}
2186
2187
2188static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2189 PyObject *resultobj;
2190 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2191 PyObject * obj0 = 0 ;
2192 char *kwnames[] = {
2193 (char *) "self", NULL
2194 };
2195
2196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2198 {
2199 PyThreadState* __tstate = wxPyBeginAllowThreads();
2200 (arg1)->AdjustScrollbars();
2201
2202 wxPyEndAllowThreads(__tstate);
2203 if (PyErr_Occurred()) SWIG_fail;
2204 }
2205 Py_INCREF(Py_None); resultobj = Py_None;
2206 return resultobj;
2207 fail:
2208 return NULL;
2209}
2210
2211
2212static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2213 PyObject *resultobj;
2214 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2215 wxScrollWinEvent *arg2 = 0 ;
2216 int result;
2217 PyObject * obj0 = 0 ;
2218 PyObject * obj1 = 0 ;
2219 char *kwnames[] = {
2220 (char *) "self",(char *) "event", NULL
2221 };
2222
2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2225 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2226 if (arg2 == NULL) {
2227 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2228 }
2229 {
2230 PyThreadState* __tstate = wxPyBeginAllowThreads();
2231 result = (int)(arg1)->CalcScrollInc(*arg2);
2232
2233 wxPyEndAllowThreads(__tstate);
2234 if (PyErr_Occurred()) SWIG_fail;
2235 }
2236 resultobj = SWIG_PyObj_FromInt((int)result);
2237 return resultobj;
2238 fail:
2239 return NULL;
2240}
2241
2242
2243static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2244 PyObject *resultobj;
2245 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2246 wxWindow *arg2 = (wxWindow *) 0 ;
2247 PyObject * obj0 = 0 ;
2248 PyObject * obj1 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self",(char *) "target", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2256 {
2257 PyThreadState* __tstate = wxPyBeginAllowThreads();
2258 (arg1)->SetTargetWindow(arg2);
2259
2260 wxPyEndAllowThreads(__tstate);
2261 if (PyErr_Occurred()) SWIG_fail;
2262 }
2263 Py_INCREF(Py_None); resultobj = Py_None;
2264 return resultobj;
2265 fail:
2266 return NULL;
2267}
2268
2269
2270static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2271 PyObject *resultobj;
2272 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2273 wxWindow *result;
2274 PyObject * obj0 = 0 ;
2275 char *kwnames[] = {
2276 (char *) "self", NULL
2277 };
2278
2279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2281 {
2282 PyThreadState* __tstate = wxPyBeginAllowThreads();
2283 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2284
2285 wxPyEndAllowThreads(__tstate);
2286 if (PyErr_Occurred()) SWIG_fail;
2287 }
2288 {
2289 resultobj = wxPyMake_wxObject(result);
2290 }
2291 return resultobj;
2292 fail:
2293 return NULL;
2294}
2295
2296
2297static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2298 PyObject *resultobj;
2299 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2300 wxRect *arg2 = 0 ;
2301 wxRect temp2 ;
2302 PyObject * obj0 = 0 ;
2303 PyObject * obj1 = 0 ;
2304 char *kwnames[] = {
2305 (char *) "self",(char *) "rect", NULL
2306 };
2307
2308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2310 {
2311 arg2 = &temp2;
2312 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2313 }
2314 {
2315 PyThreadState* __tstate = wxPyBeginAllowThreads();
2316 (arg1)->SetTargetRect((wxRect const &)*arg2);
2317
2318 wxPyEndAllowThreads(__tstate);
2319 if (PyErr_Occurred()) SWIG_fail;
2320 }
2321 Py_INCREF(Py_None); resultobj = Py_None;
2322 return resultobj;
2323 fail:
2324 return NULL;
2325}
2326
2327
2328static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2329 PyObject *resultobj;
2330 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2331 wxRect result;
2332 PyObject * obj0 = 0 ;
2333 char *kwnames[] = {
2334 (char *) "self", NULL
2335 };
2336
2337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 {
2347 wxRect * resultptr;
2348 resultptr = new wxRect((wxRect &) result);
2349 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2350 }
2351 return resultobj;
2352 fail:
2353 return NULL;
2354}
2355
2356
2357static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2358 PyObject *obj;
2359 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2360 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2361 Py_INCREF(obj);
2362 return Py_BuildValue((char *)"");
2363}
2364static int _wrap_FrameNameStr_set(PyObject *) {
2365 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2366 return 1;
2367}
2368
2369
2370static PyObject *_wrap_FrameNameStr_get() {
2371 PyObject *pyobj;
2372
2373 {
2374#if wxUSE_UNICODE
2375 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2376#else
2377 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2378#endif
2379 }
2380 return pyobj;
2381}
2382
2383
2384static int _wrap_DialogNameStr_set(PyObject *) {
2385 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2386 return 1;
2387}
2388
2389
2390static PyObject *_wrap_DialogNameStr_get() {
2391 PyObject *pyobj;
2392
2393 {
2394#if wxUSE_UNICODE
2395 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2396#else
2397 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2398#endif
2399 }
2400 return pyobj;
2401}
2402
2403
2404static int _wrap_StatusLineNameStr_set(PyObject *) {
2405 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2406 return 1;
2407}
2408
2409
2410static PyObject *_wrap_StatusLineNameStr_get() {
2411 PyObject *pyobj;
2412
2413 {
2414#if wxUSE_UNICODE
2415 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2416#else
2417 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2418#endif
2419 }
2420 return pyobj;
2421}
2422
2423
2424static int _wrap_ToolBarNameStr_set(PyObject *) {
2425 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2426 return 1;
2427}
2428
2429
2430static PyObject *_wrap_ToolBarNameStr_get() {
2431 PyObject *pyobj;
2432
2433 {
2434#if wxUSE_UNICODE
2435 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2436#else
2437 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2438#endif
2439 }
2440 return pyobj;
2441}
2442
2443
2444static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2445 PyObject *resultobj;
2446 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2447 bool arg2 = (bool) True ;
2448 PyObject * obj0 = 0 ;
2449 PyObject * obj1 = 0 ;
2450 char *kwnames[] = {
2451 (char *) "self",(char *) "maximize", NULL
2452 };
2453
2454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2456 if (obj1) {
2457 {
2458 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 }
2461 }
2462 {
2463 PyThreadState* __tstate = wxPyBeginAllowThreads();
2464 (arg1)->Maximize(arg2);
2465
2466 wxPyEndAllowThreads(__tstate);
2467 if (PyErr_Occurred()) SWIG_fail;
2468 }
2469 Py_INCREF(Py_None); resultobj = Py_None;
2470 return resultobj;
2471 fail:
2472 return NULL;
2473}
2474
2475
2476static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2477 PyObject *resultobj;
2478 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2479 PyObject * obj0 = 0 ;
2480 char *kwnames[] = {
2481 (char *) "self", NULL
2482 };
2483
2484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2486 {
2487 PyThreadState* __tstate = wxPyBeginAllowThreads();
2488 (arg1)->Restore();
2489
2490 wxPyEndAllowThreads(__tstate);
2491 if (PyErr_Occurred()) SWIG_fail;
2492 }
2493 Py_INCREF(Py_None); resultobj = Py_None;
2494 return resultobj;
2495 fail:
2496 return NULL;
2497}
2498
2499
2500static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2501 PyObject *resultobj;
2502 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2503 bool arg2 = (bool) True ;
2504 PyObject * obj0 = 0 ;
2505 PyObject * obj1 = 0 ;
2506 char *kwnames[] = {
2507 (char *) "self",(char *) "iconize", NULL
2508 };
2509
2510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2512 if (obj1) {
2513 {
2514 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2515 if (PyErr_Occurred()) SWIG_fail;
2516 }
2517 }
2518 {
2519 PyThreadState* __tstate = wxPyBeginAllowThreads();
2520 (arg1)->Iconize(arg2);
2521
2522 wxPyEndAllowThreads(__tstate);
2523 if (PyErr_Occurred()) SWIG_fail;
2524 }
2525 Py_INCREF(Py_None); resultobj = Py_None;
2526 return resultobj;
2527 fail:
2528 return NULL;
2529}
2530
2531
2532static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2533 PyObject *resultobj;
2534 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2535 bool result;
2536 PyObject * obj0 = 0 ;
2537 char *kwnames[] = {
2538 (char *) "self", NULL
2539 };
2540
2541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2543 {
2544 PyThreadState* __tstate = wxPyBeginAllowThreads();
2545 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2546
2547 wxPyEndAllowThreads(__tstate);
2548 if (PyErr_Occurred()) SWIG_fail;
2549 }
2550 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2551 return resultobj;
2552 fail:
2553 return NULL;
2554}
2555
2556
2557static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2558 PyObject *resultobj;
2559 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2560 bool result;
2561 PyObject * obj0 = 0 ;
2562 char *kwnames[] = {
2563 (char *) "self", NULL
2564 };
2565
2566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2568 {
2569 PyThreadState* __tstate = wxPyBeginAllowThreads();
2570 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2571
2572 wxPyEndAllowThreads(__tstate);
2573 if (PyErr_Occurred()) SWIG_fail;
2574 }
2575 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2576 return resultobj;
2577 fail:
2578 return NULL;
2579}
2580
2581
2582static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2583 PyObject *resultobj;
2584 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2585 wxIcon result;
2586 PyObject * obj0 = 0 ;
2587 char *kwnames[] = {
2588 (char *) "self", NULL
2589 };
2590
2591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2593 {
2594 PyThreadState* __tstate = wxPyBeginAllowThreads();
2595 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2596
2597 wxPyEndAllowThreads(__tstate);
2598 if (PyErr_Occurred()) SWIG_fail;
2599 }
2600 {
2601 wxIcon * resultptr;
2602 resultptr = new wxIcon((wxIcon &) result);
2603 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2604 }
2605 return resultobj;
2606 fail:
2607 return NULL;
2608}
2609
2610
2611static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2612 PyObject *resultobj;
2613 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2614 wxIcon *arg2 = 0 ;
2615 PyObject * obj0 = 0 ;
2616 PyObject * obj1 = 0 ;
2617 char *kwnames[] = {
2618 (char *) "self",(char *) "icon", NULL
2619 };
2620
2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2624 if (arg2 == NULL) {
2625 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2626 }
2627 {
2628 PyThreadState* __tstate = wxPyBeginAllowThreads();
2629 (arg1)->SetIcon((wxIcon const &)*arg2);
2630
2631 wxPyEndAllowThreads(__tstate);
2632 if (PyErr_Occurred()) SWIG_fail;
2633 }
2634 Py_INCREF(Py_None); resultobj = Py_None;
2635 return resultobj;
2636 fail:
2637 return NULL;
2638}
2639
2640
2641static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2642 PyObject *resultobj;
2643 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2644 wxIconBundle *arg2 = 0 ;
2645 PyObject * obj0 = 0 ;
2646 PyObject * obj1 = 0 ;
2647 char *kwnames[] = {
2648 (char *) "self",(char *) "icons", NULL
2649 };
2650
2651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2653 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2654 if (arg2 == NULL) {
2655 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2656 }
2657 {
2658 PyThreadState* __tstate = wxPyBeginAllowThreads();
2659 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2660
2661 wxPyEndAllowThreads(__tstate);
2662 if (PyErr_Occurred()) SWIG_fail;
2663 }
2664 Py_INCREF(Py_None); resultobj = Py_None;
2665 return resultobj;
2666 fail:
2667 return NULL;
2668}
2669
2670
2671static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2672 PyObject *resultobj;
2673 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2674 bool arg2 ;
2675 long arg3 = (long) wxFULLSCREEN_ALL ;
2676 bool result;
2677 PyObject * obj0 = 0 ;
2678 PyObject * obj1 = 0 ;
2679 PyObject * obj2 = 0 ;
2680 char *kwnames[] = {
2681 (char *) "self",(char *) "show",(char *) "style", NULL
2682 };
2683
2684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
2685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2686 {
2687 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
2688 if (PyErr_Occurred()) SWIG_fail;
2689 }
2690 if (obj2) {
2691 {
2692 arg3 = (long) SWIG_PyObj_AsLong(obj2);
2693 if (PyErr_Occurred()) SWIG_fail;
2694 }
2695 }
2696 {
2697 PyThreadState* __tstate = wxPyBeginAllowThreads();
2698 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2699
2700 wxPyEndAllowThreads(__tstate);
2701 if (PyErr_Occurred()) SWIG_fail;
2702 }
2703 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2704 return resultobj;
2705 fail:
2706 return NULL;
2707}
2708
2709
2710static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2711 PyObject *resultobj;
2712 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2713 bool result;
2714 PyObject * obj0 = 0 ;
2715 char *kwnames[] = {
2716 (char *) "self", NULL
2717 };
2718
2719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2721 {
2722 PyThreadState* __tstate = wxPyBeginAllowThreads();
2723 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2724
2725 wxPyEndAllowThreads(__tstate);
2726 if (PyErr_Occurred()) SWIG_fail;
2727 }
2728 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2729 return resultobj;
2730 fail:
2731 return NULL;
2732}
2733
2734
2735static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2736 PyObject *resultobj;
2737 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2738 wxString *arg2 = 0 ;
2739 bool temp2 = False ;
2740 PyObject * obj0 = 0 ;
2741 PyObject * obj1 = 0 ;
2742 char *kwnames[] = {
2743 (char *) "self",(char *) "title", NULL
2744 };
2745
2746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2748 {
2749 arg2 = wxString_in_helper(obj1);
2750 if (arg2 == NULL) SWIG_fail;
2751 temp2 = True;
2752 }
2753 {
2754 PyThreadState* __tstate = wxPyBeginAllowThreads();
2755 (arg1)->SetTitle((wxString const &)*arg2);
2756
2757 wxPyEndAllowThreads(__tstate);
2758 if (PyErr_Occurred()) SWIG_fail;
2759 }
2760 Py_INCREF(Py_None); resultobj = Py_None;
2761 {
2762 if (temp2)
2763 delete arg2;
2764 }
2765 return resultobj;
2766 fail:
2767 {
2768 if (temp2)
2769 delete arg2;
2770 }
2771 return NULL;
2772}
2773
2774
2775static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2776 PyObject *resultobj;
2777 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2778 wxString result;
2779 PyObject * obj0 = 0 ;
2780 char *kwnames[] = {
2781 (char *) "self", NULL
2782 };
2783
2784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2786 {
2787 PyThreadState* __tstate = wxPyBeginAllowThreads();
2788 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2789
2790 wxPyEndAllowThreads(__tstate);
2791 if (PyErr_Occurred()) SWIG_fail;
2792 }
2793 {
2794#if wxUSE_UNICODE
2795 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2796#else
2797 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2798#endif
2799 }
2800 return resultobj;
2801 fail:
2802 return NULL;
2803}
2804
2805
2806static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2807 PyObject *resultobj;
2808 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2809 wxRegion *arg2 = 0 ;
2810 bool result;
2811 PyObject * obj0 = 0 ;
2812 PyObject * obj1 = 0 ;
2813 char *kwnames[] = {
2814 (char *) "self",(char *) "region", NULL
2815 };
2816
2817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2819 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2820 if (arg2 == NULL) {
2821 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2822 }
2823 {
2824 PyThreadState* __tstate = wxPyBeginAllowThreads();
2825 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2826
2827 wxPyEndAllowThreads(__tstate);
2828 if (PyErr_Occurred()) SWIG_fail;
2829 }
2830 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
2831 return resultobj;
2832 fail:
2833 return NULL;
2834}
2835
2836
2837static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2838 PyObject *obj;
2839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2840 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2841 Py_INCREF(obj);
2842 return Py_BuildValue((char *)"");
2843}
2844static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2845 PyObject *resultobj;
2846 wxWindow *arg1 = (wxWindow *) 0 ;
2847 int arg2 ;
2848 wxString *arg3 = 0 ;
2849 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2850 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2851 wxSize const &arg5_defvalue = wxDefaultSize ;
2852 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2853 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2854 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2855 wxString *arg7 = (wxString *) &arg7_defvalue ;
2856 wxFrame *result;
2857 bool temp3 = False ;
2858 wxPoint temp4 ;
2859 wxSize temp5 ;
2860 bool temp7 = False ;
2861 PyObject * obj0 = 0 ;
2862 PyObject * obj1 = 0 ;
2863 PyObject * obj2 = 0 ;
2864 PyObject * obj3 = 0 ;
2865 PyObject * obj4 = 0 ;
2866 PyObject * obj5 = 0 ;
2867 PyObject * obj6 = 0 ;
2868 char *kwnames[] = {
2869 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2870 };
2871
2872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
2873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2874 {
2875 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 }
2878 {
2879 arg3 = wxString_in_helper(obj2);
2880 if (arg3 == NULL) SWIG_fail;
2881 temp3 = True;
2882 }
2883 if (obj3) {
2884 {
2885 arg4 = &temp4;
2886 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2887 }
2888 }
2889 if (obj4) {
2890 {
2891 arg5 = &temp5;
2892 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2893 }
2894 }
2895 if (obj5) {
2896 {
2897 arg6 = (long) SWIG_PyObj_AsLong(obj5);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 }
2901 if (obj6) {
2902 {
2903 arg7 = wxString_in_helper(obj6);
2904 if (arg7 == NULL) SWIG_fail;
2905 temp7 = True;
2906 }
2907 }
2908 {
2909 PyThreadState* __tstate = wxPyBeginAllowThreads();
2910 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2911
2912 wxPyEndAllowThreads(__tstate);
2913 if (PyErr_Occurred()) SWIG_fail;
2914 }
2915 {
2916 resultobj = wxPyMake_wxObject(result);
2917 }
2918 {
2919 if (temp3)
2920 delete arg3;
2921 }
2922 {
2923 if (temp7)
2924 delete arg7;
2925 }
2926 return resultobj;
2927 fail:
2928 {
2929 if (temp3)
2930 delete arg3;
2931 }
2932 {
2933 if (temp7)
2934 delete arg7;
2935 }
2936 return NULL;
2937}
2938
2939
2940static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2941 PyObject *resultobj;
2942 wxFrame *result;
2943 char *kwnames[] = {
2944 NULL
2945 };
2946
2947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2948 {
2949 PyThreadState* __tstate = wxPyBeginAllowThreads();
2950 result = (wxFrame *)new wxFrame();
2951
2952 wxPyEndAllowThreads(__tstate);
2953 if (PyErr_Occurred()) SWIG_fail;
2954 }
2955 {
2956 resultobj = wxPyMake_wxObject(result);
2957 }
2958 return resultobj;
2959 fail:
2960 return NULL;
2961}
2962
2963
2964static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2965 PyObject *resultobj;
2966 wxFrame *arg1 = (wxFrame *) 0 ;
2967 wxWindow *arg2 = (wxWindow *) 0 ;
2968 int arg3 ;
2969 wxString *arg4 = 0 ;
2970 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2971 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2972 wxSize const &arg6_defvalue = wxDefaultSize ;
2973 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2974 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2975 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2976 wxString *arg8 = (wxString *) &arg8_defvalue ;
2977 bool result;
2978 bool temp4 = False ;
2979 wxPoint temp5 ;
2980 wxSize temp6 ;
2981 bool temp8 = False ;
2982 PyObject * obj0 = 0 ;
2983 PyObject * obj1 = 0 ;
2984 PyObject * obj2 = 0 ;
2985 PyObject * obj3 = 0 ;
2986 PyObject * obj4 = 0 ;
2987 PyObject * obj5 = 0 ;
2988 PyObject * obj6 = 0 ;
2989 PyObject * obj7 = 0 ;
2990 char *kwnames[] = {
2991 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2992 };
2993
2994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
2995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2997 {
2998 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
2999 if (PyErr_Occurred()) SWIG_fail;
3000 }
3001 {
3002 arg4 = wxString_in_helper(obj3);
3003 if (arg4 == NULL) SWIG_fail;
3004 temp4 = True;
3005 }
3006 if (obj4) {
3007 {
3008 arg5 = &temp5;
3009 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3010 }
3011 }
3012 if (obj5) {
3013 {
3014 arg6 = &temp6;
3015 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3016 }
3017 }
3018 if (obj6) {
3019 {
3020 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3021 if (PyErr_Occurred()) SWIG_fail;
3022 }
3023 }
3024 if (obj7) {
3025 {
3026 arg8 = wxString_in_helper(obj7);
3027 if (arg8 == NULL) SWIG_fail;
3028 temp8 = True;
3029 }
3030 }
3031 {
3032 PyThreadState* __tstate = wxPyBeginAllowThreads();
3033 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3034
3035 wxPyEndAllowThreads(__tstate);
3036 if (PyErr_Occurred()) SWIG_fail;
3037 }
3038 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3039 {
3040 if (temp4)
3041 delete arg4;
3042 }
3043 {
3044 if (temp8)
3045 delete arg8;
3046 }
3047 return resultobj;
3048 fail:
3049 {
3050 if (temp4)
3051 delete arg4;
3052 }
3053 {
3054 if (temp8)
3055 delete arg8;
3056 }
3057 return NULL;
3058}
3059
3060
3061static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3062 PyObject *resultobj;
3063 wxFrame *arg1 = (wxFrame *) 0 ;
3064 wxPoint result;
3065 PyObject * obj0 = 0 ;
3066 char *kwnames[] = {
3067 (char *) "self", NULL
3068 };
3069
3070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3072 {
3073 PyThreadState* __tstate = wxPyBeginAllowThreads();
3074 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3075
3076 wxPyEndAllowThreads(__tstate);
3077 if (PyErr_Occurred()) SWIG_fail;
3078 }
3079 {
3080 wxPoint * resultptr;
3081 resultptr = new wxPoint((wxPoint &) result);
3082 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3083 }
3084 return resultobj;
3085 fail:
3086 return NULL;
3087}
3088
3089
3090static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3091 PyObject *resultobj;
3092 wxFrame *arg1 = (wxFrame *) 0 ;
3093 PyObject * obj0 = 0 ;
3094 char *kwnames[] = {
3095 (char *) "self", NULL
3096 };
3097
3098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3100 {
3101 PyThreadState* __tstate = wxPyBeginAllowThreads();
3102 (arg1)->SendSizeEvent();
3103
3104 wxPyEndAllowThreads(__tstate);
3105 if (PyErr_Occurred()) SWIG_fail;
3106 }
3107 Py_INCREF(Py_None); resultobj = Py_None;
3108 return resultobj;
3109 fail:
3110 return NULL;
3111}
3112
3113
3114static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3115 PyObject *resultobj;
3116 wxFrame *arg1 = (wxFrame *) 0 ;
3117 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3118 PyObject * obj0 = 0 ;
3119 PyObject * obj1 = 0 ;
3120 char *kwnames[] = {
3121 (char *) "self",(char *) "menubar", NULL
3122 };
3123
3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3126 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3127 {
3128 PyThreadState* __tstate = wxPyBeginAllowThreads();
3129 (arg1)->SetMenuBar(arg2);
3130
3131 wxPyEndAllowThreads(__tstate);
3132 if (PyErr_Occurred()) SWIG_fail;
3133 }
3134 Py_INCREF(Py_None); resultobj = Py_None;
3135 return resultobj;
3136 fail:
3137 return NULL;
3138}
3139
3140
3141static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxFrame *arg1 = (wxFrame *) 0 ;
3144 wxMenuBar *result;
3145 PyObject * obj0 = 0 ;
3146 char *kwnames[] = {
3147 (char *) "self", NULL
3148 };
3149
3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 {
3160 resultobj = wxPyMake_wxObject(result);
3161 }
3162 return resultobj;
3163 fail:
3164 return NULL;
3165}
3166
3167
3168static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3169 PyObject *resultobj;
3170 wxFrame *arg1 = (wxFrame *) 0 ;
3171 int arg2 ;
3172 bool result;
3173 PyObject * obj0 = 0 ;
3174 PyObject * obj1 = 0 ;
3175 char *kwnames[] = {
3176 (char *) "self",(char *) "winid", NULL
3177 };
3178
3179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
3180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3181 {
3182 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3183 if (PyErr_Occurred()) SWIG_fail;
3184 }
3185 {
3186 PyThreadState* __tstate = wxPyBeginAllowThreads();
3187 result = (bool)(arg1)->ProcessCommand(arg2);
3188
3189 wxPyEndAllowThreads(__tstate);
3190 if (PyErr_Occurred()) SWIG_fail;
3191 }
3192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3193 return resultobj;
3194 fail:
3195 return NULL;
3196}
3197
3198
3199static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3200 PyObject *resultobj;
3201 wxFrame *arg1 = (wxFrame *) 0 ;
3202 int arg2 = (int) 1 ;
3203 long arg3 = (long) wxST_SIZEGRIP ;
3204 int arg4 = (int) 0 ;
3205 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3206 wxString *arg5 = (wxString *) &arg5_defvalue ;
3207 wxStatusBar *result;
3208 bool temp5 = False ;
3209 PyObject * obj0 = 0 ;
3210 PyObject * obj1 = 0 ;
3211 PyObject * obj2 = 0 ;
3212 PyObject * obj3 = 0 ;
3213 PyObject * obj4 = 0 ;
3214 char *kwnames[] = {
3215 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3216 };
3217
3218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
3219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3220 if (obj1) {
3221 {
3222 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3223 if (PyErr_Occurred()) SWIG_fail;
3224 }
3225 }
3226 if (obj2) {
3227 {
3228 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3229 if (PyErr_Occurred()) SWIG_fail;
3230 }
3231 }
3232 if (obj3) {
3233 {
3234 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3235 if (PyErr_Occurred()) SWIG_fail;
3236 }
3237 }
3238 if (obj4) {
3239 {
3240 arg5 = wxString_in_helper(obj4);
3241 if (arg5 == NULL) SWIG_fail;
3242 temp5 = True;
3243 }
3244 }
3245 {
3246 PyThreadState* __tstate = wxPyBeginAllowThreads();
3247 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3248
3249 wxPyEndAllowThreads(__tstate);
3250 if (PyErr_Occurred()) SWIG_fail;
3251 }
3252 {
3253 resultobj = wxPyMake_wxObject(result);
3254 }
3255 {
3256 if (temp5)
3257 delete arg5;
3258 }
3259 return resultobj;
3260 fail:
3261 {
3262 if (temp5)
3263 delete arg5;
3264 }
3265 return NULL;
3266}
3267
3268
3269static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3270 PyObject *resultobj;
3271 wxFrame *arg1 = (wxFrame *) 0 ;
3272 wxStatusBar *result;
3273 PyObject * obj0 = 0 ;
3274 char *kwnames[] = {
3275 (char *) "self", NULL
3276 };
3277
3278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3280 {
3281 PyThreadState* __tstate = wxPyBeginAllowThreads();
3282 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3283
3284 wxPyEndAllowThreads(__tstate);
3285 if (PyErr_Occurred()) SWIG_fail;
3286 }
3287 {
3288 resultobj = wxPyMake_wxObject(result);
3289 }
3290 return resultobj;
3291 fail:
3292 return NULL;
3293}
3294
3295
3296static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3297 PyObject *resultobj;
3298 wxFrame *arg1 = (wxFrame *) 0 ;
3299 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3300 PyObject * obj0 = 0 ;
3301 PyObject * obj1 = 0 ;
3302 char *kwnames[] = {
3303 (char *) "self",(char *) "statBar", NULL
3304 };
3305
3306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3309 {
3310 PyThreadState* __tstate = wxPyBeginAllowThreads();
3311 (arg1)->SetStatusBar(arg2);
3312
3313 wxPyEndAllowThreads(__tstate);
3314 if (PyErr_Occurred()) SWIG_fail;
3315 }
3316 Py_INCREF(Py_None); resultobj = Py_None;
3317 return resultobj;
3318 fail:
3319 return NULL;
3320}
3321
3322
3323static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3324 PyObject *resultobj;
3325 wxFrame *arg1 = (wxFrame *) 0 ;
3326 wxString *arg2 = 0 ;
3327 int arg3 = (int) 0 ;
3328 bool temp2 = False ;
3329 PyObject * obj0 = 0 ;
3330 PyObject * obj1 = 0 ;
3331 PyObject * obj2 = 0 ;
3332 char *kwnames[] = {
3333 (char *) "self",(char *) "text",(char *) "number", NULL
3334 };
3335
3336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3338 {
3339 arg2 = wxString_in_helper(obj1);
3340 if (arg2 == NULL) SWIG_fail;
3341 temp2 = True;
3342 }
3343 if (obj2) {
3344 {
3345 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3346 if (PyErr_Occurred()) SWIG_fail;
3347 }
3348 }
3349 {
3350 PyThreadState* __tstate = wxPyBeginAllowThreads();
3351 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3352
3353 wxPyEndAllowThreads(__tstate);
3354 if (PyErr_Occurred()) SWIG_fail;
3355 }
3356 Py_INCREF(Py_None); resultobj = Py_None;
3357 {
3358 if (temp2)
3359 delete arg2;
3360 }
3361 return resultobj;
3362 fail:
3363 {
3364 if (temp2)
3365 delete arg2;
3366 }
3367 return NULL;
3368}
3369
3370
3371static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3372 PyObject *resultobj;
3373 wxFrame *arg1 = (wxFrame *) 0 ;
3374 int arg2 ;
3375 int *arg3 = (int *) 0 ;
3376 PyObject * obj0 = 0 ;
3377 PyObject * obj1 = 0 ;
3378 char *kwnames[] = {
3379 (char *) "self",(char *) "widths", NULL
3380 };
3381
3382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3384 {
3385 arg2 = PyList_Size(obj1);
3386 arg3 = int_LIST_helper(obj1);
3387 if (arg3 == NULL) SWIG_fail;
3388 }
3389 {
3390 PyThreadState* __tstate = wxPyBeginAllowThreads();
3391 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3392
3393 wxPyEndAllowThreads(__tstate);
3394 if (PyErr_Occurred()) SWIG_fail;
3395 }
3396 Py_INCREF(Py_None); resultobj = Py_None;
3397 {
3398 if (arg3) delete [] arg3;
3399 }
3400 return resultobj;
3401 fail:
3402 {
3403 if (arg3) delete [] arg3;
3404 }
3405 return NULL;
3406}
3407
3408
3409static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3410 PyObject *resultobj;
3411 wxFrame *arg1 = (wxFrame *) 0 ;
3412 wxString *arg2 = 0 ;
3413 int arg3 = (int) 0 ;
3414 bool temp2 = False ;
3415 PyObject * obj0 = 0 ;
3416 PyObject * obj1 = 0 ;
3417 PyObject * obj2 = 0 ;
3418 char *kwnames[] = {
3419 (char *) "self",(char *) "text",(char *) "number", NULL
3420 };
3421
3422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
3423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3424 {
3425 arg2 = wxString_in_helper(obj1);
3426 if (arg2 == NULL) SWIG_fail;
3427 temp2 = True;
3428 }
3429 if (obj2) {
3430 {
3431 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3432 if (PyErr_Occurred()) SWIG_fail;
3433 }
3434 }
3435 {
3436 PyThreadState* __tstate = wxPyBeginAllowThreads();
3437 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3438
3439 wxPyEndAllowThreads(__tstate);
3440 if (PyErr_Occurred()) SWIG_fail;
3441 }
3442 Py_INCREF(Py_None); resultobj = Py_None;
3443 {
3444 if (temp2)
3445 delete arg2;
3446 }
3447 return resultobj;
3448 fail:
3449 {
3450 if (temp2)
3451 delete arg2;
3452 }
3453 return NULL;
3454}
3455
3456
3457static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxFrame *arg1 = (wxFrame *) 0 ;
3460 int arg2 = (int) 0 ;
3461 PyObject * obj0 = 0 ;
3462 PyObject * obj1 = 0 ;
3463 char *kwnames[] = {
3464 (char *) "self",(char *) "number", NULL
3465 };
3466
3467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
3468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3469 if (obj1) {
3470 {
3471 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3472 if (PyErr_Occurred()) SWIG_fail;
3473 }
3474 }
3475 {
3476 PyThreadState* __tstate = wxPyBeginAllowThreads();
3477 (arg1)->PopStatusText(arg2);
3478
3479 wxPyEndAllowThreads(__tstate);
3480 if (PyErr_Occurred()) SWIG_fail;
3481 }
3482 Py_INCREF(Py_None); resultobj = Py_None;
3483 return resultobj;
3484 fail:
3485 return NULL;
3486}
3487
3488
3489static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3490 PyObject *resultobj;
3491 wxFrame *arg1 = (wxFrame *) 0 ;
3492 int arg2 ;
3493 PyObject * obj0 = 0 ;
3494 PyObject * obj1 = 0 ;
3495 char *kwnames[] = {
3496 (char *) "self",(char *) "n", NULL
3497 };
3498
3499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
3500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3501 {
3502 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 {
3506 PyThreadState* __tstate = wxPyBeginAllowThreads();
3507 (arg1)->SetStatusBarPane(arg2);
3508
3509 wxPyEndAllowThreads(__tstate);
3510 if (PyErr_Occurred()) SWIG_fail;
3511 }
3512 Py_INCREF(Py_None); resultobj = Py_None;
3513 return resultobj;
3514 fail:
3515 return NULL;
3516}
3517
3518
3519static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3520 PyObject *resultobj;
3521 wxFrame *arg1 = (wxFrame *) 0 ;
3522 int result;
3523 PyObject * obj0 = 0 ;
3524 char *kwnames[] = {
3525 (char *) "self", NULL
3526 };
3527
3528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3530 {
3531 PyThreadState* __tstate = wxPyBeginAllowThreads();
3532 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3533
3534 wxPyEndAllowThreads(__tstate);
3535 if (PyErr_Occurred()) SWIG_fail;
3536 }
3537 resultobj = SWIG_PyObj_FromInt((int)result);
3538 return resultobj;
3539 fail:
3540 return NULL;
3541}
3542
3543
3544static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3545 PyObject *resultobj;
3546 wxFrame *arg1 = (wxFrame *) 0 ;
3547 long arg2 = (long) -1 ;
3548 int arg3 = (int) -1 ;
3549 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3550 wxString *arg4 = (wxString *) &arg4_defvalue ;
3551 wxToolBar *result;
3552 bool temp4 = False ;
3553 PyObject * obj0 = 0 ;
3554 PyObject * obj1 = 0 ;
3555 PyObject * obj2 = 0 ;
3556 PyObject * obj3 = 0 ;
3557 char *kwnames[] = {
3558 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3559 };
3560
3561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
3562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3563 if (obj1) {
3564 {
3565 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3566 if (PyErr_Occurred()) SWIG_fail;
3567 }
3568 }
3569 if (obj2) {
3570 {
3571 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3572 if (PyErr_Occurred()) SWIG_fail;
3573 }
3574 }
3575 if (obj3) {
3576 {
3577 arg4 = wxString_in_helper(obj3);
3578 if (arg4 == NULL) SWIG_fail;
3579 temp4 = True;
3580 }
3581 }
3582 {
3583 PyThreadState* __tstate = wxPyBeginAllowThreads();
3584 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3585
3586 wxPyEndAllowThreads(__tstate);
3587 if (PyErr_Occurred()) SWIG_fail;
3588 }
3589 {
3590 resultobj = wxPyMake_wxObject(result);
3591 }
3592 {
3593 if (temp4)
3594 delete arg4;
3595 }
3596 return resultobj;
3597 fail:
3598 {
3599 if (temp4)
3600 delete arg4;
3601 }
3602 return NULL;
3603}
3604
3605
3606static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3607 PyObject *resultobj;
3608 wxFrame *arg1 = (wxFrame *) 0 ;
3609 wxToolBar *result;
3610 PyObject * obj0 = 0 ;
3611 char *kwnames[] = {
3612 (char *) "self", NULL
3613 };
3614
3615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3617 {
3618 PyThreadState* __tstate = wxPyBeginAllowThreads();
3619 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3620
3621 wxPyEndAllowThreads(__tstate);
3622 if (PyErr_Occurred()) SWIG_fail;
3623 }
3624 {
3625 resultobj = wxPyMake_wxObject(result);
3626 }
3627 return resultobj;
3628 fail:
3629 return NULL;
3630}
3631
3632
3633static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3634 PyObject *resultobj;
3635 wxFrame *arg1 = (wxFrame *) 0 ;
3636 wxToolBar *arg2 = (wxToolBar *) 0 ;
3637 PyObject * obj0 = 0 ;
3638 PyObject * obj1 = 0 ;
3639 char *kwnames[] = {
3640 (char *) "self",(char *) "toolbar", NULL
3641 };
3642
3643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3645 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3646 {
3647 PyThreadState* __tstate = wxPyBeginAllowThreads();
3648 (arg1)->SetToolBar(arg2);
3649
3650 wxPyEndAllowThreads(__tstate);
3651 if (PyErr_Occurred()) SWIG_fail;
3652 }
3653 Py_INCREF(Py_None); resultobj = Py_None;
3654 return resultobj;
3655 fail:
3656 return NULL;
3657}
3658
3659
3660static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3661 PyObject *resultobj;
3662 wxFrame *arg1 = (wxFrame *) 0 ;
3663 wxString *arg2 = 0 ;
3664 bool arg3 ;
3665 bool temp2 = False ;
3666 PyObject * obj0 = 0 ;
3667 PyObject * obj1 = 0 ;
3668 PyObject * obj2 = 0 ;
3669 char *kwnames[] = {
3670 (char *) "self",(char *) "text",(char *) "show", NULL
3671 };
3672
3673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3675 {
3676 arg2 = wxString_in_helper(obj1);
3677 if (arg2 == NULL) SWIG_fail;
3678 temp2 = True;
3679 }
3680 {
3681 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
3682 if (PyErr_Occurred()) SWIG_fail;
3683 }
3684 {
3685 PyThreadState* __tstate = wxPyBeginAllowThreads();
3686 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3687
3688 wxPyEndAllowThreads(__tstate);
3689 if (PyErr_Occurred()) SWIG_fail;
3690 }
3691 Py_INCREF(Py_None); resultobj = Py_None;
3692 {
3693 if (temp2)
3694 delete arg2;
3695 }
3696 return resultobj;
3697 fail:
3698 {
3699 if (temp2)
3700 delete arg2;
3701 }
3702 return NULL;
3703}
3704
3705
3706static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3707 PyObject *resultobj;
3708 wxFrame *arg1 = (wxFrame *) 0 ;
3709 wxMenu *arg2 = (wxMenu *) NULL ;
3710 PyObject * obj0 = 0 ;
3711 PyObject * obj1 = 0 ;
3712 char *kwnames[] = {
3713 (char *) "self",(char *) "menu", NULL
3714 };
3715
3716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3718 if (obj1) {
3719 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3720 }
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 (arg1)->DoMenuUpdates(arg2);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 Py_INCREF(Py_None); resultobj = Py_None;
3729 return resultobj;
3730 fail:
3731 return NULL;
3732}
3733
3734
3735static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3736 PyObject *obj;
3737 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3738 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3739 Py_INCREF(obj);
3740 return Py_BuildValue((char *)"");
3741}
3742static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3743 PyObject *resultobj;
3744 wxWindow *arg1 = (wxWindow *) 0 ;
3745 int arg2 ;
3746 wxString *arg3 = 0 ;
3747 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3748 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3749 wxSize const &arg5_defvalue = wxDefaultSize ;
3750 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3751 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3752 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3753 wxString *arg7 = (wxString *) &arg7_defvalue ;
3754 wxDialog *result;
3755 bool temp3 = False ;
3756 wxPoint temp4 ;
3757 wxSize temp5 ;
3758 bool temp7 = False ;
3759 PyObject * obj0 = 0 ;
3760 PyObject * obj1 = 0 ;
3761 PyObject * obj2 = 0 ;
3762 PyObject * obj3 = 0 ;
3763 PyObject * obj4 = 0 ;
3764 PyObject * obj5 = 0 ;
3765 PyObject * obj6 = 0 ;
3766 char *kwnames[] = {
3767 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3768 };
3769
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
3771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3772 {
3773 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
3774 if (PyErr_Occurred()) SWIG_fail;
3775 }
3776 {
3777 arg3 = wxString_in_helper(obj2);
3778 if (arg3 == NULL) SWIG_fail;
3779 temp3 = True;
3780 }
3781 if (obj3) {
3782 {
3783 arg4 = &temp4;
3784 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3785 }
3786 }
3787 if (obj4) {
3788 {
3789 arg5 = &temp5;
3790 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3791 }
3792 }
3793 if (obj5) {
3794 {
3795 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3796 if (PyErr_Occurred()) SWIG_fail;
3797 }
3798 }
3799 if (obj6) {
3800 {
3801 arg7 = wxString_in_helper(obj6);
3802 if (arg7 == NULL) SWIG_fail;
3803 temp7 = True;
3804 }
3805 }
3806 {
3807 PyThreadState* __tstate = wxPyBeginAllowThreads();
3808 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3809
3810 wxPyEndAllowThreads(__tstate);
3811 if (PyErr_Occurred()) SWIG_fail;
3812 }
3813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3814 {
3815 if (temp3)
3816 delete arg3;
3817 }
3818 {
3819 if (temp7)
3820 delete arg7;
3821 }
3822 return resultobj;
3823 fail:
3824 {
3825 if (temp3)
3826 delete arg3;
3827 }
3828 {
3829 if (temp7)
3830 delete arg7;
3831 }
3832 return NULL;
3833}
3834
3835
3836static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3837 PyObject *resultobj;
3838 wxDialog *result;
3839 char *kwnames[] = {
3840 NULL
3841 };
3842
3843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3844 {
3845 PyThreadState* __tstate = wxPyBeginAllowThreads();
3846 result = (wxDialog *)new wxDialog();
3847
3848 wxPyEndAllowThreads(__tstate);
3849 if (PyErr_Occurred()) SWIG_fail;
3850 }
3851 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3852 return resultobj;
3853 fail:
3854 return NULL;
3855}
3856
3857
3858static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3859 PyObject *resultobj;
3860 wxDialog *arg1 = (wxDialog *) 0 ;
3861 wxWindow *arg2 = (wxWindow *) 0 ;
3862 int arg3 ;
3863 wxString *arg4 = 0 ;
3864 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3865 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3866 wxSize const &arg6_defvalue = wxDefaultSize ;
3867 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3868 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3869 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3870 wxString *arg8 = (wxString *) &arg8_defvalue ;
3871 bool result;
3872 bool temp4 = False ;
3873 wxPoint temp5 ;
3874 wxSize temp6 ;
3875 bool temp8 = False ;
3876 PyObject * obj0 = 0 ;
3877 PyObject * obj1 = 0 ;
3878 PyObject * obj2 = 0 ;
3879 PyObject * obj3 = 0 ;
3880 PyObject * obj4 = 0 ;
3881 PyObject * obj5 = 0 ;
3882 PyObject * obj6 = 0 ;
3883 PyObject * obj7 = 0 ;
3884 char *kwnames[] = {
3885 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3886 };
3887
3888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
3889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3890 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3891 {
3892 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
3893 if (PyErr_Occurred()) SWIG_fail;
3894 }
3895 {
3896 arg4 = wxString_in_helper(obj3);
3897 if (arg4 == NULL) SWIG_fail;
3898 temp4 = True;
3899 }
3900 if (obj4) {
3901 {
3902 arg5 = &temp5;
3903 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3904 }
3905 }
3906 if (obj5) {
3907 {
3908 arg6 = &temp6;
3909 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3910 }
3911 }
3912 if (obj6) {
3913 {
3914 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3915 if (PyErr_Occurred()) SWIG_fail;
3916 }
3917 }
3918 if (obj7) {
3919 {
3920 arg8 = wxString_in_helper(obj7);
3921 if (arg8 == NULL) SWIG_fail;
3922 temp8 = True;
3923 }
3924 }
3925 {
3926 PyThreadState* __tstate = wxPyBeginAllowThreads();
3927 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3928
3929 wxPyEndAllowThreads(__tstate);
3930 if (PyErr_Occurred()) SWIG_fail;
3931 }
3932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
3933 {
3934 if (temp4)
3935 delete arg4;
3936 }
3937 {
3938 if (temp8)
3939 delete arg8;
3940 }
3941 return resultobj;
3942 fail:
3943 {
3944 if (temp4)
3945 delete arg4;
3946 }
3947 {
3948 if (temp8)
3949 delete arg8;
3950 }
3951 return NULL;
3952}
3953
3954
3955static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3956 PyObject *resultobj;
3957 wxDialog *arg1 = (wxDialog *) 0 ;
3958 int arg2 ;
3959 PyObject * obj0 = 0 ;
3960 PyObject * obj1 = 0 ;
3961 char *kwnames[] = {
3962 (char *) "self",(char *) "returnCode", NULL
3963 };
3964
3965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
3966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3967 {
3968 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3969 if (PyErr_Occurred()) SWIG_fail;
3970 }
3971 {
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 (arg1)->SetReturnCode(arg2);
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) SWIG_fail;
3977 }
3978 Py_INCREF(Py_None); resultobj = Py_None;
3979 return resultobj;
3980 fail:
3981 return NULL;
3982}
3983
3984
3985static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3986 PyObject *resultobj;
3987 wxDialog *arg1 = (wxDialog *) 0 ;
3988 int result;
3989 PyObject * obj0 = 0 ;
3990 char *kwnames[] = {
3991 (char *) "self", NULL
3992 };
3993
3994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3996 {
3997 PyThreadState* __tstate = wxPyBeginAllowThreads();
3998 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3999
4000 wxPyEndAllowThreads(__tstate);
4001 if (PyErr_Occurred()) SWIG_fail;
4002 }
4003 resultobj = SWIG_PyObj_FromInt((int)result);
4004 return resultobj;
4005 fail:
4006 return NULL;
4007}
4008
4009
4010static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4011 PyObject *resultobj;
4012 wxDialog *arg1 = (wxDialog *) 0 ;
4013 wxString *arg2 = 0 ;
4014 wxSizer *result;
4015 bool temp2 = False ;
4016 PyObject * obj0 = 0 ;
4017 PyObject * obj1 = 0 ;
4018 char *kwnames[] = {
4019 (char *) "self",(char *) "message", NULL
4020 };
4021
4022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4024 {
4025 arg2 = wxString_in_helper(obj1);
4026 if (arg2 == NULL) SWIG_fail;
4027 temp2 = True;
4028 }
4029 {
4030 PyThreadState* __tstate = wxPyBeginAllowThreads();
4031 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4032
4033 wxPyEndAllowThreads(__tstate);
4034 if (PyErr_Occurred()) SWIG_fail;
4035 }
4036 {
4037 resultobj = wxPyMake_wxSizer(result);
4038 }
4039 {
4040 if (temp2)
4041 delete arg2;
4042 }
4043 return resultobj;
4044 fail:
4045 {
4046 if (temp2)
4047 delete arg2;
4048 }
4049 return NULL;
4050}
4051
4052
4053static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4054 PyObject *resultobj;
4055 wxDialog *arg1 = (wxDialog *) 0 ;
4056 long arg2 ;
4057 wxSizer *result;
4058 PyObject * obj0 = 0 ;
4059 PyObject * obj1 = 0 ;
4060 char *kwnames[] = {
4061 (char *) "self",(char *) "flags", NULL
4062 };
4063
4064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
4065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4066 {
4067 arg2 = (long) SWIG_PyObj_AsLong(obj1);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 {
4071 PyThreadState* __tstate = wxPyBeginAllowThreads();
4072 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4073
4074 wxPyEndAllowThreads(__tstate);
4075 if (PyErr_Occurred()) SWIG_fail;
4076 }
4077 {
4078 resultobj = wxPyMake_wxSizer(result);
4079 }
4080 return resultobj;
4081 fail:
4082 return NULL;
4083}
4084
4085
4086static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4087 PyObject *resultobj;
4088 wxDialog *arg1 = (wxDialog *) 0 ;
4089 bool result;
4090 PyObject * obj0 = 0 ;
4091 char *kwnames[] = {
4092 (char *) "self", NULL
4093 };
4094
4095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4097 {
4098 PyThreadState* __tstate = wxPyBeginAllowThreads();
4099 result = (bool)((wxDialog const *)arg1)->IsModal();
4100
4101 wxPyEndAllowThreads(__tstate);
4102 if (PyErr_Occurred()) SWIG_fail;
4103 }
4104 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4105 return resultobj;
4106 fail:
4107 return NULL;
4108}
4109
4110
4111static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4112 PyObject *resultobj;
4113 wxDialog *arg1 = (wxDialog *) 0 ;
4114 int result;
4115 PyObject * obj0 = 0 ;
4116 char *kwnames[] = {
4117 (char *) "self", NULL
4118 };
4119
4120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4122 {
4123 PyThreadState* __tstate = wxPyBeginAllowThreads();
4124 result = (int)(arg1)->ShowModal();
4125
4126 wxPyEndAllowThreads(__tstate);
4127 if (PyErr_Occurred()) SWIG_fail;
4128 }
4129 resultobj = SWIG_PyObj_FromInt((int)result);
4130 return resultobj;
4131 fail:
4132 return NULL;
4133}
4134
4135
4136static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4137 PyObject *resultobj;
4138 wxDialog *arg1 = (wxDialog *) 0 ;
4139 int arg2 ;
4140 PyObject * obj0 = 0 ;
4141 PyObject * obj1 = 0 ;
4142 char *kwnames[] = {
4143 (char *) "self",(char *) "retCode", NULL
4144 };
4145
4146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
4147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4148 {
4149 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4150 if (PyErr_Occurred()) SWIG_fail;
4151 }
4152 {
4153 PyThreadState* __tstate = wxPyBeginAllowThreads();
4154 (arg1)->EndModal(arg2);
4155
4156 wxPyEndAllowThreads(__tstate);
4157 if (PyErr_Occurred()) SWIG_fail;
4158 }
4159 Py_INCREF(Py_None); resultobj = Py_None;
4160 return resultobj;
4161 fail:
4162 return NULL;
4163}
4164
4165
4166static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4167 PyObject *resultobj;
4168 wxDialog *arg1 = (wxDialog *) 0 ;
4169 bool result;
4170 PyObject * obj0 = 0 ;
4171 char *kwnames[] = {
4172 (char *) "self", NULL
4173 };
4174
4175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4177 {
4178 PyThreadState* __tstate = wxPyBeginAllowThreads();
4179 result = (bool)wxDialog_IsModalShowing(arg1);
4180
4181 wxPyEndAllowThreads(__tstate);
4182 if (PyErr_Occurred()) SWIG_fail;
4183 }
4184 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4185 return resultobj;
4186 fail:
4187 return NULL;
4188}
4189
4190
4191static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4192 PyObject *obj;
4193 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4194 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4195 Py_INCREF(obj);
4196 return Py_BuildValue((char *)"");
4197}
4198static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4199 PyObject *resultobj;
4200 wxWindow *arg1 = (wxWindow *) 0 ;
4201 int arg2 ;
4202 wxString *arg3 = 0 ;
4203 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4204 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4205 wxSize const &arg5_defvalue = wxDefaultSize ;
4206 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4207 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4208 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4209 wxString *arg7 = (wxString *) &arg7_defvalue ;
4210 wxMiniFrame *result;
4211 bool temp3 = False ;
4212 wxPoint temp4 ;
4213 wxSize temp5 ;
4214 bool temp7 = False ;
4215 PyObject * obj0 = 0 ;
4216 PyObject * obj1 = 0 ;
4217 PyObject * obj2 = 0 ;
4218 PyObject * obj3 = 0 ;
4219 PyObject * obj4 = 0 ;
4220 PyObject * obj5 = 0 ;
4221 PyObject * obj6 = 0 ;
4222 char *kwnames[] = {
4223 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4224 };
4225
4226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
4227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4228 {
4229 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
4230 if (PyErr_Occurred()) SWIG_fail;
4231 }
4232 {
4233 arg3 = wxString_in_helper(obj2);
4234 if (arg3 == NULL) SWIG_fail;
4235 temp3 = True;
4236 }
4237 if (obj3) {
4238 {
4239 arg4 = &temp4;
4240 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4241 }
4242 }
4243 if (obj4) {
4244 {
4245 arg5 = &temp5;
4246 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4247 }
4248 }
4249 if (obj5) {
4250 {
4251 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4252 if (PyErr_Occurred()) SWIG_fail;
4253 }
4254 }
4255 if (obj6) {
4256 {
4257 arg7 = wxString_in_helper(obj6);
4258 if (arg7 == NULL) SWIG_fail;
4259 temp7 = True;
4260 }
4261 }
4262 {
4263 PyThreadState* __tstate = wxPyBeginAllowThreads();
4264 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4265
4266 wxPyEndAllowThreads(__tstate);
4267 if (PyErr_Occurred()) SWIG_fail;
4268 }
4269 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4270 {
4271 if (temp3)
4272 delete arg3;
4273 }
4274 {
4275 if (temp7)
4276 delete arg7;
4277 }
4278 return resultobj;
4279 fail:
4280 {
4281 if (temp3)
4282 delete arg3;
4283 }
4284 {
4285 if (temp7)
4286 delete arg7;
4287 }
4288 return NULL;
4289}
4290
4291
4292static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4293 PyObject *resultobj;
4294 wxMiniFrame *result;
4295 char *kwnames[] = {
4296 NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4300 {
4301 PyThreadState* __tstate = wxPyBeginAllowThreads();
4302 result = (wxMiniFrame *)new wxMiniFrame();
4303
4304 wxPyEndAllowThreads(__tstate);
4305 if (PyErr_Occurred()) SWIG_fail;
4306 }
4307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4308 return resultobj;
4309 fail:
4310 return NULL;
4311}
4312
4313
4314static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4315 PyObject *resultobj;
4316 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4317 wxWindow *arg2 = (wxWindow *) 0 ;
4318 int arg3 ;
4319 wxString *arg4 = 0 ;
4320 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4321 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4322 wxSize const &arg6_defvalue = wxDefaultSize ;
4323 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4324 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4325 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4326 wxString *arg8 = (wxString *) &arg8_defvalue ;
4327 bool result;
4328 bool temp4 = False ;
4329 wxPoint temp5 ;
4330 wxSize temp6 ;
4331 bool temp8 = False ;
4332 PyObject * obj0 = 0 ;
4333 PyObject * obj1 = 0 ;
4334 PyObject * obj2 = 0 ;
4335 PyObject * obj3 = 0 ;
4336 PyObject * obj4 = 0 ;
4337 PyObject * obj5 = 0 ;
4338 PyObject * obj6 = 0 ;
4339 PyObject * obj7 = 0 ;
4340 char *kwnames[] = {
4341 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4342 };
4343
4344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4346 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4347 {
4348 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 {
4352 arg4 = wxString_in_helper(obj3);
4353 if (arg4 == NULL) SWIG_fail;
4354 temp4 = True;
4355 }
4356 if (obj4) {
4357 {
4358 arg5 = &temp5;
4359 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4360 }
4361 }
4362 if (obj5) {
4363 {
4364 arg6 = &temp6;
4365 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4366 }
4367 }
4368 if (obj6) {
4369 {
4370 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4371 if (PyErr_Occurred()) SWIG_fail;
4372 }
4373 }
4374 if (obj7) {
4375 {
4376 arg8 = wxString_in_helper(obj7);
4377 if (arg8 == NULL) SWIG_fail;
4378 temp8 = True;
4379 }
4380 }
4381 {
4382 PyThreadState* __tstate = wxPyBeginAllowThreads();
4383 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4384
4385 wxPyEndAllowThreads(__tstate);
4386 if (PyErr_Occurred()) SWIG_fail;
4387 }
4388 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4389 {
4390 if (temp4)
4391 delete arg4;
4392 }
4393 {
4394 if (temp8)
4395 delete arg8;
4396 }
4397 return resultobj;
4398 fail:
4399 {
4400 if (temp4)
4401 delete arg4;
4402 }
4403 {
4404 if (temp8)
4405 delete arg8;
4406 }
4407 return NULL;
4408}
4409
4410
4411static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4412 PyObject *obj;
4413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4414 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4415 Py_INCREF(obj);
4416 return Py_BuildValue((char *)"");
4417}
4418static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4419 PyObject *resultobj;
4420 wxBitmap *arg1 = 0 ;
4421 wxWindow *arg2 = (wxWindow *) 0 ;
4422 int arg3 ;
4423 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4424 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4425 wxSize const &arg5_defvalue = wxDefaultSize ;
4426 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4427 long arg6 = (long) wxNO_BORDER ;
4428 wxSplashScreenWindow *result;
4429 wxPoint temp4 ;
4430 wxSize temp5 ;
4431 PyObject * obj0 = 0 ;
4432 PyObject * obj1 = 0 ;
4433 PyObject * obj2 = 0 ;
4434 PyObject * obj3 = 0 ;
4435 PyObject * obj4 = 0 ;
4436 PyObject * obj5 = 0 ;
4437 char *kwnames[] = {
4438 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4439 };
4440
4441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
4442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4443 if (arg1 == NULL) {
4444 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4445 }
4446 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4447 {
4448 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4449 if (PyErr_Occurred()) SWIG_fail;
4450 }
4451 if (obj3) {
4452 {
4453 arg4 = &temp4;
4454 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4455 }
4456 }
4457 if (obj4) {
4458 {
4459 arg5 = &temp5;
4460 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4461 }
4462 }
4463 if (obj5) {
4464 {
4465 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4466 if (PyErr_Occurred()) SWIG_fail;
4467 }
4468 }
4469 {
4470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4471 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4472
4473 wxPyEndAllowThreads(__tstate);
4474 if (PyErr_Occurred()) SWIG_fail;
4475 }
4476 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4477 return resultobj;
4478 fail:
4479 return NULL;
4480}
4481
4482
4483static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4484 PyObject *resultobj;
4485 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4486 wxBitmap *arg2 = 0 ;
4487 PyObject * obj0 = 0 ;
4488 PyObject * obj1 = 0 ;
4489 char *kwnames[] = {
4490 (char *) "self",(char *) "bitmap", NULL
4491 };
4492
4493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4495 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4496 if (arg2 == NULL) {
4497 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4498 }
4499 {
4500 PyThreadState* __tstate = wxPyBeginAllowThreads();
4501 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4502
4503 wxPyEndAllowThreads(__tstate);
4504 if (PyErr_Occurred()) SWIG_fail;
4505 }
4506 Py_INCREF(Py_None); resultobj = Py_None;
4507 return resultobj;
4508 fail:
4509 return NULL;
4510}
4511
4512
4513static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4514 PyObject *resultobj;
4515 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4516 wxBitmap *result;
4517 PyObject * obj0 = 0 ;
4518 char *kwnames[] = {
4519 (char *) "self", NULL
4520 };
4521
4522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4524 {
4525 PyThreadState* __tstate = wxPyBeginAllowThreads();
4526 {
4527 wxBitmap &_result_ref = (arg1)->GetBitmap();
4528 result = (wxBitmap *) &_result_ref;
4529 }
4530
4531 wxPyEndAllowThreads(__tstate);
4532 if (PyErr_Occurred()) SWIG_fail;
4533 }
4534 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4535 return resultobj;
4536 fail:
4537 return NULL;
4538}
4539
4540
4541static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4542 PyObject *obj;
4543 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4544 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4545 Py_INCREF(obj);
4546 return Py_BuildValue((char *)"");
4547}
4548static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4549 PyObject *resultobj;
4550 wxBitmap *arg1 = 0 ;
4551 long arg2 ;
4552 int arg3 ;
4553 wxWindow *arg4 = (wxWindow *) 0 ;
4554 int arg5 ;
4555 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4556 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4557 wxSize const &arg7_defvalue = wxDefaultSize ;
4558 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4559 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4560 wxSplashScreen *result;
4561 wxPoint temp6 ;
4562 wxSize temp7 ;
4563 PyObject * obj0 = 0 ;
4564 PyObject * obj1 = 0 ;
4565 PyObject * obj2 = 0 ;
4566 PyObject * obj3 = 0 ;
4567 PyObject * obj4 = 0 ;
4568 PyObject * obj5 = 0 ;
4569 PyObject * obj6 = 0 ;
4570 PyObject * obj7 = 0 ;
4571 char *kwnames[] = {
4572 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4573 };
4574
4575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
4576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4577 if (arg1 == NULL) {
4578 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4579 }
4580 {
4581 arg2 = (long) SWIG_PyObj_AsLong(obj1);
4582 if (PyErr_Occurred()) SWIG_fail;
4583 }
4584 {
4585 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
4588 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4589 {
4590 arg5 = (int) SWIG_PyObj_AsInt(obj4);
4591 if (PyErr_Occurred()) SWIG_fail;
4592 }
4593 if (obj5) {
4594 {
4595 arg6 = &temp6;
4596 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4597 }
4598 }
4599 if (obj6) {
4600 {
4601 arg7 = &temp7;
4602 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4603 }
4604 }
4605 if (obj7) {
4606 {
4607 arg8 = (long) SWIG_PyObj_AsLong(obj7);
4608 if (PyErr_Occurred()) SWIG_fail;
4609 }
4610 }
4611 {
4612 PyThreadState* __tstate = wxPyBeginAllowThreads();
4613 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4614
4615 wxPyEndAllowThreads(__tstate);
4616 if (PyErr_Occurred()) SWIG_fail;
4617 }
4618 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4619 return resultobj;
4620 fail:
4621 return NULL;
4622}
4623
4624
4625static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4626 PyObject *resultobj;
4627 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4628 long result;
4629 PyObject * obj0 = 0 ;
4630 char *kwnames[] = {
4631 (char *) "self", NULL
4632 };
4633
4634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4636 {
4637 PyThreadState* __tstate = wxPyBeginAllowThreads();
4638 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4639
4640 wxPyEndAllowThreads(__tstate);
4641 if (PyErr_Occurred()) SWIG_fail;
4642 }
4643 resultobj = SWIG_PyObj_FromLong((long)result);
4644 return resultobj;
4645 fail:
4646 return NULL;
4647}
4648
4649
4650static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4651 PyObject *resultobj;
4652 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4653 wxSplashScreenWindow *result;
4654 PyObject * obj0 = 0 ;
4655 char *kwnames[] = {
4656 (char *) "self", NULL
4657 };
4658
4659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4661 {
4662 PyThreadState* __tstate = wxPyBeginAllowThreads();
4663 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4664
4665 wxPyEndAllowThreads(__tstate);
4666 if (PyErr_Occurred()) SWIG_fail;
4667 }
4668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4669 return resultobj;
4670 fail:
4671 return NULL;
4672}
4673
4674
4675static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4676 PyObject *resultobj;
4677 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4678 int result;
4679 PyObject * obj0 = 0 ;
4680 char *kwnames[] = {
4681 (char *) "self", NULL
4682 };
4683
4684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4686 {
4687 PyThreadState* __tstate = wxPyBeginAllowThreads();
4688 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4689
4690 wxPyEndAllowThreads(__tstate);
4691 if (PyErr_Occurred()) SWIG_fail;
4692 }
4693 resultobj = SWIG_PyObj_FromInt((int)result);
4694 return resultobj;
4695 fail:
4696 return NULL;
4697}
4698
4699
4700static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4701 PyObject *obj;
4702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4703 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4704 Py_INCREF(obj);
4705 return Py_BuildValue((char *)"");
4706}
4707static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4708 PyObject *resultobj;
4709 wxWindow *arg1 = (wxWindow *) 0 ;
4710 int arg2 = (int) -1 ;
4711 long arg3 = (long) wxST_SIZEGRIP ;
4712 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4713 wxString *arg4 = (wxString *) &arg4_defvalue ;
4714 wxStatusBar *result;
4715 bool temp4 = False ;
4716 PyObject * obj0 = 0 ;
4717 PyObject * obj1 = 0 ;
4718 PyObject * obj2 = 0 ;
4719 PyObject * obj3 = 0 ;
4720 char *kwnames[] = {
4721 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4722 };
4723
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
4725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4726 if (obj1) {
4727 {
4728 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4729 if (PyErr_Occurred()) SWIG_fail;
4730 }
4731 }
4732 if (obj2) {
4733 {
4734 arg3 = (long) SWIG_PyObj_AsLong(obj2);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 }
4738 if (obj3) {
4739 {
4740 arg4 = wxString_in_helper(obj3);
4741 if (arg4 == NULL) SWIG_fail;
4742 temp4 = True;
4743 }
4744 }
4745 {
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4748
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 {
4753 resultobj = wxPyMake_wxObject(result);
4754 }
4755 {
4756 if (temp4)
4757 delete arg4;
4758 }
4759 return resultobj;
4760 fail:
4761 {
4762 if (temp4)
4763 delete arg4;
4764 }
4765 return NULL;
4766}
4767
4768
4769static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4770 PyObject *resultobj;
4771 wxStatusBar *result;
4772 char *kwnames[] = {
4773 NULL
4774 };
4775
4776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4777 {
4778 PyThreadState* __tstate = wxPyBeginAllowThreads();
4779 result = (wxStatusBar *)new wxStatusBar();
4780
4781 wxPyEndAllowThreads(__tstate);
4782 if (PyErr_Occurred()) SWIG_fail;
4783 }
4784 {
4785 resultobj = wxPyMake_wxObject(result);
4786 }
4787 return resultobj;
4788 fail:
4789 return NULL;
4790}
4791
4792
4793static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4794 PyObject *resultobj;
4795 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4796 wxWindow *arg2 = (wxWindow *) 0 ;
4797 int arg3 ;
4798 long arg4 = (long) wxST_SIZEGRIP ;
4799 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4800 wxString *arg5 = (wxString *) &arg5_defvalue ;
4801 bool result;
4802 bool temp5 = False ;
4803 PyObject * obj0 = 0 ;
4804 PyObject * obj1 = 0 ;
4805 PyObject * obj2 = 0 ;
4806 PyObject * obj3 = 0 ;
4807 PyObject * obj4 = 0 ;
4808 char *kwnames[] = {
4809 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4810 };
4811
4812 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
4813 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4814 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4815 {
4816 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4817 if (PyErr_Occurred()) SWIG_fail;
4818 }
4819 if (obj3) {
4820 {
4821 arg4 = (long) SWIG_PyObj_AsLong(obj3);
4822 if (PyErr_Occurred()) SWIG_fail;
4823 }
4824 }
4825 if (obj4) {
4826 {
4827 arg5 = wxString_in_helper(obj4);
4828 if (arg5 == NULL) SWIG_fail;
4829 temp5 = True;
4830 }
4831 }
4832 {
4833 PyThreadState* __tstate = wxPyBeginAllowThreads();
4834 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4835
4836 wxPyEndAllowThreads(__tstate);
4837 if (PyErr_Occurred()) SWIG_fail;
4838 }
4839 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
4840 {
4841 if (temp5)
4842 delete arg5;
4843 }
4844 return resultobj;
4845 fail:
4846 {
4847 if (temp5)
4848 delete arg5;
4849 }
4850 return NULL;
4851}
4852
4853
4854static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4855 PyObject *resultobj;
4856 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4857 int arg2 = (int) 1 ;
4858 PyObject * obj0 = 0 ;
4859 PyObject * obj1 = 0 ;
4860 char *kwnames[] = {
4861 (char *) "self",(char *) "number", NULL
4862 };
4863
4864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
4865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4866 if (obj1) {
4867 {
4868 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4869 if (PyErr_Occurred()) SWIG_fail;
4870 }
4871 }
4872 {
4873 PyThreadState* __tstate = wxPyBeginAllowThreads();
4874 (arg1)->SetFieldsCount(arg2);
4875
4876 wxPyEndAllowThreads(__tstate);
4877 if (PyErr_Occurred()) SWIG_fail;
4878 }
4879 Py_INCREF(Py_None); resultobj = Py_None;
4880 return resultobj;
4881 fail:
4882 return NULL;
4883}
4884
4885
4886static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4887 PyObject *resultobj;
4888 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4889 int result;
4890 PyObject * obj0 = 0 ;
4891 char *kwnames[] = {
4892 (char *) "self", NULL
4893 };
4894
4895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4897 {
4898 PyThreadState* __tstate = wxPyBeginAllowThreads();
4899 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4900
4901 wxPyEndAllowThreads(__tstate);
4902 if (PyErr_Occurred()) SWIG_fail;
4903 }
4904 resultobj = SWIG_PyObj_FromInt((int)result);
4905 return resultobj;
4906 fail:
4907 return NULL;
4908}
4909
4910
4911static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4912 PyObject *resultobj;
4913 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4914 wxString *arg2 = 0 ;
4915 int arg3 = (int) 0 ;
4916 bool temp2 = False ;
4917 PyObject * obj0 = 0 ;
4918 PyObject * obj1 = 0 ;
4919 PyObject * obj2 = 0 ;
4920 char *kwnames[] = {
4921 (char *) "self",(char *) "text",(char *) "number", NULL
4922 };
4923
4924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
4925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4926 {
4927 arg2 = wxString_in_helper(obj1);
4928 if (arg2 == NULL) SWIG_fail;
4929 temp2 = True;
4930 }
4931 if (obj2) {
4932 {
4933 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4934 if (PyErr_Occurred()) SWIG_fail;
4935 }
4936 }
4937 {
4938 PyThreadState* __tstate = wxPyBeginAllowThreads();
4939 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4940
4941 wxPyEndAllowThreads(__tstate);
4942 if (PyErr_Occurred()) SWIG_fail;
4943 }
4944 Py_INCREF(Py_None); resultobj = Py_None;
4945 {
4946 if (temp2)
4947 delete arg2;
4948 }
4949 return resultobj;
4950 fail:
4951 {
4952 if (temp2)
4953 delete arg2;
4954 }
4955 return NULL;
4956}
4957
4958
4959static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4960 PyObject *resultobj;
4961 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4962 int arg2 = (int) 0 ;
4963 wxString result;
4964 PyObject * obj0 = 0 ;
4965 PyObject * obj1 = 0 ;
4966 char *kwnames[] = {
4967 (char *) "self",(char *) "number", NULL
4968 };
4969
4970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
4971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4972 if (obj1) {
4973 {
4974 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4975 if (PyErr_Occurred()) SWIG_fail;
4976 }
4977 }
4978 {
4979 PyThreadState* __tstate = wxPyBeginAllowThreads();
4980 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4981
4982 wxPyEndAllowThreads(__tstate);
4983 if (PyErr_Occurred()) SWIG_fail;
4984 }
4985 {
4986#if wxUSE_UNICODE
4987 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4988#else
4989 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4990#endif
4991 }
4992 return resultobj;
4993 fail:
4994 return NULL;
4995}
4996
4997
4998static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4999 PyObject *resultobj;
5000 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5001 wxString *arg2 = 0 ;
5002 int arg3 = (int) 0 ;
5003 bool temp2 = False ;
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj1 = 0 ;
5006 PyObject * obj2 = 0 ;
5007 char *kwnames[] = {
5008 (char *) "self",(char *) "text",(char *) "number", NULL
5009 };
5010
5011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
5012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5013 {
5014 arg2 = wxString_in_helper(obj1);
5015 if (arg2 == NULL) SWIG_fail;
5016 temp2 = True;
5017 }
5018 if (obj2) {
5019 {
5020 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5021 if (PyErr_Occurred()) SWIG_fail;
5022 }
5023 }
5024 {
5025 PyThreadState* __tstate = wxPyBeginAllowThreads();
5026 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5027
5028 wxPyEndAllowThreads(__tstate);
5029 if (PyErr_Occurred()) SWIG_fail;
5030 }
5031 Py_INCREF(Py_None); resultobj = Py_None;
5032 {
5033 if (temp2)
5034 delete arg2;
5035 }
5036 return resultobj;
5037 fail:
5038 {
5039 if (temp2)
5040 delete arg2;
5041 }
5042 return NULL;
5043}
5044
5045
5046static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5047 PyObject *resultobj;
5048 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5049 int arg2 = (int) 0 ;
5050 PyObject * obj0 = 0 ;
5051 PyObject * obj1 = 0 ;
5052 char *kwnames[] = {
5053 (char *) "self",(char *) "number", NULL
5054 };
5055
5056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
5057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5058 if (obj1) {
5059 {
5060 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5061 if (PyErr_Occurred()) SWIG_fail;
5062 }
5063 }
5064 {
5065 PyThreadState* __tstate = wxPyBeginAllowThreads();
5066 (arg1)->PopStatusText(arg2);
5067
5068 wxPyEndAllowThreads(__tstate);
5069 if (PyErr_Occurred()) SWIG_fail;
5070 }
5071 Py_INCREF(Py_None); resultobj = Py_None;
5072 return resultobj;
5073 fail:
5074 return NULL;
5075}
5076
5077
5078static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5079 PyObject *resultobj;
5080 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5081 int arg2 ;
5082 int *arg3 = (int *) 0 ;
5083 PyObject * obj0 = 0 ;
5084 PyObject * obj1 = 0 ;
5085 char *kwnames[] = {
5086 (char *) "self",(char *) "widths", NULL
5087 };
5088
5089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5091 {
5092 arg2 = PyList_Size(obj1);
5093 arg3 = int_LIST_helper(obj1);
5094 if (arg3 == NULL) SWIG_fail;
5095 }
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5099
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 Py_INCREF(Py_None); resultobj = Py_None;
5104 {
5105 if (arg3) delete [] arg3;
5106 }
5107 return resultobj;
5108 fail:
5109 {
5110 if (arg3) delete [] arg3;
5111 }
5112 return NULL;
5113}
5114
5115
5116static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5117 PyObject *resultobj;
5118 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5119 int arg2 ;
5120 wxRect result;
5121 PyObject * obj0 = 0 ;
5122 PyObject * obj1 = 0 ;
5123 char *kwnames[] = {
5124 (char *) "self",(char *) "i", NULL
5125 };
5126
5127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
5128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5129 {
5130 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5131 if (PyErr_Occurred()) SWIG_fail;
5132 }
5133 {
5134 PyThreadState* __tstate = wxPyBeginAllowThreads();
5135 result = wxStatusBar_GetFieldRect(arg1,arg2);
5136
5137 wxPyEndAllowThreads(__tstate);
5138 if (PyErr_Occurred()) SWIG_fail;
5139 }
5140 {
5141 wxRect * resultptr;
5142 resultptr = new wxRect((wxRect &) result);
5143 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
5144 }
5145 return resultobj;
5146 fail:
5147 return NULL;
5148}
5149
5150
5151static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5152 PyObject *resultobj;
5153 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5154 int arg2 ;
5155 PyObject * obj0 = 0 ;
5156 PyObject * obj1 = 0 ;
5157 char *kwnames[] = {
5158 (char *) "self",(char *) "height", NULL
5159 };
5160
5161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
5162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5163 {
5164 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5165 if (PyErr_Occurred()) SWIG_fail;
5166 }
5167 {
5168 PyThreadState* __tstate = wxPyBeginAllowThreads();
5169 (arg1)->SetMinHeight(arg2);
5170
5171 wxPyEndAllowThreads(__tstate);
5172 if (PyErr_Occurred()) SWIG_fail;
5173 }
5174 Py_INCREF(Py_None); resultobj = Py_None;
5175 return resultobj;
5176 fail:
5177 return NULL;
5178}
5179
5180
5181static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5182 PyObject *resultobj;
5183 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5184 int result;
5185 PyObject * obj0 = 0 ;
5186 char *kwnames[] = {
5187 (char *) "self", NULL
5188 };
5189
5190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5192 {
5193 PyThreadState* __tstate = wxPyBeginAllowThreads();
5194 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5195
5196 wxPyEndAllowThreads(__tstate);
5197 if (PyErr_Occurred()) SWIG_fail;
5198 }
5199 resultobj = SWIG_PyObj_FromInt((int)result);
5200 return resultobj;
5201 fail:
5202 return NULL;
5203}
5204
5205
5206static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5207 PyObject *resultobj;
5208 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5209 int result;
5210 PyObject * obj0 = 0 ;
5211 char *kwnames[] = {
5212 (char *) "self", NULL
5213 };
5214
5215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5217 {
5218 PyThreadState* __tstate = wxPyBeginAllowThreads();
5219 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5220
5221 wxPyEndAllowThreads(__tstate);
5222 if (PyErr_Occurred()) SWIG_fail;
5223 }
5224 resultobj = SWIG_PyObj_FromInt((int)result);
5225 return resultobj;
5226 fail:
5227 return NULL;
5228}
5229
5230
5231static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5232 PyObject *obj;
5233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5234 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5235 Py_INCREF(obj);
5236 return Py_BuildValue((char *)"");
5237}
5238static int _wrap_SplitterNameStr_set(PyObject *) {
5239 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5240 return 1;
5241}
5242
5243
5244static PyObject *_wrap_SplitterNameStr_get() {
5245 PyObject *pyobj;
5246
5247 {
5248#if wxUSE_UNICODE
5249 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5250#else
5251 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5252#endif
5253 }
5254 return pyobj;
5255}
5256
5257
5258static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5259 PyObject *resultobj;
5260 wxWindow *arg1 = (wxWindow *) 0 ;
5261 int arg2 ;
5262 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5263 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5264 wxSize const &arg4_defvalue = wxDefaultSize ;
5265 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5266 long arg5 = (long) wxSP_3D ;
5267 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5268 wxString *arg6 = (wxString *) &arg6_defvalue ;
5269 wxSplitterWindow *result;
5270 wxPoint temp3 ;
5271 wxSize temp4 ;
5272 bool temp6 = False ;
5273 PyObject * obj0 = 0 ;
5274 PyObject * obj1 = 0 ;
5275 PyObject * obj2 = 0 ;
5276 PyObject * obj3 = 0 ;
5277 PyObject * obj4 = 0 ;
5278 PyObject * obj5 = 0 ;
5279 char *kwnames[] = {
5280 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5281 };
5282
5283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
5284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5285 {
5286 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5287 if (PyErr_Occurred()) SWIG_fail;
5288 }
5289 if (obj2) {
5290 {
5291 arg3 = &temp3;
5292 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5293 }
5294 }
5295 if (obj3) {
5296 {
5297 arg4 = &temp4;
5298 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5299 }
5300 }
5301 if (obj4) {
5302 {
5303 arg5 = (long) SWIG_PyObj_AsLong(obj4);
5304 if (PyErr_Occurred()) SWIG_fail;
5305 }
5306 }
5307 if (obj5) {
5308 {
5309 arg6 = wxString_in_helper(obj5);
5310 if (arg6 == NULL) SWIG_fail;
5311 temp6 = True;
5312 }
5313 }
5314 {
5315 PyThreadState* __tstate = wxPyBeginAllowThreads();
5316 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5317
5318 wxPyEndAllowThreads(__tstate);
5319 if (PyErr_Occurred()) SWIG_fail;
5320 }
5321 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5322 {
5323 if (temp6)
5324 delete arg6;
5325 }
5326 return resultobj;
5327 fail:
5328 {
5329 if (temp6)
5330 delete arg6;
5331 }
5332 return NULL;
5333}
5334
5335
5336static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5337 PyObject *resultobj;
5338 wxSplitterWindow *result;
5339 char *kwnames[] = {
5340 NULL
5341 };
5342
5343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5344 {
5345 PyThreadState* __tstate = wxPyBeginAllowThreads();
5346 result = (wxSplitterWindow *)new wxSplitterWindow();
5347
5348 wxPyEndAllowThreads(__tstate);
5349 if (PyErr_Occurred()) SWIG_fail;
5350 }
5351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5352 return resultobj;
5353 fail:
5354 return NULL;
5355}
5356
5357
5358static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5359 PyObject *resultobj;
5360 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5361 wxWindow *arg2 = (wxWindow *) 0 ;
5362 int arg3 ;
5363 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5364 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5365 wxSize const &arg5_defvalue = wxDefaultSize ;
5366 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5367 long arg6 = (long) wxSP_3D ;
5368 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5369 wxString *arg7 = (wxString *) &arg7_defvalue ;
5370 bool result;
5371 wxPoint temp4 ;
5372 wxSize temp5 ;
5373 bool temp7 = False ;
5374 PyObject * obj0 = 0 ;
5375 PyObject * obj1 = 0 ;
5376 PyObject * obj2 = 0 ;
5377 PyObject * obj3 = 0 ;
5378 PyObject * obj4 = 0 ;
5379 PyObject * obj5 = 0 ;
5380 PyObject * obj6 = 0 ;
5381 char *kwnames[] = {
5382 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5383 };
5384
5385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
5386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5387 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5388 {
5389 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5390 if (PyErr_Occurred()) SWIG_fail;
5391 }
5392 if (obj3) {
5393 {
5394 arg4 = &temp4;
5395 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5396 }
5397 }
5398 if (obj4) {
5399 {
5400 arg5 = &temp5;
5401 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5402 }
5403 }
5404 if (obj5) {
5405 {
5406 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5407 if (PyErr_Occurred()) SWIG_fail;
5408 }
5409 }
5410 if (obj6) {
5411 {
5412 arg7 = wxString_in_helper(obj6);
5413 if (arg7 == NULL) SWIG_fail;
5414 temp7 = True;
5415 }
5416 }
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5425 {
5426 if (temp7)
5427 delete arg7;
5428 }
5429 return resultobj;
5430 fail:
5431 {
5432 if (temp7)
5433 delete arg7;
5434 }
5435 return NULL;
5436}
5437
5438
5439static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5440 PyObject *resultobj;
5441 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5442 wxWindow *result;
5443 PyObject * obj0 = 0 ;
5444 char *kwnames[] = {
5445 (char *) "self", NULL
5446 };
5447
5448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5450 {
5451 PyThreadState* __tstate = wxPyBeginAllowThreads();
5452 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5453
5454 wxPyEndAllowThreads(__tstate);
5455 if (PyErr_Occurred()) SWIG_fail;
5456 }
5457 {
5458 resultobj = wxPyMake_wxObject(result);
5459 }
5460 return resultobj;
5461 fail:
5462 return NULL;
5463}
5464
5465
5466static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5467 PyObject *resultobj;
5468 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5469 wxWindow *result;
5470 PyObject * obj0 = 0 ;
5471 char *kwnames[] = {
5472 (char *) "self", NULL
5473 };
5474
5475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5477 {
5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
5479 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5480
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 {
5485 resultobj = wxPyMake_wxObject(result);
5486 }
5487 return resultobj;
5488 fail:
5489 return NULL;
5490}
5491
5492
5493static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5494 PyObject *resultobj;
5495 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5496 int arg2 ;
5497 PyObject * obj0 = 0 ;
5498 PyObject * obj1 = 0 ;
5499 char *kwnames[] = {
5500 (char *) "self",(char *) "mode", NULL
5501 };
5502
5503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
5504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5505 {
5506 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 }
5509 {
5510 PyThreadState* __tstate = wxPyBeginAllowThreads();
5511 (arg1)->SetSplitMode(arg2);
5512
5513 wxPyEndAllowThreads(__tstate);
5514 if (PyErr_Occurred()) SWIG_fail;
5515 }
5516 Py_INCREF(Py_None); resultobj = Py_None;
5517 return resultobj;
5518 fail:
5519 return NULL;
5520}
5521
5522
5523static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5524 PyObject *resultobj;
5525 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5526 int result;
5527 PyObject * obj0 = 0 ;
5528 char *kwnames[] = {
5529 (char *) "self", NULL
5530 };
5531
5532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5534 {
5535 PyThreadState* __tstate = wxPyBeginAllowThreads();
5536 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5537
5538 wxPyEndAllowThreads(__tstate);
5539 if (PyErr_Occurred()) SWIG_fail;
5540 }
5541 resultobj = SWIG_PyObj_FromInt((int)result);
5542 return resultobj;
5543 fail:
5544 return NULL;
5545}
5546
5547
5548static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5549 PyObject *resultobj;
5550 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5551 wxWindow *arg2 = (wxWindow *) 0 ;
5552 PyObject * obj0 = 0 ;
5553 PyObject * obj1 = 0 ;
5554 char *kwnames[] = {
5555 (char *) "self",(char *) "window", NULL
5556 };
5557
5558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5560 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5561 {
5562 PyThreadState* __tstate = wxPyBeginAllowThreads();
5563 (arg1)->Initialize(arg2);
5564
5565 wxPyEndAllowThreads(__tstate);
5566 if (PyErr_Occurred()) SWIG_fail;
5567 }
5568 Py_INCREF(Py_None); resultobj = Py_None;
5569 return resultobj;
5570 fail:
5571 return NULL;
5572}
5573
5574
5575static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5576 PyObject *resultobj;
5577 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5578 wxWindow *arg2 = (wxWindow *) 0 ;
5579 wxWindow *arg3 = (wxWindow *) 0 ;
5580 int arg4 = (int) 0 ;
5581 bool result;
5582 PyObject * obj0 = 0 ;
5583 PyObject * obj1 = 0 ;
5584 PyObject * obj2 = 0 ;
5585 PyObject * obj3 = 0 ;
5586 char *kwnames[] = {
5587 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5588 };
5589
5590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5593 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5594 if (obj3) {
5595 {
5596 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5597 if (PyErr_Occurred()) SWIG_fail;
5598 }
5599 }
5600 {
5601 PyThreadState* __tstate = wxPyBeginAllowThreads();
5602 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5603
5604 wxPyEndAllowThreads(__tstate);
5605 if (PyErr_Occurred()) SWIG_fail;
5606 }
5607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5608 return resultobj;
5609 fail:
5610 return NULL;
5611}
5612
5613
5614static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5615 PyObject *resultobj;
5616 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5617 wxWindow *arg2 = (wxWindow *) 0 ;
5618 wxWindow *arg3 = (wxWindow *) 0 ;
5619 int arg4 = (int) 0 ;
5620 bool result;
5621 PyObject * obj0 = 0 ;
5622 PyObject * obj1 = 0 ;
5623 PyObject * obj2 = 0 ;
5624 PyObject * obj3 = 0 ;
5625 char *kwnames[] = {
5626 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5627 };
5628
5629 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5630 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5631 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5632 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5633 if (obj3) {
5634 {
5635 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5636 if (PyErr_Occurred()) SWIG_fail;
5637 }
5638 }
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5647 return resultobj;
5648 fail:
5649 return NULL;
5650}
5651
5652
5653static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5656 wxWindow *arg2 = (wxWindow *) NULL ;
5657 bool result;
5658 PyObject * obj0 = 0 ;
5659 PyObject * obj1 = 0 ;
5660 char *kwnames[] = {
5661 (char *) "self",(char *) "toRemove", NULL
5662 };
5663
5664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5666 if (obj1) {
5667 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5668 }
5669 {
5670 PyThreadState* __tstate = wxPyBeginAllowThreads();
5671 result = (bool)(arg1)->Unsplit(arg2);
5672
5673 wxPyEndAllowThreads(__tstate);
5674 if (PyErr_Occurred()) SWIG_fail;
5675 }
5676 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5677 return resultobj;
5678 fail:
5679 return NULL;
5680}
5681
5682
5683static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5684 PyObject *resultobj;
5685 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5686 wxWindow *arg2 = (wxWindow *) 0 ;
5687 wxWindow *arg3 = (wxWindow *) 0 ;
5688 bool result;
5689 PyObject * obj0 = 0 ;
5690 PyObject * obj1 = 0 ;
5691 PyObject * obj2 = 0 ;
5692 char *kwnames[] = {
5693 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5694 };
5695
5696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5698 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5699 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5708 return resultobj;
5709 fail:
5710 return NULL;
5711}
5712
5713
5714static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5715 PyObject *resultobj;
5716 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5717 bool result;
5718 PyObject * obj0 = 0 ;
5719 char *kwnames[] = {
5720 (char *) "self", NULL
5721 };
5722
5723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5725 {
5726 PyThreadState* __tstate = wxPyBeginAllowThreads();
5727 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5728
5729 wxPyEndAllowThreads(__tstate);
5730 if (PyErr_Occurred()) SWIG_fail;
5731 }
5732 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
5733 return resultobj;
5734 fail:
5735 return NULL;
5736}
5737
5738
5739static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5740 PyObject *resultobj;
5741 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5742 int arg2 ;
5743 PyObject * obj0 = 0 ;
5744 PyObject * obj1 = 0 ;
5745 char *kwnames[] = {
5746 (char *) "self",(char *) "width", NULL
5747 };
5748
5749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
5750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5751 {
5752 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5753 if (PyErr_Occurred()) SWIG_fail;
5754 }
5755 {
5756 PyThreadState* __tstate = wxPyBeginAllowThreads();
5757 (arg1)->SetSashSize(arg2);
5758
5759 wxPyEndAllowThreads(__tstate);
5760 if (PyErr_Occurred()) SWIG_fail;
5761 }
5762 Py_INCREF(Py_None); resultobj = Py_None;
5763 return resultobj;
5764 fail:
5765 return NULL;
5766}
5767
5768
5769static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5770 PyObject *resultobj;
5771 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5772 int arg2 ;
5773 PyObject * obj0 = 0 ;
5774 PyObject * obj1 = 0 ;
5775 char *kwnames[] = {
5776 (char *) "self",(char *) "width", NULL
5777 };
5778
5779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
5780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5781 {
5782 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5783 if (PyErr_Occurred()) SWIG_fail;
5784 }
5785 {
5786 PyThreadState* __tstate = wxPyBeginAllowThreads();
5787 (arg1)->SetBorderSize(arg2);
5788
5789 wxPyEndAllowThreads(__tstate);
5790 if (PyErr_Occurred()) SWIG_fail;
5791 }
5792 Py_INCREF(Py_None); resultobj = Py_None;
5793 return resultobj;
5794 fail:
5795 return NULL;
5796}
5797
5798
5799static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5800 PyObject *resultobj;
5801 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5802 int result;
5803 PyObject * obj0 = 0 ;
5804 char *kwnames[] = {
5805 (char *) "self", NULL
5806 };
5807
5808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5810 {
5811 PyThreadState* __tstate = wxPyBeginAllowThreads();
5812 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5813
5814 wxPyEndAllowThreads(__tstate);
5815 if (PyErr_Occurred()) SWIG_fail;
5816 }
5817 resultobj = SWIG_PyObj_FromInt((int)result);
5818 return resultobj;
5819 fail:
5820 return NULL;
5821}
5822
5823
5824static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5825 PyObject *resultobj;
5826 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5827 int result;
5828 PyObject * obj0 = 0 ;
5829 char *kwnames[] = {
5830 (char *) "self", NULL
5831 };
5832
5833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5835 {
5836 PyThreadState* __tstate = wxPyBeginAllowThreads();
5837 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5838
5839 wxPyEndAllowThreads(__tstate);
5840 if (PyErr_Occurred()) SWIG_fail;
5841 }
5842 resultobj = SWIG_PyObj_FromInt((int)result);
5843 return resultobj;
5844 fail:
5845 return NULL;
5846}
5847
5848
5849static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5850 PyObject *resultobj;
5851 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5852 int arg2 ;
5853 bool arg3 = (bool) True ;
5854 PyObject * obj0 = 0 ;
5855 PyObject * obj1 = 0 ;
5856 PyObject * obj2 = 0 ;
5857 char *kwnames[] = {
5858 (char *) "self",(char *) "position",(char *) "redraw", NULL
5859 };
5860
5861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
5862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5863 {
5864 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5865 if (PyErr_Occurred()) SWIG_fail;
5866 }
5867 if (obj2) {
5868 {
5869 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
5870 if (PyErr_Occurred()) SWIG_fail;
5871 }
5872 }
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 (arg1)->SetSashPosition(arg2,arg3);
5876
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
5880 Py_INCREF(Py_None); resultobj = Py_None;
5881 return resultobj;
5882 fail:
5883 return NULL;
5884}
5885
5886
5887static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5888 PyObject *resultobj;
5889 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5890 int result;
5891 PyObject * obj0 = 0 ;
5892 char *kwnames[] = {
5893 (char *) "self", NULL
5894 };
5895
5896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5898 {
5899 PyThreadState* __tstate = wxPyBeginAllowThreads();
5900 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5901
5902 wxPyEndAllowThreads(__tstate);
5903 if (PyErr_Occurred()) SWIG_fail;
5904 }
5905 resultobj = SWIG_PyObj_FromInt((int)result);
5906 return resultobj;
5907 fail:
5908 return NULL;
5909}
5910
5911
5912static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5913 PyObject *resultobj;
5914 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5915 int arg2 ;
5916 PyObject * obj0 = 0 ;
5917 PyObject * obj1 = 0 ;
5918 char *kwnames[] = {
5919 (char *) "self",(char *) "min", NULL
5920 };
5921
5922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
5923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5924 {
5925 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5926 if (PyErr_Occurred()) SWIG_fail;
5927 }
5928 {
5929 PyThreadState* __tstate = wxPyBeginAllowThreads();
5930 (arg1)->SetMinimumPaneSize(arg2);
5931
5932 wxPyEndAllowThreads(__tstate);
5933 if (PyErr_Occurred()) SWIG_fail;
5934 }
5935 Py_INCREF(Py_None); resultobj = Py_None;
5936 return resultobj;
5937 fail:
5938 return NULL;
5939}
5940
5941
5942static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5943 PyObject *resultobj;
5944 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5945 int result;
5946 PyObject * obj0 = 0 ;
5947 char *kwnames[] = {
5948 (char *) "self", NULL
5949 };
5950
5951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5953 {
5954 PyThreadState* __tstate = wxPyBeginAllowThreads();
5955 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5956
5957 wxPyEndAllowThreads(__tstate);
5958 if (PyErr_Occurred()) SWIG_fail;
5959 }
5960 resultobj = SWIG_PyObj_FromInt((int)result);
5961 return resultobj;
5962 fail:
5963 return NULL;
5964}
5965
5966
5967static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5968 PyObject *resultobj;
5969 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5970 int arg2 ;
5971 int arg3 ;
5972 int arg4 = (int) 5 ;
5973 bool result;
5974 PyObject * obj0 = 0 ;
5975 PyObject * obj1 = 0 ;
5976 PyObject * obj2 = 0 ;
5977 PyObject * obj3 = 0 ;
5978 char *kwnames[] = {
5979 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5980 };
5981
5982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
5983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5984 {
5985 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5986 if (PyErr_Occurred()) SWIG_fail;
5987 }
5988 {
5989 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5990 if (PyErr_Occurred()) SWIG_fail;
5991 }
5992 if (obj3) {
5993 {
5994 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5995 if (PyErr_Occurred()) SWIG_fail;
5996 }
5997 }
5998 {
5999 PyThreadState* __tstate = wxPyBeginAllowThreads();
6000 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6001
6002 wxPyEndAllowThreads(__tstate);
6003 if (PyErr_Occurred()) SWIG_fail;
6004 }
6005 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6006 return resultobj;
6007 fail:
6008 return NULL;
6009}
6010
6011
6012static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6013 PyObject *resultobj;
6014 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6015 PyObject * obj0 = 0 ;
6016 char *kwnames[] = {
6017 (char *) "self", NULL
6018 };
6019
6020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6022 {
6023 PyThreadState* __tstate = wxPyBeginAllowThreads();
6024 (arg1)->SizeWindows();
6025
6026 wxPyEndAllowThreads(__tstate);
6027 if (PyErr_Occurred()) SWIG_fail;
6028 }
6029 Py_INCREF(Py_None); resultobj = Py_None;
6030 return resultobj;
6031 fail:
6032 return NULL;
6033}
6034
6035
6036static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6037 PyObject *resultobj;
6038 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6039 bool arg2 ;
6040 PyObject * obj0 = 0 ;
6041 PyObject * obj1 = 0 ;
6042 char *kwnames[] = {
6043 (char *) "self",(char *) "needUpdating", NULL
6044 };
6045
6046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6048 {
6049 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
6050 if (PyErr_Occurred()) SWIG_fail;
6051 }
6052 {
6053 PyThreadState* __tstate = wxPyBeginAllowThreads();
6054 (arg1)->SetNeedUpdating(arg2);
6055
6056 wxPyEndAllowThreads(__tstate);
6057 if (PyErr_Occurred()) SWIG_fail;
6058 }
6059 Py_INCREF(Py_None); resultobj = Py_None;
6060 return resultobj;
6061 fail:
6062 return NULL;
6063}
6064
6065
6066static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6067 PyObject *resultobj;
6068 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6069 bool result;
6070 PyObject * obj0 = 0 ;
6071 char *kwnames[] = {
6072 (char *) "self", NULL
6073 };
6074
6075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6077 {
6078 PyThreadState* __tstate = wxPyBeginAllowThreads();
6079 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6080
6081 wxPyEndAllowThreads(__tstate);
6082 if (PyErr_Occurred()) SWIG_fail;
6083 }
6084 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6085 return resultobj;
6086 fail:
6087 return NULL;
6088}
6089
6090
6091static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6092 PyObject *obj;
6093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6094 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6095 Py_INCREF(obj);
6096 return Py_BuildValue((char *)"");
6097}
6098static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6099 PyObject *resultobj;
6100 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6101 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6102 wxSplitterEvent *result;
6103 PyObject * obj0 = 0 ;
6104 PyObject * obj1 = 0 ;
6105 char *kwnames[] = {
6106 (char *) "type",(char *) "splitter", NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6110 if (obj0) {
6111 {
6112 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
6113 if (PyErr_Occurred()) SWIG_fail;
6114 }
6115 }
6116 if (obj1) {
6117 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6118 }
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6122
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
6126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
6127 return resultobj;
6128 fail:
6129 return NULL;
6130}
6131
6132
6133static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6134 PyObject *resultobj;
6135 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6136 int arg2 ;
6137 PyObject * obj0 = 0 ;
6138 PyObject * obj1 = 0 ;
6139 char *kwnames[] = {
6140 (char *) "self",(char *) "pos", NULL
6141 };
6142
6143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
6144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6145 {
6146 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6147 if (PyErr_Occurred()) SWIG_fail;
6148 }
6149 {
6150 PyThreadState* __tstate = wxPyBeginAllowThreads();
6151 (arg1)->SetSashPosition(arg2);
6152
6153 wxPyEndAllowThreads(__tstate);
6154 if (PyErr_Occurred()) SWIG_fail;
6155 }
6156 Py_INCREF(Py_None); resultobj = Py_None;
6157 return resultobj;
6158 fail:
6159 return NULL;
6160}
6161
6162
6163static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6164 PyObject *resultobj;
6165 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6166 int result;
6167 PyObject * obj0 = 0 ;
6168 char *kwnames[] = {
6169 (char *) "self", NULL
6170 };
6171
6172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6174 {
6175 PyThreadState* __tstate = wxPyBeginAllowThreads();
6176 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6177
6178 wxPyEndAllowThreads(__tstate);
6179 if (PyErr_Occurred()) SWIG_fail;
6180 }
6181 resultobj = SWIG_PyObj_FromInt((int)result);
6182 return resultobj;
6183 fail:
6184 return NULL;
6185}
6186
6187
6188static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6189 PyObject *resultobj;
6190 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6191 wxWindow *result;
6192 PyObject * obj0 = 0 ;
6193 char *kwnames[] = {
6194 (char *) "self", NULL
6195 };
6196
6197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6199 {
6200 PyThreadState* __tstate = wxPyBeginAllowThreads();
6201 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6202
6203 wxPyEndAllowThreads(__tstate);
6204 if (PyErr_Occurred()) SWIG_fail;
6205 }
6206 {
6207 resultobj = wxPyMake_wxObject(result);
6208 }
6209 return resultobj;
6210 fail:
6211 return NULL;
6212}
6213
6214
6215static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6216 PyObject *resultobj;
6217 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6218 int result;
6219 PyObject * obj0 = 0 ;
6220 char *kwnames[] = {
6221 (char *) "self", NULL
6222 };
6223
6224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6226 {
6227 PyThreadState* __tstate = wxPyBeginAllowThreads();
6228 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6229
6230 wxPyEndAllowThreads(__tstate);
6231 if (PyErr_Occurred()) SWIG_fail;
6232 }
6233 resultobj = SWIG_PyObj_FromInt((int)result);
6234 return resultobj;
6235 fail:
6236 return NULL;
6237}
6238
6239
6240static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6241 PyObject *resultobj;
6242 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6243 int result;
6244 PyObject * obj0 = 0 ;
6245 char *kwnames[] = {
6246 (char *) "self", NULL
6247 };
6248
6249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6251 {
6252 PyThreadState* __tstate = wxPyBeginAllowThreads();
6253 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6254
6255 wxPyEndAllowThreads(__tstate);
6256 if (PyErr_Occurred()) SWIG_fail;
6257 }
6258 resultobj = SWIG_PyObj_FromInt((int)result);
6259 return resultobj;
6260 fail:
6261 return NULL;
6262}
6263
6264
6265static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6266 PyObject *obj;
6267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6268 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6269 Py_INCREF(obj);
6270 return Py_BuildValue((char *)"");
6271}
6272static int _wrap_SashNameStr_set(PyObject *) {
6273 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6274 return 1;
6275}
6276
6277
6278static PyObject *_wrap_SashNameStr_get() {
6279 PyObject *pyobj;
6280
6281 {
6282#if wxUSE_UNICODE
6283 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6284#else
6285 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6286#endif
6287 }
6288 return pyobj;
6289}
6290
6291
6292static int _wrap_SashLayoutNameStr_set(PyObject *) {
6293 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6294 return 1;
6295}
6296
6297
6298static PyObject *_wrap_SashLayoutNameStr_get() {
6299 PyObject *pyobj;
6300
6301 {
6302#if wxUSE_UNICODE
6303 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6304#else
6305 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6306#endif
6307 }
6308 return pyobj;
6309}
6310
6311
6312static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6313 PyObject *resultobj;
6314 wxWindow *arg1 = (wxWindow *) 0 ;
6315 int arg2 ;
6316 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6317 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6318 wxSize const &arg4_defvalue = wxDefaultSize ;
6319 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6320 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6321 wxString const &arg6_defvalue = wxPySashNameStr ;
6322 wxString *arg6 = (wxString *) &arg6_defvalue ;
6323 wxSashWindow *result;
6324 wxPoint temp3 ;
6325 wxSize temp4 ;
6326 bool temp6 = False ;
6327 PyObject * obj0 = 0 ;
6328 PyObject * obj1 = 0 ;
6329 PyObject * obj2 = 0 ;
6330 PyObject * obj3 = 0 ;
6331 PyObject * obj4 = 0 ;
6332 PyObject * obj5 = 0 ;
6333 char *kwnames[] = {
6334 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6335 };
6336
6337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
6338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6339 {
6340 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6341 if (PyErr_Occurred()) SWIG_fail;
6342 }
6343 if (obj2) {
6344 {
6345 arg3 = &temp3;
6346 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6347 }
6348 }
6349 if (obj3) {
6350 {
6351 arg4 = &temp4;
6352 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6353 }
6354 }
6355 if (obj4) {
6356 {
6357 arg5 = (long) SWIG_PyObj_AsLong(obj4);
6358 if (PyErr_Occurred()) SWIG_fail;
6359 }
6360 }
6361 if (obj5) {
6362 {
6363 arg6 = wxString_in_helper(obj5);
6364 if (arg6 == NULL) SWIG_fail;
6365 temp6 = True;
6366 }
6367 }
6368 {
6369 PyThreadState* __tstate = wxPyBeginAllowThreads();
6370 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6371
6372 wxPyEndAllowThreads(__tstate);
6373 if (PyErr_Occurred()) SWIG_fail;
6374 }
6375 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6376 {
6377 if (temp6)
6378 delete arg6;
6379 }
6380 return resultobj;
6381 fail:
6382 {
6383 if (temp6)
6384 delete arg6;
6385 }
6386 return NULL;
6387}
6388
6389
6390static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6391 PyObject *resultobj;
6392 wxSashWindow *result;
6393 char *kwnames[] = {
6394 NULL
6395 };
6396
6397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6398 {
6399 PyThreadState* __tstate = wxPyBeginAllowThreads();
6400 result = (wxSashWindow *)new wxSashWindow();
6401
6402 wxPyEndAllowThreads(__tstate);
6403 if (PyErr_Occurred()) SWIG_fail;
6404 }
6405 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6406 return resultobj;
6407 fail:
6408 return NULL;
6409}
6410
6411
6412static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6413 PyObject *resultobj;
6414 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6415 wxWindow *arg2 = (wxWindow *) 0 ;
6416 int arg3 ;
6417 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6418 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6419 wxSize const &arg5_defvalue = wxDefaultSize ;
6420 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6421 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6422 wxString const &arg7_defvalue = wxPySashNameStr ;
6423 wxString *arg7 = (wxString *) &arg7_defvalue ;
6424 bool result;
6425 wxPoint temp4 ;
6426 wxSize temp5 ;
6427 bool temp7 = False ;
6428 PyObject * obj0 = 0 ;
6429 PyObject * obj1 = 0 ;
6430 PyObject * obj2 = 0 ;
6431 PyObject * obj3 = 0 ;
6432 PyObject * obj4 = 0 ;
6433 PyObject * obj5 = 0 ;
6434 PyObject * obj6 = 0 ;
6435 char *kwnames[] = {
6436 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6437 };
6438
6439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
6440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6441 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6442 {
6443 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6444 if (PyErr_Occurred()) SWIG_fail;
6445 }
6446 if (obj3) {
6447 {
6448 arg4 = &temp4;
6449 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6450 }
6451 }
6452 if (obj4) {
6453 {
6454 arg5 = &temp5;
6455 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6456 }
6457 }
6458 if (obj5) {
6459 {
6460 arg6 = (long) SWIG_PyObj_AsLong(obj5);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
6463 }
6464 if (obj6) {
6465 {
6466 arg7 = wxString_in_helper(obj6);
6467 if (arg7 == NULL) SWIG_fail;
6468 temp7 = True;
6469 }
6470 }
6471 {
6472 PyThreadState* __tstate = wxPyBeginAllowThreads();
6473 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6474
6475 wxPyEndAllowThreads(__tstate);
6476 if (PyErr_Occurred()) SWIG_fail;
6477 }
6478 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6479 {
6480 if (temp7)
6481 delete arg7;
6482 }
6483 return resultobj;
6484 fail:
6485 {
6486 if (temp7)
6487 delete arg7;
6488 }
6489 return NULL;
6490}
6491
6492
6493static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6496 int arg2 ;
6497 bool arg3 ;
6498 PyObject * obj0 = 0 ;
6499 PyObject * obj1 = 0 ;
6500 PyObject * obj2 = 0 ;
6501 char *kwnames[] = {
6502 (char *) "self",(char *) "edge",(char *) "sash", NULL
6503 };
6504
6505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
6506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6507 {
6508 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 {
6512 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6513 if (PyErr_Occurred()) SWIG_fail;
6514 }
6515 {
6516 PyThreadState* __tstate = wxPyBeginAllowThreads();
6517 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6518
6519 wxPyEndAllowThreads(__tstate);
6520 if (PyErr_Occurred()) SWIG_fail;
6521 }
6522 Py_INCREF(Py_None); resultobj = Py_None;
6523 return resultobj;
6524 fail:
6525 return NULL;
6526}
6527
6528
6529static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6530 PyObject *resultobj;
6531 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6532 int arg2 ;
6533 bool result;
6534 PyObject * obj0 = 0 ;
6535 PyObject * obj1 = 0 ;
6536 char *kwnames[] = {
6537 (char *) "self",(char *) "edge", NULL
6538 };
6539
6540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
6541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6542 {
6543 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6544 if (PyErr_Occurred()) SWIG_fail;
6545 }
6546 {
6547 PyThreadState* __tstate = wxPyBeginAllowThreads();
6548 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6549
6550 wxPyEndAllowThreads(__tstate);
6551 if (PyErr_Occurred()) SWIG_fail;
6552 }
6553 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6554 return resultobj;
6555 fail:
6556 return NULL;
6557}
6558
6559
6560static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6561 PyObject *resultobj;
6562 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6563 int arg2 ;
6564 bool arg3 ;
6565 PyObject * obj0 = 0 ;
6566 PyObject * obj1 = 0 ;
6567 PyObject * obj2 = 0 ;
6568 char *kwnames[] = {
6569 (char *) "self",(char *) "edge",(char *) "border", NULL
6570 };
6571
6572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
6573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6574 {
6575 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6576 if (PyErr_Occurred()) SWIG_fail;
6577 }
6578 {
6579 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
6580 if (PyErr_Occurred()) SWIG_fail;
6581 }
6582 {
6583 PyThreadState* __tstate = wxPyBeginAllowThreads();
6584 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6585
6586 wxPyEndAllowThreads(__tstate);
6587 if (PyErr_Occurred()) SWIG_fail;
6588 }
6589 Py_INCREF(Py_None); resultobj = Py_None;
6590 return resultobj;
6591 fail:
6592 return NULL;
6593}
6594
6595
6596static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6597 PyObject *resultobj;
6598 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6599 int arg2 ;
6600 bool result;
6601 PyObject * obj0 = 0 ;
6602 PyObject * obj1 = 0 ;
6603 char *kwnames[] = {
6604 (char *) "self",(char *) "edge", NULL
6605 };
6606
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
6608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6609 {
6610 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6611 if (PyErr_Occurred()) SWIG_fail;
6612 }
6613 {
6614 PyThreadState* __tstate = wxPyBeginAllowThreads();
6615 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6616
6617 wxPyEndAllowThreads(__tstate);
6618 if (PyErr_Occurred()) SWIG_fail;
6619 }
6620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
6621 return resultobj;
6622 fail:
6623 return NULL;
6624}
6625
6626
6627static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6628 PyObject *resultobj;
6629 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6630 int arg2 ;
6631 int result;
6632 PyObject * obj0 = 0 ;
6633 PyObject * obj1 = 0 ;
6634 char *kwnames[] = {
6635 (char *) "self",(char *) "edge", NULL
6636 };
6637
6638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
6639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6640 {
6641 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6642 if (PyErr_Occurred()) SWIG_fail;
6643 }
6644 {
6645 PyThreadState* __tstate = wxPyBeginAllowThreads();
6646 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6647
6648 wxPyEndAllowThreads(__tstate);
6649 if (PyErr_Occurred()) SWIG_fail;
6650 }
6651 resultobj = SWIG_PyObj_FromInt((int)result);
6652 return resultobj;
6653 fail:
6654 return NULL;
6655}
6656
6657
6658static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6659 PyObject *resultobj;
6660 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6661 int arg2 ;
6662 PyObject * obj0 = 0 ;
6663 PyObject * obj1 = 0 ;
6664 char *kwnames[] = {
6665 (char *) "self",(char *) "width", NULL
6666 };
6667
6668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
6669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6670 {
6671 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
6674 {
6675 PyThreadState* __tstate = wxPyBeginAllowThreads();
6676 (arg1)->SetDefaultBorderSize(arg2);
6677
6678 wxPyEndAllowThreads(__tstate);
6679 if (PyErr_Occurred()) SWIG_fail;
6680 }
6681 Py_INCREF(Py_None); resultobj = Py_None;
6682 return resultobj;
6683 fail:
6684 return NULL;
6685}
6686
6687
6688static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6689 PyObject *resultobj;
6690 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6691 int result;
6692 PyObject * obj0 = 0 ;
6693 char *kwnames[] = {
6694 (char *) "self", NULL
6695 };
6696
6697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6699 {
6700 PyThreadState* __tstate = wxPyBeginAllowThreads();
6701 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6702
6703 wxPyEndAllowThreads(__tstate);
6704 if (PyErr_Occurred()) SWIG_fail;
6705 }
6706 resultobj = SWIG_PyObj_FromInt((int)result);
6707 return resultobj;
6708 fail:
6709 return NULL;
6710}
6711
6712
6713static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6714 PyObject *resultobj;
6715 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6716 int arg2 ;
6717 PyObject * obj0 = 0 ;
6718 PyObject * obj1 = 0 ;
6719 char *kwnames[] = {
6720 (char *) "self",(char *) "width", NULL
6721 };
6722
6723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
6724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6725 {
6726 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6727 if (PyErr_Occurred()) SWIG_fail;
6728 }
6729 {
6730 PyThreadState* __tstate = wxPyBeginAllowThreads();
6731 (arg1)->SetExtraBorderSize(arg2);
6732
6733 wxPyEndAllowThreads(__tstate);
6734 if (PyErr_Occurred()) SWIG_fail;
6735 }
6736 Py_INCREF(Py_None); resultobj = Py_None;
6737 return resultobj;
6738 fail:
6739 return NULL;
6740}
6741
6742
6743static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6744 PyObject *resultobj;
6745 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6746 int result;
6747 PyObject * obj0 = 0 ;
6748 char *kwnames[] = {
6749 (char *) "self", NULL
6750 };
6751
6752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6754 {
6755 PyThreadState* __tstate = wxPyBeginAllowThreads();
6756 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6757
6758 wxPyEndAllowThreads(__tstate);
6759 if (PyErr_Occurred()) SWIG_fail;
6760 }
6761 resultobj = SWIG_PyObj_FromInt((int)result);
6762 return resultobj;
6763 fail:
6764 return NULL;
6765}
6766
6767
6768static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6769 PyObject *resultobj;
6770 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6771 int arg2 ;
6772 PyObject * obj0 = 0 ;
6773 PyObject * obj1 = 0 ;
6774 char *kwnames[] = {
6775 (char *) "self",(char *) "min", NULL
6776 };
6777
6778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
6779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6780 {
6781 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6782 if (PyErr_Occurred()) SWIG_fail;
6783 }
6784 {
6785 PyThreadState* __tstate = wxPyBeginAllowThreads();
6786 (arg1)->SetMinimumSizeX(arg2);
6787
6788 wxPyEndAllowThreads(__tstate);
6789 if (PyErr_Occurred()) SWIG_fail;
6790 }
6791 Py_INCREF(Py_None); resultobj = Py_None;
6792 return resultobj;
6793 fail:
6794 return NULL;
6795}
6796
6797
6798static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6799 PyObject *resultobj;
6800 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6801 int arg2 ;
6802 PyObject * obj0 = 0 ;
6803 PyObject * obj1 = 0 ;
6804 char *kwnames[] = {
6805 (char *) "self",(char *) "min", NULL
6806 };
6807
6808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
6809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6810 {
6811 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6812 if (PyErr_Occurred()) SWIG_fail;
6813 }
6814 {
6815 PyThreadState* __tstate = wxPyBeginAllowThreads();
6816 (arg1)->SetMinimumSizeY(arg2);
6817
6818 wxPyEndAllowThreads(__tstate);
6819 if (PyErr_Occurred()) SWIG_fail;
6820 }
6821 Py_INCREF(Py_None); resultobj = Py_None;
6822 return resultobj;
6823 fail:
6824 return NULL;
6825}
6826
6827
6828static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6829 PyObject *resultobj;
6830 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6831 int result;
6832 PyObject * obj0 = 0 ;
6833 char *kwnames[] = {
6834 (char *) "self", NULL
6835 };
6836
6837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6839 {
6840 PyThreadState* __tstate = wxPyBeginAllowThreads();
6841 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6842
6843 wxPyEndAllowThreads(__tstate);
6844 if (PyErr_Occurred()) SWIG_fail;
6845 }
6846 resultobj = SWIG_PyObj_FromInt((int)result);
6847 return resultobj;
6848 fail:
6849 return NULL;
6850}
6851
6852
6853static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6854 PyObject *resultobj;
6855 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6856 int result;
6857 PyObject * obj0 = 0 ;
6858 char *kwnames[] = {
6859 (char *) "self", NULL
6860 };
6861
6862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6864 {
6865 PyThreadState* __tstate = wxPyBeginAllowThreads();
6866 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6867
6868 wxPyEndAllowThreads(__tstate);
6869 if (PyErr_Occurred()) SWIG_fail;
6870 }
6871 resultobj = SWIG_PyObj_FromInt((int)result);
6872 return resultobj;
6873 fail:
6874 return NULL;
6875}
6876
6877
6878static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6879 PyObject *resultobj;
6880 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6881 int arg2 ;
6882 PyObject * obj0 = 0 ;
6883 PyObject * obj1 = 0 ;
6884 char *kwnames[] = {
6885 (char *) "self",(char *) "max", NULL
6886 };
6887
6888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
6889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6890 {
6891 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6892 if (PyErr_Occurred()) SWIG_fail;
6893 }
6894 {
6895 PyThreadState* __tstate = wxPyBeginAllowThreads();
6896 (arg1)->SetMaximumSizeX(arg2);
6897
6898 wxPyEndAllowThreads(__tstate);
6899 if (PyErr_Occurred()) SWIG_fail;
6900 }
6901 Py_INCREF(Py_None); resultobj = Py_None;
6902 return resultobj;
6903 fail:
6904 return NULL;
6905}
6906
6907
6908static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6909 PyObject *resultobj;
6910 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6911 int arg2 ;
6912 PyObject * obj0 = 0 ;
6913 PyObject * obj1 = 0 ;
6914 char *kwnames[] = {
6915 (char *) "self",(char *) "max", NULL
6916 };
6917
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
6919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6920 {
6921 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6922 if (PyErr_Occurred()) SWIG_fail;
6923 }
6924 {
6925 PyThreadState* __tstate = wxPyBeginAllowThreads();
6926 (arg1)->SetMaximumSizeY(arg2);
6927
6928 wxPyEndAllowThreads(__tstate);
6929 if (PyErr_Occurred()) SWIG_fail;
6930 }
6931 Py_INCREF(Py_None); resultobj = Py_None;
6932 return resultobj;
6933 fail:
6934 return NULL;
6935}
6936
6937
6938static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6939 PyObject *resultobj;
6940 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6941 int result;
6942 PyObject * obj0 = 0 ;
6943 char *kwnames[] = {
6944 (char *) "self", NULL
6945 };
6946
6947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6949 {
6950 PyThreadState* __tstate = wxPyBeginAllowThreads();
6951 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6952
6953 wxPyEndAllowThreads(__tstate);
6954 if (PyErr_Occurred()) SWIG_fail;
6955 }
6956 resultobj = SWIG_PyObj_FromInt((int)result);
6957 return resultobj;
6958 fail:
6959 return NULL;
6960}
6961
6962
6963static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6964 PyObject *resultobj;
6965 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6966 int result;
6967 PyObject * obj0 = 0 ;
6968 char *kwnames[] = {
6969 (char *) "self", NULL
6970 };
6971
6972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6974 {
6975 PyThreadState* __tstate = wxPyBeginAllowThreads();
6976 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6977
6978 wxPyEndAllowThreads(__tstate);
6979 if (PyErr_Occurred()) SWIG_fail;
6980 }
6981 resultobj = SWIG_PyObj_FromInt((int)result);
6982 return resultobj;
6983 fail:
6984 return NULL;
6985}
6986
6987
6988static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6989 PyObject *resultobj;
6990 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6991 int arg2 ;
6992 int arg3 ;
6993 int arg4 = (int) 2 ;
6994 int result;
6995 PyObject * obj0 = 0 ;
6996 PyObject * obj1 = 0 ;
6997 PyObject * obj2 = 0 ;
6998 PyObject * obj3 = 0 ;
6999 char *kwnames[] = {
7000 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7001 };
7002
7003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
7004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7005 {
7006 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7007 if (PyErr_Occurred()) SWIG_fail;
7008 }
7009 {
7010 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
7013 if (obj3) {
7014 {
7015 arg4 = (int) SWIG_PyObj_AsInt(obj3);
7016 if (PyErr_Occurred()) SWIG_fail;
7017 }
7018 }
7019 {
7020 PyThreadState* __tstate = wxPyBeginAllowThreads();
7021 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7022
7023 wxPyEndAllowThreads(__tstate);
7024 if (PyErr_Occurred()) SWIG_fail;
7025 }
7026 resultobj = SWIG_PyObj_FromInt((int)result);
7027 return resultobj;
7028 fail:
7029 return NULL;
7030}
7031
7032
7033static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7034 PyObject *resultobj;
7035 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7036 PyObject * obj0 = 0 ;
7037 char *kwnames[] = {
7038 (char *) "self", NULL
7039 };
7040
7041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7043 {
7044 PyThreadState* __tstate = wxPyBeginAllowThreads();
7045 (arg1)->SizeWindows();
7046
7047 wxPyEndAllowThreads(__tstate);
7048 if (PyErr_Occurred()) SWIG_fail;
7049 }
7050 Py_INCREF(Py_None); resultobj = Py_None;
7051 return resultobj;
7052 fail:
7053 return NULL;
7054}
7055
7056
7057static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7058 PyObject *obj;
7059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7060 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7061 Py_INCREF(obj);
7062 return Py_BuildValue((char *)"");
7063}
7064static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7065 PyObject *resultobj;
7066 int arg1 = (int) 0 ;
7067 int arg2 = (int) wxSASH_NONE ;
7068 wxSashEvent *result;
7069 PyObject * obj0 = 0 ;
7070 PyObject * obj1 = 0 ;
7071 char *kwnames[] = {
7072 (char *) "id",(char *) "edge", NULL
7073 };
7074
7075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7076 if (obj0) {
7077 {
7078 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7079 if (PyErr_Occurred()) SWIG_fail;
7080 }
7081 }
7082 if (obj1) {
7083 {
7084 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 }
7087 }
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
7096 return resultobj;
7097 fail:
7098 return NULL;
7099}
7100
7101
7102static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7105 int arg2 ;
7106 PyObject * obj0 = 0 ;
7107 PyObject * obj1 = 0 ;
7108 char *kwnames[] = {
7109 (char *) "self",(char *) "edge", NULL
7110 };
7111
7112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
7113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7114 {
7115 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
7116 if (PyErr_Occurred()) SWIG_fail;
7117 }
7118 {
7119 PyThreadState* __tstate = wxPyBeginAllowThreads();
7120 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7121
7122 wxPyEndAllowThreads(__tstate);
7123 if (PyErr_Occurred()) SWIG_fail;
7124 }
7125 Py_INCREF(Py_None); resultobj = Py_None;
7126 return resultobj;
7127 fail:
7128 return NULL;
7129}
7130
7131
7132static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7133 PyObject *resultobj;
7134 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7135 int result;
7136 PyObject * obj0 = 0 ;
7137 char *kwnames[] = {
7138 (char *) "self", NULL
7139 };
7140
7141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7143 {
7144 PyThreadState* __tstate = wxPyBeginAllowThreads();
7145 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7146
7147 wxPyEndAllowThreads(__tstate);
7148 if (PyErr_Occurred()) SWIG_fail;
7149 }
7150 resultobj = SWIG_PyObj_FromInt((int)result);
7151 return resultobj;
7152 fail:
7153 return NULL;
7154}
7155
7156
7157static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7158 PyObject *resultobj;
7159 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7160 wxRect *arg2 = 0 ;
7161 wxRect temp2 ;
7162 PyObject * obj0 = 0 ;
7163 PyObject * obj1 = 0 ;
7164 char *kwnames[] = {
7165 (char *) "self",(char *) "rect", NULL
7166 };
7167
7168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7170 {
7171 arg2 = &temp2;
7172 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7173 }
7174 {
7175 PyThreadState* __tstate = wxPyBeginAllowThreads();
7176 (arg1)->SetDragRect((wxRect const &)*arg2);
7177
7178 wxPyEndAllowThreads(__tstate);
7179 if (PyErr_Occurred()) SWIG_fail;
7180 }
7181 Py_INCREF(Py_None); resultobj = Py_None;
7182 return resultobj;
7183 fail:
7184 return NULL;
7185}
7186
7187
7188static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7189 PyObject *resultobj;
7190 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7191 wxRect result;
7192 PyObject * obj0 = 0 ;
7193 char *kwnames[] = {
7194 (char *) "self", NULL
7195 };
7196
7197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7199 {
7200 PyThreadState* __tstate = wxPyBeginAllowThreads();
7201 result = ((wxSashEvent const *)arg1)->GetDragRect();
7202
7203 wxPyEndAllowThreads(__tstate);
7204 if (PyErr_Occurred()) SWIG_fail;
7205 }
7206 {
7207 wxRect * resultptr;
7208 resultptr = new wxRect((wxRect &) result);
7209 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7210 }
7211 return resultobj;
7212 fail:
7213 return NULL;
7214}
7215
7216
7217static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7218 PyObject *resultobj;
7219 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7220 int arg2 ;
7221 PyObject * obj0 = 0 ;
7222 PyObject * obj1 = 0 ;
7223 char *kwnames[] = {
7224 (char *) "self",(char *) "status", NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
7228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7229 {
7230 arg2 = (wxSashDragStatus) SWIG_PyObj_AsInt(obj1);
7231 if (PyErr_Occurred()) SWIG_fail;
7232 }
7233 {
7234 PyThreadState* __tstate = wxPyBeginAllowThreads();
7235 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7236
7237 wxPyEndAllowThreads(__tstate);
7238 if (PyErr_Occurred()) SWIG_fail;
7239 }
7240 Py_INCREF(Py_None); resultobj = Py_None;
7241 return resultobj;
7242 fail:
7243 return NULL;
7244}
7245
7246
7247static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7248 PyObject *resultobj;
7249 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7250 int result;
7251 PyObject * obj0 = 0 ;
7252 char *kwnames[] = {
7253 (char *) "self", NULL
7254 };
7255
7256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7261
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 resultobj = SWIG_PyObj_FromInt((int)result);
7266 return resultobj;
7267 fail:
7268 return NULL;
7269}
7270
7271
7272static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7273 PyObject *obj;
7274 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7275 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7276 Py_INCREF(obj);
7277 return Py_BuildValue((char *)"");
7278}
7279static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7280 PyObject *resultobj;
7281 int arg1 = (int) 0 ;
7282 wxQueryLayoutInfoEvent *result;
7283 PyObject * obj0 = 0 ;
7284 char *kwnames[] = {
7285 (char *) "id", NULL
7286 };
7287
7288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7289 if (obj0) {
7290 {
7291 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7292 if (PyErr_Occurred()) SWIG_fail;
7293 }
7294 }
7295 {
7296 PyThreadState* __tstate = wxPyBeginAllowThreads();
7297 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7298
7299 wxPyEndAllowThreads(__tstate);
7300 if (PyErr_Occurred()) SWIG_fail;
7301 }
7302 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7303 return resultobj;
7304 fail:
7305 return NULL;
7306}
7307
7308
7309static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7310 PyObject *resultobj;
7311 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7312 int arg2 ;
7313 PyObject * obj0 = 0 ;
7314 PyObject * obj1 = 0 ;
7315 char *kwnames[] = {
7316 (char *) "self",(char *) "length", NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
7320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7321 {
7322 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7323 if (PyErr_Occurred()) SWIG_fail;
7324 }
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 (arg1)->SetRequestedLength(arg2);
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 Py_INCREF(Py_None); resultobj = Py_None;
7333 return resultobj;
7334 fail:
7335 return NULL;
7336}
7337
7338
7339static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7340 PyObject *resultobj;
7341 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7342 int result;
7343 PyObject * obj0 = 0 ;
7344 char *kwnames[] = {
7345 (char *) "self", NULL
7346 };
7347
7348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7350 {
7351 PyThreadState* __tstate = wxPyBeginAllowThreads();
7352 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7353
7354 wxPyEndAllowThreads(__tstate);
7355 if (PyErr_Occurred()) SWIG_fail;
7356 }
7357 resultobj = SWIG_PyObj_FromInt((int)result);
7358 return resultobj;
7359 fail:
7360 return NULL;
7361}
7362
7363
7364static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7365 PyObject *resultobj;
7366 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7367 int arg2 ;
7368 PyObject * obj0 = 0 ;
7369 PyObject * obj1 = 0 ;
7370 char *kwnames[] = {
7371 (char *) "self",(char *) "flags", NULL
7372 };
7373
7374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7376 {
7377 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7378 if (PyErr_Occurred()) SWIG_fail;
7379 }
7380 {
7381 PyThreadState* __tstate = wxPyBeginAllowThreads();
7382 (arg1)->SetFlags(arg2);
7383
7384 wxPyEndAllowThreads(__tstate);
7385 if (PyErr_Occurred()) SWIG_fail;
7386 }
7387 Py_INCREF(Py_None); resultobj = Py_None;
7388 return resultobj;
7389 fail:
7390 return NULL;
7391}
7392
7393
7394static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7395 PyObject *resultobj;
7396 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7397 int result;
7398 PyObject * obj0 = 0 ;
7399 char *kwnames[] = {
7400 (char *) "self", NULL
7401 };
7402
7403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7405 {
7406 PyThreadState* __tstate = wxPyBeginAllowThreads();
7407 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7408
7409 wxPyEndAllowThreads(__tstate);
7410 if (PyErr_Occurred()) SWIG_fail;
7411 }
7412 resultobj = SWIG_PyObj_FromInt((int)result);
7413 return resultobj;
7414 fail:
7415 return NULL;
7416}
7417
7418
7419static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7420 PyObject *resultobj;
7421 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7422 wxSize *arg2 = 0 ;
7423 wxSize temp2 ;
7424 PyObject * obj0 = 0 ;
7425 PyObject * obj1 = 0 ;
7426 char *kwnames[] = {
7427 (char *) "self",(char *) "size", NULL
7428 };
7429
7430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7432 {
7433 arg2 = &temp2;
7434 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7435 }
7436 {
7437 PyThreadState* __tstate = wxPyBeginAllowThreads();
7438 (arg1)->SetSize((wxSize const &)*arg2);
7439
7440 wxPyEndAllowThreads(__tstate);
7441 if (PyErr_Occurred()) SWIG_fail;
7442 }
7443 Py_INCREF(Py_None); resultobj = Py_None;
7444 return resultobj;
7445 fail:
7446 return NULL;
7447}
7448
7449
7450static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7451 PyObject *resultobj;
7452 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7453 wxSize result;
7454 PyObject * obj0 = 0 ;
7455 char *kwnames[] = {
7456 (char *) "self", NULL
7457 };
7458
7459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7461 {
7462 PyThreadState* __tstate = wxPyBeginAllowThreads();
7463 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7464
7465 wxPyEndAllowThreads(__tstate);
7466 if (PyErr_Occurred()) SWIG_fail;
7467 }
7468 {
7469 wxSize * resultptr;
7470 resultptr = new wxSize((wxSize &) result);
7471 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
7472 }
7473 return resultobj;
7474 fail:
7475 return NULL;
7476}
7477
7478
7479static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7480 PyObject *resultobj;
7481 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7482 int arg2 ;
7483 PyObject * obj0 = 0 ;
7484 PyObject * obj1 = 0 ;
7485 char *kwnames[] = {
7486 (char *) "self",(char *) "orient", NULL
7487 };
7488
7489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
7490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7491 {
7492 arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1);
7493 if (PyErr_Occurred()) SWIG_fail;
7494 }
7495 {
7496 PyThreadState* __tstate = wxPyBeginAllowThreads();
7497 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7498
7499 wxPyEndAllowThreads(__tstate);
7500 if (PyErr_Occurred()) SWIG_fail;
7501 }
7502 Py_INCREF(Py_None); resultobj = Py_None;
7503 return resultobj;
7504 fail:
7505 return NULL;
7506}
7507
7508
7509static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7510 PyObject *resultobj;
7511 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7512 int result;
7513 PyObject * obj0 = 0 ;
7514 char *kwnames[] = {
7515 (char *) "self", NULL
7516 };
7517
7518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7520 {
7521 PyThreadState* __tstate = wxPyBeginAllowThreads();
7522 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7523
7524 wxPyEndAllowThreads(__tstate);
7525 if (PyErr_Occurred()) SWIG_fail;
7526 }
7527 resultobj = SWIG_PyObj_FromInt((int)result);
7528 return resultobj;
7529 fail:
7530 return NULL;
7531}
7532
7533
7534static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7535 PyObject *resultobj;
7536 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7537 int arg2 ;
7538 PyObject * obj0 = 0 ;
7539 PyObject * obj1 = 0 ;
7540 char *kwnames[] = {
7541 (char *) "self",(char *) "align", NULL
7542 };
7543
7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7546 {
7547 arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1);
7548 if (PyErr_Occurred()) SWIG_fail;
7549 }
7550 {
7551 PyThreadState* __tstate = wxPyBeginAllowThreads();
7552 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7553
7554 wxPyEndAllowThreads(__tstate);
7555 if (PyErr_Occurred()) SWIG_fail;
7556 }
7557 Py_INCREF(Py_None); resultobj = Py_None;
7558 return resultobj;
7559 fail:
7560 return NULL;
7561}
7562
7563
7564static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7565 PyObject *resultobj;
7566 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7567 int result;
7568 PyObject * obj0 = 0 ;
7569 char *kwnames[] = {
7570 (char *) "self", NULL
7571 };
7572
7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7575 {
7576 PyThreadState* __tstate = wxPyBeginAllowThreads();
7577 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7578
7579 wxPyEndAllowThreads(__tstate);
7580 if (PyErr_Occurred()) SWIG_fail;
7581 }
7582 resultobj = SWIG_PyObj_FromInt((int)result);
7583 return resultobj;
7584 fail:
7585 return NULL;
7586}
7587
7588
7589static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7590 PyObject *obj;
7591 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7592 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7593 Py_INCREF(obj);
7594 return Py_BuildValue((char *)"");
7595}
7596static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7597 PyObject *resultobj;
7598 int arg1 = (int) 0 ;
7599 wxCalculateLayoutEvent *result;
7600 PyObject * obj0 = 0 ;
7601 char *kwnames[] = {
7602 (char *) "id", NULL
7603 };
7604
7605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7606 if (obj0) {
7607 {
7608 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7609 if (PyErr_Occurred()) SWIG_fail;
7610 }
7611 }
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7620 return resultobj;
7621 fail:
7622 return NULL;
7623}
7624
7625
7626static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7629 int arg2 ;
7630 PyObject * obj0 = 0 ;
7631 PyObject * obj1 = 0 ;
7632 char *kwnames[] = {
7633 (char *) "self",(char *) "flags", NULL
7634 };
7635
7636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
7637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7638 {
7639 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7640 if (PyErr_Occurred()) SWIG_fail;
7641 }
7642 {
7643 PyThreadState* __tstate = wxPyBeginAllowThreads();
7644 (arg1)->SetFlags(arg2);
7645
7646 wxPyEndAllowThreads(__tstate);
7647 if (PyErr_Occurred()) SWIG_fail;
7648 }
7649 Py_INCREF(Py_None); resultobj = Py_None;
7650 return resultobj;
7651 fail:
7652 return NULL;
7653}
7654
7655
7656static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7657 PyObject *resultobj;
7658 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7659 int result;
7660 PyObject * obj0 = 0 ;
7661 char *kwnames[] = {
7662 (char *) "self", NULL
7663 };
7664
7665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7667 {
7668 PyThreadState* __tstate = wxPyBeginAllowThreads();
7669 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7670
7671 wxPyEndAllowThreads(__tstate);
7672 if (PyErr_Occurred()) SWIG_fail;
7673 }
7674 resultobj = SWIG_PyObj_FromInt((int)result);
7675 return resultobj;
7676 fail:
7677 return NULL;
7678}
7679
7680
7681static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7682 PyObject *resultobj;
7683 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7684 wxRect *arg2 = 0 ;
7685 wxRect temp2 ;
7686 PyObject * obj0 = 0 ;
7687 PyObject * obj1 = 0 ;
7688 char *kwnames[] = {
7689 (char *) "self",(char *) "rect", NULL
7690 };
7691
7692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7694 {
7695 arg2 = &temp2;
7696 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7697 }
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 (arg1)->SetRect((wxRect const &)*arg2);
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 Py_INCREF(Py_None); resultobj = Py_None;
7706 return resultobj;
7707 fail:
7708 return NULL;
7709}
7710
7711
7712static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7713 PyObject *resultobj;
7714 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7715 wxRect result;
7716 PyObject * obj0 = 0 ;
7717 char *kwnames[] = {
7718 (char *) "self", NULL
7719 };
7720
7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7723 {
7724 PyThreadState* __tstate = wxPyBeginAllowThreads();
7725 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7726
7727 wxPyEndAllowThreads(__tstate);
7728 if (PyErr_Occurred()) SWIG_fail;
7729 }
7730 {
7731 wxRect * resultptr;
7732 resultptr = new wxRect((wxRect &) result);
7733 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7734 }
7735 return resultobj;
7736 fail:
7737 return NULL;
7738}
7739
7740
7741static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7742 PyObject *obj;
7743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7744 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7745 Py_INCREF(obj);
7746 return Py_BuildValue((char *)"");
7747}
7748static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7749 PyObject *resultobj;
7750 wxWindow *arg1 = (wxWindow *) 0 ;
7751 int arg2 ;
7752 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7753 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7754 wxSize const &arg4_defvalue = wxDefaultSize ;
7755 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7756 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7757 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7758 wxString *arg6 = (wxString *) &arg6_defvalue ;
7759 wxSashLayoutWindow *result;
7760 wxPoint temp3 ;
7761 wxSize temp4 ;
7762 bool temp6 = False ;
7763 PyObject * obj0 = 0 ;
7764 PyObject * obj1 = 0 ;
7765 PyObject * obj2 = 0 ;
7766 PyObject * obj3 = 0 ;
7767 PyObject * obj4 = 0 ;
7768 PyObject * obj5 = 0 ;
7769 char *kwnames[] = {
7770 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7771 };
7772
7773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
7774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7775 {
7776 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7777 if (PyErr_Occurred()) SWIG_fail;
7778 }
7779 if (obj2) {
7780 {
7781 arg3 = &temp3;
7782 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7783 }
7784 }
7785 if (obj3) {
7786 {
7787 arg4 = &temp4;
7788 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7789 }
7790 }
7791 if (obj4) {
7792 {
7793 arg5 = (long) SWIG_PyObj_AsLong(obj4);
7794 if (PyErr_Occurred()) SWIG_fail;
7795 }
7796 }
7797 if (obj5) {
7798 {
7799 arg6 = wxString_in_helper(obj5);
7800 if (arg6 == NULL) SWIG_fail;
7801 temp6 = True;
7802 }
7803 }
7804 {
7805 PyThreadState* __tstate = wxPyBeginAllowThreads();
7806 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7807
7808 wxPyEndAllowThreads(__tstate);
7809 if (PyErr_Occurred()) SWIG_fail;
7810 }
7811 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7812 {
7813 if (temp6)
7814 delete arg6;
7815 }
7816 return resultobj;
7817 fail:
7818 {
7819 if (temp6)
7820 delete arg6;
7821 }
7822 return NULL;
7823}
7824
7825
7826static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7827 PyObject *resultobj;
7828 wxSashLayoutWindow *result;
7829 char *kwnames[] = {
7830 NULL
7831 };
7832
7833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7834 {
7835 PyThreadState* __tstate = wxPyBeginAllowThreads();
7836 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7837
7838 wxPyEndAllowThreads(__tstate);
7839 if (PyErr_Occurred()) SWIG_fail;
7840 }
7841 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7842 return resultobj;
7843 fail:
7844 return NULL;
7845}
7846
7847
7848static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7849 PyObject *resultobj;
7850 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7851 wxWindow *arg2 = (wxWindow *) 0 ;
7852 int arg3 ;
7853 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7854 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7855 wxSize const &arg5_defvalue = wxDefaultSize ;
7856 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7857 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7858 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7859 wxString *arg7 = (wxString *) &arg7_defvalue ;
7860 bool result;
7861 wxPoint temp4 ;
7862 wxSize temp5 ;
7863 bool temp7 = False ;
7864 PyObject * obj0 = 0 ;
7865 PyObject * obj1 = 0 ;
7866 PyObject * obj2 = 0 ;
7867 PyObject * obj3 = 0 ;
7868 PyObject * obj4 = 0 ;
7869 PyObject * obj5 = 0 ;
7870 PyObject * obj6 = 0 ;
7871 char *kwnames[] = {
7872 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7873 };
7874
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
7876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7877 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7878 {
7879 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7880 if (PyErr_Occurred()) SWIG_fail;
7881 }
7882 if (obj3) {
7883 {
7884 arg4 = &temp4;
7885 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7886 }
7887 }
7888 if (obj4) {
7889 {
7890 arg5 = &temp5;
7891 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7892 }
7893 }
7894 if (obj5) {
7895 {
7896 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7897 if (PyErr_Occurred()) SWIG_fail;
7898 }
7899 }
7900 if (obj6) {
7901 {
7902 arg7 = wxString_in_helper(obj6);
7903 if (arg7 == NULL) SWIG_fail;
7904 temp7 = True;
7905 }
7906 }
7907 {
7908 PyThreadState* __tstate = wxPyBeginAllowThreads();
7909 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7910
7911 wxPyEndAllowThreads(__tstate);
7912 if (PyErr_Occurred()) SWIG_fail;
7913 }
7914 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
7915 {
7916 if (temp7)
7917 delete arg7;
7918 }
7919 return resultobj;
7920 fail:
7921 {
7922 if (temp7)
7923 delete arg7;
7924 }
7925 return NULL;
7926}
7927
7928
7929static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7930 PyObject *resultobj;
7931 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7932 int result;
7933 PyObject * obj0 = 0 ;
7934 char *kwnames[] = {
7935 (char *) "self", NULL
7936 };
7937
7938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7940 {
7941 PyThreadState* __tstate = wxPyBeginAllowThreads();
7942 result = (int)(arg1)->GetAlignment();
7943
7944 wxPyEndAllowThreads(__tstate);
7945 if (PyErr_Occurred()) SWIG_fail;
7946 }
7947 resultobj = SWIG_PyObj_FromInt((int)result);
7948 return resultobj;
7949 fail:
7950 return NULL;
7951}
7952
7953
7954static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7955 PyObject *resultobj;
7956 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7957 int result;
7958 PyObject * obj0 = 0 ;
7959 char *kwnames[] = {
7960 (char *) "self", NULL
7961 };
7962
7963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7965 {
7966 PyThreadState* __tstate = wxPyBeginAllowThreads();
7967 result = (int)(arg1)->GetOrientation();
7968
7969 wxPyEndAllowThreads(__tstate);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 }
7972 resultobj = SWIG_PyObj_FromInt((int)result);
7973 return resultobj;
7974 fail:
7975 return NULL;
7976}
7977
7978
7979static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7980 PyObject *resultobj;
7981 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7982 int arg2 ;
7983 PyObject * obj0 = 0 ;
7984 PyObject * obj1 = 0 ;
7985 char *kwnames[] = {
7986 (char *) "self",(char *) "alignment", NULL
7987 };
7988
7989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
7990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7991 {
7992 arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 }
7995 {
7996 PyThreadState* __tstate = wxPyBeginAllowThreads();
7997 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7998
7999 wxPyEndAllowThreads(__tstate);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 }
8002 Py_INCREF(Py_None); resultobj = Py_None;
8003 return resultobj;
8004 fail:
8005 return NULL;
8006}
8007
8008
8009static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8010 PyObject *resultobj;
8011 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8012 wxSize *arg2 = 0 ;
8013 wxSize temp2 ;
8014 PyObject * obj0 = 0 ;
8015 PyObject * obj1 = 0 ;
8016 char *kwnames[] = {
8017 (char *) "self",(char *) "size", NULL
8018 };
8019
8020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8022 {
8023 arg2 = &temp2;
8024 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8025 }
8026 {
8027 PyThreadState* __tstate = wxPyBeginAllowThreads();
8028 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8029
8030 wxPyEndAllowThreads(__tstate);
8031 if (PyErr_Occurred()) SWIG_fail;
8032 }
8033 Py_INCREF(Py_None); resultobj = Py_None;
8034 return resultobj;
8035 fail:
8036 return NULL;
8037}
8038
8039
8040static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8041 PyObject *resultobj;
8042 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8043 int arg2 ;
8044 PyObject * obj0 = 0 ;
8045 PyObject * obj1 = 0 ;
8046 char *kwnames[] = {
8047 (char *) "self",(char *) "orientation", NULL
8048 };
8049
8050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
8051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8052 {
8053 arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1);
8054 if (PyErr_Occurred()) SWIG_fail;
8055 }
8056 {
8057 PyThreadState* __tstate = wxPyBeginAllowThreads();
8058 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8059
8060 wxPyEndAllowThreads(__tstate);
8061 if (PyErr_Occurred()) SWIG_fail;
8062 }
8063 Py_INCREF(Py_None); resultobj = Py_None;
8064 return resultobj;
8065 fail:
8066 return NULL;
8067}
8068
8069
8070static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8071 PyObject *obj;
8072 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8073 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8074 Py_INCREF(obj);
8075 return Py_BuildValue((char *)"");
8076}
8077static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8078 PyObject *resultobj;
8079 wxLayoutAlgorithm *result;
8080 char *kwnames[] = {
8081 NULL
8082 };
8083
8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8085 {
8086 PyThreadState* __tstate = wxPyBeginAllowThreads();
8087 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8088
8089 wxPyEndAllowThreads(__tstate);
8090 if (PyErr_Occurred()) SWIG_fail;
8091 }
8092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
8093 return resultobj;
8094 fail:
8095 return NULL;
8096}
8097
8098
8099static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8100 PyObject *resultobj;
8101 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8102 PyObject * obj0 = 0 ;
8103 char *kwnames[] = {
8104 (char *) "self", NULL
8105 };
8106
8107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8109 {
8110 PyThreadState* __tstate = wxPyBeginAllowThreads();
8111 delete arg1;
8112
8113 wxPyEndAllowThreads(__tstate);
8114 if (PyErr_Occurred()) SWIG_fail;
8115 }
8116 Py_INCREF(Py_None); resultobj = Py_None;
8117 return resultobj;
8118 fail:
8119 return NULL;
8120}
8121
8122
8123static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8124 PyObject *resultobj;
8125 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8126 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8127 wxRect *arg3 = (wxRect *) NULL ;
8128 bool result;
8129 PyObject * obj0 = 0 ;
8130 PyObject * obj1 = 0 ;
8131 PyObject * obj2 = 0 ;
8132 char *kwnames[] = {
8133 (char *) "self",(char *) "frame",(char *) "rect", NULL
8134 };
8135
8136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8139 if (obj2) {
8140 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8141 }
8142 {
8143 PyThreadState* __tstate = wxPyBeginAllowThreads();
8144 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8145
8146 wxPyEndAllowThreads(__tstate);
8147 if (PyErr_Occurred()) SWIG_fail;
8148 }
8149 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8150 return resultobj;
8151 fail:
8152 return NULL;
8153}
8154
8155
8156static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8157 PyObject *resultobj;
8158 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8159 wxFrame *arg2 = (wxFrame *) 0 ;
8160 wxWindow *arg3 = (wxWindow *) NULL ;
8161 bool result;
8162 PyObject * obj0 = 0 ;
8163 PyObject * obj1 = 0 ;
8164 PyObject * obj2 = 0 ;
8165 char *kwnames[] = {
8166 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8167 };
8168
8169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8172 if (obj2) {
8173 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8174 }
8175 {
8176 PyThreadState* __tstate = wxPyBeginAllowThreads();
8177 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8178
8179 wxPyEndAllowThreads(__tstate);
8180 if (PyErr_Occurred()) SWIG_fail;
8181 }
8182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8183 return resultobj;
8184 fail:
8185 return NULL;
8186}
8187
8188
8189static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8190 PyObject *resultobj;
8191 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8192 wxWindow *arg2 = (wxWindow *) 0 ;
8193 wxWindow *arg3 = (wxWindow *) NULL ;
8194 bool result;
8195 PyObject * obj0 = 0 ;
8196 PyObject * obj1 = 0 ;
8197 PyObject * obj2 = 0 ;
8198 char *kwnames[] = {
8199 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8200 };
8201
8202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8204 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8205 if (obj2) {
8206 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8207 }
8208 {
8209 PyThreadState* __tstate = wxPyBeginAllowThreads();
8210 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8211
8212 wxPyEndAllowThreads(__tstate);
8213 if (PyErr_Occurred()) SWIG_fail;
8214 }
8215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8216 return resultobj;
8217 fail:
8218 return NULL;
8219}
8220
8221
8222static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8223 PyObject *obj;
8224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8225 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8226 Py_INCREF(obj);
8227 return Py_BuildValue((char *)"");
8228}
8229static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8230 PyObject *resultobj;
8231 wxWindow *arg1 = (wxWindow *) 0 ;
8232 int arg2 = (int) wxBORDER_NONE ;
8233 wxPopupWindow *result;
8234 PyObject * obj0 = 0 ;
8235 PyObject * obj1 = 0 ;
8236 char *kwnames[] = {
8237 (char *) "parent",(char *) "flags", NULL
8238 };
8239
8240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
8241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8242 if (obj1) {
8243 {
8244 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8245 if (PyErr_Occurred()) SWIG_fail;
8246 }
8247 }
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
8256 return resultobj;
8257 fail:
8258 return NULL;
8259}
8260
8261
8262static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj;
8264 wxPopupWindow *result;
8265 char *kwnames[] = {
8266 NULL
8267 };
8268
8269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8270 {
8271 PyThreadState* __tstate = wxPyBeginAllowThreads();
8272 result = (wxPopupWindow *)new wxPopupWindow();
8273
8274 wxPyEndAllowThreads(__tstate);
8275 if (PyErr_Occurred()) SWIG_fail;
8276 }
8277 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
8278 return resultobj;
8279 fail:
8280 return NULL;
8281}
8282
8283
8284static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8285 PyObject *obj;
8286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8287 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8288 Py_INCREF(obj);
8289 return Py_BuildValue((char *)"");
8290}
8291static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8292 PyObject *resultobj;
8293 wxWindow *arg1 = (wxWindow *) 0 ;
8294 int arg2 = (int) wxBORDER_NONE ;
8295 wxPyPopupTransientWindow *result;
8296 PyObject * obj0 = 0 ;
8297 PyObject * obj1 = 0 ;
8298 char *kwnames[] = {
8299 (char *) "parent",(char *) "style", NULL
8300 };
8301
8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
8303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8304 if (obj1) {
8305 {
8306 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8307 if (PyErr_Occurred()) SWIG_fail;
8308 }
8309 }
8310 {
8311 PyThreadState* __tstate = wxPyBeginAllowThreads();
8312 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8313
8314 wxPyEndAllowThreads(__tstate);
8315 if (PyErr_Occurred()) SWIG_fail;
8316 }
8317 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8318 return resultobj;
8319 fail:
8320 return NULL;
8321}
8322
8323
8324static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8325 PyObject *resultobj;
8326 wxPyPopupTransientWindow *result;
8327 char *kwnames[] = {
8328 NULL
8329 };
8330
8331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8340 return resultobj;
8341 fail:
8342 return NULL;
8343}
8344
8345
8346static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8347 PyObject *obj;
8348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8349 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8350 Py_INCREF(obj);
8351 return Py_BuildValue((char *)"");
8352}
8353static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8354 PyObject *resultobj;
8355 wxWindow *arg1 = (wxWindow *) 0 ;
8356 wxString *arg2 = 0 ;
8357 int arg3 = (int) 100 ;
8358 wxRect *arg4 = (wxRect *) NULL ;
8359 wxTipWindow *result;
8360 bool temp2 = False ;
8361 PyObject * obj0 = 0 ;
8362 PyObject * obj1 = 0 ;
8363 PyObject * obj2 = 0 ;
8364 PyObject * obj3 = 0 ;
8365 char *kwnames[] = {
8366 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8367 };
8368
8369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
8370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8371 {
8372 arg2 = wxString_in_helper(obj1);
8373 if (arg2 == NULL) SWIG_fail;
8374 temp2 = True;
8375 }
8376 if (obj2) {
8377 {
8378 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8379 if (PyErr_Occurred()) SWIG_fail;
8380 }
8381 }
8382 if (obj3) {
8383 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8384 }
8385 {
8386 PyThreadState* __tstate = wxPyBeginAllowThreads();
8387 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
8388
8389 wxPyEndAllowThreads(__tstate);
8390 if (PyErr_Occurred()) SWIG_fail;
8391 }
8392 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
8393 {
8394 if (temp2)
8395 delete arg2;
8396 }
8397 return resultobj;
8398 fail:
8399 {
8400 if (temp2)
8401 delete arg2;
8402 }
8403 return NULL;
8404}
8405
8406
8407static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8408 PyObject *resultobj;
8409 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8410 wxRect *arg2 = 0 ;
8411 wxRect temp2 ;
8412 PyObject * obj0 = 0 ;
8413 PyObject * obj1 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self",(char *) "rectBound", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8420 {
8421 arg2 = &temp2;
8422 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8423 }
8424 {
8425 PyThreadState* __tstate = wxPyBeginAllowThreads();
8426 (arg1)->SetBoundingRect((wxRect const &)*arg2);
8427
8428 wxPyEndAllowThreads(__tstate);
8429 if (PyErr_Occurred()) SWIG_fail;
8430 }
8431 Py_INCREF(Py_None); resultobj = Py_None;
8432 return resultobj;
8433 fail:
8434 return NULL;
8435}
8436
8437
8438static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8439 PyObject *resultobj;
8440 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8441 PyObject * obj0 = 0 ;
8442 char *kwnames[] = {
8443 (char *) "self", NULL
8444 };
8445
8446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8448 {
8449 PyThreadState* __tstate = wxPyBeginAllowThreads();
8450 (arg1)->Close();
8451
8452 wxPyEndAllowThreads(__tstate);
8453 if (PyErr_Occurred()) SWIG_fail;
8454 }
8455 Py_INCREF(Py_None); resultobj = Py_None;
8456 return resultobj;
8457 fail:
8458 return NULL;
8459}
8460
8461
8462static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8463 PyObject *obj;
8464 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8465 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8466 Py_INCREF(obj);
8467 return Py_BuildValue((char *)"");
8468}
8469static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8470 PyObject *resultobj;
8471 wxWindow *arg1 = (wxWindow *) 0 ;
8472 int arg2 = (int) wxID_ANY ;
8473 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8474 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8475 wxSize const &arg4_defvalue = wxDefaultSize ;
8476 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8477 long arg5 = (long) 0 ;
8478 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8479 wxString *arg6 = (wxString *) &arg6_defvalue ;
8480 wxPyVScrolledWindow *result;
8481 wxPoint temp3 ;
8482 wxSize temp4 ;
8483 bool temp6 = False ;
8484 PyObject * obj0 = 0 ;
8485 PyObject * obj1 = 0 ;
8486 PyObject * obj2 = 0 ;
8487 PyObject * obj3 = 0 ;
8488 PyObject * obj4 = 0 ;
8489 PyObject * obj5 = 0 ;
8490 char *kwnames[] = {
8491 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8492 };
8493
8494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
8495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8496 if (obj1) {
8497 {
8498 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8499 if (PyErr_Occurred()) SWIG_fail;
8500 }
8501 }
8502 if (obj2) {
8503 {
8504 arg3 = &temp3;
8505 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8506 }
8507 }
8508 if (obj3) {
8509 {
8510 arg4 = &temp4;
8511 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8512 }
8513 }
8514 if (obj4) {
8515 {
8516 arg5 = (long) SWIG_PyObj_AsLong(obj4);
8517 if (PyErr_Occurred()) SWIG_fail;
8518 }
8519 }
8520 if (obj5) {
8521 {
8522 arg6 = wxString_in_helper(obj5);
8523 if (arg6 == NULL) SWIG_fail;
8524 temp6 = True;
8525 }
8526 }
8527 {
8528 PyThreadState* __tstate = wxPyBeginAllowThreads();
8529 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8530
8531 wxPyEndAllowThreads(__tstate);
8532 if (PyErr_Occurred()) SWIG_fail;
8533 }
8534 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8535 {
8536 if (temp6)
8537 delete arg6;
8538 }
8539 return resultobj;
8540 fail:
8541 {
8542 if (temp6)
8543 delete arg6;
8544 }
8545 return NULL;
8546}
8547
8548
8549static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8550 PyObject *resultobj;
8551 wxPyVScrolledWindow *result;
8552 char *kwnames[] = {
8553 NULL
8554 };
8555
8556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8557 {
8558 PyThreadState* __tstate = wxPyBeginAllowThreads();
8559 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8560
8561 wxPyEndAllowThreads(__tstate);
8562 if (PyErr_Occurred()) SWIG_fail;
8563 }
8564 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8565 return resultobj;
8566 fail:
8567 return NULL;
8568}
8569
8570
8571static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8572 PyObject *resultobj;
8573 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8574 PyObject *arg2 = (PyObject *) 0 ;
8575 PyObject *arg3 = (PyObject *) 0 ;
8576 PyObject * obj0 = 0 ;
8577 PyObject * obj1 = 0 ;
8578 PyObject * obj2 = 0 ;
8579 char *kwnames[] = {
8580 (char *) "self",(char *) "self",(char *) "_class", NULL
8581 };
8582
8583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8585 arg2 = obj1;
8586 arg3 = obj2;
8587 {
8588 PyThreadState* __tstate = wxPyBeginAllowThreads();
8589 (arg1)->_setCallbackInfo(arg2,arg3);
8590
8591 wxPyEndAllowThreads(__tstate);
8592 if (PyErr_Occurred()) SWIG_fail;
8593 }
8594 Py_INCREF(Py_None); resultobj = Py_None;
8595 return resultobj;
8596 fail:
8597 return NULL;
8598}
8599
8600
8601static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8602 PyObject *resultobj;
8603 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8604 wxWindow *arg2 = (wxWindow *) 0 ;
8605 int arg3 = (int) wxID_ANY ;
8606 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8607 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8608 wxSize const &arg5_defvalue = wxDefaultSize ;
8609 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8610 long arg6 = (long) 0 ;
8611 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8612 wxString *arg7 = (wxString *) &arg7_defvalue ;
8613 bool result;
8614 wxPoint temp4 ;
8615 wxSize temp5 ;
8616 bool temp7 = False ;
8617 PyObject * obj0 = 0 ;
8618 PyObject * obj1 = 0 ;
8619 PyObject * obj2 = 0 ;
8620 PyObject * obj3 = 0 ;
8621 PyObject * obj4 = 0 ;
8622 PyObject * obj5 = 0 ;
8623 PyObject * obj6 = 0 ;
8624 char *kwnames[] = {
8625 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8626 };
8627
8628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
8629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8631 if (obj2) {
8632 {
8633 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 }
8637 if (obj3) {
8638 {
8639 arg4 = &temp4;
8640 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8641 }
8642 }
8643 if (obj4) {
8644 {
8645 arg5 = &temp5;
8646 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8647 }
8648 }
8649 if (obj5) {
8650 {
8651 arg6 = (long) SWIG_PyObj_AsLong(obj5);
8652 if (PyErr_Occurred()) SWIG_fail;
8653 }
8654 }
8655 if (obj6) {
8656 {
8657 arg7 = wxString_in_helper(obj6);
8658 if (arg7 == NULL) SWIG_fail;
8659 temp7 = True;
8660 }
8661 }
8662 {
8663 PyThreadState* __tstate = wxPyBeginAllowThreads();
8664 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8665
8666 wxPyEndAllowThreads(__tstate);
8667 if (PyErr_Occurred()) SWIG_fail;
8668 }
8669 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8670 {
8671 if (temp7)
8672 delete arg7;
8673 }
8674 return resultobj;
8675 fail:
8676 {
8677 if (temp7)
8678 delete arg7;
8679 }
8680 return NULL;
8681}
8682
8683
8684static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8685 PyObject *resultobj;
8686 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8687 size_t arg2 ;
8688 PyObject * obj0 = 0 ;
8689 PyObject * obj1 = 0 ;
8690 char *kwnames[] = {
8691 (char *) "self",(char *) "count", NULL
8692 };
8693
8694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8696 {
8697 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 {
8701 PyThreadState* __tstate = wxPyBeginAllowThreads();
8702 (arg1)->SetLineCount(arg2);
8703
8704 wxPyEndAllowThreads(__tstate);
8705 if (PyErr_Occurred()) SWIG_fail;
8706 }
8707 Py_INCREF(Py_None); resultobj = Py_None;
8708 return resultobj;
8709 fail:
8710 return NULL;
8711}
8712
8713
8714static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8715 PyObject *resultobj;
8716 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8717 size_t arg2 ;
8718 bool result;
8719 PyObject * obj0 = 0 ;
8720 PyObject * obj1 = 0 ;
8721 char *kwnames[] = {
8722 (char *) "self",(char *) "line", NULL
8723 };
8724
8725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8727 {
8728 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8729 if (PyErr_Occurred()) SWIG_fail;
8730 }
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 result = (bool)(arg1)->ScrollToLine(arg2);
8734
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
8738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8739 return resultobj;
8740 fail:
8741 return NULL;
8742}
8743
8744
8745static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8746 PyObject *resultobj;
8747 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8748 int arg2 ;
8749 bool result;
8750 PyObject * obj0 = 0 ;
8751 PyObject * obj1 = 0 ;
8752 char *kwnames[] = {
8753 (char *) "self",(char *) "lines", NULL
8754 };
8755
8756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
8757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8758 {
8759 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8760 if (PyErr_Occurred()) SWIG_fail;
8761 }
8762 {
8763 PyThreadState* __tstate = wxPyBeginAllowThreads();
8764 result = (bool)(arg1)->ScrollLines(arg2);
8765
8766 wxPyEndAllowThreads(__tstate);
8767 if (PyErr_Occurred()) SWIG_fail;
8768 }
8769 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8770 return resultobj;
8771 fail:
8772 return NULL;
8773}
8774
8775
8776static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8777 PyObject *resultobj;
8778 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8779 int arg2 ;
8780 bool result;
8781 PyObject * obj0 = 0 ;
8782 PyObject * obj1 = 0 ;
8783 char *kwnames[] = {
8784 (char *) "self",(char *) "pages", NULL
8785 };
8786
8787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
8788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8789 {
8790 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 }
8793 {
8794 PyThreadState* __tstate = wxPyBeginAllowThreads();
8795 result = (bool)(arg1)->ScrollPages(arg2);
8796
8797 wxPyEndAllowThreads(__tstate);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 }
8800 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
8801 return resultobj;
8802 fail:
8803 return NULL;
8804}
8805
8806
8807static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8808 PyObject *resultobj;
8809 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8810 size_t arg2 ;
8811 PyObject * obj0 = 0 ;
8812 PyObject * obj1 = 0 ;
8813 char *kwnames[] = {
8814 (char *) "self",(char *) "line", NULL
8815 };
8816
8817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8819 {
8820 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8821 if (PyErr_Occurred()) SWIG_fail;
8822 }
8823 {
8824 PyThreadState* __tstate = wxPyBeginAllowThreads();
8825 (arg1)->RefreshLine(arg2);
8826
8827 wxPyEndAllowThreads(__tstate);
8828 if (PyErr_Occurred()) SWIG_fail;
8829 }
8830 Py_INCREF(Py_None); resultobj = Py_None;
8831 return resultobj;
8832 fail:
8833 return NULL;
8834}
8835
8836
8837static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8838 PyObject *resultobj;
8839 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8840 size_t arg2 ;
8841 size_t arg3 ;
8842 PyObject * obj0 = 0 ;
8843 PyObject * obj1 = 0 ;
8844 PyObject * obj2 = 0 ;
8845 char *kwnames[] = {
8846 (char *) "self",(char *) "from",(char *) "to", NULL
8847 };
8848
8849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8851 {
8852 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
8853 if (PyErr_Occurred()) SWIG_fail;
8854 }
8855 {
8856 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 {
8860 PyThreadState* __tstate = wxPyBeginAllowThreads();
8861 (arg1)->RefreshLines(arg2,arg3);
8862
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
8866 Py_INCREF(Py_None); resultobj = Py_None;
8867 return resultobj;
8868 fail:
8869 return NULL;
8870}
8871
8872
8873static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj;
8875 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8876 int arg2 ;
8877 int arg3 ;
8878 int result;
8879 PyObject * obj0 = 0 ;
8880 PyObject * obj1 = 0 ;
8881 PyObject * obj2 = 0 ;
8882 char *kwnames[] = {
8883 (char *) "self",(char *) "x",(char *) "y", NULL
8884 };
8885
8886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
8887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8888 {
8889 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8890 if (PyErr_Occurred()) SWIG_fail;
8891 }
8892 {
8893 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8894 if (PyErr_Occurred()) SWIG_fail;
8895 }
8896 {
8897 PyThreadState* __tstate = wxPyBeginAllowThreads();
8898 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8899
8900 wxPyEndAllowThreads(__tstate);
8901 if (PyErr_Occurred()) SWIG_fail;
8902 }
8903 resultobj = SWIG_PyObj_FromInt((int)result);
8904 return resultobj;
8905 fail:
8906 return NULL;
8907}
8908
8909
8910static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8911 PyObject *resultobj;
8912 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8913 wxPoint *arg2 = 0 ;
8914 int result;
8915 wxPoint temp2 ;
8916 PyObject * obj0 = 0 ;
8917 PyObject * obj1 = 0 ;
8918 char *kwnames[] = {
8919 (char *) "self",(char *) "pt", NULL
8920 };
8921
8922 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8923 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8924 {
8925 arg2 = &temp2;
8926 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8927 }
8928 {
8929 PyThreadState* __tstate = wxPyBeginAllowThreads();
8930 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8931
8932 wxPyEndAllowThreads(__tstate);
8933 if (PyErr_Occurred()) SWIG_fail;
8934 }
8935 resultobj = SWIG_PyObj_FromInt((int)result);
8936 return resultobj;
8937 fail:
8938 return NULL;
8939}
8940
8941
8942static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8943 PyObject *resultobj;
8944 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8945 PyObject * obj0 = 0 ;
8946 char *kwnames[] = {
8947 (char *) "self", NULL
8948 };
8949
8950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 (arg1)->RefreshAll();
8955
8956 wxPyEndAllowThreads(__tstate);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 }
8959 Py_INCREF(Py_None); resultobj = Py_None;
8960 return resultobj;
8961 fail:
8962 return NULL;
8963}
8964
8965
8966static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8967 PyObject *resultobj;
8968 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8969 size_t result;
8970 PyObject * obj0 = 0 ;
8971 char *kwnames[] = {
8972 (char *) "self", NULL
8973 };
8974
8975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8977 {
8978 PyThreadState* __tstate = wxPyBeginAllowThreads();
8979 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8980
8981 wxPyEndAllowThreads(__tstate);
8982 if (PyErr_Occurred()) SWIG_fail;
8983 }
8984 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
8985 return resultobj;
8986 fail:
8987 return NULL;
8988}
8989
8990
8991static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8992 PyObject *resultobj;
8993 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8994 size_t result;
8995 PyObject * obj0 = 0 ;
8996 char *kwnames[] = {
8997 (char *) "self", NULL
8998 };
8999
9000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9002 {
9003 PyThreadState* __tstate = wxPyBeginAllowThreads();
9004 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9005
9006 wxPyEndAllowThreads(__tstate);
9007 if (PyErr_Occurred()) SWIG_fail;
9008 }
9009 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9010 return resultobj;
9011 fail:
9012 return NULL;
9013}
9014
9015
9016static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9017 PyObject *resultobj;
9018 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9019 size_t result;
9020 PyObject * obj0 = 0 ;
9021 char *kwnames[] = {
9022 (char *) "self", NULL
9023 };
9024
9025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9027 {
9028 PyThreadState* __tstate = wxPyBeginAllowThreads();
9029 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9030
9031 wxPyEndAllowThreads(__tstate);
9032 if (PyErr_Occurred()) SWIG_fail;
9033 }
9034 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9035 return resultobj;
9036 fail:
9037 return NULL;
9038}
9039
9040
9041static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9042 PyObject *resultobj;
9043 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9044 size_t arg2 ;
9045 bool result;
9046 PyObject * obj0 = 0 ;
9047 PyObject * obj1 = 0 ;
9048 char *kwnames[] = {
9049 (char *) "self",(char *) "line", NULL
9050 };
9051
9052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9054 {
9055 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9056 if (PyErr_Occurred()) SWIG_fail;
9057 }
9058 {
9059 PyThreadState* __tstate = wxPyBeginAllowThreads();
9060 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9061
9062 wxPyEndAllowThreads(__tstate);
9063 if (PyErr_Occurred()) SWIG_fail;
9064 }
9065 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9066 return resultobj;
9067 fail:
9068 return NULL;
9069}
9070
9071
9072static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9073 PyObject *obj;
9074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9075 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9076 Py_INCREF(obj);
9077 return Py_BuildValue((char *)"");
9078}
9079static int _wrap_VListBoxNameStr_set(PyObject *) {
9080 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9081 return 1;
9082}
9083
9084
9085static PyObject *_wrap_VListBoxNameStr_get() {
9086 PyObject *pyobj;
9087
9088 {
9089#if wxUSE_UNICODE
9090 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9091#else
9092 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9093#endif
9094 }
9095 return pyobj;
9096}
9097
9098
9099static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9100 PyObject *resultobj;
9101 wxWindow *arg1 = (wxWindow *) 0 ;
9102 int arg2 = (int) wxID_ANY ;
9103 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9104 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9105 wxSize const &arg4_defvalue = wxDefaultSize ;
9106 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9107 long arg5 = (long) 0 ;
9108 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9109 wxString *arg6 = (wxString *) &arg6_defvalue ;
9110 wxPyVListBox *result;
9111 wxPoint temp3 ;
9112 wxSize temp4 ;
9113 bool temp6 = False ;
9114 PyObject * obj0 = 0 ;
9115 PyObject * obj1 = 0 ;
9116 PyObject * obj2 = 0 ;
9117 PyObject * obj3 = 0 ;
9118 PyObject * obj4 = 0 ;
9119 PyObject * obj5 = 0 ;
9120 char *kwnames[] = {
9121 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9122 };
9123
9124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9126 if (obj1) {
9127 {
9128 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 }
9131 }
9132 if (obj2) {
9133 {
9134 arg3 = &temp3;
9135 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9136 }
9137 }
9138 if (obj3) {
9139 {
9140 arg4 = &temp4;
9141 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9142 }
9143 }
9144 if (obj4) {
9145 {
9146 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9147 if (PyErr_Occurred()) SWIG_fail;
9148 }
9149 }
9150 if (obj5) {
9151 {
9152 arg6 = wxString_in_helper(obj5);
9153 if (arg6 == NULL) SWIG_fail;
9154 temp6 = True;
9155 }
9156 }
9157 {
9158 PyThreadState* __tstate = wxPyBeginAllowThreads();
9159 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9160
9161 wxPyEndAllowThreads(__tstate);
9162 if (PyErr_Occurred()) SWIG_fail;
9163 }
9164 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
9165 {
9166 if (temp6)
9167 delete arg6;
9168 }
9169 return resultobj;
9170 fail:
9171 {
9172 if (temp6)
9173 delete arg6;
9174 }
9175 return NULL;
9176}
9177
9178
9179static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9180 PyObject *resultobj;
9181 wxPyVListBox *result;
9182 char *kwnames[] = {
9183 NULL
9184 };
9185
9186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9187 {
9188 PyThreadState* __tstate = wxPyBeginAllowThreads();
9189 result = (wxPyVListBox *)new wxPyVListBox();
9190
9191 wxPyEndAllowThreads(__tstate);
9192 if (PyErr_Occurred()) SWIG_fail;
9193 }
9194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
9195 return resultobj;
9196 fail:
9197 return NULL;
9198}
9199
9200
9201static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9202 PyObject *resultobj;
9203 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9204 PyObject *arg2 = (PyObject *) 0 ;
9205 PyObject *arg3 = (PyObject *) 0 ;
9206 PyObject * obj0 = 0 ;
9207 PyObject * obj1 = 0 ;
9208 PyObject * obj2 = 0 ;
9209 char *kwnames[] = {
9210 (char *) "self",(char *) "self",(char *) "_class", NULL
9211 };
9212
9213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9215 arg2 = obj1;
9216 arg3 = obj2;
9217 {
9218 PyThreadState* __tstate = wxPyBeginAllowThreads();
9219 (arg1)->_setCallbackInfo(arg2,arg3);
9220
9221 wxPyEndAllowThreads(__tstate);
9222 if (PyErr_Occurred()) SWIG_fail;
9223 }
9224 Py_INCREF(Py_None); resultobj = Py_None;
9225 return resultobj;
9226 fail:
9227 return NULL;
9228}
9229
9230
9231static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9232 PyObject *resultobj;
9233 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9234 wxWindow *arg2 = (wxWindow *) 0 ;
9235 int arg3 = (int) wxID_ANY ;
9236 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9237 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9238 wxSize const &arg5_defvalue = wxDefaultSize ;
9239 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9240 long arg6 = (long) 0 ;
9241 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9242 wxString *arg7 = (wxString *) &arg7_defvalue ;
9243 bool result;
9244 wxPoint temp4 ;
9245 wxSize temp5 ;
9246 bool temp7 = False ;
9247 PyObject * obj0 = 0 ;
9248 PyObject * obj1 = 0 ;
9249 PyObject * obj2 = 0 ;
9250 PyObject * obj3 = 0 ;
9251 PyObject * obj4 = 0 ;
9252 PyObject * obj5 = 0 ;
9253 PyObject * obj6 = 0 ;
9254 char *kwnames[] = {
9255 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9256 };
9257
9258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
9259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9261 if (obj2) {
9262 {
9263 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9264 if (PyErr_Occurred()) SWIG_fail;
9265 }
9266 }
9267 if (obj3) {
9268 {
9269 arg4 = &temp4;
9270 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9271 }
9272 }
9273 if (obj4) {
9274 {
9275 arg5 = &temp5;
9276 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9277 }
9278 }
9279 if (obj5) {
9280 {
9281 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9282 if (PyErr_Occurred()) SWIG_fail;
9283 }
9284 }
9285 if (obj6) {
9286 {
9287 arg7 = wxString_in_helper(obj6);
9288 if (arg7 == NULL) SWIG_fail;
9289 temp7 = True;
9290 }
9291 }
9292 {
9293 PyThreadState* __tstate = wxPyBeginAllowThreads();
9294 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9295
9296 wxPyEndAllowThreads(__tstate);
9297 if (PyErr_Occurred()) SWIG_fail;
9298 }
9299 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9300 {
9301 if (temp7)
9302 delete arg7;
9303 }
9304 return resultobj;
9305 fail:
9306 {
9307 if (temp7)
9308 delete arg7;
9309 }
9310 return NULL;
9311}
9312
9313
9314static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9315 PyObject *resultobj;
9316 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9317 size_t result;
9318 PyObject * obj0 = 0 ;
9319 char *kwnames[] = {
9320 (char *) "self", NULL
9321 };
9322
9323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9333 return resultobj;
9334 fail:
9335 return NULL;
9336}
9337
9338
9339static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9340 PyObject *resultobj;
9341 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9342 bool result;
9343 PyObject * obj0 = 0 ;
9344 char *kwnames[] = {
9345 (char *) "self", NULL
9346 };
9347
9348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9358 return resultobj;
9359 fail:
9360 return NULL;
9361}
9362
9363
9364static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9365 PyObject *resultobj;
9366 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9367 int result;
9368 PyObject * obj0 = 0 ;
9369 char *kwnames[] = {
9370 (char *) "self", NULL
9371 };
9372
9373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9375 {
9376 PyThreadState* __tstate = wxPyBeginAllowThreads();
9377 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9378
9379 wxPyEndAllowThreads(__tstate);
9380 if (PyErr_Occurred()) SWIG_fail;
9381 }
9382 resultobj = SWIG_PyObj_FromInt((int)result);
9383 return resultobj;
9384 fail:
9385 return NULL;
9386}
9387
9388
9389static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9390 PyObject *resultobj;
9391 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9392 size_t arg2 ;
9393 bool result;
9394 PyObject * obj0 = 0 ;
9395 PyObject * obj1 = 0 ;
9396 char *kwnames[] = {
9397 (char *) "self",(char *) "item", NULL
9398 };
9399
9400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9402 {
9403 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9404 if (PyErr_Occurred()) SWIG_fail;
9405 }
9406 {
9407 PyThreadState* __tstate = wxPyBeginAllowThreads();
9408 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9409
9410 wxPyEndAllowThreads(__tstate);
9411 if (PyErr_Occurred()) SWIG_fail;
9412 }
9413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9414 return resultobj;
9415 fail:
9416 return NULL;
9417}
9418
9419
9420static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9421 PyObject *resultobj;
9422 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9423 size_t arg2 ;
9424 bool result;
9425 PyObject * obj0 = 0 ;
9426 PyObject * obj1 = 0 ;
9427 char *kwnames[] = {
9428 (char *) "self",(char *) "item", NULL
9429 };
9430
9431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9433 {
9434 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9435 if (PyErr_Occurred()) SWIG_fail;
9436 }
9437 {
9438 PyThreadState* __tstate = wxPyBeginAllowThreads();
9439 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9440
9441 wxPyEndAllowThreads(__tstate);
9442 if (PyErr_Occurred()) SWIG_fail;
9443 }
9444 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9445 return resultobj;
9446 fail:
9447 return NULL;
9448}
9449
9450
9451static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9452 PyObject *resultobj;
9453 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9454 size_t result;
9455 PyObject * obj0 = 0 ;
9456 char *kwnames[] = {
9457 (char *) "self", NULL
9458 };
9459
9460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9462 {
9463 PyThreadState* __tstate = wxPyBeginAllowThreads();
9464 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9465
9466 wxPyEndAllowThreads(__tstate);
9467 if (PyErr_Occurred()) SWIG_fail;
9468 }
9469 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
9470 return resultobj;
9471 fail:
9472 return NULL;
9473}
9474
9475
9476static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9477 PyObject *resultobj;
9478 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9479 unsigned long *arg2 = 0 ;
9480 int result;
9481 PyObject * obj0 = 0 ;
9482 PyObject * obj1 = 0 ;
9483 char *kwnames[] = {
9484 (char *) "self",(char *) "cookie", NULL
9485 };
9486
9487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9489 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9490 if (arg2 == NULL) {
9491 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9492 }
9493 {
9494 PyThreadState* __tstate = wxPyBeginAllowThreads();
9495 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9496
9497 wxPyEndAllowThreads(__tstate);
9498 if (PyErr_Occurred()) SWIG_fail;
9499 }
9500 resultobj = SWIG_PyObj_FromInt((int)result);
9501 return resultobj;
9502 fail:
9503 return NULL;
9504}
9505
9506
9507static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9508 PyObject *resultobj;
9509 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9510 unsigned long *arg2 = 0 ;
9511 int result;
9512 PyObject * obj0 = 0 ;
9513 PyObject * obj1 = 0 ;
9514 char *kwnames[] = {
9515 (char *) "self",(char *) "cookie", NULL
9516 };
9517
9518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9520 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9521 if (arg2 == NULL) {
9522 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9523 }
9524 {
9525 PyThreadState* __tstate = wxPyBeginAllowThreads();
9526 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9527
9528 wxPyEndAllowThreads(__tstate);
9529 if (PyErr_Occurred()) SWIG_fail;
9530 }
9531 resultobj = SWIG_PyObj_FromInt((int)result);
9532 return resultobj;
9533 fail:
9534 return NULL;
9535}
9536
9537
9538static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9539 PyObject *resultobj;
9540 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9541 wxPoint result;
9542 PyObject * obj0 = 0 ;
9543 char *kwnames[] = {
9544 (char *) "self", NULL
9545 };
9546
9547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9549 {
9550 PyThreadState* __tstate = wxPyBeginAllowThreads();
9551 result = ((wxPyVListBox const *)arg1)->GetMargins();
9552
9553 wxPyEndAllowThreads(__tstate);
9554 if (PyErr_Occurred()) SWIG_fail;
9555 }
9556 {
9557 wxPoint * resultptr;
9558 resultptr = new wxPoint((wxPoint &) result);
9559 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9560 }
9561 return resultobj;
9562 fail:
9563 return NULL;
9564}
9565
9566
9567static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9568 PyObject *resultobj;
9569 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9570 wxColour *result;
9571 PyObject * obj0 = 0 ;
9572 char *kwnames[] = {
9573 (char *) "self", NULL
9574 };
9575
9576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9578 {
9579 PyThreadState* __tstate = wxPyBeginAllowThreads();
9580 {
9581 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9582 result = (wxColour *) &_result_ref;
9583 }
9584
9585 wxPyEndAllowThreads(__tstate);
9586 if (PyErr_Occurred()) SWIG_fail;
9587 }
9588 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
9589 return resultobj;
9590 fail:
9591 return NULL;
9592}
9593
9594
9595static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9596 PyObject *resultobj;
9597 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9598 size_t arg2 ;
9599 PyObject * obj0 = 0 ;
9600 PyObject * obj1 = 0 ;
9601 char *kwnames[] = {
9602 (char *) "self",(char *) "count", NULL
9603 };
9604
9605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9607 {
9608 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9609 if (PyErr_Occurred()) SWIG_fail;
9610 }
9611 {
9612 PyThreadState* __tstate = wxPyBeginAllowThreads();
9613 (arg1)->SetItemCount(arg2);
9614
9615 wxPyEndAllowThreads(__tstate);
9616 if (PyErr_Occurred()) SWIG_fail;
9617 }
9618 Py_INCREF(Py_None); resultobj = Py_None;
9619 return resultobj;
9620 fail:
9621 return NULL;
9622}
9623
9624
9625static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9626 PyObject *resultobj;
9627 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9628 PyObject * obj0 = 0 ;
9629 char *kwnames[] = {
9630 (char *) "self", NULL
9631 };
9632
9633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9635 {
9636 PyThreadState* __tstate = wxPyBeginAllowThreads();
9637 (arg1)->Clear();
9638
9639 wxPyEndAllowThreads(__tstate);
9640 if (PyErr_Occurred()) SWIG_fail;
9641 }
9642 Py_INCREF(Py_None); resultobj = Py_None;
9643 return resultobj;
9644 fail:
9645 return NULL;
9646}
9647
9648
9649static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9650 PyObject *resultobj;
9651 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9652 int arg2 ;
9653 PyObject * obj0 = 0 ;
9654 PyObject * obj1 = 0 ;
9655 char *kwnames[] = {
9656 (char *) "self",(char *) "selection", NULL
9657 };
9658
9659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
9660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9661 {
9662 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9663 if (PyErr_Occurred()) SWIG_fail;
9664 }
9665 {
9666 PyThreadState* __tstate = wxPyBeginAllowThreads();
9667 (arg1)->SetSelection(arg2);
9668
9669 wxPyEndAllowThreads(__tstate);
9670 if (PyErr_Occurred()) SWIG_fail;
9671 }
9672 Py_INCREF(Py_None); resultobj = Py_None;
9673 return resultobj;
9674 fail:
9675 return NULL;
9676}
9677
9678
9679static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9680 PyObject *resultobj;
9681 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9682 size_t arg2 ;
9683 bool arg3 = (bool) True ;
9684 bool result;
9685 PyObject * obj0 = 0 ;
9686 PyObject * obj1 = 0 ;
9687 PyObject * obj2 = 0 ;
9688 char *kwnames[] = {
9689 (char *) "self",(char *) "item",(char *) "select", NULL
9690 };
9691
9692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9694 {
9695 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9696 if (PyErr_Occurred()) SWIG_fail;
9697 }
9698 if (obj2) {
9699 {
9700 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
9701 if (PyErr_Occurred()) SWIG_fail;
9702 }
9703 }
9704 {
9705 PyThreadState* __tstate = wxPyBeginAllowThreads();
9706 result = (bool)(arg1)->Select(arg2,arg3);
9707
9708 wxPyEndAllowThreads(__tstate);
9709 if (PyErr_Occurred()) SWIG_fail;
9710 }
9711 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9712 return resultobj;
9713 fail:
9714 return NULL;
9715}
9716
9717
9718static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9719 PyObject *resultobj;
9720 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9721 size_t arg2 ;
9722 size_t arg3 ;
9723 bool result;
9724 PyObject * obj0 = 0 ;
9725 PyObject * obj1 = 0 ;
9726 PyObject * obj2 = 0 ;
9727 char *kwnames[] = {
9728 (char *) "self",(char *) "from",(char *) "to", NULL
9729 };
9730
9731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9733 {
9734 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9735 if (PyErr_Occurred()) SWIG_fail;
9736 }
9737 {
9738 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
9739 if (PyErr_Occurred()) SWIG_fail;
9740 }
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 result = (bool)(arg1)->SelectRange(arg2,arg3);
9744
9745 wxPyEndAllowThreads(__tstate);
9746 if (PyErr_Occurred()) SWIG_fail;
9747 }
9748 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9749 return resultobj;
9750 fail:
9751 return NULL;
9752}
9753
9754
9755static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9756 PyObject *resultobj;
9757 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9758 size_t arg2 ;
9759 PyObject * obj0 = 0 ;
9760 PyObject * obj1 = 0 ;
9761 char *kwnames[] = {
9762 (char *) "self",(char *) "item", NULL
9763 };
9764
9765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9767 {
9768 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
9769 if (PyErr_Occurred()) SWIG_fail;
9770 }
9771 {
9772 PyThreadState* __tstate = wxPyBeginAllowThreads();
9773 (arg1)->Toggle(arg2);
9774
9775 wxPyEndAllowThreads(__tstate);
9776 if (PyErr_Occurred()) SWIG_fail;
9777 }
9778 Py_INCREF(Py_None); resultobj = Py_None;
9779 return resultobj;
9780 fail:
9781 return NULL;
9782}
9783
9784
9785static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9786 PyObject *resultobj;
9787 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9788 bool result;
9789 PyObject * obj0 = 0 ;
9790 char *kwnames[] = {
9791 (char *) "self", NULL
9792 };
9793
9794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9796 {
9797 PyThreadState* __tstate = wxPyBeginAllowThreads();
9798 result = (bool)(arg1)->SelectAll();
9799
9800 wxPyEndAllowThreads(__tstate);
9801 if (PyErr_Occurred()) SWIG_fail;
9802 }
9803 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9804 return resultobj;
9805 fail:
9806 return NULL;
9807}
9808
9809
9810static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9811 PyObject *resultobj;
9812 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9813 bool result;
9814 PyObject * obj0 = 0 ;
9815 char *kwnames[] = {
9816 (char *) "self", NULL
9817 };
9818
9819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9821 {
9822 PyThreadState* __tstate = wxPyBeginAllowThreads();
9823 result = (bool)(arg1)->DeselectAll();
9824
9825 wxPyEndAllowThreads(__tstate);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
9828 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
9829 return resultobj;
9830 fail:
9831 return NULL;
9832}
9833
9834
9835static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9836 PyObject *resultobj;
9837 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9838 wxPoint *arg2 = 0 ;
9839 wxPoint temp2 ;
9840 PyObject * obj0 = 0 ;
9841 PyObject * obj1 = 0 ;
9842 char *kwnames[] = {
9843 (char *) "self",(char *) "pt", NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9848 {
9849 arg2 = &temp2;
9850 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9851 }
9852 {
9853 PyThreadState* __tstate = wxPyBeginAllowThreads();
9854 (arg1)->SetMargins((wxPoint const &)*arg2);
9855
9856 wxPyEndAllowThreads(__tstate);
9857 if (PyErr_Occurred()) SWIG_fail;
9858 }
9859 Py_INCREF(Py_None); resultobj = Py_None;
9860 return resultobj;
9861 fail:
9862 return NULL;
9863}
9864
9865
9866static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9867 PyObject *resultobj;
9868 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9869 int arg2 ;
9870 int arg3 ;
9871 PyObject * obj0 = 0 ;
9872 PyObject * obj1 = 0 ;
9873 PyObject * obj2 = 0 ;
9874 char *kwnames[] = {
9875 (char *) "self",(char *) "x",(char *) "y", NULL
9876 };
9877
9878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
9879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9880 {
9881 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9882 if (PyErr_Occurred()) SWIG_fail;
9883 }
9884 {
9885 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9886 if (PyErr_Occurred()) SWIG_fail;
9887 }
9888 {
9889 PyThreadState* __tstate = wxPyBeginAllowThreads();
9890 (arg1)->SetMargins(arg2,arg3);
9891
9892 wxPyEndAllowThreads(__tstate);
9893 if (PyErr_Occurred()) SWIG_fail;
9894 }
9895 Py_INCREF(Py_None); resultobj = Py_None;
9896 return resultobj;
9897 fail:
9898 return NULL;
9899}
9900
9901
9902static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9903 PyObject *resultobj;
9904 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9905 wxColour *arg2 = 0 ;
9906 wxColour temp2 ;
9907 PyObject * obj0 = 0 ;
9908 PyObject * obj1 = 0 ;
9909 char *kwnames[] = {
9910 (char *) "self",(char *) "col", NULL
9911 };
9912
9913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9915 {
9916 arg2 = &temp2;
9917 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9918 }
9919 {
9920 PyThreadState* __tstate = wxPyBeginAllowThreads();
9921 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9922
9923 wxPyEndAllowThreads(__tstate);
9924 if (PyErr_Occurred()) SWIG_fail;
9925 }
9926 Py_INCREF(Py_None); resultobj = Py_None;
9927 return resultobj;
9928 fail:
9929 return NULL;
9930}
9931
9932
9933static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9934 PyObject *obj;
9935 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9936 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9937 Py_INCREF(obj);
9938 return Py_BuildValue((char *)"");
9939}
9940static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9941 PyObject *resultobj;
9942 wxWindow *arg1 = (wxWindow *) 0 ;
9943 int arg2 = (int) wxID_ANY ;
9944 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9945 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9946 wxSize const &arg4_defvalue = wxDefaultSize ;
9947 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9948 long arg5 = (long) 0 ;
9949 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9950 wxString *arg6 = (wxString *) &arg6_defvalue ;
9951 wxPyHtmlListBox *result;
9952 wxPoint temp3 ;
9953 wxSize temp4 ;
9954 bool temp6 = False ;
9955 PyObject * obj0 = 0 ;
9956 PyObject * obj1 = 0 ;
9957 PyObject * obj2 = 0 ;
9958 PyObject * obj3 = 0 ;
9959 PyObject * obj4 = 0 ;
9960 PyObject * obj5 = 0 ;
9961 char *kwnames[] = {
9962 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9963 };
9964
9965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
9966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9967 if (obj1) {
9968 {
9969 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9970 if (PyErr_Occurred()) SWIG_fail;
9971 }
9972 }
9973 if (obj2) {
9974 {
9975 arg3 = &temp3;
9976 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9977 }
9978 }
9979 if (obj3) {
9980 {
9981 arg4 = &temp4;
9982 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9983 }
9984 }
9985 if (obj4) {
9986 {
9987 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9988 if (PyErr_Occurred()) SWIG_fail;
9989 }
9990 }
9991 if (obj5) {
9992 {
9993 arg6 = wxString_in_helper(obj5);
9994 if (arg6 == NULL) SWIG_fail;
9995 temp6 = True;
9996 }
9997 }
9998 {
9999 PyThreadState* __tstate = wxPyBeginAllowThreads();
10000 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10001
10002 wxPyEndAllowThreads(__tstate);
10003 if (PyErr_Occurred()) SWIG_fail;
10004 }
10005 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
10006 {
10007 if (temp6)
10008 delete arg6;
10009 }
10010 return resultobj;
10011 fail:
10012 {
10013 if (temp6)
10014 delete arg6;
10015 }
10016 return NULL;
10017}
10018
10019
10020static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10021 PyObject *resultobj;
10022 wxPyHtmlListBox *result;
10023 char *kwnames[] = {
10024 NULL
10025 };
10026
10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10028 {
10029 PyThreadState* __tstate = wxPyBeginAllowThreads();
10030 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10031
10032 wxPyEndAllowThreads(__tstate);
10033 if (PyErr_Occurred()) SWIG_fail;
10034 }
10035 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
10036 return resultobj;
10037 fail:
10038 return NULL;
10039}
10040
10041
10042static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10043 PyObject *resultobj;
10044 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10045 PyObject *arg2 = (PyObject *) 0 ;
10046 PyObject *arg3 = (PyObject *) 0 ;
10047 PyObject * obj0 = 0 ;
10048 PyObject * obj1 = 0 ;
10049 PyObject * obj2 = 0 ;
10050 char *kwnames[] = {
10051 (char *) "self",(char *) "self",(char *) "_class", NULL
10052 };
10053
10054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10056 arg2 = obj1;
10057 arg3 = obj2;
10058 {
10059 PyThreadState* __tstate = wxPyBeginAllowThreads();
10060 (arg1)->_setCallbackInfo(arg2,arg3);
10061
10062 wxPyEndAllowThreads(__tstate);
10063 if (PyErr_Occurred()) SWIG_fail;
10064 }
10065 Py_INCREF(Py_None); resultobj = Py_None;
10066 return resultobj;
10067 fail:
10068 return NULL;
10069}
10070
10071
10072static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10073 PyObject *resultobj;
10074 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10075 wxWindow *arg2 = (wxWindow *) 0 ;
10076 int arg3 = (int) wxID_ANY ;
10077 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10078 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10079 wxSize const &arg5_defvalue = wxDefaultSize ;
10080 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10081 long arg6 = (long) 0 ;
10082 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10083 wxString *arg7 = (wxString *) &arg7_defvalue ;
10084 bool result;
10085 wxPoint temp4 ;
10086 wxSize temp5 ;
10087 bool temp7 = False ;
10088 PyObject * obj0 = 0 ;
10089 PyObject * obj1 = 0 ;
10090 PyObject * obj2 = 0 ;
10091 PyObject * obj3 = 0 ;
10092 PyObject * obj4 = 0 ;
10093 PyObject * obj5 = 0 ;
10094 PyObject * obj6 = 0 ;
10095 char *kwnames[] = {
10096 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10097 };
10098
10099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10101 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10102 if (obj2) {
10103 {
10104 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10105 if (PyErr_Occurred()) SWIG_fail;
10106 }
10107 }
10108 if (obj3) {
10109 {
10110 arg4 = &temp4;
10111 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10112 }
10113 }
10114 if (obj4) {
10115 {
10116 arg5 = &temp5;
10117 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10118 }
10119 }
10120 if (obj5) {
10121 {
10122 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10123 if (PyErr_Occurred()) SWIG_fail;
10124 }
10125 }
10126 if (obj6) {
10127 {
10128 arg7 = wxString_in_helper(obj6);
10129 if (arg7 == NULL) SWIG_fail;
10130 temp7 = True;
10131 }
10132 }
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10141 {
10142 if (temp7)
10143 delete arg7;
10144 }
10145 return resultobj;
10146 fail:
10147 {
10148 if (temp7)
10149 delete arg7;
10150 }
10151 return NULL;
10152}
10153
10154
10155static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10156 PyObject *resultobj;
10157 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10158 PyObject * obj0 = 0 ;
10159 char *kwnames[] = {
10160 (char *) "self", NULL
10161 };
10162
10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 (arg1)->RefreshAll();
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 Py_INCREF(Py_None); resultobj = Py_None;
10173 return resultobj;
10174 fail:
10175 return NULL;
10176}
10177
10178
10179static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10180 PyObject *resultobj;
10181 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10182 size_t arg2 ;
10183 PyObject * obj0 = 0 ;
10184 PyObject * obj1 = 0 ;
10185 char *kwnames[] = {
10186 (char *) "self",(char *) "count", NULL
10187 };
10188
10189 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10190 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10191 {
10192 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
10193 if (PyErr_Occurred()) SWIG_fail;
10194 }
10195 {
10196 PyThreadState* __tstate = wxPyBeginAllowThreads();
10197 (arg1)->SetItemCount(arg2);
10198
10199 wxPyEndAllowThreads(__tstate);
10200 if (PyErr_Occurred()) SWIG_fail;
10201 }
10202 Py_INCREF(Py_None); resultobj = Py_None;
10203 return resultobj;
10204 fail:
10205 return NULL;
10206}
10207
10208
10209static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10210 PyObject *obj;
10211 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10212 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10213 Py_INCREF(obj);
10214 return Py_BuildValue((char *)"");
10215}
10216static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10217 PyObject *resultobj;
10218 wxTaskBarIcon *result;
10219 char *kwnames[] = {
10220 NULL
10221 };
10222
10223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10224 {
10225 PyThreadState* __tstate = wxPyBeginAllowThreads();
10226 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10227
10228 wxPyEndAllowThreads(__tstate);
10229 if (PyErr_Occurred()) SWIG_fail;
10230 }
10231 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
10232 return resultobj;
10233 fail:
10234 return NULL;
10235}
10236
10237
10238static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10239 PyObject *resultobj;
10240 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10241 PyObject * obj0 = 0 ;
10242 char *kwnames[] = {
10243 (char *) "self", NULL
10244 };
10245
10246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10248 {
10249 PyThreadState* __tstate = wxPyBeginAllowThreads();
10250 delete arg1;
10251
10252 wxPyEndAllowThreads(__tstate);
10253 if (PyErr_Occurred()) SWIG_fail;
10254 }
10255 Py_INCREF(Py_None); resultobj = Py_None;
10256 return resultobj;
10257 fail:
10258 return NULL;
10259}
10260
10261
10262static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10263 PyObject *obj;
10264 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10265 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10266 Py_INCREF(obj);
10267 return Py_BuildValue((char *)"");
10268}
10269static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10270 PyObject *resultobj;
10271 wxEventType arg1 ;
10272 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10273 wxTaskBarIconEvent *result;
10274 PyObject * obj0 = 0 ;
10275 PyObject * obj1 = 0 ;
10276 char *kwnames[] = {
10277 (char *) "evtType",(char *) "tbIcon", NULL
10278 };
10279
10280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10281 {
10282 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10283 if (PyErr_Occurred()) SWIG_fail;
10284 }
10285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10286 {
10287 PyThreadState* __tstate = wxPyBeginAllowThreads();
10288 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10289
10290 wxPyEndAllowThreads(__tstate);
10291 if (PyErr_Occurred()) SWIG_fail;
10292 }
10293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
10294 return resultobj;
10295 fail:
10296 return NULL;
10297}
10298
10299
10300static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10301 PyObject *obj;
10302 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10303 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10304 Py_INCREF(obj);
10305 return Py_BuildValue((char *)"");
10306}
10307static int _wrap_FileSelectorPromptStr_set(PyObject *) {
10308 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10309 return 1;
10310}
10311
10312
10313static PyObject *_wrap_FileSelectorPromptStr_get() {
10314 PyObject *pyobj;
10315
10316 {
10317#if wxUSE_UNICODE
10318 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10319#else
10320 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10321#endif
10322 }
10323 return pyobj;
10324}
10325
10326
10327static int _wrap_DirSelectorPromptStr_set(PyObject *) {
10328 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10329 return 1;
10330}
10331
10332
10333static PyObject *_wrap_DirSelectorPromptStr_get() {
10334 PyObject *pyobj;
10335
10336 {
10337#if wxUSE_UNICODE
10338 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10339#else
10340 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10341#endif
10342 }
10343 return pyobj;
10344}
10345
10346
10347static int _wrap_DirDialogNameStr_set(PyObject *) {
10348 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10349 return 1;
10350}
10351
10352
10353static PyObject *_wrap_DirDialogNameStr_get() {
10354 PyObject *pyobj;
10355
10356 {
10357#if wxUSE_UNICODE
10358 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10359#else
10360 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10361#endif
10362 }
10363 return pyobj;
10364}
10365
10366
10367static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
10368 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10369 return 1;
10370}
10371
10372
10373static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10374 PyObject *pyobj;
10375
10376 {
10377#if wxUSE_UNICODE
10378 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10379#else
10380 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10381#endif
10382 }
10383 return pyobj;
10384}
10385
10386
10387static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
10388 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10389 return 1;
10390}
10391
10392
10393static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10394 PyObject *pyobj;
10395
10396 {
10397#if wxUSE_UNICODE
10398 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10399#else
10400 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10401#endif
10402 }
10403 return pyobj;
10404}
10405
10406
10407static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
10408 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10409 return 1;
10410}
10411
10412
10413static PyObject *_wrap_MessageBoxCaptionStr_get() {
10414 PyObject *pyobj;
10415
10416 {
10417#if wxUSE_UNICODE
10418 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10419#else
10420 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10421#endif
10422 }
10423 return pyobj;
10424}
10425
10426
10427static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10428 PyObject *resultobj;
10429 wxColourData *result;
10430 char *kwnames[] = {
10431 NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
10437 result = (wxColourData *)new wxColourData();
10438
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
10442 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
10443 return resultobj;
10444 fail:
10445 return NULL;
10446}
10447
10448
10449static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10450 PyObject *resultobj;
10451 wxColourData *arg1 = (wxColourData *) 0 ;
10452 PyObject * obj0 = 0 ;
10453 char *kwnames[] = {
10454 (char *) "self", NULL
10455 };
10456
10457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10459 {
10460 PyThreadState* __tstate = wxPyBeginAllowThreads();
10461 delete arg1;
10462
10463 wxPyEndAllowThreads(__tstate);
10464 if (PyErr_Occurred()) SWIG_fail;
10465 }
10466 Py_INCREF(Py_None); resultobj = Py_None;
10467 return resultobj;
10468 fail:
10469 return NULL;
10470}
10471
10472
10473static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10474 PyObject *resultobj;
10475 wxColourData *arg1 = (wxColourData *) 0 ;
10476 bool result;
10477 PyObject * obj0 = 0 ;
10478 char *kwnames[] = {
10479 (char *) "self", NULL
10480 };
10481
10482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10484 {
10485 PyThreadState* __tstate = wxPyBeginAllowThreads();
10486 result = (bool)(arg1)->GetChooseFull();
10487
10488 wxPyEndAllowThreads(__tstate);
10489 if (PyErr_Occurred()) SWIG_fail;
10490 }
10491 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
10492 return resultobj;
10493 fail:
10494 return NULL;
10495}
10496
10497
10498static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10499 PyObject *resultobj;
10500 wxColourData *arg1 = (wxColourData *) 0 ;
10501 wxColour result;
10502 PyObject * obj0 = 0 ;
10503 char *kwnames[] = {
10504 (char *) "self", NULL
10505 };
10506
10507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10509 {
10510 PyThreadState* __tstate = wxPyBeginAllowThreads();
10511 result = (arg1)->GetColour();
10512
10513 wxPyEndAllowThreads(__tstate);
10514 if (PyErr_Occurred()) SWIG_fail;
10515 }
10516 {
10517 wxColour * resultptr;
10518 resultptr = new wxColour((wxColour &) result);
10519 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10520 }
10521 return resultobj;
10522 fail:
10523 return NULL;
10524}
10525
10526
10527static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10528 PyObject *resultobj;
10529 wxColourData *arg1 = (wxColourData *) 0 ;
10530 int arg2 ;
10531 wxColour result;
10532 PyObject * obj0 = 0 ;
10533 PyObject * obj1 = 0 ;
10534 char *kwnames[] = {
10535 (char *) "self",(char *) "i", NULL
10536 };
10537
10538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
10539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10540 {
10541 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10542 if (PyErr_Occurred()) SWIG_fail;
10543 }
10544 {
10545 PyThreadState* __tstate = wxPyBeginAllowThreads();
10546 result = (arg1)->GetCustomColour(arg2);
10547
10548 wxPyEndAllowThreads(__tstate);
10549 if (PyErr_Occurred()) SWIG_fail;
10550 }
10551 {
10552 wxColour * resultptr;
10553 resultptr = new wxColour((wxColour &) result);
10554 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10555 }
10556 return resultobj;
10557 fail:
10558 return NULL;
10559}
10560
10561
10562static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10563 PyObject *resultobj;
10564 wxColourData *arg1 = (wxColourData *) 0 ;
10565 int arg2 ;
10566 PyObject * obj0 = 0 ;
10567 PyObject * obj1 = 0 ;
10568 char *kwnames[] = {
10569 (char *) "self",(char *) "flag", NULL
10570 };
10571
10572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
10573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10574 {
10575 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10576 if (PyErr_Occurred()) SWIG_fail;
10577 }
10578 {
10579 PyThreadState* __tstate = wxPyBeginAllowThreads();
10580 (arg1)->SetChooseFull(arg2);
10581
10582 wxPyEndAllowThreads(__tstate);
10583 if (PyErr_Occurred()) SWIG_fail;
10584 }
10585 Py_INCREF(Py_None); resultobj = Py_None;
10586 return resultobj;
10587 fail:
10588 return NULL;
10589}
10590
10591
10592static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10593 PyObject *resultobj;
10594 wxColourData *arg1 = (wxColourData *) 0 ;
10595 wxColour *arg2 = 0 ;
10596 wxColour temp2 ;
10597 PyObject * obj0 = 0 ;
10598 PyObject * obj1 = 0 ;
10599 char *kwnames[] = {
10600 (char *) "self",(char *) "colour", NULL
10601 };
10602
10603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10605 {
10606 arg2 = &temp2;
10607 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10608 }
10609 {
10610 PyThreadState* __tstate = wxPyBeginAllowThreads();
10611 (arg1)->SetColour((wxColour const &)*arg2);
10612
10613 wxPyEndAllowThreads(__tstate);
10614 if (PyErr_Occurred()) SWIG_fail;
10615 }
10616 Py_INCREF(Py_None); resultobj = Py_None;
10617 return resultobj;
10618 fail:
10619 return NULL;
10620}
10621
10622
10623static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10624 PyObject *resultobj;
10625 wxColourData *arg1 = (wxColourData *) 0 ;
10626 int arg2 ;
10627 wxColour *arg3 = 0 ;
10628 wxColour temp3 ;
10629 PyObject * obj0 = 0 ;
10630 PyObject * obj1 = 0 ;
10631 PyObject * obj2 = 0 ;
10632 char *kwnames[] = {
10633 (char *) "self",(char *) "i",(char *) "colour", NULL
10634 };
10635
10636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
10637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10638 {
10639 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10640 if (PyErr_Occurred()) SWIG_fail;
10641 }
10642 {
10643 arg3 = &temp3;
10644 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10645 }
10646 {
10647 PyThreadState* __tstate = wxPyBeginAllowThreads();
10648 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10649
10650 wxPyEndAllowThreads(__tstate);
10651 if (PyErr_Occurred()) SWIG_fail;
10652 }
10653 Py_INCREF(Py_None); resultobj = Py_None;
10654 return resultobj;
10655 fail:
10656 return NULL;
10657}
10658
10659
10660static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10661 PyObject *obj;
10662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10663 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10664 Py_INCREF(obj);
10665 return Py_BuildValue((char *)"");
10666}
10667static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10668 PyObject *resultobj;
10669 wxWindow *arg1 = (wxWindow *) 0 ;
10670 wxColourData *arg2 = (wxColourData *) NULL ;
10671 wxColourDialog *result;
10672 PyObject * obj0 = 0 ;
10673 PyObject * obj1 = 0 ;
10674 char *kwnames[] = {
10675 (char *) "parent",(char *) "data", NULL
10676 };
10677
10678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10680 if (obj1) {
10681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10682 }
10683 {
10684 PyThreadState* __tstate = wxPyBeginAllowThreads();
10685 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10686
10687 wxPyEndAllowThreads(__tstate);
10688 if (PyErr_Occurred()) SWIG_fail;
10689 }
10690 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
10691 return resultobj;
10692 fail:
10693 return NULL;
10694}
10695
10696
10697static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10698 PyObject *resultobj;
10699 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10700 wxColourData *result;
10701 PyObject * obj0 = 0 ;
10702 char *kwnames[] = {
10703 (char *) "self", NULL
10704 };
10705
10706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10708 {
10709 PyThreadState* __tstate = wxPyBeginAllowThreads();
10710 {
10711 wxColourData &_result_ref = (arg1)->GetColourData();
10712 result = (wxColourData *) &_result_ref;
10713 }
10714
10715 wxPyEndAllowThreads(__tstate);
10716 if (PyErr_Occurred()) SWIG_fail;
10717 }
10718 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10719 return resultobj;
10720 fail:
10721 return NULL;
10722}
10723
10724
10725static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10726 PyObject *resultobj;
10727 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10728 int result;
10729 PyObject * obj0 = 0 ;
10730 char *kwnames[] = {
10731 (char *) "self", NULL
10732 };
10733
10734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10736 {
10737 PyThreadState* __tstate = wxPyBeginAllowThreads();
10738 result = (int)(arg1)->ShowModal();
10739
10740 wxPyEndAllowThreads(__tstate);
10741 if (PyErr_Occurred()) SWIG_fail;
10742 }
10743 resultobj = SWIG_PyObj_FromInt((int)result);
10744 return resultobj;
10745 fail:
10746 return NULL;
10747}
10748
10749
10750static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
10751 PyObject *obj;
10752 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10753 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10754 Py_INCREF(obj);
10755 return Py_BuildValue((char *)"");
10756}
10757static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10758 PyObject *resultobj;
10759 wxWindow *arg1 = (wxWindow *) 0 ;
10760 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10761 wxString *arg2 = (wxString *) &arg2_defvalue ;
10762 wxString const &arg3_defvalue = wxPyEmptyString ;
10763 wxString *arg3 = (wxString *) &arg3_defvalue ;
10764 long arg4 = (long) 0 ;
10765 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10766 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10767 wxSize const &arg6_defvalue = wxDefaultSize ;
10768 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10769 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10770 wxString *arg7 = (wxString *) &arg7_defvalue ;
10771 wxDirDialog *result;
10772 bool temp2 = False ;
10773 bool temp3 = False ;
10774 wxPoint temp5 ;
10775 wxSize temp6 ;
10776 bool temp7 = False ;
10777 PyObject * obj0 = 0 ;
10778 PyObject * obj1 = 0 ;
10779 PyObject * obj2 = 0 ;
10780 PyObject * obj3 = 0 ;
10781 PyObject * obj4 = 0 ;
10782 PyObject * obj5 = 0 ;
10783 PyObject * obj6 = 0 ;
10784 char *kwnames[] = {
10785 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10786 };
10787
10788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
10789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10790 if (obj1) {
10791 {
10792 arg2 = wxString_in_helper(obj1);
10793 if (arg2 == NULL) SWIG_fail;
10794 temp2 = True;
10795 }
10796 }
10797 if (obj2) {
10798 {
10799 arg3 = wxString_in_helper(obj2);
10800 if (arg3 == NULL) SWIG_fail;
10801 temp3 = True;
10802 }
10803 }
10804 if (obj3) {
10805 {
10806 arg4 = (long) SWIG_PyObj_AsLong(obj3);
10807 if (PyErr_Occurred()) SWIG_fail;
10808 }
10809 }
10810 if (obj4) {
10811 {
10812 arg5 = &temp5;
10813 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10814 }
10815 }
10816 if (obj5) {
10817 {
10818 arg6 = &temp6;
10819 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10820 }
10821 }
10822 if (obj6) {
10823 {
10824 arg7 = wxString_in_helper(obj6);
10825 if (arg7 == NULL) SWIG_fail;
10826 temp7 = True;
10827 }
10828 }
10829 {
10830 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10832
10833 wxPyEndAllowThreads(__tstate);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
10836 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10837 {
10838 if (temp2)
10839 delete arg2;
10840 }
10841 {
10842 if (temp3)
10843 delete arg3;
10844 }
10845 {
10846 if (temp7)
10847 delete arg7;
10848 }
10849 return resultobj;
10850 fail:
10851 {
10852 if (temp2)
10853 delete arg2;
10854 }
10855 {
10856 if (temp3)
10857 delete arg3;
10858 }
10859 {
10860 if (temp7)
10861 delete arg7;
10862 }
10863 return NULL;
10864}
10865
10866
10867static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10868 PyObject *resultobj;
10869 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10870 wxString result;
10871 PyObject * obj0 = 0 ;
10872 char *kwnames[] = {
10873 (char *) "self", NULL
10874 };
10875
10876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10878 {
10879 PyThreadState* __tstate = wxPyBeginAllowThreads();
10880 result = (arg1)->GetPath();
10881
10882 wxPyEndAllowThreads(__tstate);
10883 if (PyErr_Occurred()) SWIG_fail;
10884 }
10885 {
10886#if wxUSE_UNICODE
10887 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10888#else
10889 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10890#endif
10891 }
10892 return resultobj;
10893 fail:
10894 return NULL;
10895}
10896
10897
10898static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10899 PyObject *resultobj;
10900 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10901 wxString result;
10902 PyObject * obj0 = 0 ;
10903 char *kwnames[] = {
10904 (char *) "self", NULL
10905 };
10906
10907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10909 {
10910 PyThreadState* __tstate = wxPyBeginAllowThreads();
10911 result = (arg1)->GetMessage();
10912
10913 wxPyEndAllowThreads(__tstate);
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 {
10917#if wxUSE_UNICODE
10918 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10919#else
10920 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10921#endif
10922 }
10923 return resultobj;
10924 fail:
10925 return NULL;
10926}
10927
10928
10929static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10930 PyObject *resultobj;
10931 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10932 long result;
10933 PyObject * obj0 = 0 ;
10934 char *kwnames[] = {
10935 (char *) "self", NULL
10936 };
10937
10938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10940 {
10941 PyThreadState* __tstate = wxPyBeginAllowThreads();
10942 result = (long)(arg1)->GetStyle();
10943
10944 wxPyEndAllowThreads(__tstate);
10945 if (PyErr_Occurred()) SWIG_fail;
10946 }
10947 resultobj = SWIG_PyObj_FromLong((long)result);
10948 return resultobj;
10949 fail:
10950 return NULL;
10951}
10952
10953
10954static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10955 PyObject *resultobj;
10956 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10957 wxString *arg2 = 0 ;
10958 bool temp2 = False ;
10959 PyObject * obj0 = 0 ;
10960 PyObject * obj1 = 0 ;
10961 char *kwnames[] = {
10962 (char *) "self",(char *) "message", NULL
10963 };
10964
10965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10967 {
10968 arg2 = wxString_in_helper(obj1);
10969 if (arg2 == NULL) SWIG_fail;
10970 temp2 = True;
10971 }
10972 {
10973 PyThreadState* __tstate = wxPyBeginAllowThreads();
10974 (arg1)->SetMessage((wxString const &)*arg2);
10975
10976 wxPyEndAllowThreads(__tstate);
10977 if (PyErr_Occurred()) SWIG_fail;
10978 }
10979 Py_INCREF(Py_None); resultobj = Py_None;
10980 {
10981 if (temp2)
10982 delete arg2;
10983 }
10984 return resultobj;
10985 fail:
10986 {
10987 if (temp2)
10988 delete arg2;
10989 }
10990 return NULL;
10991}
10992
10993
10994static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10995 PyObject *resultobj;
10996 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10997 wxString *arg2 = 0 ;
10998 bool temp2 = False ;
10999 PyObject * obj0 = 0 ;
11000 PyObject * obj1 = 0 ;
11001 char *kwnames[] = {
11002 (char *) "self",(char *) "path", NULL
11003 };
11004
11005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11007 {
11008 arg2 = wxString_in_helper(obj1);
11009 if (arg2 == NULL) SWIG_fail;
11010 temp2 = True;
11011 }
11012 {
11013 PyThreadState* __tstate = wxPyBeginAllowThreads();
11014 (arg1)->SetPath((wxString const &)*arg2);
11015
11016 wxPyEndAllowThreads(__tstate);
11017 if (PyErr_Occurred()) SWIG_fail;
11018 }
11019 Py_INCREF(Py_None); resultobj = Py_None;
11020 {
11021 if (temp2)
11022 delete arg2;
11023 }
11024 return resultobj;
11025 fail:
11026 {
11027 if (temp2)
11028 delete arg2;
11029 }
11030 return NULL;
11031}
11032
11033
11034static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11035 PyObject *resultobj;
11036 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11037 int result;
11038 PyObject * obj0 = 0 ;
11039 char *kwnames[] = {
11040 (char *) "self", NULL
11041 };
11042
11043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
11044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11045 {
11046 PyThreadState* __tstate = wxPyBeginAllowThreads();
11047 result = (int)(arg1)->ShowModal();
11048
11049 wxPyEndAllowThreads(__tstate);
11050 if (PyErr_Occurred()) SWIG_fail;
11051 }
11052 resultobj = SWIG_PyObj_FromInt((int)result);
11053 return resultobj;
11054 fail:
11055 return NULL;
11056}
11057
11058
11059static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11060 PyObject *obj;
11061 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11062 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11063 Py_INCREF(obj);
11064 return Py_BuildValue((char *)"");
11065}
11066static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11067 PyObject *resultobj;
11068 wxWindow *arg1 = (wxWindow *) 0 ;
11069 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11070 wxString *arg2 = (wxString *) &arg2_defvalue ;
11071 wxString const &arg3_defvalue = wxPyEmptyString ;
11072 wxString *arg3 = (wxString *) &arg3_defvalue ;
11073 wxString const &arg4_defvalue = wxPyEmptyString ;
11074 wxString *arg4 = (wxString *) &arg4_defvalue ;
11075 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11076 wxString *arg5 = (wxString *) &arg5_defvalue ;
11077 long arg6 = (long) 0 ;
11078 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11079 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11080 wxFileDialog *result;
11081 bool temp2 = False ;
11082 bool temp3 = False ;
11083 bool temp4 = False ;
11084 bool temp5 = False ;
11085 wxPoint temp7 ;
11086 PyObject * obj0 = 0 ;
11087 PyObject * obj1 = 0 ;
11088 PyObject * obj2 = 0 ;
11089 PyObject * obj3 = 0 ;
11090 PyObject * obj4 = 0 ;
11091 PyObject * obj5 = 0 ;
11092 PyObject * obj6 = 0 ;
11093 char *kwnames[] = {
11094 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11095 };
11096
11097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
11098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11099 if (obj1) {
11100 {
11101 arg2 = wxString_in_helper(obj1);
11102 if (arg2 == NULL) SWIG_fail;
11103 temp2 = True;
11104 }
11105 }
11106 if (obj2) {
11107 {
11108 arg3 = wxString_in_helper(obj2);
11109 if (arg3 == NULL) SWIG_fail;
11110 temp3 = True;
11111 }
11112 }
11113 if (obj3) {
11114 {
11115 arg4 = wxString_in_helper(obj3);
11116 if (arg4 == NULL) SWIG_fail;
11117 temp4 = True;
11118 }
11119 }
11120 if (obj4) {
11121 {
11122 arg5 = wxString_in_helper(obj4);
11123 if (arg5 == NULL) SWIG_fail;
11124 temp5 = True;
11125 }
11126 }
11127 if (obj5) {
11128 {
11129 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11130 if (PyErr_Occurred()) SWIG_fail;
11131 }
11132 }
11133 if (obj6) {
11134 {
11135 arg7 = &temp7;
11136 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11137 }
11138 }
11139 {
11140 PyThreadState* __tstate = wxPyBeginAllowThreads();
11141 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11142
11143 wxPyEndAllowThreads(__tstate);
11144 if (PyErr_Occurred()) SWIG_fail;
11145 }
11146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
11147 {
11148 if (temp2)
11149 delete arg2;
11150 }
11151 {
11152 if (temp3)
11153 delete arg3;
11154 }
11155 {
11156 if (temp4)
11157 delete arg4;
11158 }
11159 {
11160 if (temp5)
11161 delete arg5;
11162 }
11163 return resultobj;
11164 fail:
11165 {
11166 if (temp2)
11167 delete arg2;
11168 }
11169 {
11170 if (temp3)
11171 delete arg3;
11172 }
11173 {
11174 if (temp4)
11175 delete arg4;
11176 }
11177 {
11178 if (temp5)
11179 delete arg5;
11180 }
11181 return NULL;
11182}
11183
11184
11185static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11186 PyObject *resultobj;
11187 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11188 wxString *arg2 = 0 ;
11189 bool temp2 = False ;
11190 PyObject * obj0 = 0 ;
11191 PyObject * obj1 = 0 ;
11192 char *kwnames[] = {
11193 (char *) "self",(char *) "message", NULL
11194 };
11195
11196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11198 {
11199 arg2 = wxString_in_helper(obj1);
11200 if (arg2 == NULL) SWIG_fail;
11201 temp2 = True;
11202 }
11203 {
11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
11205 (arg1)->SetMessage((wxString const &)*arg2);
11206
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 Py_INCREF(Py_None); resultobj = Py_None;
11211 {
11212 if (temp2)
11213 delete arg2;
11214 }
11215 return resultobj;
11216 fail:
11217 {
11218 if (temp2)
11219 delete arg2;
11220 }
11221 return NULL;
11222}
11223
11224
11225static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11226 PyObject *resultobj;
11227 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11228 wxString *arg2 = 0 ;
11229 bool temp2 = False ;
11230 PyObject * obj0 = 0 ;
11231 PyObject * obj1 = 0 ;
11232 char *kwnames[] = {
11233 (char *) "self",(char *) "path", NULL
11234 };
11235
11236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11238 {
11239 arg2 = wxString_in_helper(obj1);
11240 if (arg2 == NULL) SWIG_fail;
11241 temp2 = True;
11242 }
11243 {
11244 PyThreadState* __tstate = wxPyBeginAllowThreads();
11245 (arg1)->SetPath((wxString const &)*arg2);
11246
11247 wxPyEndAllowThreads(__tstate);
11248 if (PyErr_Occurred()) SWIG_fail;
11249 }
11250 Py_INCREF(Py_None); resultobj = Py_None;
11251 {
11252 if (temp2)
11253 delete arg2;
11254 }
11255 return resultobj;
11256 fail:
11257 {
11258 if (temp2)
11259 delete arg2;
11260 }
11261 return NULL;
11262}
11263
11264
11265static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11266 PyObject *resultobj;
11267 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11268 wxString *arg2 = 0 ;
11269 bool temp2 = False ;
11270 PyObject * obj0 = 0 ;
11271 PyObject * obj1 = 0 ;
11272 char *kwnames[] = {
11273 (char *) "self",(char *) "dir", NULL
11274 };
11275
11276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11278 {
11279 arg2 = wxString_in_helper(obj1);
11280 if (arg2 == NULL) SWIG_fail;
11281 temp2 = True;
11282 }
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 (arg1)->SetDirectory((wxString const &)*arg2);
11286
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 Py_INCREF(Py_None); resultobj = Py_None;
11291 {
11292 if (temp2)
11293 delete arg2;
11294 }
11295 return resultobj;
11296 fail:
11297 {
11298 if (temp2)
11299 delete arg2;
11300 }
11301 return NULL;
11302}
11303
11304
11305static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11306 PyObject *resultobj;
11307 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11308 wxString *arg2 = 0 ;
11309 bool temp2 = False ;
11310 PyObject * obj0 = 0 ;
11311 PyObject * obj1 = 0 ;
11312 char *kwnames[] = {
11313 (char *) "self",(char *) "name", NULL
11314 };
11315
11316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11318 {
11319 arg2 = wxString_in_helper(obj1);
11320 if (arg2 == NULL) SWIG_fail;
11321 temp2 = True;
11322 }
11323 {
11324 PyThreadState* __tstate = wxPyBeginAllowThreads();
11325 (arg1)->SetFilename((wxString const &)*arg2);
11326
11327 wxPyEndAllowThreads(__tstate);
11328 if (PyErr_Occurred()) SWIG_fail;
11329 }
11330 Py_INCREF(Py_None); resultobj = Py_None;
11331 {
11332 if (temp2)
11333 delete arg2;
11334 }
11335 return resultobj;
11336 fail:
11337 {
11338 if (temp2)
11339 delete arg2;
11340 }
11341 return NULL;
11342}
11343
11344
11345static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11346 PyObject *resultobj;
11347 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11348 wxString *arg2 = 0 ;
11349 bool temp2 = False ;
11350 PyObject * obj0 = 0 ;
11351 PyObject * obj1 = 0 ;
11352 char *kwnames[] = {
11353 (char *) "self",(char *) "wildCard", NULL
11354 };
11355
11356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11358 {
11359 arg2 = wxString_in_helper(obj1);
11360 if (arg2 == NULL) SWIG_fail;
11361 temp2 = True;
11362 }
11363 {
11364 PyThreadState* __tstate = wxPyBeginAllowThreads();
11365 (arg1)->SetWildcard((wxString const &)*arg2);
11366
11367 wxPyEndAllowThreads(__tstate);
11368 if (PyErr_Occurred()) SWIG_fail;
11369 }
11370 Py_INCREF(Py_None); resultobj = Py_None;
11371 {
11372 if (temp2)
11373 delete arg2;
11374 }
11375 return resultobj;
11376 fail:
11377 {
11378 if (temp2)
11379 delete arg2;
11380 }
11381 return NULL;
11382}
11383
11384
11385static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11386 PyObject *resultobj;
11387 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11388 long arg2 ;
11389 PyObject * obj0 = 0 ;
11390 PyObject * obj1 = 0 ;
11391 char *kwnames[] = {
11392 (char *) "self",(char *) "style", NULL
11393 };
11394
11395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
11396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11397 {
11398 arg2 = (long) SWIG_PyObj_AsLong(obj1);
11399 if (PyErr_Occurred()) SWIG_fail;
11400 }
11401 {
11402 PyThreadState* __tstate = wxPyBeginAllowThreads();
11403 (arg1)->SetStyle(arg2);
11404
11405 wxPyEndAllowThreads(__tstate);
11406 if (PyErr_Occurred()) SWIG_fail;
11407 }
11408 Py_INCREF(Py_None); resultobj = Py_None;
11409 return resultobj;
11410 fail:
11411 return NULL;
11412}
11413
11414
11415static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11416 PyObject *resultobj;
11417 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11418 int arg2 ;
11419 PyObject * obj0 = 0 ;
11420 PyObject * obj1 = 0 ;
11421 char *kwnames[] = {
11422 (char *) "self",(char *) "filterIndex", NULL
11423 };
11424
11425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
11426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11427 {
11428 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11429 if (PyErr_Occurred()) SWIG_fail;
11430 }
11431 {
11432 PyThreadState* __tstate = wxPyBeginAllowThreads();
11433 (arg1)->SetFilterIndex(arg2);
11434
11435 wxPyEndAllowThreads(__tstate);
11436 if (PyErr_Occurred()) SWIG_fail;
11437 }
11438 Py_INCREF(Py_None); resultobj = Py_None;
11439 return resultobj;
11440 fail:
11441 return NULL;
11442}
11443
11444
11445static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11446 PyObject *resultobj;
11447 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11448 wxString result;
11449 PyObject * obj0 = 0 ;
11450 char *kwnames[] = {
11451 (char *) "self", NULL
11452 };
11453
11454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11456 {
11457 PyThreadState* __tstate = wxPyBeginAllowThreads();
11458 result = ((wxFileDialog const *)arg1)->GetMessage();
11459
11460 wxPyEndAllowThreads(__tstate);
11461 if (PyErr_Occurred()) SWIG_fail;
11462 }
11463 {
11464#if wxUSE_UNICODE
11465 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11466#else
11467 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11468#endif
11469 }
11470 return resultobj;
11471 fail:
11472 return NULL;
11473}
11474
11475
11476static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11477 PyObject *resultobj;
11478 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11479 wxString result;
11480 PyObject * obj0 = 0 ;
11481 char *kwnames[] = {
11482 (char *) "self", NULL
11483 };
11484
11485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11487 {
11488 PyThreadState* __tstate = wxPyBeginAllowThreads();
11489 result = ((wxFileDialog const *)arg1)->GetPath();
11490
11491 wxPyEndAllowThreads(__tstate);
11492 if (PyErr_Occurred()) SWIG_fail;
11493 }
11494 {
11495#if wxUSE_UNICODE
11496 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11497#else
11498 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11499#endif
11500 }
11501 return resultobj;
11502 fail:
11503 return NULL;
11504}
11505
11506
11507static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11508 PyObject *resultobj;
11509 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11510 wxString result;
11511 PyObject * obj0 = 0 ;
11512 char *kwnames[] = {
11513 (char *) "self", NULL
11514 };
11515
11516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11518 {
11519 PyThreadState* __tstate = wxPyBeginAllowThreads();
11520 result = ((wxFileDialog const *)arg1)->GetDirectory();
11521
11522 wxPyEndAllowThreads(__tstate);
11523 if (PyErr_Occurred()) SWIG_fail;
11524 }
11525 {
11526#if wxUSE_UNICODE
11527 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11528#else
11529 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11530#endif
11531 }
11532 return resultobj;
11533 fail:
11534 return NULL;
11535}
11536
11537
11538static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11539 PyObject *resultobj;
11540 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11541 wxString result;
11542 PyObject * obj0 = 0 ;
11543 char *kwnames[] = {
11544 (char *) "self", NULL
11545 };
11546
11547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11549 {
11550 PyThreadState* __tstate = wxPyBeginAllowThreads();
11551 result = ((wxFileDialog const *)arg1)->GetFilename();
11552
11553 wxPyEndAllowThreads(__tstate);
11554 if (PyErr_Occurred()) SWIG_fail;
11555 }
11556 {
11557#if wxUSE_UNICODE
11558 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11559#else
11560 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11561#endif
11562 }
11563 return resultobj;
11564 fail:
11565 return NULL;
11566}
11567
11568
11569static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11570 PyObject *resultobj;
11571 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11572 wxString result;
11573 PyObject * obj0 = 0 ;
11574 char *kwnames[] = {
11575 (char *) "self", NULL
11576 };
11577
11578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11580 {
11581 PyThreadState* __tstate = wxPyBeginAllowThreads();
11582 result = ((wxFileDialog const *)arg1)->GetWildcard();
11583
11584 wxPyEndAllowThreads(__tstate);
11585 if (PyErr_Occurred()) SWIG_fail;
11586 }
11587 {
11588#if wxUSE_UNICODE
11589 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11590#else
11591 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11592#endif
11593 }
11594 return resultobj;
11595 fail:
11596 return NULL;
11597}
11598
11599
11600static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11601 PyObject *resultobj;
11602 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11603 long result;
11604 PyObject * obj0 = 0 ;
11605 char *kwnames[] = {
11606 (char *) "self", NULL
11607 };
11608
11609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11611 {
11612 PyThreadState* __tstate = wxPyBeginAllowThreads();
11613 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11614
11615 wxPyEndAllowThreads(__tstate);
11616 if (PyErr_Occurred()) SWIG_fail;
11617 }
11618 resultobj = SWIG_PyObj_FromLong((long)result);
11619 return resultobj;
11620 fail:
11621 return NULL;
11622}
11623
11624
11625static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11626 PyObject *resultobj;
11627 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11628 int result;
11629 PyObject * obj0 = 0 ;
11630 char *kwnames[] = {
11631 (char *) "self", NULL
11632 };
11633
11634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11636 {
11637 PyThreadState* __tstate = wxPyBeginAllowThreads();
11638 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11639
11640 wxPyEndAllowThreads(__tstate);
11641 if (PyErr_Occurred()) SWIG_fail;
11642 }
11643 resultobj = SWIG_PyObj_FromInt((int)result);
11644 return resultobj;
11645 fail:
11646 return NULL;
11647}
11648
11649
11650static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11651 PyObject *resultobj;
11652 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11653 PyObject *result;
11654 PyObject * obj0 = 0 ;
11655 char *kwnames[] = {
11656 (char *) "self", NULL
11657 };
11658
11659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11661 {
11662 PyThreadState* __tstate = wxPyBeginAllowThreads();
11663 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11664
11665 wxPyEndAllowThreads(__tstate);
11666 if (PyErr_Occurred()) SWIG_fail;
11667 }
11668 resultobj = result;
11669 return resultobj;
11670 fail:
11671 return NULL;
11672}
11673
11674
11675static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11676 PyObject *resultobj;
11677 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11678 PyObject *result;
11679 PyObject * obj0 = 0 ;
11680 char *kwnames[] = {
11681 (char *) "self", NULL
11682 };
11683
11684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11686 {
11687 PyThreadState* __tstate = wxPyBeginAllowThreads();
11688 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11689
11690 wxPyEndAllowThreads(__tstate);
11691 if (PyErr_Occurred()) SWIG_fail;
11692 }
11693 resultobj = result;
11694 return resultobj;
11695 fail:
11696 return NULL;
11697}
11698
11699
11700static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11701 PyObject *obj;
11702 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11703 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11704 Py_INCREF(obj);
11705 return Py_BuildValue((char *)"");
11706}
11707static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11708 PyObject *resultobj;
11709 wxWindow *arg1 = (wxWindow *) 0 ;
11710 wxString *arg2 = 0 ;
11711 wxString *arg3 = 0 ;
11712 int arg4 = (int) 0 ;
11713 wxString *arg5 = (wxString *) 0 ;
11714 long arg6 = (long) wxCHOICEDLG_STYLE ;
11715 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11716 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11717 wxMultiChoiceDialog *result;
11718 bool temp2 = False ;
11719 bool temp3 = False ;
11720 wxPoint temp6 ;
11721 PyObject * obj0 = 0 ;
11722 PyObject * obj1 = 0 ;
11723 PyObject * obj2 = 0 ;
11724 PyObject * obj3 = 0 ;
11725 PyObject * obj4 = 0 ;
11726 PyObject * obj5 = 0 ;
11727 char *kwnames[] = {
11728 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11729 };
11730
11731 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11732 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11733 {
11734 arg2 = wxString_in_helper(obj1);
11735 if (arg2 == NULL) SWIG_fail;
11736 temp2 = True;
11737 }
11738 {
11739 arg3 = wxString_in_helper(obj2);
11740 if (arg3 == NULL) SWIG_fail;
11741 temp3 = True;
11742 }
11743 if (obj3) {
11744 {
11745 arg4 = PyList_Size(obj3);
11746 arg5 = wxString_LIST_helper(obj3);
11747 if (arg5 == NULL) SWIG_fail;
11748 }
11749 }
11750 if (obj4) {
11751 {
11752 arg6 = (long) SWIG_PyObj_AsLong(obj4);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 }
11756 if (obj5) {
11757 {
11758 arg7 = &temp6;
11759 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11760 }
11761 }
11762 {
11763 PyThreadState* __tstate = wxPyBeginAllowThreads();
11764 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11765
11766 wxPyEndAllowThreads(__tstate);
11767 if (PyErr_Occurred()) SWIG_fail;
11768 }
11769 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
11770 {
11771 if (temp2)
11772 delete arg2;
11773 }
11774 {
11775 if (temp3)
11776 delete arg3;
11777 }
11778 {
11779 if (arg5) delete [] arg5;
11780 }
11781 return resultobj;
11782 fail:
11783 {
11784 if (temp2)
11785 delete arg2;
11786 }
11787 {
11788 if (temp3)
11789 delete arg3;
11790 }
11791 {
11792 if (arg5) delete [] arg5;
11793 }
11794 return NULL;
11795}
11796
11797
11798static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11799 PyObject *resultobj;
11800 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11801 wxArrayInt *arg2 = 0 ;
11802 PyObject * obj0 = 0 ;
11803 PyObject * obj1 = 0 ;
11804 char *kwnames[] = {
11805 (char *) "self",(char *) "selections", NULL
11806 };
11807
11808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11810 {
11811 if (! PySequence_Check(obj1)) {
11812 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11813 SWIG_fail;
11814 }
11815 arg2 = new wxArrayInt;
11816 int i, len=PySequence_Length(obj1);
11817 for (i=0; i<len; i++) {
11818 PyObject* item = PySequence_GetItem(obj1, i);
11819 PyObject* number = PyNumber_Int(item);
11820 arg2->Add(PyInt_AS_LONG(number));
11821 Py_DECREF(item);
11822 Py_DECREF(number);
11823 }
11824 }
11825 {
11826 PyThreadState* __tstate = wxPyBeginAllowThreads();
11827 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11828
11829 wxPyEndAllowThreads(__tstate);
11830 if (PyErr_Occurred()) SWIG_fail;
11831 }
11832 Py_INCREF(Py_None); resultobj = Py_None;
11833 {
11834 if (arg2) delete arg2;
11835 }
11836 return resultobj;
11837 fail:
11838 {
11839 if (arg2) delete arg2;
11840 }
11841 return NULL;
11842}
11843
11844
11845static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11846 PyObject *resultobj;
11847 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11848 PyObject *result;
11849 PyObject * obj0 = 0 ;
11850 char *kwnames[] = {
11851 (char *) "self", NULL
11852 };
11853
11854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11856 {
11857 PyThreadState* __tstate = wxPyBeginAllowThreads();
11858 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11859
11860 wxPyEndAllowThreads(__tstate);
11861 if (PyErr_Occurred()) SWIG_fail;
11862 }
11863 resultobj = result;
11864 return resultobj;
11865 fail:
11866 return NULL;
11867}
11868
11869
11870static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11871 PyObject *obj;
11872 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11873 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11874 Py_INCREF(obj);
11875 return Py_BuildValue((char *)"");
11876}
11877static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11878 PyObject *resultobj;
11879 wxWindow *arg1 = (wxWindow *) 0 ;
11880 wxString *arg2 = 0 ;
11881 wxString *arg3 = 0 ;
11882 int arg4 ;
11883 wxString *arg5 = (wxString *) 0 ;
11884 long arg6 = (long) wxCHOICEDLG_STYLE ;
11885 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11886 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11887 wxSingleChoiceDialog *result;
11888 bool temp2 = False ;
11889 bool temp3 = False ;
11890 wxPoint temp6 ;
11891 PyObject * obj0 = 0 ;
11892 PyObject * obj1 = 0 ;
11893 PyObject * obj2 = 0 ;
11894 PyObject * obj3 = 0 ;
11895 PyObject * obj4 = 0 ;
11896 PyObject * obj5 = 0 ;
11897 char *kwnames[] = {
11898 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11899 };
11900
11901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
11902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11903 {
11904 arg2 = wxString_in_helper(obj1);
11905 if (arg2 == NULL) SWIG_fail;
11906 temp2 = True;
11907 }
11908 {
11909 arg3 = wxString_in_helper(obj2);
11910 if (arg3 == NULL) SWIG_fail;
11911 temp3 = True;
11912 }
11913 {
11914 arg4 = PyList_Size(obj3);
11915 arg5 = wxString_LIST_helper(obj3);
11916 if (arg5 == NULL) SWIG_fail;
11917 }
11918 if (obj4) {
11919 {
11920 arg6 = (long) SWIG_PyObj_AsLong(obj4);
11921 if (PyErr_Occurred()) SWIG_fail;
11922 }
11923 }
11924 if (obj5) {
11925 {
11926 arg7 = &temp6;
11927 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11928 }
11929 }
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11933
11934 wxPyEndAllowThreads(__tstate);
11935 if (PyErr_Occurred()) SWIG_fail;
11936 }
11937 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11938 {
11939 if (temp2)
11940 delete arg2;
11941 }
11942 {
11943 if (temp3)
11944 delete arg3;
11945 }
11946 {
11947 if (arg5) delete [] arg5;
11948 }
11949 return resultobj;
11950 fail:
11951 {
11952 if (temp2)
11953 delete arg2;
11954 }
11955 {
11956 if (temp3)
11957 delete arg3;
11958 }
11959 {
11960 if (arg5) delete [] arg5;
11961 }
11962 return NULL;
11963}
11964
11965
11966static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj;
11968 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11969 int result;
11970 PyObject * obj0 = 0 ;
11971 char *kwnames[] = {
11972 (char *) "self", NULL
11973 };
11974
11975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 result = (int)(arg1)->GetSelection();
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 resultobj = SWIG_PyObj_FromInt((int)result);
11985 return resultobj;
11986 fail:
11987 return NULL;
11988}
11989
11990
11991static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11992 PyObject *resultobj;
11993 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11994 wxString result;
11995 PyObject * obj0 = 0 ;
11996 char *kwnames[] = {
11997 (char *) "self", NULL
11998 };
11999
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 result = (arg1)->GetStringSelection();
12005
12006 wxPyEndAllowThreads(__tstate);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 }
12009 {
12010#if wxUSE_UNICODE
12011 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12012#else
12013 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12014#endif
12015 }
12016 return resultobj;
12017 fail:
12018 return NULL;
12019}
12020
12021
12022static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12023 PyObject *resultobj;
12024 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12025 int arg2 ;
12026 PyObject * obj0 = 0 ;
12027 PyObject * obj1 = 0 ;
12028 char *kwnames[] = {
12029 (char *) "self",(char *) "sel", NULL
12030 };
12031
12032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
12033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12034 {
12035 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12036 if (PyErr_Occurred()) SWIG_fail;
12037 }
12038 {
12039 PyThreadState* __tstate = wxPyBeginAllowThreads();
12040 (arg1)->SetSelection(arg2);
12041
12042 wxPyEndAllowThreads(__tstate);
12043 if (PyErr_Occurred()) SWIG_fail;
12044 }
12045 Py_INCREF(Py_None); resultobj = Py_None;
12046 return resultobj;
12047 fail:
12048 return NULL;
12049}
12050
12051
12052static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12053 PyObject *resultobj;
12054 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12055 int result;
12056 PyObject * obj0 = 0 ;
12057 char *kwnames[] = {
12058 (char *) "self", NULL
12059 };
12060
12061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
12062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12063 {
12064 PyThreadState* __tstate = wxPyBeginAllowThreads();
12065 result = (int)(arg1)->ShowModal();
12066
12067 wxPyEndAllowThreads(__tstate);
12068 if (PyErr_Occurred()) SWIG_fail;
12069 }
12070 resultobj = SWIG_PyObj_FromInt((int)result);
12071 return resultobj;
12072 fail:
12073 return NULL;
12074}
12075
12076
12077static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12078 PyObject *obj;
12079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12080 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12081 Py_INCREF(obj);
12082 return Py_BuildValue((char *)"");
12083}
12084static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12085 PyObject *resultobj;
12086 wxWindow *arg1 = (wxWindow *) 0 ;
12087 wxString *arg2 = 0 ;
12088 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12089 wxString *arg3 = (wxString *) &arg3_defvalue ;
12090 wxString const &arg4_defvalue = wxPyEmptyString ;
12091 wxString *arg4 = (wxString *) &arg4_defvalue ;
12092 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12093 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12094 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12095 wxTextEntryDialog *result;
12096 bool temp2 = False ;
12097 bool temp3 = False ;
12098 bool temp4 = False ;
12099 wxPoint temp6 ;
12100 PyObject * obj0 = 0 ;
12101 PyObject * obj1 = 0 ;
12102 PyObject * obj2 = 0 ;
12103 PyObject * obj3 = 0 ;
12104 PyObject * obj4 = 0 ;
12105 PyObject * obj5 = 0 ;
12106 char *kwnames[] = {
12107 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12108 };
12109
12110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
12111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12112 {
12113 arg2 = wxString_in_helper(obj1);
12114 if (arg2 == NULL) SWIG_fail;
12115 temp2 = True;
12116 }
12117 if (obj2) {
12118 {
12119 arg3 = wxString_in_helper(obj2);
12120 if (arg3 == NULL) SWIG_fail;
12121 temp3 = True;
12122 }
12123 }
12124 if (obj3) {
12125 {
12126 arg4 = wxString_in_helper(obj3);
12127 if (arg4 == NULL) SWIG_fail;
12128 temp4 = True;
12129 }
12130 }
12131 if (obj4) {
12132 {
12133 arg5 = (long) SWIG_PyObj_AsLong(obj4);
12134 if (PyErr_Occurred()) SWIG_fail;
12135 }
12136 }
12137 if (obj5) {
12138 {
12139 arg6 = &temp6;
12140 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12141 }
12142 }
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
12145 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12146
12147 wxPyEndAllowThreads(__tstate);
12148 if (PyErr_Occurred()) SWIG_fail;
12149 }
12150 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
12151 {
12152 if (temp2)
12153 delete arg2;
12154 }
12155 {
12156 if (temp3)
12157 delete arg3;
12158 }
12159 {
12160 if (temp4)
12161 delete arg4;
12162 }
12163 return resultobj;
12164 fail:
12165 {
12166 if (temp2)
12167 delete arg2;
12168 }
12169 {
12170 if (temp3)
12171 delete arg3;
12172 }
12173 {
12174 if (temp4)
12175 delete arg4;
12176 }
12177 return NULL;
12178}
12179
12180
12181static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12182 PyObject *resultobj;
12183 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12184 wxString result;
12185 PyObject * obj0 = 0 ;
12186 char *kwnames[] = {
12187 (char *) "self", NULL
12188 };
12189
12190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 result = (arg1)->GetValue();
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 {
12200#if wxUSE_UNICODE
12201 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12202#else
12203 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12204#endif
12205 }
12206 return resultobj;
12207 fail:
12208 return NULL;
12209}
12210
12211
12212static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12213 PyObject *resultobj;
12214 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12215 wxString *arg2 = 0 ;
12216 bool temp2 = False ;
12217 PyObject * obj0 = 0 ;
12218 PyObject * obj1 = 0 ;
12219 char *kwnames[] = {
12220 (char *) "self",(char *) "value", NULL
12221 };
12222
12223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12225 {
12226 arg2 = wxString_in_helper(obj1);
12227 if (arg2 == NULL) SWIG_fail;
12228 temp2 = True;
12229 }
12230 {
12231 PyThreadState* __tstate = wxPyBeginAllowThreads();
12232 (arg1)->SetValue((wxString const &)*arg2);
12233
12234 wxPyEndAllowThreads(__tstate);
12235 if (PyErr_Occurred()) SWIG_fail;
12236 }
12237 Py_INCREF(Py_None); resultobj = Py_None;
12238 {
12239 if (temp2)
12240 delete arg2;
12241 }
12242 return resultobj;
12243 fail:
12244 {
12245 if (temp2)
12246 delete arg2;
12247 }
12248 return NULL;
12249}
12250
12251
12252static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12253 PyObject *resultobj;
12254 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12255 int result;
12256 PyObject * obj0 = 0 ;
12257 char *kwnames[] = {
12258 (char *) "self", NULL
12259 };
12260
12261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
12262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12263 {
12264 PyThreadState* __tstate = wxPyBeginAllowThreads();
12265 result = (int)(arg1)->ShowModal();
12266
12267 wxPyEndAllowThreads(__tstate);
12268 if (PyErr_Occurred()) SWIG_fail;
12269 }
12270 resultobj = SWIG_PyObj_FromInt((int)result);
12271 return resultobj;
12272 fail:
12273 return NULL;
12274}
12275
12276
12277static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12278 PyObject *obj;
12279 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12280 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12281 Py_INCREF(obj);
12282 return Py_BuildValue((char *)"");
12283}
12284static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12285 PyObject *resultobj;
12286 wxFontData *result;
12287 char *kwnames[] = {
12288 NULL
12289 };
12290
12291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12292 {
12293 PyThreadState* __tstate = wxPyBeginAllowThreads();
12294 result = (wxFontData *)new wxFontData();
12295
12296 wxPyEndAllowThreads(__tstate);
12297 if (PyErr_Occurred()) SWIG_fail;
12298 }
12299 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
12300 return resultobj;
12301 fail:
12302 return NULL;
12303}
12304
12305
12306static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12307 PyObject *resultobj;
12308 wxFontData *arg1 = (wxFontData *) 0 ;
12309 PyObject * obj0 = 0 ;
12310 char *kwnames[] = {
12311 (char *) "self", NULL
12312 };
12313
12314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12316 {
12317 PyThreadState* __tstate = wxPyBeginAllowThreads();
12318 delete arg1;
12319
12320 wxPyEndAllowThreads(__tstate);
12321 if (PyErr_Occurred()) SWIG_fail;
12322 }
12323 Py_INCREF(Py_None); resultobj = Py_None;
12324 return resultobj;
12325 fail:
12326 return NULL;
12327}
12328
12329
12330static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12331 PyObject *resultobj;
12332 wxFontData *arg1 = (wxFontData *) 0 ;
12333 bool arg2 ;
12334 PyObject * obj0 = 0 ;
12335 PyObject * obj1 = 0 ;
12336 char *kwnames[] = {
12337 (char *) "self",(char *) "enable", NULL
12338 };
12339
12340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12342 {
12343 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 {
12347 PyThreadState* __tstate = wxPyBeginAllowThreads();
12348 (arg1)->EnableEffects(arg2);
12349
12350 wxPyEndAllowThreads(__tstate);
12351 if (PyErr_Occurred()) SWIG_fail;
12352 }
12353 Py_INCREF(Py_None); resultobj = Py_None;
12354 return resultobj;
12355 fail:
12356 return NULL;
12357}
12358
12359
12360static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12361 PyObject *resultobj;
12362 wxFontData *arg1 = (wxFontData *) 0 ;
12363 bool result;
12364 PyObject * obj0 = 0 ;
12365 char *kwnames[] = {
12366 (char *) "self", NULL
12367 };
12368
12369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12371 {
12372 PyThreadState* __tstate = wxPyBeginAllowThreads();
12373 result = (bool)(arg1)->GetAllowSymbols();
12374
12375 wxPyEndAllowThreads(__tstate);
12376 if (PyErr_Occurred()) SWIG_fail;
12377 }
12378 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12379 return resultobj;
12380 fail:
12381 return NULL;
12382}
12383
12384
12385static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12386 PyObject *resultobj;
12387 wxFontData *arg1 = (wxFontData *) 0 ;
12388 wxColour result;
12389 PyObject * obj0 = 0 ;
12390 char *kwnames[] = {
12391 (char *) "self", NULL
12392 };
12393
12394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12396 {
12397 PyThreadState* __tstate = wxPyBeginAllowThreads();
12398 result = (arg1)->GetColour();
12399
12400 wxPyEndAllowThreads(__tstate);
12401 if (PyErr_Occurred()) SWIG_fail;
12402 }
12403 {
12404 wxColour * resultptr;
12405 resultptr = new wxColour((wxColour &) result);
12406 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
12407 }
12408 return resultobj;
12409 fail:
12410 return NULL;
12411}
12412
12413
12414static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12415 PyObject *resultobj;
12416 wxFontData *arg1 = (wxFontData *) 0 ;
12417 wxFont result;
12418 PyObject * obj0 = 0 ;
12419 char *kwnames[] = {
12420 (char *) "self", NULL
12421 };
12422
12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12425 {
12426 PyThreadState* __tstate = wxPyBeginAllowThreads();
12427 result = (arg1)->GetChosenFont();
12428
12429 wxPyEndAllowThreads(__tstate);
12430 if (PyErr_Occurred()) SWIG_fail;
12431 }
12432 {
12433 wxFont * resultptr;
12434 resultptr = new wxFont((wxFont &) result);
12435 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
12436 }
12437 return resultobj;
12438 fail:
12439 return NULL;
12440}
12441
12442
12443static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj;
12445 wxFontData *arg1 = (wxFontData *) 0 ;
12446 bool result;
12447 PyObject * obj0 = 0 ;
12448 char *kwnames[] = {
12449 (char *) "self", NULL
12450 };
12451
12452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12454 {
12455 PyThreadState* __tstate = wxPyBeginAllowThreads();
12456 result = (bool)(arg1)->GetEnableEffects();
12457
12458 wxPyEndAllowThreads(__tstate);
12459 if (PyErr_Occurred()) SWIG_fail;
12460 }
12461 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12462 return resultobj;
12463 fail:
12464 return NULL;
12465}
12466
12467
12468static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12469 PyObject *resultobj;
12470 wxFontData *arg1 = (wxFontData *) 0 ;
12471 wxFont result;
12472 PyObject * obj0 = 0 ;
12473 char *kwnames[] = {
12474 (char *) "self", NULL
12475 };
12476
12477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12479 {
12480 PyThreadState* __tstate = wxPyBeginAllowThreads();
12481 result = (arg1)->GetInitialFont();
12482
12483 wxPyEndAllowThreads(__tstate);
12484 if (PyErr_Occurred()) SWIG_fail;
12485 }
12486 {
12487 wxFont * resultptr;
12488 resultptr = new wxFont((wxFont &) result);
12489 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
12490 }
12491 return resultobj;
12492 fail:
12493 return NULL;
12494}
12495
12496
12497static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12498 PyObject *resultobj;
12499 wxFontData *arg1 = (wxFontData *) 0 ;
12500 bool result;
12501 PyObject * obj0 = 0 ;
12502 char *kwnames[] = {
12503 (char *) "self", NULL
12504 };
12505
12506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 result = (bool)(arg1)->GetShowHelp();
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
12516 return resultobj;
12517 fail:
12518 return NULL;
12519}
12520
12521
12522static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12523 PyObject *resultobj;
12524 wxFontData *arg1 = (wxFontData *) 0 ;
12525 bool arg2 ;
12526 PyObject * obj0 = 0 ;
12527 PyObject * obj1 = 0 ;
12528 char *kwnames[] = {
12529 (char *) "self",(char *) "allowSymbols", NULL
12530 };
12531
12532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12534 {
12535 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12536 if (PyErr_Occurred()) SWIG_fail;
12537 }
12538 {
12539 PyThreadState* __tstate = wxPyBeginAllowThreads();
12540 (arg1)->SetAllowSymbols(arg2);
12541
12542 wxPyEndAllowThreads(__tstate);
12543 if (PyErr_Occurred()) SWIG_fail;
12544 }
12545 Py_INCREF(Py_None); resultobj = Py_None;
12546 return resultobj;
12547 fail:
12548 return NULL;
12549}
12550
12551
12552static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12553 PyObject *resultobj;
12554 wxFontData *arg1 = (wxFontData *) 0 ;
12555 wxFont *arg2 = 0 ;
12556 PyObject * obj0 = 0 ;
12557 PyObject * obj1 = 0 ;
12558 char *kwnames[] = {
12559 (char *) "self",(char *) "font", NULL
12560 };
12561
12562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12564 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12565 if (arg2 == NULL) {
12566 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12567 }
12568 {
12569 PyThreadState* __tstate = wxPyBeginAllowThreads();
12570 (arg1)->SetChosenFont((wxFont const &)*arg2);
12571
12572 wxPyEndAllowThreads(__tstate);
12573 if (PyErr_Occurred()) SWIG_fail;
12574 }
12575 Py_INCREF(Py_None); resultobj = Py_None;
12576 return resultobj;
12577 fail:
12578 return NULL;
12579}
12580
12581
12582static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12583 PyObject *resultobj;
12584 wxFontData *arg1 = (wxFontData *) 0 ;
12585 wxColour *arg2 = 0 ;
12586 wxColour temp2 ;
12587 PyObject * obj0 = 0 ;
12588 PyObject * obj1 = 0 ;
12589 char *kwnames[] = {
12590 (char *) "self",(char *) "colour", NULL
12591 };
12592
12593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12595 {
12596 arg2 = &temp2;
12597 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12598 }
12599 {
12600 PyThreadState* __tstate = wxPyBeginAllowThreads();
12601 (arg1)->SetColour((wxColour const &)*arg2);
12602
12603 wxPyEndAllowThreads(__tstate);
12604 if (PyErr_Occurred()) SWIG_fail;
12605 }
12606 Py_INCREF(Py_None); resultobj = Py_None;
12607 return resultobj;
12608 fail:
12609 return NULL;
12610}
12611
12612
12613static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12614 PyObject *resultobj;
12615 wxFontData *arg1 = (wxFontData *) 0 ;
12616 wxFont *arg2 = 0 ;
12617 PyObject * obj0 = 0 ;
12618 PyObject * obj1 = 0 ;
12619 char *kwnames[] = {
12620 (char *) "self",(char *) "font", NULL
12621 };
12622
12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12626 if (arg2 == NULL) {
12627 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12628 }
12629 {
12630 PyThreadState* __tstate = wxPyBeginAllowThreads();
12631 (arg1)->SetInitialFont((wxFont const &)*arg2);
12632
12633 wxPyEndAllowThreads(__tstate);
12634 if (PyErr_Occurred()) SWIG_fail;
12635 }
12636 Py_INCREF(Py_None); resultobj = Py_None;
12637 return resultobj;
12638 fail:
12639 return NULL;
12640}
12641
12642
12643static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12644 PyObject *resultobj;
12645 wxFontData *arg1 = (wxFontData *) 0 ;
12646 int arg2 ;
12647 int arg3 ;
12648 PyObject * obj0 = 0 ;
12649 PyObject * obj1 = 0 ;
12650 PyObject * obj2 = 0 ;
12651 char *kwnames[] = {
12652 (char *) "self",(char *) "min",(char *) "max", NULL
12653 };
12654
12655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
12656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12657 {
12658 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12659 if (PyErr_Occurred()) SWIG_fail;
12660 }
12661 {
12662 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12663 if (PyErr_Occurred()) SWIG_fail;
12664 }
12665 {
12666 PyThreadState* __tstate = wxPyBeginAllowThreads();
12667 (arg1)->SetRange(arg2,arg3);
12668
12669 wxPyEndAllowThreads(__tstate);
12670 if (PyErr_Occurred()) SWIG_fail;
12671 }
12672 Py_INCREF(Py_None); resultobj = Py_None;
12673 return resultobj;
12674 fail:
12675 return NULL;
12676}
12677
12678
12679static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12680 PyObject *resultobj;
12681 wxFontData *arg1 = (wxFontData *) 0 ;
12682 bool arg2 ;
12683 PyObject * obj0 = 0 ;
12684 PyObject * obj1 = 0 ;
12685 char *kwnames[] = {
12686 (char *) "self",(char *) "showHelp", NULL
12687 };
12688
12689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12691 {
12692 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
12693 if (PyErr_Occurred()) SWIG_fail;
12694 }
12695 {
12696 PyThreadState* __tstate = wxPyBeginAllowThreads();
12697 (arg1)->SetShowHelp(arg2);
12698
12699 wxPyEndAllowThreads(__tstate);
12700 if (PyErr_Occurred()) SWIG_fail;
12701 }
12702 Py_INCREF(Py_None); resultobj = Py_None;
12703 return resultobj;
12704 fail:
12705 return NULL;
12706}
12707
12708
12709static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12710 PyObject *obj;
12711 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12712 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12713 Py_INCREF(obj);
12714 return Py_BuildValue((char *)"");
12715}
12716static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12717 PyObject *resultobj;
12718 wxWindow *arg1 = (wxWindow *) 0 ;
12719 wxFontData *arg2 = 0 ;
12720 wxFontDialog *result;
12721 PyObject * obj0 = 0 ;
12722 PyObject * obj1 = 0 ;
12723 char *kwnames[] = {
12724 (char *) "parent",(char *) "data", NULL
12725 };
12726
12727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12729 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12730 if (arg2 == NULL) {
12731 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12732 }
12733 {
12734 PyThreadState* __tstate = wxPyBeginAllowThreads();
12735 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12736
12737 wxPyEndAllowThreads(__tstate);
12738 if (PyErr_Occurred()) SWIG_fail;
12739 }
12740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
12741 return resultobj;
12742 fail:
12743 return NULL;
12744}
12745
12746
12747static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12748 PyObject *resultobj;
12749 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12750 wxFontData *result;
12751 PyObject * obj0 = 0 ;
12752 char *kwnames[] = {
12753 (char *) "self", NULL
12754 };
12755
12756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12758 {
12759 PyThreadState* __tstate = wxPyBeginAllowThreads();
12760 {
12761 wxFontData &_result_ref = (arg1)->GetFontData();
12762 result = (wxFontData *) &_result_ref;
12763 }
12764
12765 wxPyEndAllowThreads(__tstate);
12766 if (PyErr_Occurred()) SWIG_fail;
12767 }
12768 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
12769 return resultobj;
12770 fail:
12771 return NULL;
12772}
12773
12774
12775static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12776 PyObject *resultobj;
12777 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12778 int result;
12779 PyObject * obj0 = 0 ;
12780 char *kwnames[] = {
12781 (char *) "self", NULL
12782 };
12783
12784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
12785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12786 {
12787 PyThreadState* __tstate = wxPyBeginAllowThreads();
12788 result = (int)(arg1)->ShowModal();
12789
12790 wxPyEndAllowThreads(__tstate);
12791 if (PyErr_Occurred()) SWIG_fail;
12792 }
12793 resultobj = SWIG_PyObj_FromInt((int)result);
12794 return resultobj;
12795 fail:
12796 return NULL;
12797}
12798
12799
12800static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12801 PyObject *obj;
12802 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12803 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12804 Py_INCREF(obj);
12805 return Py_BuildValue((char *)"");
12806}
12807static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12808 PyObject *resultobj;
12809 wxWindow *arg1 = (wxWindow *) 0 ;
12810 wxString *arg2 = 0 ;
12811 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12812 wxString *arg3 = (wxString *) &arg3_defvalue ;
12813 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12814 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12815 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12816 wxMessageDialog *result;
12817 bool temp2 = False ;
12818 bool temp3 = False ;
12819 wxPoint temp5 ;
12820 PyObject * obj0 = 0 ;
12821 PyObject * obj1 = 0 ;
12822 PyObject * obj2 = 0 ;
12823 PyObject * obj3 = 0 ;
12824 PyObject * obj4 = 0 ;
12825 char *kwnames[] = {
12826 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12827 };
12828
12829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12831 {
12832 arg2 = wxString_in_helper(obj1);
12833 if (arg2 == NULL) SWIG_fail;
12834 temp2 = True;
12835 }
12836 if (obj2) {
12837 {
12838 arg3 = wxString_in_helper(obj2);
12839 if (arg3 == NULL) SWIG_fail;
12840 temp3 = True;
12841 }
12842 }
12843 if (obj3) {
12844 {
12845 arg4 = (long) SWIG_PyObj_AsLong(obj3);
12846 if (PyErr_Occurred()) SWIG_fail;
12847 }
12848 }
12849 if (obj4) {
12850 {
12851 arg5 = &temp5;
12852 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12853 }
12854 }
12855 {
12856 PyThreadState* __tstate = wxPyBeginAllowThreads();
12857 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12858
12859 wxPyEndAllowThreads(__tstate);
12860 if (PyErr_Occurred()) SWIG_fail;
12861 }
12862 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12863 {
12864 if (temp2)
12865 delete arg2;
12866 }
12867 {
12868 if (temp3)
12869 delete arg3;
12870 }
12871 return resultobj;
12872 fail:
12873 {
12874 if (temp2)
12875 delete arg2;
12876 }
12877 {
12878 if (temp3)
12879 delete arg3;
12880 }
12881 return NULL;
12882}
12883
12884
12885static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12886 PyObject *resultobj;
12887 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12888 int result;
12889 PyObject * obj0 = 0 ;
12890 char *kwnames[] = {
12891 (char *) "self", NULL
12892 };
12893
12894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12896 {
12897 PyThreadState* __tstate = wxPyBeginAllowThreads();
12898 result = (int)(arg1)->ShowModal();
12899
12900 wxPyEndAllowThreads(__tstate);
12901 if (PyErr_Occurred()) SWIG_fail;
12902 }
12903 resultobj = SWIG_PyObj_FromInt((int)result);
12904 return resultobj;
12905 fail:
12906 return NULL;
12907}
12908
12909
12910static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12911 PyObject *obj;
12912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12913 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12914 Py_INCREF(obj);
12915 return Py_BuildValue((char *)"");
12916}
12917static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12918 PyObject *resultobj;
12919 wxString *arg1 = 0 ;
12920 wxString *arg2 = 0 ;
12921 int arg3 = (int) 100 ;
12922 wxWindow *arg4 = (wxWindow *) NULL ;
12923 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12924 wxProgressDialog *result;
12925 bool temp1 = False ;
12926 bool temp2 = False ;
12927 PyObject * obj0 = 0 ;
12928 PyObject * obj1 = 0 ;
12929 PyObject * obj2 = 0 ;
12930 PyObject * obj3 = 0 ;
12931 PyObject * obj4 = 0 ;
12932 char *kwnames[] = {
12933 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12934 };
12935
12936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
12937 {
12938 arg1 = wxString_in_helper(obj0);
12939 if (arg1 == NULL) SWIG_fail;
12940 temp1 = True;
12941 }
12942 {
12943 arg2 = wxString_in_helper(obj1);
12944 if (arg2 == NULL) SWIG_fail;
12945 temp2 = True;
12946 }
12947 if (obj2) {
12948 {
12949 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12950 if (PyErr_Occurred()) SWIG_fail;
12951 }
12952 }
12953 if (obj3) {
12954 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12955 }
12956 if (obj4) {
12957 {
12958 arg5 = (int) SWIG_PyObj_AsInt(obj4);
12959 if (PyErr_Occurred()) SWIG_fail;
12960 }
12961 }
12962 {
12963 PyThreadState* __tstate = wxPyBeginAllowThreads();
12964 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12965
12966 wxPyEndAllowThreads(__tstate);
12967 if (PyErr_Occurred()) SWIG_fail;
12968 }
12969 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12970 {
12971 if (temp1)
12972 delete arg1;
12973 }
12974 {
12975 if (temp2)
12976 delete arg2;
12977 }
12978 return resultobj;
12979 fail:
12980 {
12981 if (temp1)
12982 delete arg1;
12983 }
12984 {
12985 if (temp2)
12986 delete arg2;
12987 }
12988 return NULL;
12989}
12990
12991
12992static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12993 PyObject *resultobj;
12994 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12995 int arg2 ;
12996 wxString const &arg3_defvalue = wxPyEmptyString ;
12997 wxString *arg3 = (wxString *) &arg3_defvalue ;
12998 bool result;
12999 bool temp3 = False ;
13000 PyObject * obj0 = 0 ;
13001 PyObject * obj1 = 0 ;
13002 PyObject * obj2 = 0 ;
13003 char *kwnames[] = {
13004 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13005 };
13006
13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
13008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13009 {
13010 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
13013 if (obj2) {
13014 {
13015 arg3 = wxString_in_helper(obj2);
13016 if (arg3 == NULL) SWIG_fail;
13017 temp3 = True;
13018 }
13019 }
13020 {
13021 PyThreadState* __tstate = wxPyBeginAllowThreads();
13022 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13023
13024 wxPyEndAllowThreads(__tstate);
13025 if (PyErr_Occurred()) SWIG_fail;
13026 }
13027 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13028 {
13029 if (temp3)
13030 delete arg3;
13031 }
13032 return resultobj;
13033 fail:
13034 {
13035 if (temp3)
13036 delete arg3;
13037 }
13038 return NULL;
13039}
13040
13041
13042static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj;
13044 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13045 PyObject * obj0 = 0 ;
13046 char *kwnames[] = {
13047 (char *) "self", NULL
13048 };
13049
13050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13052 {
13053 PyThreadState* __tstate = wxPyBeginAllowThreads();
13054 (arg1)->Resume();
13055
13056 wxPyEndAllowThreads(__tstate);
13057 if (PyErr_Occurred()) SWIG_fail;
13058 }
13059 Py_INCREF(Py_None); resultobj = Py_None;
13060 return resultobj;
13061 fail:
13062 return NULL;
13063}
13064
13065
13066static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13067 PyObject *obj;
13068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13069 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13070 Py_INCREF(obj);
13071 return Py_BuildValue((char *)"");
13072}
13073static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13074 PyObject *resultobj;
13075 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13076 int arg2 = (int) 0 ;
13077 wxFindDialogEvent *result;
13078 PyObject * obj0 = 0 ;
13079 PyObject * obj1 = 0 ;
13080 char *kwnames[] = {
13081 (char *) "commandType",(char *) "id", NULL
13082 };
13083
13084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13085 if (obj0) {
13086 {
13087 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13088 if (PyErr_Occurred()) SWIG_fail;
13089 }
13090 }
13091 if (obj1) {
13092 {
13093 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13094 if (PyErr_Occurred()) SWIG_fail;
13095 }
13096 }
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13100
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
13105 return resultobj;
13106 fail:
13107 return NULL;
13108}
13109
13110
13111static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13112 PyObject *resultobj;
13113 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13114 int result;
13115 PyObject * obj0 = 0 ;
13116 char *kwnames[] = {
13117 (char *) "self", NULL
13118 };
13119
13120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13122 {
13123 PyThreadState* __tstate = wxPyBeginAllowThreads();
13124 result = (int)(arg1)->GetFlags();
13125
13126 wxPyEndAllowThreads(__tstate);
13127 if (PyErr_Occurred()) SWIG_fail;
13128 }
13129 resultobj = SWIG_PyObj_FromInt((int)result);
13130 return resultobj;
13131 fail:
13132 return NULL;
13133}
13134
13135
13136static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13137 PyObject *resultobj;
13138 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13139 wxString *result;
13140 PyObject * obj0 = 0 ;
13141 char *kwnames[] = {
13142 (char *) "self", NULL
13143 };
13144
13145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13147 {
13148 PyThreadState* __tstate = wxPyBeginAllowThreads();
13149 {
13150 wxString const &_result_ref = (arg1)->GetFindString();
13151 result = (wxString *) &_result_ref;
13152 }
13153
13154 wxPyEndAllowThreads(__tstate);
13155 if (PyErr_Occurred()) SWIG_fail;
13156 }
13157 {
13158#if wxUSE_UNICODE
13159 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13160#else
13161 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13162#endif
13163 }
13164 return resultobj;
13165 fail:
13166 return NULL;
13167}
13168
13169
13170static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13171 PyObject *resultobj;
13172 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13173 wxString *result;
13174 PyObject * obj0 = 0 ;
13175 char *kwnames[] = {
13176 (char *) "self", NULL
13177 };
13178
13179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13181 {
13182 PyThreadState* __tstate = wxPyBeginAllowThreads();
13183 {
13184 wxString const &_result_ref = (arg1)->GetReplaceString();
13185 result = (wxString *) &_result_ref;
13186 }
13187
13188 wxPyEndAllowThreads(__tstate);
13189 if (PyErr_Occurred()) SWIG_fail;
13190 }
13191 {
13192#if wxUSE_UNICODE
13193 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13194#else
13195 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13196#endif
13197 }
13198 return resultobj;
13199 fail:
13200 return NULL;
13201}
13202
13203
13204static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13205 PyObject *resultobj;
13206 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13207 wxFindReplaceDialog *result;
13208 PyObject * obj0 = 0 ;
13209 char *kwnames[] = {
13210 (char *) "self", NULL
13211 };
13212
13213 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13214 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13215 {
13216 PyThreadState* __tstate = wxPyBeginAllowThreads();
13217 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13218
13219 wxPyEndAllowThreads(__tstate);
13220 if (PyErr_Occurred()) SWIG_fail;
13221 }
13222 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
13223 return resultobj;
13224 fail:
13225 return NULL;
13226}
13227
13228
13229static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13230 PyObject *resultobj;
13231 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13232 int arg2 ;
13233 PyObject * obj0 = 0 ;
13234 PyObject * obj1 = 0 ;
13235 char *kwnames[] = {
13236 (char *) "self",(char *) "flags", NULL
13237 };
13238
13239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13241 {
13242 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13243 if (PyErr_Occurred()) SWIG_fail;
13244 }
13245 {
13246 PyThreadState* __tstate = wxPyBeginAllowThreads();
13247 (arg1)->SetFlags(arg2);
13248
13249 wxPyEndAllowThreads(__tstate);
13250 if (PyErr_Occurred()) SWIG_fail;
13251 }
13252 Py_INCREF(Py_None); resultobj = Py_None;
13253 return resultobj;
13254 fail:
13255 return NULL;
13256}
13257
13258
13259static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13260 PyObject *resultobj;
13261 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13262 wxString *arg2 = 0 ;
13263 bool temp2 = False ;
13264 PyObject * obj0 = 0 ;
13265 PyObject * obj1 = 0 ;
13266 char *kwnames[] = {
13267 (char *) "self",(char *) "str", NULL
13268 };
13269
13270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13272 {
13273 arg2 = wxString_in_helper(obj1);
13274 if (arg2 == NULL) SWIG_fail;
13275 temp2 = True;
13276 }
13277 {
13278 PyThreadState* __tstate = wxPyBeginAllowThreads();
13279 (arg1)->SetFindString((wxString const &)*arg2);
13280
13281 wxPyEndAllowThreads(__tstate);
13282 if (PyErr_Occurred()) SWIG_fail;
13283 }
13284 Py_INCREF(Py_None); resultobj = Py_None;
13285 {
13286 if (temp2)
13287 delete arg2;
13288 }
13289 return resultobj;
13290 fail:
13291 {
13292 if (temp2)
13293 delete arg2;
13294 }
13295 return NULL;
13296}
13297
13298
13299static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13300 PyObject *resultobj;
13301 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13302 wxString *arg2 = 0 ;
13303 bool temp2 = False ;
13304 PyObject * obj0 = 0 ;
13305 PyObject * obj1 = 0 ;
13306 char *kwnames[] = {
13307 (char *) "self",(char *) "str", NULL
13308 };
13309
13310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13312 {
13313 arg2 = wxString_in_helper(obj1);
13314 if (arg2 == NULL) SWIG_fail;
13315 temp2 = True;
13316 }
13317 {
13318 PyThreadState* __tstate = wxPyBeginAllowThreads();
13319 (arg1)->SetReplaceString((wxString const &)*arg2);
13320
13321 wxPyEndAllowThreads(__tstate);
13322 if (PyErr_Occurred()) SWIG_fail;
13323 }
13324 Py_INCREF(Py_None); resultobj = Py_None;
13325 {
13326 if (temp2)
13327 delete arg2;
13328 }
13329 return resultobj;
13330 fail:
13331 {
13332 if (temp2)
13333 delete arg2;
13334 }
13335 return NULL;
13336}
13337
13338
13339static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13340 PyObject *obj;
13341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13342 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13343 Py_INCREF(obj);
13344 return Py_BuildValue((char *)"");
13345}
13346static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj;
13348 int arg1 = (int) 0 ;
13349 wxFindReplaceData *result;
13350 PyObject * obj0 = 0 ;
13351 char *kwnames[] = {
13352 (char *) "flags", NULL
13353 };
13354
13355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13356 if (obj0) {
13357 {
13358 arg1 = (int) SWIG_PyObj_AsInt(obj0);
13359 if (PyErr_Occurred()) SWIG_fail;
13360 }
13361 }
13362 {
13363 PyThreadState* __tstate = wxPyBeginAllowThreads();
13364 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13365
13366 wxPyEndAllowThreads(__tstate);
13367 if (PyErr_Occurred()) SWIG_fail;
13368 }
13369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
13370 return resultobj;
13371 fail:
13372 return NULL;
13373}
13374
13375
13376static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13377 PyObject *resultobj;
13378 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13379 PyObject * obj0 = 0 ;
13380 char *kwnames[] = {
13381 (char *) "self", NULL
13382 };
13383
13384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13386 {
13387 PyThreadState* __tstate = wxPyBeginAllowThreads();
13388 delete arg1;
13389
13390 wxPyEndAllowThreads(__tstate);
13391 if (PyErr_Occurred()) SWIG_fail;
13392 }
13393 Py_INCREF(Py_None); resultobj = Py_None;
13394 return resultobj;
13395 fail:
13396 return NULL;
13397}
13398
13399
13400static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13401 PyObject *resultobj;
13402 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13403 wxString *result;
13404 PyObject * obj0 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "self", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 {
13414 wxString const &_result_ref = (arg1)->GetFindString();
13415 result = (wxString *) &_result_ref;
13416 }
13417
13418 wxPyEndAllowThreads(__tstate);
13419 if (PyErr_Occurred()) SWIG_fail;
13420 }
13421 {
13422#if wxUSE_UNICODE
13423 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13424#else
13425 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13426#endif
13427 }
13428 return resultobj;
13429 fail:
13430 return NULL;
13431}
13432
13433
13434static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13435 PyObject *resultobj;
13436 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13437 wxString *result;
13438 PyObject * obj0 = 0 ;
13439 char *kwnames[] = {
13440 (char *) "self", NULL
13441 };
13442
13443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13445 {
13446 PyThreadState* __tstate = wxPyBeginAllowThreads();
13447 {
13448 wxString const &_result_ref = (arg1)->GetReplaceString();
13449 result = (wxString *) &_result_ref;
13450 }
13451
13452 wxPyEndAllowThreads(__tstate);
13453 if (PyErr_Occurred()) SWIG_fail;
13454 }
13455 {
13456#if wxUSE_UNICODE
13457 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13458#else
13459 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13460#endif
13461 }
13462 return resultobj;
13463 fail:
13464 return NULL;
13465}
13466
13467
13468static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13469 PyObject *resultobj;
13470 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13471 int result;
13472 PyObject * obj0 = 0 ;
13473 char *kwnames[] = {
13474 (char *) "self", NULL
13475 };
13476
13477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13479 {
13480 PyThreadState* __tstate = wxPyBeginAllowThreads();
13481 result = (int)(arg1)->GetFlags();
13482
13483 wxPyEndAllowThreads(__tstate);
13484 if (PyErr_Occurred()) SWIG_fail;
13485 }
13486 resultobj = SWIG_PyObj_FromInt((int)result);
13487 return resultobj;
13488 fail:
13489 return NULL;
13490}
13491
13492
13493static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13494 PyObject *resultobj;
13495 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13496 int arg2 ;
13497 PyObject * obj0 = 0 ;
13498 PyObject * obj1 = 0 ;
13499 char *kwnames[] = {
13500 (char *) "self",(char *) "flags", NULL
13501 };
13502
13503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
13504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13505 {
13506 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
13509 {
13510 PyThreadState* __tstate = wxPyBeginAllowThreads();
13511 (arg1)->SetFlags(arg2);
13512
13513 wxPyEndAllowThreads(__tstate);
13514 if (PyErr_Occurred()) SWIG_fail;
13515 }
13516 Py_INCREF(Py_None); resultobj = Py_None;
13517 return resultobj;
13518 fail:
13519 return NULL;
13520}
13521
13522
13523static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13524 PyObject *resultobj;
13525 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13526 wxString *arg2 = 0 ;
13527 bool temp2 = False ;
13528 PyObject * obj0 = 0 ;
13529 PyObject * obj1 = 0 ;
13530 char *kwnames[] = {
13531 (char *) "self",(char *) "str", NULL
13532 };
13533
13534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13536 {
13537 arg2 = wxString_in_helper(obj1);
13538 if (arg2 == NULL) SWIG_fail;
13539 temp2 = True;
13540 }
13541 {
13542 PyThreadState* __tstate = wxPyBeginAllowThreads();
13543 (arg1)->SetFindString((wxString const &)*arg2);
13544
13545 wxPyEndAllowThreads(__tstate);
13546 if (PyErr_Occurred()) SWIG_fail;
13547 }
13548 Py_INCREF(Py_None); resultobj = Py_None;
13549 {
13550 if (temp2)
13551 delete arg2;
13552 }
13553 return resultobj;
13554 fail:
13555 {
13556 if (temp2)
13557 delete arg2;
13558 }
13559 return NULL;
13560}
13561
13562
13563static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13564 PyObject *resultobj;
13565 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13566 wxString *arg2 = 0 ;
13567 bool temp2 = False ;
13568 PyObject * obj0 = 0 ;
13569 PyObject * obj1 = 0 ;
13570 char *kwnames[] = {
13571 (char *) "self",(char *) "str", NULL
13572 };
13573
13574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13576 {
13577 arg2 = wxString_in_helper(obj1);
13578 if (arg2 == NULL) SWIG_fail;
13579 temp2 = True;
13580 }
13581 {
13582 PyThreadState* __tstate = wxPyBeginAllowThreads();
13583 (arg1)->SetReplaceString((wxString const &)*arg2);
13584
13585 wxPyEndAllowThreads(__tstate);
13586 if (PyErr_Occurred()) SWIG_fail;
13587 }
13588 Py_INCREF(Py_None); resultobj = Py_None;
13589 {
13590 if (temp2)
13591 delete arg2;
13592 }
13593 return resultobj;
13594 fail:
13595 {
13596 if (temp2)
13597 delete arg2;
13598 }
13599 return NULL;
13600}
13601
13602
13603static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13604 PyObject *obj;
13605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13606 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13607 Py_INCREF(obj);
13608 return Py_BuildValue((char *)"");
13609}
13610static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13611 PyObject *resultobj;
13612 wxWindow *arg1 = (wxWindow *) 0 ;
13613 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13614 wxString *arg3 = 0 ;
13615 int arg4 = (int) 0 ;
13616 wxFindReplaceDialog *result;
13617 bool temp3 = False ;
13618 PyObject * obj0 = 0 ;
13619 PyObject * obj1 = 0 ;
13620 PyObject * obj2 = 0 ;
13621 PyObject * obj3 = 0 ;
13622 char *kwnames[] = {
13623 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13624 };
13625
13626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
13627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13628 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13629 {
13630 arg3 = wxString_in_helper(obj2);
13631 if (arg3 == NULL) SWIG_fail;
13632 temp3 = True;
13633 }
13634 if (obj3) {
13635 {
13636 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13637 if (PyErr_Occurred()) SWIG_fail;
13638 }
13639 }
13640 {
13641 PyThreadState* __tstate = wxPyBeginAllowThreads();
13642 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13643
13644 wxPyEndAllowThreads(__tstate);
13645 if (PyErr_Occurred()) SWIG_fail;
13646 }
13647 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13648 {
13649 if (temp3)
13650 delete arg3;
13651 }
13652 return resultobj;
13653 fail:
13654 {
13655 if (temp3)
13656 delete arg3;
13657 }
13658 return NULL;
13659}
13660
13661
13662static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13663 PyObject *resultobj;
13664 wxFindReplaceDialog *result;
13665 char *kwnames[] = {
13666 NULL
13667 };
13668
13669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13670 {
13671 PyThreadState* __tstate = wxPyBeginAllowThreads();
13672 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13673
13674 wxPyEndAllowThreads(__tstate);
13675 if (PyErr_Occurred()) SWIG_fail;
13676 }
13677 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13678 return resultobj;
13679 fail:
13680 return NULL;
13681}
13682
13683
13684static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13685 PyObject *resultobj;
13686 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13687 wxWindow *arg2 = (wxWindow *) 0 ;
13688 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
13689 wxString *arg4 = 0 ;
13690 int arg5 = (int) 0 ;
13691 bool result;
13692 bool temp4 = False ;
13693 PyObject * obj0 = 0 ;
13694 PyObject * obj1 = 0 ;
13695 PyObject * obj2 = 0 ;
13696 PyObject * obj3 = 0 ;
13697 PyObject * obj4 = 0 ;
13698 char *kwnames[] = {
13699 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13700 };
13701
13702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
13703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13705 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13706 {
13707 arg4 = wxString_in_helper(obj3);
13708 if (arg4 == NULL) SWIG_fail;
13709 temp4 = True;
13710 }
13711 if (obj4) {
13712 {
13713 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13714 if (PyErr_Occurred()) SWIG_fail;
13715 }
13716 }
13717 {
13718 PyThreadState* __tstate = wxPyBeginAllowThreads();
13719 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
13720
13721 wxPyEndAllowThreads(__tstate);
13722 if (PyErr_Occurred()) SWIG_fail;
13723 }
13724 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13725 {
13726 if (temp4)
13727 delete arg4;
13728 }
13729 return resultobj;
13730 fail:
13731 {
13732 if (temp4)
13733 delete arg4;
13734 }
13735 return NULL;
13736}
13737
13738
13739static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13740 PyObject *resultobj;
13741 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13742 wxFindReplaceData *result;
13743 PyObject * obj0 = 0 ;
13744 char *kwnames[] = {
13745 (char *) "self", NULL
13746 };
13747
13748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
13749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13750 {
13751 PyThreadState* __tstate = wxPyBeginAllowThreads();
13752 result = (wxFindReplaceData *)(arg1)->GetData();
13753
13754 wxPyEndAllowThreads(__tstate);
13755 if (PyErr_Occurred()) SWIG_fail;
13756 }
13757 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
13758 return resultobj;
13759 fail:
13760 return NULL;
13761}
13762
13763
13764static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
13765 PyObject *resultobj;
13766 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
13767 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13768 PyObject * obj0 = 0 ;
13769 PyObject * obj1 = 0 ;
13770 char *kwnames[] = {
13771 (char *) "self",(char *) "data", NULL
13772 };
13773
13774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13776 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13777 {
13778 PyThreadState* __tstate = wxPyBeginAllowThreads();
13779 (arg1)->SetData(arg2);
13780
13781 wxPyEndAllowThreads(__tstate);
13782 if (PyErr_Occurred()) SWIG_fail;
13783 }
13784 Py_INCREF(Py_None); resultobj = Py_None;
13785 return resultobj;
13786 fail:
13787 return NULL;
13788}
13789
13790
13791static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
13792 PyObject *obj;
13793 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13794 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13795 Py_INCREF(obj);
13796 return Py_BuildValue((char *)"");
13797}
13798static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13799 PyObject *resultobj;
13800 wxWindow *arg1 = (wxWindow *) 0 ;
13801 int arg2 ;
13802 wxString *arg3 = 0 ;
13803 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13804 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13805 wxSize const &arg5_defvalue = wxDefaultSize ;
13806 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13807 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13808 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13809 wxString *arg7 = (wxString *) &arg7_defvalue ;
13810 wxMDIParentFrame *result;
13811 bool temp3 = False ;
13812 wxPoint temp4 ;
13813 wxSize temp5 ;
13814 bool temp7 = False ;
13815 PyObject * obj0 = 0 ;
13816 PyObject * obj1 = 0 ;
13817 PyObject * obj2 = 0 ;
13818 PyObject * obj3 = 0 ;
13819 PyObject * obj4 = 0 ;
13820 PyObject * obj5 = 0 ;
13821 PyObject * obj6 = 0 ;
13822 char *kwnames[] = {
13823 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13824 };
13825
13826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
13827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13828 {
13829 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
13830 if (PyErr_Occurred()) SWIG_fail;
13831 }
13832 {
13833 arg3 = wxString_in_helper(obj2);
13834 if (arg3 == NULL) SWIG_fail;
13835 temp3 = True;
13836 }
13837 if (obj3) {
13838 {
13839 arg4 = &temp4;
13840 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13841 }
13842 }
13843 if (obj4) {
13844 {
13845 arg5 = &temp5;
13846 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13847 }
13848 }
13849 if (obj5) {
13850 {
13851 arg6 = (long) SWIG_PyObj_AsLong(obj5);
13852 if (PyErr_Occurred()) SWIG_fail;
13853 }
13854 }
13855 if (obj6) {
13856 {
13857 arg7 = wxString_in_helper(obj6);
13858 if (arg7 == NULL) SWIG_fail;
13859 temp7 = True;
13860 }
13861 }
13862 {
13863 PyThreadState* __tstate = wxPyBeginAllowThreads();
13864 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13865
13866 wxPyEndAllowThreads(__tstate);
13867 if (PyErr_Occurred()) SWIG_fail;
13868 }
13869 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13870 {
13871 if (temp3)
13872 delete arg3;
13873 }
13874 {
13875 if (temp7)
13876 delete arg7;
13877 }
13878 return resultobj;
13879 fail:
13880 {
13881 if (temp3)
13882 delete arg3;
13883 }
13884 {
13885 if (temp7)
13886 delete arg7;
13887 }
13888 return NULL;
13889}
13890
13891
13892static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13893 PyObject *resultobj;
13894 wxMDIParentFrame *result;
13895 char *kwnames[] = {
13896 NULL
13897 };
13898
13899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13900 {
13901 PyThreadState* __tstate = wxPyBeginAllowThreads();
13902 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13903
13904 wxPyEndAllowThreads(__tstate);
13905 if (PyErr_Occurred()) SWIG_fail;
13906 }
13907 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13908 return resultobj;
13909 fail:
13910 return NULL;
13911}
13912
13913
13914static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13915 PyObject *resultobj;
13916 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13917 wxWindow *arg2 = (wxWindow *) 0 ;
13918 int arg3 ;
13919 wxString *arg4 = 0 ;
13920 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13921 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13922 wxSize const &arg6_defvalue = wxDefaultSize ;
13923 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13924 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13925 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13926 wxString *arg8 = (wxString *) &arg8_defvalue ;
13927 bool result;
13928 bool temp4 = False ;
13929 wxPoint temp5 ;
13930 wxSize temp6 ;
13931 bool temp8 = False ;
13932 PyObject * obj0 = 0 ;
13933 PyObject * obj1 = 0 ;
13934 PyObject * obj2 = 0 ;
13935 PyObject * obj3 = 0 ;
13936 PyObject * obj4 = 0 ;
13937 PyObject * obj5 = 0 ;
13938 PyObject * obj6 = 0 ;
13939 PyObject * obj7 = 0 ;
13940 char *kwnames[] = {
13941 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13942 };
13943
13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
13945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13946 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13947 {
13948 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
13949 if (PyErr_Occurred()) SWIG_fail;
13950 }
13951 {
13952 arg4 = wxString_in_helper(obj3);
13953 if (arg4 == NULL) SWIG_fail;
13954 temp4 = True;
13955 }
13956 if (obj4) {
13957 {
13958 arg5 = &temp5;
13959 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13960 }
13961 }
13962 if (obj5) {
13963 {
13964 arg6 = &temp6;
13965 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13966 }
13967 }
13968 if (obj6) {
13969 {
13970 arg7 = (long) SWIG_PyObj_AsLong(obj6);
13971 if (PyErr_Occurred()) SWIG_fail;
13972 }
13973 }
13974 if (obj7) {
13975 {
13976 arg8 = wxString_in_helper(obj7);
13977 if (arg8 == NULL) SWIG_fail;
13978 temp8 = True;
13979 }
13980 }
13981 {
13982 PyThreadState* __tstate = wxPyBeginAllowThreads();
13983 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13984
13985 wxPyEndAllowThreads(__tstate);
13986 if (PyErr_Occurred()) SWIG_fail;
13987 }
13988 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
13989 {
13990 if (temp4)
13991 delete arg4;
13992 }
13993 {
13994 if (temp8)
13995 delete arg8;
13996 }
13997 return resultobj;
13998 fail:
13999 {
14000 if (temp4)
14001 delete arg4;
14002 }
14003 {
14004 if (temp8)
14005 delete arg8;
14006 }
14007 return NULL;
14008}
14009
14010
14011static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14012 PyObject *resultobj;
14013 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14014 PyObject * obj0 = 0 ;
14015 char *kwnames[] = {
14016 (char *) "self", NULL
14017 };
14018
14019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14021 {
14022 PyThreadState* __tstate = wxPyBeginAllowThreads();
14023 (arg1)->ActivateNext();
14024
14025 wxPyEndAllowThreads(__tstate);
14026 if (PyErr_Occurred()) SWIG_fail;
14027 }
14028 Py_INCREF(Py_None); resultobj = Py_None;
14029 return resultobj;
14030 fail:
14031 return NULL;
14032}
14033
14034
14035static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14036 PyObject *resultobj;
14037 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14038 PyObject * obj0 = 0 ;
14039 char *kwnames[] = {
14040 (char *) "self", NULL
14041 };
14042
14043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14045 {
14046 PyThreadState* __tstate = wxPyBeginAllowThreads();
14047 (arg1)->ActivatePrevious();
14048
14049 wxPyEndAllowThreads(__tstate);
14050 if (PyErr_Occurred()) SWIG_fail;
14051 }
14052 Py_INCREF(Py_None); resultobj = Py_None;
14053 return resultobj;
14054 fail:
14055 return NULL;
14056}
14057
14058
14059static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14060 PyObject *resultobj;
14061 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14062 PyObject * obj0 = 0 ;
14063 char *kwnames[] = {
14064 (char *) "self", NULL
14065 };
14066
14067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14069 {
14070 PyThreadState* __tstate = wxPyBeginAllowThreads();
14071 (arg1)->ArrangeIcons();
14072
14073 wxPyEndAllowThreads(__tstate);
14074 if (PyErr_Occurred()) SWIG_fail;
14075 }
14076 Py_INCREF(Py_None); resultobj = Py_None;
14077 return resultobj;
14078 fail:
14079 return NULL;
14080}
14081
14082
14083static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14084 PyObject *resultobj;
14085 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14086 PyObject * obj0 = 0 ;
14087 char *kwnames[] = {
14088 (char *) "self", NULL
14089 };
14090
14091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14093 {
14094 PyThreadState* __tstate = wxPyBeginAllowThreads();
14095 (arg1)->Cascade();
14096
14097 wxPyEndAllowThreads(__tstate);
14098 if (PyErr_Occurred()) SWIG_fail;
14099 }
14100 Py_INCREF(Py_None); resultobj = Py_None;
14101 return resultobj;
14102 fail:
14103 return NULL;
14104}
14105
14106
14107static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14108 PyObject *resultobj;
14109 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14110 wxMDIChildFrame *result;
14111 PyObject * obj0 = 0 ;
14112 char *kwnames[] = {
14113 (char *) "self", NULL
14114 };
14115
14116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14118 {
14119 PyThreadState* __tstate = wxPyBeginAllowThreads();
14120 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14121
14122 wxPyEndAllowThreads(__tstate);
14123 if (PyErr_Occurred()) SWIG_fail;
14124 }
14125 {
14126 resultobj = wxPyMake_wxObject(result);
14127 }
14128 return resultobj;
14129 fail:
14130 return NULL;
14131}
14132
14133
14134static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14135 PyObject *resultobj;
14136 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14137 wxMDIClientWindow *result;
14138 PyObject * obj0 = 0 ;
14139 char *kwnames[] = {
14140 (char *) "self", NULL
14141 };
14142
14143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14145 {
14146 PyThreadState* __tstate = wxPyBeginAllowThreads();
14147 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14148
14149 wxPyEndAllowThreads(__tstate);
14150 if (PyErr_Occurred()) SWIG_fail;
14151 }
14152 {
14153 resultobj = wxPyMake_wxObject(result);
14154 }
14155 return resultobj;
14156 fail:
14157 return NULL;
14158}
14159
14160
14161static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14162 PyObject *resultobj;
14163 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14164 wxWindow *result;
14165 PyObject * obj0 = 0 ;
14166 char *kwnames[] = {
14167 (char *) "self", NULL
14168 };
14169
14170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14172 {
14173 PyThreadState* __tstate = wxPyBeginAllowThreads();
14174 result = (wxWindow *)(arg1)->GetToolBar();
14175
14176 wxPyEndAllowThreads(__tstate);
14177 if (PyErr_Occurred()) SWIG_fail;
14178 }
14179 {
14180 resultobj = wxPyMake_wxObject(result);
14181 }
14182 return resultobj;
14183 fail:
14184 return NULL;
14185}
14186
14187
14188static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14189 PyObject *resultobj;
14190 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14191 PyObject * obj0 = 0 ;
14192 char *kwnames[] = {
14193 (char *) "self", NULL
14194 };
14195
14196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14198 {
14199 PyThreadState* __tstate = wxPyBeginAllowThreads();
14200 (arg1)->Tile();
14201
14202 wxPyEndAllowThreads(__tstate);
14203 if (PyErr_Occurred()) SWIG_fail;
14204 }
14205 Py_INCREF(Py_None); resultobj = Py_None;
14206 return resultobj;
14207 fail:
14208 return NULL;
14209}
14210
14211
14212static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14213 PyObject *obj;
14214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14215 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14216 Py_INCREF(obj);
14217 return Py_BuildValue((char *)"");
14218}
14219static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14220 PyObject *resultobj;
14221 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14222 int arg2 ;
14223 wxString *arg3 = 0 ;
14224 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14225 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14226 wxSize const &arg5_defvalue = wxDefaultSize ;
14227 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14228 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14229 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14230 wxString *arg7 = (wxString *) &arg7_defvalue ;
14231 wxMDIChildFrame *result;
14232 bool temp3 = False ;
14233 wxPoint temp4 ;
14234 wxSize temp5 ;
14235 bool temp7 = False ;
14236 PyObject * obj0 = 0 ;
14237 PyObject * obj1 = 0 ;
14238 PyObject * obj2 = 0 ;
14239 PyObject * obj3 = 0 ;
14240 PyObject * obj4 = 0 ;
14241 PyObject * obj5 = 0 ;
14242 PyObject * obj6 = 0 ;
14243 char *kwnames[] = {
14244 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14245 };
14246
14247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
14248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14249 {
14250 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14251 if (PyErr_Occurred()) SWIG_fail;
14252 }
14253 {
14254 arg3 = wxString_in_helper(obj2);
14255 if (arg3 == NULL) SWIG_fail;
14256 temp3 = True;
14257 }
14258 if (obj3) {
14259 {
14260 arg4 = &temp4;
14261 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14262 }
14263 }
14264 if (obj4) {
14265 {
14266 arg5 = &temp5;
14267 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14268 }
14269 }
14270 if (obj5) {
14271 {
14272 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14273 if (PyErr_Occurred()) SWIG_fail;
14274 }
14275 }
14276 if (obj6) {
14277 {
14278 arg7 = wxString_in_helper(obj6);
14279 if (arg7 == NULL) SWIG_fail;
14280 temp7 = True;
14281 }
14282 }
14283 {
14284 PyThreadState* __tstate = wxPyBeginAllowThreads();
14285 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14286
14287 wxPyEndAllowThreads(__tstate);
14288 if (PyErr_Occurred()) SWIG_fail;
14289 }
14290 {
14291 resultobj = wxPyMake_wxObject(result);
14292 }
14293 {
14294 if (temp3)
14295 delete arg3;
14296 }
14297 {
14298 if (temp7)
14299 delete arg7;
14300 }
14301 return resultobj;
14302 fail:
14303 {
14304 if (temp3)
14305 delete arg3;
14306 }
14307 {
14308 if (temp7)
14309 delete arg7;
14310 }
14311 return NULL;
14312}
14313
14314
14315static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14316 PyObject *resultobj;
14317 wxMDIChildFrame *result;
14318 char *kwnames[] = {
14319 NULL
14320 };
14321
14322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14323 {
14324 PyThreadState* __tstate = wxPyBeginAllowThreads();
14325 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14326
14327 wxPyEndAllowThreads(__tstate);
14328 if (PyErr_Occurred()) SWIG_fail;
14329 }
14330 {
14331 resultobj = wxPyMake_wxObject(result);
14332 }
14333 return resultobj;
14334 fail:
14335 return NULL;
14336}
14337
14338
14339static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14340 PyObject *resultobj;
14341 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14342 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14343 int arg3 ;
14344 wxString *arg4 = 0 ;
14345 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14346 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14347 wxSize const &arg6_defvalue = wxDefaultSize ;
14348 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14349 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14350 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14351 wxString *arg8 = (wxString *) &arg8_defvalue ;
14352 bool result;
14353 bool temp4 = False ;
14354 wxPoint temp5 ;
14355 wxSize temp6 ;
14356 bool temp8 = False ;
14357 PyObject * obj0 = 0 ;
14358 PyObject * obj1 = 0 ;
14359 PyObject * obj2 = 0 ;
14360 PyObject * obj3 = 0 ;
14361 PyObject * obj4 = 0 ;
14362 PyObject * obj5 = 0 ;
14363 PyObject * obj6 = 0 ;
14364 PyObject * obj7 = 0 ;
14365 char *kwnames[] = {
14366 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14367 };
14368
14369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
14370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14371 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14372 {
14373 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
14374 if (PyErr_Occurred()) SWIG_fail;
14375 }
14376 {
14377 arg4 = wxString_in_helper(obj3);
14378 if (arg4 == NULL) SWIG_fail;
14379 temp4 = True;
14380 }
14381 if (obj4) {
14382 {
14383 arg5 = &temp5;
14384 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14385 }
14386 }
14387 if (obj5) {
14388 {
14389 arg6 = &temp6;
14390 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14391 }
14392 }
14393 if (obj6) {
14394 {
14395 arg7 = (long) SWIG_PyObj_AsLong(obj6);
14396 if (PyErr_Occurred()) SWIG_fail;
14397 }
14398 }
14399 if (obj7) {
14400 {
14401 arg8 = wxString_in_helper(obj7);
14402 if (arg8 == NULL) SWIG_fail;
14403 temp8 = True;
14404 }
14405 }
14406 {
14407 PyThreadState* __tstate = wxPyBeginAllowThreads();
14408 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14409
14410 wxPyEndAllowThreads(__tstate);
14411 if (PyErr_Occurred()) SWIG_fail;
14412 }
14413 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14414 {
14415 if (temp4)
14416 delete arg4;
14417 }
14418 {
14419 if (temp8)
14420 delete arg8;
14421 }
14422 return resultobj;
14423 fail:
14424 {
14425 if (temp4)
14426 delete arg4;
14427 }
14428 {
14429 if (temp8)
14430 delete arg8;
14431 }
14432 return NULL;
14433}
14434
14435
14436static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14437 PyObject *resultobj;
14438 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14439 PyObject * obj0 = 0 ;
14440 char *kwnames[] = {
14441 (char *) "self", NULL
14442 };
14443
14444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14446 {
14447 PyThreadState* __tstate = wxPyBeginAllowThreads();
14448 (arg1)->Activate();
14449
14450 wxPyEndAllowThreads(__tstate);
14451 if (PyErr_Occurred()) SWIG_fail;
14452 }
14453 Py_INCREF(Py_None); resultobj = Py_None;
14454 return resultobj;
14455 fail:
14456 return NULL;
14457}
14458
14459
14460static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14461 PyObject *resultobj;
14462 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14463 bool arg2 ;
14464 PyObject * obj0 = 0 ;
14465 PyObject * obj1 = 0 ;
14466 char *kwnames[] = {
14467 (char *) "self",(char *) "maximize", NULL
14468 };
14469
14470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14472 {
14473 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
14474 if (PyErr_Occurred()) SWIG_fail;
14475 }
14476 {
14477 PyThreadState* __tstate = wxPyBeginAllowThreads();
14478 (arg1)->Maximize(arg2);
14479
14480 wxPyEndAllowThreads(__tstate);
14481 if (PyErr_Occurred()) SWIG_fail;
14482 }
14483 Py_INCREF(Py_None); resultobj = Py_None;
14484 return resultobj;
14485 fail:
14486 return NULL;
14487}
14488
14489
14490static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14491 PyObject *resultobj;
14492 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14493 PyObject * obj0 = 0 ;
14494 char *kwnames[] = {
14495 (char *) "self", NULL
14496 };
14497
14498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14500 {
14501 PyThreadState* __tstate = wxPyBeginAllowThreads();
14502 (arg1)->Restore();
14503
14504 wxPyEndAllowThreads(__tstate);
14505 if (PyErr_Occurred()) SWIG_fail;
14506 }
14507 Py_INCREF(Py_None); resultobj = Py_None;
14508 return resultobj;
14509 fail:
14510 return NULL;
14511}
14512
14513
14514static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14515 PyObject *obj;
14516 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14517 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14518 Py_INCREF(obj);
14519 return Py_BuildValue((char *)"");
14520}
14521static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14522 PyObject *resultobj;
14523 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14524 long arg2 = (long) 0 ;
14525 wxMDIClientWindow *result;
14526 PyObject * obj0 = 0 ;
14527 PyObject * obj1 = 0 ;
14528 char *kwnames[] = {
14529 (char *) "parent",(char *) "style", NULL
14530 };
14531
14532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
14533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14534 if (obj1) {
14535 {
14536 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14537 if (PyErr_Occurred()) SWIG_fail;
14538 }
14539 }
14540 {
14541 PyThreadState* __tstate = wxPyBeginAllowThreads();
14542 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14543
14544 wxPyEndAllowThreads(__tstate);
14545 if (PyErr_Occurred()) SWIG_fail;
14546 }
14547 {
14548 resultobj = wxPyMake_wxObject(result);
14549 }
14550 return resultobj;
14551 fail:
14552 return NULL;
14553}
14554
14555
14556static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14557 PyObject *resultobj;
14558 wxMDIClientWindow *result;
14559 char *kwnames[] = {
14560 NULL
14561 };
14562
14563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14564 {
14565 PyThreadState* __tstate = wxPyBeginAllowThreads();
14566 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14567
14568 wxPyEndAllowThreads(__tstate);
14569 if (PyErr_Occurred()) SWIG_fail;
14570 }
14571 {
14572 resultobj = wxPyMake_wxObject(result);
14573 }
14574 return resultobj;
14575 fail:
14576 return NULL;
14577}
14578
14579
14580static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14581 PyObject *resultobj;
14582 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14583 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14584 long arg3 = (long) 0 ;
14585 bool result;
14586 PyObject * obj0 = 0 ;
14587 PyObject * obj1 = 0 ;
14588 PyObject * obj2 = 0 ;
14589 char *kwnames[] = {
14590 (char *) "self",(char *) "parent",(char *) "style", NULL
14591 };
14592
14593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
14594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14596 if (obj2) {
14597 {
14598 arg3 = (long) SWIG_PyObj_AsLong(obj2);
14599 if (PyErr_Occurred()) SWIG_fail;
14600 }
14601 }
14602 {
14603 PyThreadState* __tstate = wxPyBeginAllowThreads();
14604 result = (bool)(arg1)->Create(arg2,arg3);
14605
14606 wxPyEndAllowThreads(__tstate);
14607 if (PyErr_Occurred()) SWIG_fail;
14608 }
14609 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
14610 return resultobj;
14611 fail:
14612 return NULL;
14613}
14614
14615
14616static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
14617 PyObject *obj;
14618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14619 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
14620 Py_INCREF(obj);
14621 return Py_BuildValue((char *)"");
14622}
14623static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14624 PyObject *resultobj;
14625 wxWindow *arg1 = (wxWindow *) 0 ;
14626 int arg2 ;
14627 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14628 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14629 wxSize const &arg4_defvalue = wxDefaultSize ;
14630 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14631 long arg5 = (long) 0 ;
14632 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14633 wxString *arg6 = (wxString *) &arg6_defvalue ;
14634 wxPyWindow *result;
14635 wxPoint temp3 ;
14636 wxSize temp4 ;
14637 bool temp6 = False ;
14638 PyObject * obj0 = 0 ;
14639 PyObject * obj1 = 0 ;
14640 PyObject * obj2 = 0 ;
14641 PyObject * obj3 = 0 ;
14642 PyObject * obj4 = 0 ;
14643 PyObject * obj5 = 0 ;
14644 char *kwnames[] = {
14645 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14646 };
14647
14648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14650 {
14651 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14652 if (PyErr_Occurred()) SWIG_fail;
14653 }
14654 if (obj2) {
14655 {
14656 arg3 = &temp3;
14657 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14658 }
14659 }
14660 if (obj3) {
14661 {
14662 arg4 = &temp4;
14663 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14664 }
14665 }
14666 if (obj4) {
14667 {
14668 arg5 = (long) SWIG_PyObj_AsLong(obj4);
14669 if (PyErr_Occurred()) SWIG_fail;
14670 }
14671 }
14672 if (obj5) {
14673 {
14674 arg6 = wxString_in_helper(obj5);
14675 if (arg6 == NULL) SWIG_fail;
14676 temp6 = True;
14677 }
14678 }
14679 {
14680 PyThreadState* __tstate = wxPyBeginAllowThreads();
14681 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14682
14683 wxPyEndAllowThreads(__tstate);
14684 if (PyErr_Occurred()) SWIG_fail;
14685 }
14686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
14687 {
14688 if (temp6)
14689 delete arg6;
14690 }
14691 return resultobj;
14692 fail:
14693 {
14694 if (temp6)
14695 delete arg6;
14696 }
14697 return NULL;
14698}
14699
14700
14701static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14702 PyObject *resultobj;
14703 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14704 PyObject *arg2 = (PyObject *) 0 ;
14705 PyObject *arg3 = (PyObject *) 0 ;
14706 PyObject * obj0 = 0 ;
14707 PyObject * obj1 = 0 ;
14708 PyObject * obj2 = 0 ;
14709 char *kwnames[] = {
14710 (char *) "self",(char *) "self",(char *) "_class", NULL
14711 };
14712
14713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14715 arg2 = obj1;
14716 arg3 = obj2;
14717 {
14718 PyThreadState* __tstate = wxPyBeginAllowThreads();
14719 (arg1)->_setCallbackInfo(arg2,arg3);
14720
14721 wxPyEndAllowThreads(__tstate);
14722 if (PyErr_Occurred()) SWIG_fail;
14723 }
14724 Py_INCREF(Py_None); resultobj = Py_None;
14725 return resultobj;
14726 fail:
14727 return NULL;
14728}
14729
14730
14731static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14732 PyObject *resultobj;
14733 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14734 int arg2 ;
14735 int arg3 ;
14736 int arg4 ;
14737 int arg5 ;
14738 PyObject * obj0 = 0 ;
14739 PyObject * obj1 = 0 ;
14740 PyObject * obj2 = 0 ;
14741 PyObject * obj3 = 0 ;
14742 PyObject * obj4 = 0 ;
14743 char *kwnames[] = {
14744 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14745 };
14746
14747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
14748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14749 {
14750 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14751 if (PyErr_Occurred()) SWIG_fail;
14752 }
14753 {
14754 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14755 if (PyErr_Occurred()) SWIG_fail;
14756 }
14757 {
14758 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14759 if (PyErr_Occurred()) SWIG_fail;
14760 }
14761 {
14762 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14763 if (PyErr_Occurred()) SWIG_fail;
14764 }
14765 {
14766 PyThreadState* __tstate = wxPyBeginAllowThreads();
14767 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14768
14769 wxPyEndAllowThreads(__tstate);
14770 if (PyErr_Occurred()) SWIG_fail;
14771 }
14772 Py_INCREF(Py_None); resultobj = Py_None;
14773 return resultobj;
14774 fail:
14775 return NULL;
14776}
14777
14778
14779static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14780 PyObject *resultobj;
14781 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14782 int arg2 ;
14783 int arg3 ;
14784 int arg4 ;
14785 int arg5 ;
14786 int arg6 = (int) wxSIZE_AUTO ;
14787 PyObject * obj0 = 0 ;
14788 PyObject * obj1 = 0 ;
14789 PyObject * obj2 = 0 ;
14790 PyObject * obj3 = 0 ;
14791 PyObject * obj4 = 0 ;
14792 PyObject * obj5 = 0 ;
14793 char *kwnames[] = {
14794 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14795 };
14796
14797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
14798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14799 {
14800 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14801 if (PyErr_Occurred()) SWIG_fail;
14802 }
14803 {
14804 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14805 if (PyErr_Occurred()) SWIG_fail;
14806 }
14807 {
14808 arg4 = (int) SWIG_PyObj_AsInt(obj3);
14809 if (PyErr_Occurred()) SWIG_fail;
14810 }
14811 {
14812 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14813 if (PyErr_Occurred()) SWIG_fail;
14814 }
14815 if (obj5) {
14816 {
14817 arg6 = (int) SWIG_PyObj_AsInt(obj5);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 }
14821 {
14822 PyThreadState* __tstate = wxPyBeginAllowThreads();
14823 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14824
14825 wxPyEndAllowThreads(__tstate);
14826 if (PyErr_Occurred()) SWIG_fail;
14827 }
14828 Py_INCREF(Py_None); resultobj = Py_None;
14829 return resultobj;
14830 fail:
14831 return NULL;
14832}
14833
14834
14835static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj;
14837 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14838 int arg2 ;
14839 int arg3 ;
14840 PyObject * obj0 = 0 ;
14841 PyObject * obj1 = 0 ;
14842 PyObject * obj2 = 0 ;
14843 char *kwnames[] = {
14844 (char *) "self",(char *) "width",(char *) "height", NULL
14845 };
14846
14847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14849 {
14850 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14851 if (PyErr_Occurred()) SWIG_fail;
14852 }
14853 {
14854 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14855 if (PyErr_Occurred()) SWIG_fail;
14856 }
14857 {
14858 PyThreadState* __tstate = wxPyBeginAllowThreads();
14859 (arg1)->base_DoSetClientSize(arg2,arg3);
14860
14861 wxPyEndAllowThreads(__tstate);
14862 if (PyErr_Occurred()) SWIG_fail;
14863 }
14864 Py_INCREF(Py_None); resultobj = Py_None;
14865 return resultobj;
14866 fail:
14867 return NULL;
14868}
14869
14870
14871static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14872 PyObject *resultobj;
14873 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14874 int arg2 ;
14875 int arg3 ;
14876 PyObject * obj0 = 0 ;
14877 PyObject * obj1 = 0 ;
14878 PyObject * obj2 = 0 ;
14879 char *kwnames[] = {
14880 (char *) "self",(char *) "x",(char *) "y", NULL
14881 };
14882
14883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
14884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14885 {
14886 arg2 = (int) SWIG_PyObj_AsInt(obj1);
14887 if (PyErr_Occurred()) SWIG_fail;
14888 }
14889 {
14890 arg3 = (int) SWIG_PyObj_AsInt(obj2);
14891 if (PyErr_Occurred()) SWIG_fail;
14892 }
14893 {
14894 PyThreadState* __tstate = wxPyBeginAllowThreads();
14895 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14896
14897 wxPyEndAllowThreads(__tstate);
14898 if (PyErr_Occurred()) SWIG_fail;
14899 }
14900 Py_INCREF(Py_None); resultobj = Py_None;
14901 return resultobj;
14902 fail:
14903 return NULL;
14904}
14905
14906
14907static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14908 PyObject *resultobj;
14909 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14910 int *arg2 = (int *) 0 ;
14911 int *arg3 = (int *) 0 ;
14912 int temp2 ;
14913 int temp3 ;
14914 PyObject * obj0 = 0 ;
14915 char *kwnames[] = {
14916 (char *) "self", NULL
14917 };
14918
14919 arg2 = &temp2;
14920 arg3 = &temp3;
14921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
14922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14923 {
14924 PyThreadState* __tstate = wxPyBeginAllowThreads();
14925 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
14926
14927 wxPyEndAllowThreads(__tstate);
14928 if (PyErr_Occurred()) SWIG_fail;
14929 }
14930 Py_INCREF(Py_None); resultobj = Py_None;
14931 {
14932 PyObject *o = PyInt_FromLong((long) (*arg2));
14933 resultobj = t_output_helper(resultobj,o);
14934 }
14935 {
14936 PyObject *o = PyInt_FromLong((long) (*arg3));
14937 resultobj = t_output_helper(resultobj,o);
14938 }
14939 return resultobj;
14940 fail:
14941 return NULL;
14942}
14943
14944
14945static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14946 PyObject *resultobj;
14947 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14948 int *arg2 = (int *) 0 ;
14949 int *arg3 = (int *) 0 ;
14950 int temp2 ;
14951 int temp3 ;
14952 PyObject * obj0 = 0 ;
14953 char *kwnames[] = {
14954 (char *) "self", NULL
14955 };
14956
14957 arg2 = &temp2;
14958 arg3 = &temp3;
14959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14961 {
14962 PyThreadState* __tstate = wxPyBeginAllowThreads();
14963 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
14964
14965 wxPyEndAllowThreads(__tstate);
14966 if (PyErr_Occurred()) SWIG_fail;
14967 }
14968 Py_INCREF(Py_None); resultobj = Py_None;
14969 {
14970 PyObject *o = PyInt_FromLong((long) (*arg2));
14971 resultobj = t_output_helper(resultobj,o);
14972 }
14973 {
14974 PyObject *o = PyInt_FromLong((long) (*arg3));
14975 resultobj = t_output_helper(resultobj,o);
14976 }
14977 return resultobj;
14978 fail:
14979 return NULL;
14980}
14981
14982
14983static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14984 PyObject *resultobj;
14985 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14986 int *arg2 = (int *) 0 ;
14987 int *arg3 = (int *) 0 ;
14988 int temp2 ;
14989 int temp3 ;
14990 PyObject * obj0 = 0 ;
14991 char *kwnames[] = {
14992 (char *) "self", NULL
14993 };
14994
14995 arg2 = &temp2;
14996 arg3 = &temp3;
14997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
14998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14999 {
15000 PyThreadState* __tstate = wxPyBeginAllowThreads();
15001 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15002
15003 wxPyEndAllowThreads(__tstate);
15004 if (PyErr_Occurred()) SWIG_fail;
15005 }
15006 Py_INCREF(Py_None); resultobj = Py_None;
15007 {
15008 PyObject *o = PyInt_FromLong((long) (*arg2));
15009 resultobj = t_output_helper(resultobj,o);
15010 }
15011 {
15012 PyObject *o = PyInt_FromLong((long) (*arg3));
15013 resultobj = t_output_helper(resultobj,o);
15014 }
15015 return resultobj;
15016 fail:
15017 return NULL;
15018}
15019
15020
15021static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15022 PyObject *resultobj;
15023 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15024 wxSize result;
15025 PyObject * obj0 = 0 ;
15026 char *kwnames[] = {
15027 (char *) "self", NULL
15028 };
15029
15030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15032 {
15033 PyThreadState* __tstate = wxPyBeginAllowThreads();
15034 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15035
15036 wxPyEndAllowThreads(__tstate);
15037 if (PyErr_Occurred()) SWIG_fail;
15038 }
15039 {
15040 wxSize * resultptr;
15041 resultptr = new wxSize((wxSize &) result);
15042 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15043 }
15044 return resultobj;
15045 fail:
15046 return NULL;
15047}
15048
15049
15050static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15051 PyObject *resultobj;
15052 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15053 wxSize result;
15054 PyObject * obj0 = 0 ;
15055 char *kwnames[] = {
15056 (char *) "self", NULL
15057 };
15058
15059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15061 {
15062 PyThreadState* __tstate = wxPyBeginAllowThreads();
15063 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15064
15065 wxPyEndAllowThreads(__tstate);
15066 if (PyErr_Occurred()) SWIG_fail;
15067 }
15068 {
15069 wxSize * resultptr;
15070 resultptr = new wxSize((wxSize &) result);
15071 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15072 }
15073 return resultobj;
15074 fail:
15075 return NULL;
15076}
15077
15078
15079static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15080 PyObject *resultobj;
15081 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15082 PyObject * obj0 = 0 ;
15083 char *kwnames[] = {
15084 (char *) "self", NULL
15085 };
15086
15087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15089 {
15090 PyThreadState* __tstate = wxPyBeginAllowThreads();
15091 (arg1)->base_InitDialog();
15092
15093 wxPyEndAllowThreads(__tstate);
15094 if (PyErr_Occurred()) SWIG_fail;
15095 }
15096 Py_INCREF(Py_None); resultobj = Py_None;
15097 return resultobj;
15098 fail:
15099 return NULL;
15100}
15101
15102
15103static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15104 PyObject *resultobj;
15105 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15106 bool result;
15107 PyObject * obj0 = 0 ;
15108 char *kwnames[] = {
15109 (char *) "self", NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15114 {
15115 PyThreadState* __tstate = wxPyBeginAllowThreads();
15116 result = (bool)(arg1)->base_TransferDataToWindow();
15117
15118 wxPyEndAllowThreads(__tstate);
15119 if (PyErr_Occurred()) SWIG_fail;
15120 }
15121 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15122 return resultobj;
15123 fail:
15124 return NULL;
15125}
15126
15127
15128static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15129 PyObject *resultobj;
15130 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15131 bool result;
15132 PyObject * obj0 = 0 ;
15133 char *kwnames[] = {
15134 (char *) "self", NULL
15135 };
15136
15137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15139 {
15140 PyThreadState* __tstate = wxPyBeginAllowThreads();
15141 result = (bool)(arg1)->base_TransferDataFromWindow();
15142
15143 wxPyEndAllowThreads(__tstate);
15144 if (PyErr_Occurred()) SWIG_fail;
15145 }
15146 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15147 return resultobj;
15148 fail:
15149 return NULL;
15150}
15151
15152
15153static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15154 PyObject *resultobj;
15155 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15156 bool result;
15157 PyObject * obj0 = 0 ;
15158 char *kwnames[] = {
15159 (char *) "self", NULL
15160 };
15161
15162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 result = (bool)(arg1)->base_Validate();
15167
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
15171 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15172 return resultobj;
15173 fail:
15174 return NULL;
15175}
15176
15177
15178static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15179 PyObject *resultobj;
15180 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15181 bool result;
15182 PyObject * obj0 = 0 ;
15183 char *kwnames[] = {
15184 (char *) "self", NULL
15185 };
15186
15187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15189 {
15190 PyThreadState* __tstate = wxPyBeginAllowThreads();
15191 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15192
15193 wxPyEndAllowThreads(__tstate);
15194 if (PyErr_Occurred()) SWIG_fail;
15195 }
15196 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15197 return resultobj;
15198 fail:
15199 return NULL;
15200}
15201
15202
15203static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15204 PyObject *resultobj;
15205 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15206 bool result;
15207 PyObject * obj0 = 0 ;
15208 char *kwnames[] = {
15209 (char *) "self", NULL
15210 };
15211
15212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15214 {
15215 PyThreadState* __tstate = wxPyBeginAllowThreads();
15216 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15217
15218 wxPyEndAllowThreads(__tstate);
15219 if (PyErr_Occurred()) SWIG_fail;
15220 }
15221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15222 return resultobj;
15223 fail:
15224 return NULL;
15225}
15226
15227
15228static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15229 PyObject *resultobj;
15230 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15231 wxSize result;
15232 PyObject * obj0 = 0 ;
15233 char *kwnames[] = {
15234 (char *) "self", NULL
15235 };
15236
15237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15239 {
15240 PyThreadState* __tstate = wxPyBeginAllowThreads();
15241 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15242
15243 wxPyEndAllowThreads(__tstate);
15244 if (PyErr_Occurred()) SWIG_fail;
15245 }
15246 {
15247 wxSize * resultptr;
15248 resultptr = new wxSize((wxSize &) result);
15249 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15250 }
15251 return resultobj;
15252 fail:
15253 return NULL;
15254}
15255
15256
15257static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15258 PyObject *resultobj;
15259 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15260 wxWindow *arg2 = (wxWindow *) 0 ;
15261 PyObject * obj0 = 0 ;
15262 PyObject * obj1 = 0 ;
15263 char *kwnames[] = {
15264 (char *) "self",(char *) "child", NULL
15265 };
15266
15267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15269 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15270 {
15271 PyThreadState* __tstate = wxPyBeginAllowThreads();
15272 (arg1)->base_AddChild(arg2);
15273
15274 wxPyEndAllowThreads(__tstate);
15275 if (PyErr_Occurred()) SWIG_fail;
15276 }
15277 Py_INCREF(Py_None); resultobj = Py_None;
15278 return resultobj;
15279 fail:
15280 return NULL;
15281}
15282
15283
15284static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15285 PyObject *resultobj;
15286 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15287 wxWindow *arg2 = (wxWindow *) 0 ;
15288 PyObject * obj0 = 0 ;
15289 PyObject * obj1 = 0 ;
15290 char *kwnames[] = {
15291 (char *) "self",(char *) "child", NULL
15292 };
15293
15294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15297 {
15298 PyThreadState* __tstate = wxPyBeginAllowThreads();
15299 (arg1)->base_RemoveChild(arg2);
15300
15301 wxPyEndAllowThreads(__tstate);
15302 if (PyErr_Occurred()) SWIG_fail;
15303 }
15304 Py_INCREF(Py_None); resultobj = Py_None;
15305 return resultobj;
15306 fail:
15307 return NULL;
15308}
15309
15310
15311static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15312 PyObject *obj;
15313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15314 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15315 Py_INCREF(obj);
15316 return Py_BuildValue((char *)"");
15317}
15318static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15319 PyObject *resultobj;
15320 wxWindow *arg1 = (wxWindow *) 0 ;
15321 int arg2 ;
15322 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15323 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15324 wxSize const &arg4_defvalue = wxDefaultSize ;
15325 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15326 long arg5 = (long) 0 ;
15327 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15328 wxString *arg6 = (wxString *) &arg6_defvalue ;
15329 wxPyPanel *result;
15330 wxPoint temp3 ;
15331 wxSize temp4 ;
15332 bool temp6 = False ;
15333 PyObject * obj0 = 0 ;
15334 PyObject * obj1 = 0 ;
15335 PyObject * obj2 = 0 ;
15336 PyObject * obj3 = 0 ;
15337 PyObject * obj4 = 0 ;
15338 PyObject * obj5 = 0 ;
15339 char *kwnames[] = {
15340 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15341 };
15342
15343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15345 {
15346 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 if (obj2) {
15350 {
15351 arg3 = &temp3;
15352 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15353 }
15354 }
15355 if (obj3) {
15356 {
15357 arg4 = &temp4;
15358 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15359 }
15360 }
15361 if (obj4) {
15362 {
15363 arg5 = (long) SWIG_PyObj_AsLong(obj4);
15364 if (PyErr_Occurred()) SWIG_fail;
15365 }
15366 }
15367 if (obj5) {
15368 {
15369 arg6 = wxString_in_helper(obj5);
15370 if (arg6 == NULL) SWIG_fail;
15371 temp6 = True;
15372 }
15373 }
15374 {
15375 PyThreadState* __tstate = wxPyBeginAllowThreads();
15376 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15377
15378 wxPyEndAllowThreads(__tstate);
15379 if (PyErr_Occurred()) SWIG_fail;
15380 }
15381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
15382 {
15383 if (temp6)
15384 delete arg6;
15385 }
15386 return resultobj;
15387 fail:
15388 {
15389 if (temp6)
15390 delete arg6;
15391 }
15392 return NULL;
15393}
15394
15395
15396static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15397 PyObject *resultobj;
15398 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15399 PyObject *arg2 = (PyObject *) 0 ;
15400 PyObject *arg3 = (PyObject *) 0 ;
15401 PyObject * obj0 = 0 ;
15402 PyObject * obj1 = 0 ;
15403 PyObject * obj2 = 0 ;
15404 char *kwnames[] = {
15405 (char *) "self",(char *) "self",(char *) "_class", NULL
15406 };
15407
15408 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15409 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15410 arg2 = obj1;
15411 arg3 = obj2;
15412 {
15413 PyThreadState* __tstate = wxPyBeginAllowThreads();
15414 (arg1)->_setCallbackInfo(arg2,arg3);
15415
15416 wxPyEndAllowThreads(__tstate);
15417 if (PyErr_Occurred()) SWIG_fail;
15418 }
15419 Py_INCREF(Py_None); resultobj = Py_None;
15420 return resultobj;
15421 fail:
15422 return NULL;
15423}
15424
15425
15426static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15427 PyObject *resultobj;
15428 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15429 int arg2 ;
15430 int arg3 ;
15431 int arg4 ;
15432 int arg5 ;
15433 PyObject * obj0 = 0 ;
15434 PyObject * obj1 = 0 ;
15435 PyObject * obj2 = 0 ;
15436 PyObject * obj3 = 0 ;
15437 PyObject * obj4 = 0 ;
15438 char *kwnames[] = {
15439 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15440 };
15441
15442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
15443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15444 {
15445 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15446 if (PyErr_Occurred()) SWIG_fail;
15447 }
15448 {
15449 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15450 if (PyErr_Occurred()) SWIG_fail;
15451 }
15452 {
15453 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15454 if (PyErr_Occurred()) SWIG_fail;
15455 }
15456 {
15457 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15458 if (PyErr_Occurred()) SWIG_fail;
15459 }
15460 {
15461 PyThreadState* __tstate = wxPyBeginAllowThreads();
15462 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15463
15464 wxPyEndAllowThreads(__tstate);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 }
15467 Py_INCREF(Py_None); resultobj = Py_None;
15468 return resultobj;
15469 fail:
15470 return NULL;
15471}
15472
15473
15474static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15475 PyObject *resultobj;
15476 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15477 int arg2 ;
15478 int arg3 ;
15479 int arg4 ;
15480 int arg5 ;
15481 int arg6 = (int) wxSIZE_AUTO ;
15482 PyObject * obj0 = 0 ;
15483 PyObject * obj1 = 0 ;
15484 PyObject * obj2 = 0 ;
15485 PyObject * obj3 = 0 ;
15486 PyObject * obj4 = 0 ;
15487 PyObject * obj5 = 0 ;
15488 char *kwnames[] = {
15489 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15490 };
15491
15492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
15493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15494 {
15495 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15496 if (PyErr_Occurred()) SWIG_fail;
15497 }
15498 {
15499 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15500 if (PyErr_Occurred()) SWIG_fail;
15501 }
15502 {
15503 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15504 if (PyErr_Occurred()) SWIG_fail;
15505 }
15506 {
15507 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15508 if (PyErr_Occurred()) SWIG_fail;
15509 }
15510 if (obj5) {
15511 {
15512 arg6 = (int) SWIG_PyObj_AsInt(obj5);
15513 if (PyErr_Occurred()) SWIG_fail;
15514 }
15515 }
15516 {
15517 PyThreadState* __tstate = wxPyBeginAllowThreads();
15518 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15519
15520 wxPyEndAllowThreads(__tstate);
15521 if (PyErr_Occurred()) SWIG_fail;
15522 }
15523 Py_INCREF(Py_None); resultobj = Py_None;
15524 return resultobj;
15525 fail:
15526 return NULL;
15527}
15528
15529
15530static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15531 PyObject *resultobj;
15532 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15533 int arg2 ;
15534 int arg3 ;
15535 PyObject * obj0 = 0 ;
15536 PyObject * obj1 = 0 ;
15537 PyObject * obj2 = 0 ;
15538 char *kwnames[] = {
15539 (char *) "self",(char *) "width",(char *) "height", NULL
15540 };
15541
15542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15544 {
15545 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15546 if (PyErr_Occurred()) SWIG_fail;
15547 }
15548 {
15549 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15550 if (PyErr_Occurred()) SWIG_fail;
15551 }
15552 {
15553 PyThreadState* __tstate = wxPyBeginAllowThreads();
15554 (arg1)->base_DoSetClientSize(arg2,arg3);
15555
15556 wxPyEndAllowThreads(__tstate);
15557 if (PyErr_Occurred()) SWIG_fail;
15558 }
15559 Py_INCREF(Py_None); resultobj = Py_None;
15560 return resultobj;
15561 fail:
15562 return NULL;
15563}
15564
15565
15566static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15567 PyObject *resultobj;
15568 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15569 int arg2 ;
15570 int arg3 ;
15571 PyObject * obj0 = 0 ;
15572 PyObject * obj1 = 0 ;
15573 PyObject * obj2 = 0 ;
15574 char *kwnames[] = {
15575 (char *) "self",(char *) "x",(char *) "y", NULL
15576 };
15577
15578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
15579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15580 {
15581 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15582 if (PyErr_Occurred()) SWIG_fail;
15583 }
15584 {
15585 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15586 if (PyErr_Occurred()) SWIG_fail;
15587 }
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
15595 Py_INCREF(Py_None); resultobj = Py_None;
15596 return resultobj;
15597 fail:
15598 return NULL;
15599}
15600
15601
15602static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj;
15604 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15605 int *arg2 = (int *) 0 ;
15606 int *arg3 = (int *) 0 ;
15607 int temp2 ;
15608 int temp3 ;
15609 PyObject * obj0 = 0 ;
15610 char *kwnames[] = {
15611 (char *) "self", NULL
15612 };
15613
15614 arg2 = &temp2;
15615 arg3 = &temp3;
15616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
15617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15618 {
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
15621
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 Py_INCREF(Py_None); resultobj = Py_None;
15626 {
15627 PyObject *o = PyInt_FromLong((long) (*arg2));
15628 resultobj = t_output_helper(resultobj,o);
15629 }
15630 {
15631 PyObject *o = PyInt_FromLong((long) (*arg3));
15632 resultobj = t_output_helper(resultobj,o);
15633 }
15634 return resultobj;
15635 fail:
15636 return NULL;
15637}
15638
15639
15640static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15641 PyObject *resultobj;
15642 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15643 int *arg2 = (int *) 0 ;
15644 int *arg3 = (int *) 0 ;
15645 int temp2 ;
15646 int temp3 ;
15647 PyObject * obj0 = 0 ;
15648 char *kwnames[] = {
15649 (char *) "self", NULL
15650 };
15651
15652 arg2 = &temp2;
15653 arg3 = &temp3;
15654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15656 {
15657 PyThreadState* __tstate = wxPyBeginAllowThreads();
15658 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
15659
15660 wxPyEndAllowThreads(__tstate);
15661 if (PyErr_Occurred()) SWIG_fail;
15662 }
15663 Py_INCREF(Py_None); resultobj = Py_None;
15664 {
15665 PyObject *o = PyInt_FromLong((long) (*arg2));
15666 resultobj = t_output_helper(resultobj,o);
15667 }
15668 {
15669 PyObject *o = PyInt_FromLong((long) (*arg3));
15670 resultobj = t_output_helper(resultobj,o);
15671 }
15672 return resultobj;
15673 fail:
15674 return NULL;
15675}
15676
15677
15678static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15679 PyObject *resultobj;
15680 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15681 int *arg2 = (int *) 0 ;
15682 int *arg3 = (int *) 0 ;
15683 int temp2 ;
15684 int temp3 ;
15685 PyObject * obj0 = 0 ;
15686 char *kwnames[] = {
15687 (char *) "self", NULL
15688 };
15689
15690 arg2 = &temp2;
15691 arg3 = &temp3;
15692 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
15693 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15694 {
15695 PyThreadState* __tstate = wxPyBeginAllowThreads();
15696 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
15697
15698 wxPyEndAllowThreads(__tstate);
15699 if (PyErr_Occurred()) SWIG_fail;
15700 }
15701 Py_INCREF(Py_None); resultobj = Py_None;
15702 {
15703 PyObject *o = PyInt_FromLong((long) (*arg2));
15704 resultobj = t_output_helper(resultobj,o);
15705 }
15706 {
15707 PyObject *o = PyInt_FromLong((long) (*arg3));
15708 resultobj = t_output_helper(resultobj,o);
15709 }
15710 return resultobj;
15711 fail:
15712 return NULL;
15713}
15714
15715
15716static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15717 PyObject *resultobj;
15718 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15719 wxSize result;
15720 PyObject * obj0 = 0 ;
15721 char *kwnames[] = {
15722 (char *) "self", NULL
15723 };
15724
15725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15727 {
15728 PyThreadState* __tstate = wxPyBeginAllowThreads();
15729 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
15730
15731 wxPyEndAllowThreads(__tstate);
15732 if (PyErr_Occurred()) SWIG_fail;
15733 }
15734 {
15735 wxSize * resultptr;
15736 resultptr = new wxSize((wxSize &) result);
15737 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15738 }
15739 return resultobj;
15740 fail:
15741 return NULL;
15742}
15743
15744
15745static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj;
15747 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15748 wxSize result;
15749 PyObject * obj0 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self", NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15756 {
15757 PyThreadState* __tstate = wxPyBeginAllowThreads();
15758 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
15759
15760 wxPyEndAllowThreads(__tstate);
15761 if (PyErr_Occurred()) SWIG_fail;
15762 }
15763 {
15764 wxSize * resultptr;
15765 resultptr = new wxSize((wxSize &) result);
15766 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15767 }
15768 return resultobj;
15769 fail:
15770 return NULL;
15771}
15772
15773
15774static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15775 PyObject *resultobj;
15776 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15777 PyObject * obj0 = 0 ;
15778 char *kwnames[] = {
15779 (char *) "self", NULL
15780 };
15781
15782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
15783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15784 {
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 (arg1)->base_InitDialog();
15787
15788 wxPyEndAllowThreads(__tstate);
15789 if (PyErr_Occurred()) SWIG_fail;
15790 }
15791 Py_INCREF(Py_None); resultobj = Py_None;
15792 return resultobj;
15793 fail:
15794 return NULL;
15795}
15796
15797
15798static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15799 PyObject *resultobj;
15800 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15801 bool result;
15802 PyObject * obj0 = 0 ;
15803 char *kwnames[] = {
15804 (char *) "self", NULL
15805 };
15806
15807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15809 {
15810 PyThreadState* __tstate = wxPyBeginAllowThreads();
15811 result = (bool)(arg1)->base_TransferDataToWindow();
15812
15813 wxPyEndAllowThreads(__tstate);
15814 if (PyErr_Occurred()) SWIG_fail;
15815 }
15816 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15817 return resultobj;
15818 fail:
15819 return NULL;
15820}
15821
15822
15823static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15824 PyObject *resultobj;
15825 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15826 bool result;
15827 PyObject * obj0 = 0 ;
15828 char *kwnames[] = {
15829 (char *) "self", NULL
15830 };
15831
15832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15834 {
15835 PyThreadState* __tstate = wxPyBeginAllowThreads();
15836 result = (bool)(arg1)->base_TransferDataFromWindow();
15837
15838 wxPyEndAllowThreads(__tstate);
15839 if (PyErr_Occurred()) SWIG_fail;
15840 }
15841 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15842 return resultobj;
15843 fail:
15844 return NULL;
15845}
15846
15847
15848static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15849 PyObject *resultobj;
15850 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15851 bool result;
15852 PyObject * obj0 = 0 ;
15853 char *kwnames[] = {
15854 (char *) "self", NULL
15855 };
15856
15857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
15858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15859 {
15860 PyThreadState* __tstate = wxPyBeginAllowThreads();
15861 result = (bool)(arg1)->base_Validate();
15862
15863 wxPyEndAllowThreads(__tstate);
15864 if (PyErr_Occurred()) SWIG_fail;
15865 }
15866 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15867 return resultobj;
15868 fail:
15869 return NULL;
15870}
15871
15872
15873static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15876 bool result;
15877 PyObject * obj0 = 0 ;
15878 char *kwnames[] = {
15879 (char *) "self", NULL
15880 };
15881
15882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15884 {
15885 PyThreadState* __tstate = wxPyBeginAllowThreads();
15886 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
15887
15888 wxPyEndAllowThreads(__tstate);
15889 if (PyErr_Occurred()) SWIG_fail;
15890 }
15891 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15892 return resultobj;
15893 fail:
15894 return NULL;
15895}
15896
15897
15898static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15899 PyObject *resultobj;
15900 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15901 bool result;
15902 PyObject * obj0 = 0 ;
15903 char *kwnames[] = {
15904 (char *) "self", NULL
15905 };
15906
15907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15909 {
15910 PyThreadState* __tstate = wxPyBeginAllowThreads();
15911 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
15912
15913 wxPyEndAllowThreads(__tstate);
15914 if (PyErr_Occurred()) SWIG_fail;
15915 }
15916 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
15917 return resultobj;
15918 fail:
15919 return NULL;
15920}
15921
15922
15923static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15924 PyObject *resultobj;
15925 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15926 wxSize result;
15927 PyObject * obj0 = 0 ;
15928 char *kwnames[] = {
15929 (char *) "self", NULL
15930 };
15931
15932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15934 {
15935 PyThreadState* __tstate = wxPyBeginAllowThreads();
15936 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
15937
15938 wxPyEndAllowThreads(__tstate);
15939 if (PyErr_Occurred()) SWIG_fail;
15940 }
15941 {
15942 wxSize * resultptr;
15943 resultptr = new wxSize((wxSize &) result);
15944 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15945 }
15946 return resultobj;
15947 fail:
15948 return NULL;
15949}
15950
15951
15952static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15953 PyObject *resultobj;
15954 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15955 wxWindow *arg2 = (wxWindow *) 0 ;
15956 PyObject * obj0 = 0 ;
15957 PyObject * obj1 = 0 ;
15958 char *kwnames[] = {
15959 (char *) "self",(char *) "child", NULL
15960 };
15961
15962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15964 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15965 {
15966 PyThreadState* __tstate = wxPyBeginAllowThreads();
15967 (arg1)->base_AddChild(arg2);
15968
15969 wxPyEndAllowThreads(__tstate);
15970 if (PyErr_Occurred()) SWIG_fail;
15971 }
15972 Py_INCREF(Py_None); resultobj = Py_None;
15973 return resultobj;
15974 fail:
15975 return NULL;
15976}
15977
15978
15979static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15980 PyObject *resultobj;
15981 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15982 wxWindow *arg2 = (wxWindow *) 0 ;
15983 PyObject * obj0 = 0 ;
15984 PyObject * obj1 = 0 ;
15985 char *kwnames[] = {
15986 (char *) "self",(char *) "child", NULL
15987 };
15988
15989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15991 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15992 {
15993 PyThreadState* __tstate = wxPyBeginAllowThreads();
15994 (arg1)->base_RemoveChild(arg2);
15995
15996 wxPyEndAllowThreads(__tstate);
15997 if (PyErr_Occurred()) SWIG_fail;
15998 }
15999 Py_INCREF(Py_None); resultobj = Py_None;
16000 return resultobj;
16001 fail:
16002 return NULL;
16003}
16004
16005
16006static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16007 PyObject *obj;
16008 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16009 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16010 Py_INCREF(obj);
16011 return Py_BuildValue((char *)"");
16012}
16013static int _wrap_PrintoutTitleStr_set(PyObject *) {
16014 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
16015 return 1;
16016}
16017
16018
16019static PyObject *_wrap_PrintoutTitleStr_get() {
16020 PyObject *pyobj;
16021
16022 {
16023#if wxUSE_UNICODE
16024 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16025#else
16026 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16027#endif
16028 }
16029 return pyobj;
16030}
16031
16032
16033static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
16034 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
16035 return 1;
16036}
16037
16038
16039static PyObject *_wrap_PreviewCanvasNameStr_get() {
16040 PyObject *pyobj;
16041
16042 {
16043#if wxUSE_UNICODE
16044 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16045#else
16046 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16047#endif
16048 }
16049 return pyobj;
16050}
16051
16052
16053static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16054 PyObject *resultobj;
16055 wxPrintData *result;
16056 char *kwnames[] = {
16057 NULL
16058 };
16059
16060 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 result = (wxPrintData *)new wxPrintData();
16064
16065 wxPyEndAllowThreads(__tstate);
16066 if (PyErr_Occurred()) SWIG_fail;
16067 }
16068 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
16069 return resultobj;
16070 fail:
16071 return NULL;
16072}
16073
16074
16075static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 wxPrintData *arg1 = (wxPrintData *) 0 ;
16078 PyObject * obj0 = 0 ;
16079 char *kwnames[] = {
16080 (char *) "self", NULL
16081 };
16082
16083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
16084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16085 {
16086 PyThreadState* __tstate = wxPyBeginAllowThreads();
16087 delete arg1;
16088
16089 wxPyEndAllowThreads(__tstate);
16090 if (PyErr_Occurred()) SWIG_fail;
16091 }
16092 Py_INCREF(Py_None); resultobj = Py_None;
16093 return resultobj;
16094 fail:
16095 return NULL;
16096}
16097
16098
16099static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16100 PyObject *resultobj;
16101 wxPrintData *arg1 = (wxPrintData *) 0 ;
16102 int result;
16103 PyObject * obj0 = 0 ;
16104 char *kwnames[] = {
16105 (char *) "self", NULL
16106 };
16107
16108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
16109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16110 {
16111 PyThreadState* __tstate = wxPyBeginAllowThreads();
16112 result = (int)(arg1)->GetNoCopies();
16113
16114 wxPyEndAllowThreads(__tstate);
16115 if (PyErr_Occurred()) SWIG_fail;
16116 }
16117 resultobj = SWIG_PyObj_FromInt((int)result);
16118 return resultobj;
16119 fail:
16120 return NULL;
16121}
16122
16123
16124static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16125 PyObject *resultobj;
16126 wxPrintData *arg1 = (wxPrintData *) 0 ;
16127 bool result;
16128 PyObject * obj0 = 0 ;
16129 char *kwnames[] = {
16130 (char *) "self", NULL
16131 };
16132
16133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
16134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16135 {
16136 PyThreadState* __tstate = wxPyBeginAllowThreads();
16137 result = (bool)(arg1)->GetCollate();
16138
16139 wxPyEndAllowThreads(__tstate);
16140 if (PyErr_Occurred()) SWIG_fail;
16141 }
16142 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16143 return resultobj;
16144 fail:
16145 return NULL;
16146}
16147
16148
16149static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16150 PyObject *resultobj;
16151 wxPrintData *arg1 = (wxPrintData *) 0 ;
16152 int result;
16153 PyObject * obj0 = 0 ;
16154 char *kwnames[] = {
16155 (char *) "self", NULL
16156 };
16157
16158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
16159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16160 {
16161 PyThreadState* __tstate = wxPyBeginAllowThreads();
16162 result = (int)(arg1)->GetOrientation();
16163
16164 wxPyEndAllowThreads(__tstate);
16165 if (PyErr_Occurred()) SWIG_fail;
16166 }
16167 resultobj = SWIG_PyObj_FromInt((int)result);
16168 return resultobj;
16169 fail:
16170 return NULL;
16171}
16172
16173
16174static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16175 PyObject *resultobj;
16176 wxPrintData *arg1 = (wxPrintData *) 0 ;
16177 bool result;
16178 PyObject * obj0 = 0 ;
16179 char *kwnames[] = {
16180 (char *) "self", NULL
16181 };
16182
16183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
16184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16185 {
16186 PyThreadState* __tstate = wxPyBeginAllowThreads();
16187 result = (bool)(arg1)->Ok();
16188
16189 wxPyEndAllowThreads(__tstate);
16190 if (PyErr_Occurred()) SWIG_fail;
16191 }
16192 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16193 return resultobj;
16194 fail:
16195 return NULL;
16196}
16197
16198
16199static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16200 PyObject *resultobj;
16201 wxPrintData *arg1 = (wxPrintData *) 0 ;
16202 wxString *result;
16203 PyObject * obj0 = 0 ;
16204 char *kwnames[] = {
16205 (char *) "self", NULL
16206 };
16207
16208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
16209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16210 {
16211 PyThreadState* __tstate = wxPyBeginAllowThreads();
16212 {
16213 wxString const &_result_ref = (arg1)->GetPrinterName();
16214 result = (wxString *) &_result_ref;
16215 }
16216
16217 wxPyEndAllowThreads(__tstate);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 }
16220 {
16221#if wxUSE_UNICODE
16222 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16223#else
16224 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16225#endif
16226 }
16227 return resultobj;
16228 fail:
16229 return NULL;
16230}
16231
16232
16233static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16234 PyObject *resultobj;
16235 wxPrintData *arg1 = (wxPrintData *) 0 ;
16236 bool result;
16237 PyObject * obj0 = 0 ;
16238 char *kwnames[] = {
16239 (char *) "self", NULL
16240 };
16241
16242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
16243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16244 {
16245 PyThreadState* __tstate = wxPyBeginAllowThreads();
16246 result = (bool)(arg1)->GetColour();
16247
16248 wxPyEndAllowThreads(__tstate);
16249 if (PyErr_Occurred()) SWIG_fail;
16250 }
16251 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
16252 return resultobj;
16253 fail:
16254 return NULL;
16255}
16256
16257
16258static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16259 PyObject *resultobj;
16260 wxPrintData *arg1 = (wxPrintData *) 0 ;
16261 int result;
16262 PyObject * obj0 = 0 ;
16263 char *kwnames[] = {
16264 (char *) "self", NULL
16265 };
16266
16267 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
16268 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16269 {
16270 PyThreadState* __tstate = wxPyBeginAllowThreads();
16271 result = (int)(arg1)->GetDuplex();
16272
16273 wxPyEndAllowThreads(__tstate);
16274 if (PyErr_Occurred()) SWIG_fail;
16275 }
16276 resultobj = SWIG_PyObj_FromInt((int)result);
16277 return resultobj;
16278 fail:
16279 return NULL;
16280}
16281
16282
16283static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16284 PyObject *resultobj;
16285 wxPrintData *arg1 = (wxPrintData *) 0 ;
16286 int result;
16287 PyObject * obj0 = 0 ;
16288 char *kwnames[] = {
16289 (char *) "self", NULL
16290 };
16291
16292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
16293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16294 {
16295 PyThreadState* __tstate = wxPyBeginAllowThreads();
16296 result = (int)(arg1)->GetPaperId();
16297
16298 wxPyEndAllowThreads(__tstate);
16299 if (PyErr_Occurred()) SWIG_fail;
16300 }
16301 resultobj = SWIG_PyObj_FromInt((int)result);
16302 return resultobj;
16303 fail:
16304 return NULL;
16305}
16306
16307
16308static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16309 PyObject *resultobj;
16310 wxPrintData *arg1 = (wxPrintData *) 0 ;
16311 wxSize *result;
16312 PyObject * obj0 = 0 ;
16313 char *kwnames[] = {
16314 (char *) "self", NULL
16315 };
16316
16317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
16318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16319 {
16320 PyThreadState* __tstate = wxPyBeginAllowThreads();
16321 {
16322 wxSize const &_result_ref = (arg1)->GetPaperSize();
16323 result = (wxSize *) &_result_ref;
16324 }
16325
16326 wxPyEndAllowThreads(__tstate);
16327 if (PyErr_Occurred()) SWIG_fail;
16328 }
16329 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
16330 return resultobj;
16331 fail:
16332 return NULL;
16333}
16334
16335
16336static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxPrintData *arg1 = (wxPrintData *) 0 ;
16339 int result;
16340 PyObject * obj0 = 0 ;
16341 char *kwnames[] = {
16342 (char *) "self", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
16346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 result = (int)(arg1)->GetQuality();
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 resultobj = SWIG_PyObj_FromInt((int)result);
16355 return resultobj;
16356 fail:
16357 return NULL;
16358}
16359
16360
16361static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16362 PyObject *resultobj;
16363 wxPrintData *arg1 = (wxPrintData *) 0 ;
16364 int arg2 ;
16365 PyObject * obj0 = 0 ;
16366 PyObject * obj1 = 0 ;
16367 char *kwnames[] = {
16368 (char *) "self",(char *) "v", NULL
16369 };
16370
16371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
16372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16373 {
16374 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 {
16378 PyThreadState* __tstate = wxPyBeginAllowThreads();
16379 (arg1)->SetNoCopies(arg2);
16380
16381 wxPyEndAllowThreads(__tstate);
16382 if (PyErr_Occurred()) SWIG_fail;
16383 }
16384 Py_INCREF(Py_None); resultobj = Py_None;
16385 return resultobj;
16386 fail:
16387 return NULL;
16388}
16389
16390
16391static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16392 PyObject *resultobj;
16393 wxPrintData *arg1 = (wxPrintData *) 0 ;
16394 bool arg2 ;
16395 PyObject * obj0 = 0 ;
16396 PyObject * obj1 = 0 ;
16397 char *kwnames[] = {
16398 (char *) "self",(char *) "flag", NULL
16399 };
16400
16401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
16402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16403 {
16404 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
16407 {
16408 PyThreadState* __tstate = wxPyBeginAllowThreads();
16409 (arg1)->SetCollate(arg2);
16410
16411 wxPyEndAllowThreads(__tstate);
16412 if (PyErr_Occurred()) SWIG_fail;
16413 }
16414 Py_INCREF(Py_None); resultobj = Py_None;
16415 return resultobj;
16416 fail:
16417 return NULL;
16418}
16419
16420
16421static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16422 PyObject *resultobj;
16423 wxPrintData *arg1 = (wxPrintData *) 0 ;
16424 int arg2 ;
16425 PyObject * obj0 = 0 ;
16426 PyObject * obj1 = 0 ;
16427 char *kwnames[] = {
16428 (char *) "self",(char *) "orient", NULL
16429 };
16430
16431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
16432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16433 {
16434 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 {
16438 PyThreadState* __tstate = wxPyBeginAllowThreads();
16439 (arg1)->SetOrientation(arg2);
16440
16441 wxPyEndAllowThreads(__tstate);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 }
16444 Py_INCREF(Py_None); resultobj = Py_None;
16445 return resultobj;
16446 fail:
16447 return NULL;
16448}
16449
16450
16451static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
16453 wxPrintData *arg1 = (wxPrintData *) 0 ;
16454 wxString *arg2 = 0 ;
16455 bool temp2 = False ;
16456 PyObject * obj0 = 0 ;
16457 PyObject * obj1 = 0 ;
16458 char *kwnames[] = {
16459 (char *) "self",(char *) "name", NULL
16460 };
16461
16462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
16463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16464 {
16465 arg2 = wxString_in_helper(obj1);
16466 if (arg2 == NULL) SWIG_fail;
16467 temp2 = True;
16468 }
16469 {
16470 PyThreadState* __tstate = wxPyBeginAllowThreads();
16471 (arg1)->SetPrinterName((wxString const &)*arg2);
16472
16473 wxPyEndAllowThreads(__tstate);
16474 if (PyErr_Occurred()) SWIG_fail;
16475 }
16476 Py_INCREF(Py_None); resultobj = Py_None;
16477 {
16478 if (temp2)
16479 delete arg2;
16480 }
16481 return resultobj;
16482 fail:
16483 {
16484 if (temp2)
16485 delete arg2;
16486 }
16487 return NULL;
16488}
16489
16490
16491static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16492 PyObject *resultobj;
16493 wxPrintData *arg1 = (wxPrintData *) 0 ;
16494 bool arg2 ;
16495 PyObject * obj0 = 0 ;
16496 PyObject * obj1 = 0 ;
16497 char *kwnames[] = {
16498 (char *) "self",(char *) "colour", NULL
16499 };
16500
16501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
16502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16503 {
16504 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 }
16507 {
16508 PyThreadState* __tstate = wxPyBeginAllowThreads();
16509 (arg1)->SetColour(arg2);
16510
16511 wxPyEndAllowThreads(__tstate);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 Py_INCREF(Py_None); resultobj = Py_None;
16515 return resultobj;
16516 fail:
16517 return NULL;
16518}
16519
16520
16521static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16522 PyObject *resultobj;
16523 wxPrintData *arg1 = (wxPrintData *) 0 ;
16524 int arg2 ;
16525 PyObject * obj0 = 0 ;
16526 PyObject * obj1 = 0 ;
16527 char *kwnames[] = {
16528 (char *) "self",(char *) "duplex", NULL
16529 };
16530
16531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
16532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16533 {
16534 arg2 = (wxDuplexMode) SWIG_PyObj_AsInt(obj1);
16535 if (PyErr_Occurred()) SWIG_fail;
16536 }
16537 {
16538 PyThreadState* __tstate = wxPyBeginAllowThreads();
16539 (arg1)->SetDuplex((wxDuplexMode )arg2);
16540
16541 wxPyEndAllowThreads(__tstate);
16542 if (PyErr_Occurred()) SWIG_fail;
16543 }
16544 Py_INCREF(Py_None); resultobj = Py_None;
16545 return resultobj;
16546 fail:
16547 return NULL;
16548}
16549
16550
16551static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16552 PyObject *resultobj;
16553 wxPrintData *arg1 = (wxPrintData *) 0 ;
16554 int arg2 ;
16555 PyObject * obj0 = 0 ;
16556 PyObject * obj1 = 0 ;
16557 char *kwnames[] = {
16558 (char *) "self",(char *) "sizeId", NULL
16559 };
16560
16561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
16562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16563 {
16564 arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1);
16565 if (PyErr_Occurred()) SWIG_fail;
16566 }
16567 {
16568 PyThreadState* __tstate = wxPyBeginAllowThreads();
16569 (arg1)->SetPaperId((wxPaperSize )arg2);
16570
16571 wxPyEndAllowThreads(__tstate);
16572 if (PyErr_Occurred()) SWIG_fail;
16573 }
16574 Py_INCREF(Py_None); resultobj = Py_None;
16575 return resultobj;
16576 fail:
16577 return NULL;
16578}
16579
16580
16581static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16582 PyObject *resultobj;
16583 wxPrintData *arg1 = (wxPrintData *) 0 ;
16584 wxSize *arg2 = 0 ;
16585 wxSize temp2 ;
16586 PyObject * obj0 = 0 ;
16587 PyObject * obj1 = 0 ;
16588 char *kwnames[] = {
16589 (char *) "self",(char *) "sz", NULL
16590 };
16591
16592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16594 {
16595 arg2 = &temp2;
16596 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16597 }
16598 {
16599 PyThreadState* __tstate = wxPyBeginAllowThreads();
16600 (arg1)->SetPaperSize((wxSize const &)*arg2);
16601
16602 wxPyEndAllowThreads(__tstate);
16603 if (PyErr_Occurred()) SWIG_fail;
16604 }
16605 Py_INCREF(Py_None); resultobj = Py_None;
16606 return resultobj;
16607 fail:
16608 return NULL;
16609}
16610
16611
16612static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16613 PyObject *resultobj;
16614 wxPrintData *arg1 = (wxPrintData *) 0 ;
16615 int arg2 ;
16616 PyObject * obj0 = 0 ;
16617 PyObject * obj1 = 0 ;
16618 char *kwnames[] = {
16619 (char *) "self",(char *) "quality", NULL
16620 };
16621
16622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
16623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16624 {
16625 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16626 if (PyErr_Occurred()) SWIG_fail;
16627 }
16628 {
16629 PyThreadState* __tstate = wxPyBeginAllowThreads();
16630 (arg1)->SetQuality(arg2);
16631
16632 wxPyEndAllowThreads(__tstate);
16633 if (PyErr_Occurred()) SWIG_fail;
16634 }
16635 Py_INCREF(Py_None); resultobj = Py_None;
16636 return resultobj;
16637 fail:
16638 return NULL;
16639}
16640
16641
16642static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16643 PyObject *resultobj;
16644 wxPrintData *arg1 = (wxPrintData *) 0 ;
16645 wxString *result;
16646 PyObject * obj0 = 0 ;
16647 char *kwnames[] = {
16648 (char *) "self", NULL
16649 };
16650
16651 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
16652 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16653 {
16654 PyThreadState* __tstate = wxPyBeginAllowThreads();
16655 {
16656 wxString const &_result_ref = (arg1)->GetPrinterCommand();
16657 result = (wxString *) &_result_ref;
16658 }
16659
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 {
16664#if wxUSE_UNICODE
16665 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16666#else
16667 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16668#endif
16669 }
16670 return resultobj;
16671 fail:
16672 return NULL;
16673}
16674
16675
16676static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
16677 PyObject *resultobj;
16678 wxPrintData *arg1 = (wxPrintData *) 0 ;
16679 wxString *result;
16680 PyObject * obj0 = 0 ;
16681 char *kwnames[] = {
16682 (char *) "self", NULL
16683 };
16684
16685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
16686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16687 {
16688 PyThreadState* __tstate = wxPyBeginAllowThreads();
16689 {
16690 wxString const &_result_ref = (arg1)->GetPrinterOptions();
16691 result = (wxString *) &_result_ref;
16692 }
16693
16694 wxPyEndAllowThreads(__tstate);
16695 if (PyErr_Occurred()) SWIG_fail;
16696 }
16697 {
16698#if wxUSE_UNICODE
16699 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16700#else
16701 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16702#endif
16703 }
16704 return resultobj;
16705 fail:
16706 return NULL;
16707}
16708
16709
16710static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16711 PyObject *resultobj;
16712 wxPrintData *arg1 = (wxPrintData *) 0 ;
16713 wxString *result;
16714 PyObject * obj0 = 0 ;
16715 char *kwnames[] = {
16716 (char *) "self", NULL
16717 };
16718
16719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
16720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16721 {
16722 PyThreadState* __tstate = wxPyBeginAllowThreads();
16723 {
16724 wxString const &_result_ref = (arg1)->GetPreviewCommand();
16725 result = (wxString *) &_result_ref;
16726 }
16727
16728 wxPyEndAllowThreads(__tstate);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 }
16731 {
16732#if wxUSE_UNICODE
16733 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16734#else
16735 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16736#endif
16737 }
16738 return resultobj;
16739 fail:
16740 return NULL;
16741}
16742
16743
16744static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
16745 PyObject *resultobj;
16746 wxPrintData *arg1 = (wxPrintData *) 0 ;
16747 wxString *result;
16748 PyObject * obj0 = 0 ;
16749 char *kwnames[] = {
16750 (char *) "self", NULL
16751 };
16752
16753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
16754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16755 {
16756 PyThreadState* __tstate = wxPyBeginAllowThreads();
16757 {
16758 wxString const &_result_ref = (arg1)->GetFilename();
16759 result = (wxString *) &_result_ref;
16760 }
16761
16762 wxPyEndAllowThreads(__tstate);
16763 if (PyErr_Occurred()) SWIG_fail;
16764 }
16765 {
16766#if wxUSE_UNICODE
16767 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16768#else
16769 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16770#endif
16771 }
16772 return resultobj;
16773 fail:
16774 return NULL;
16775}
16776
16777
16778static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
16779 PyObject *resultobj;
16780 wxPrintData *arg1 = (wxPrintData *) 0 ;
16781 wxString *result;
16782 PyObject * obj0 = 0 ;
16783 char *kwnames[] = {
16784 (char *) "self", NULL
16785 };
16786
16787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
16788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16789 {
16790 PyThreadState* __tstate = wxPyBeginAllowThreads();
16791 {
16792 wxString const &_result_ref = (arg1)->GetFontMetricPath();
16793 result = (wxString *) &_result_ref;
16794 }
16795
16796 wxPyEndAllowThreads(__tstate);
16797 if (PyErr_Occurred()) SWIG_fail;
16798 }
16799 {
16800#if wxUSE_UNICODE
16801 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16802#else
16803 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16804#endif
16805 }
16806 return resultobj;
16807 fail:
16808 return NULL;
16809}
16810
16811
16812static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 wxPrintData *arg1 = (wxPrintData *) 0 ;
16815 double result;
16816 PyObject * obj0 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 result = (double)(arg1)->GetPrinterScaleX();
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 resultobj = SWIG_PyObj_FromDouble((double)result);
16831 return resultobj;
16832 fail:
16833 return NULL;
16834}
16835
16836
16837static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 wxPrintData *arg1 = (wxPrintData *) 0 ;
16840 double result;
16841 PyObject * obj0 = 0 ;
16842 char *kwnames[] = {
16843 (char *) "self", NULL
16844 };
16845
16846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
16847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16848 {
16849 PyThreadState* __tstate = wxPyBeginAllowThreads();
16850 result = (double)(arg1)->GetPrinterScaleY();
16851
16852 wxPyEndAllowThreads(__tstate);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 }
16855 resultobj = SWIG_PyObj_FromDouble((double)result);
16856 return resultobj;
16857 fail:
16858 return NULL;
16859}
16860
16861
16862static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16863 PyObject *resultobj;
16864 wxPrintData *arg1 = (wxPrintData *) 0 ;
16865 long result;
16866 PyObject * obj0 = 0 ;
16867 char *kwnames[] = {
16868 (char *) "self", NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
16872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16873 {
16874 PyThreadState* __tstate = wxPyBeginAllowThreads();
16875 result = (long)(arg1)->GetPrinterTranslateX();
16876
16877 wxPyEndAllowThreads(__tstate);
16878 if (PyErr_Occurred()) SWIG_fail;
16879 }
16880 resultobj = SWIG_PyObj_FromLong((long)result);
16881 return resultobj;
16882 fail:
16883 return NULL;
16884}
16885
16886
16887static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16888 PyObject *resultobj;
16889 wxPrintData *arg1 = (wxPrintData *) 0 ;
16890 long result;
16891 PyObject * obj0 = 0 ;
16892 char *kwnames[] = {
16893 (char *) "self", NULL
16894 };
16895
16896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
16897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16898 {
16899 PyThreadState* __tstate = wxPyBeginAllowThreads();
16900 result = (long)(arg1)->GetPrinterTranslateY();
16901
16902 wxPyEndAllowThreads(__tstate);
16903 if (PyErr_Occurred()) SWIG_fail;
16904 }
16905 resultobj = SWIG_PyObj_FromLong((long)result);
16906 return resultobj;
16907 fail:
16908 return NULL;
16909}
16910
16911
16912static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16913 PyObject *resultobj;
16914 wxPrintData *arg1 = (wxPrintData *) 0 ;
16915 int result;
16916 PyObject * obj0 = 0 ;
16917 char *kwnames[] = {
16918 (char *) "self", NULL
16919 };
16920
16921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
16922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16923 {
16924 PyThreadState* __tstate = wxPyBeginAllowThreads();
16925 result = (int)(arg1)->GetPrintMode();
16926
16927 wxPyEndAllowThreads(__tstate);
16928 if (PyErr_Occurred()) SWIG_fail;
16929 }
16930 resultobj = SWIG_PyObj_FromInt((int)result);
16931 return resultobj;
16932 fail:
16933 return NULL;
16934}
16935
16936
16937static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16938 PyObject *resultobj;
16939 wxPrintData *arg1 = (wxPrintData *) 0 ;
16940 wxString *arg2 = 0 ;
16941 bool temp2 = False ;
16942 PyObject * obj0 = 0 ;
16943 PyObject * obj1 = 0 ;
16944 char *kwnames[] = {
16945 (char *) "self",(char *) "command", NULL
16946 };
16947
16948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
16949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16950 {
16951 arg2 = wxString_in_helper(obj1);
16952 if (arg2 == NULL) SWIG_fail;
16953 temp2 = True;
16954 }
16955 {
16956 PyThreadState* __tstate = wxPyBeginAllowThreads();
16957 (arg1)->SetPrinterCommand((wxString const &)*arg2);
16958
16959 wxPyEndAllowThreads(__tstate);
16960 if (PyErr_Occurred()) SWIG_fail;
16961 }
16962 Py_INCREF(Py_None); resultobj = Py_None;
16963 {
16964 if (temp2)
16965 delete arg2;
16966 }
16967 return resultobj;
16968 fail:
16969 {
16970 if (temp2)
16971 delete arg2;
16972 }
16973 return NULL;
16974}
16975
16976
16977static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
16978 PyObject *resultobj;
16979 wxPrintData *arg1 = (wxPrintData *) 0 ;
16980 wxString *arg2 = 0 ;
16981 bool temp2 = False ;
16982 PyObject * obj0 = 0 ;
16983 PyObject * obj1 = 0 ;
16984 char *kwnames[] = {
16985 (char *) "self",(char *) "options", NULL
16986 };
16987
16988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
16989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16990 {
16991 arg2 = wxString_in_helper(obj1);
16992 if (arg2 == NULL) SWIG_fail;
16993 temp2 = True;
16994 }
16995 {
16996 PyThreadState* __tstate = wxPyBeginAllowThreads();
16997 (arg1)->SetPrinterOptions((wxString const &)*arg2);
16998
16999 wxPyEndAllowThreads(__tstate);
17000 if (PyErr_Occurred()) SWIG_fail;
17001 }
17002 Py_INCREF(Py_None); resultobj = Py_None;
17003 {
17004 if (temp2)
17005 delete arg2;
17006 }
17007 return resultobj;
17008 fail:
17009 {
17010 if (temp2)
17011 delete arg2;
17012 }
17013 return NULL;
17014}
17015
17016
17017static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxPrintData *arg1 = (wxPrintData *) 0 ;
17020 wxString *arg2 = 0 ;
17021 bool temp2 = False ;
17022 PyObject * obj0 = 0 ;
17023 PyObject * obj1 = 0 ;
17024 char *kwnames[] = {
17025 (char *) "self",(char *) "command", NULL
17026 };
17027
17028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
17029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17030 {
17031 arg2 = wxString_in_helper(obj1);
17032 if (arg2 == NULL) SWIG_fail;
17033 temp2 = True;
17034 }
17035 {
17036 PyThreadState* __tstate = wxPyBeginAllowThreads();
17037 (arg1)->SetPreviewCommand((wxString const &)*arg2);
17038
17039 wxPyEndAllowThreads(__tstate);
17040 if (PyErr_Occurred()) SWIG_fail;
17041 }
17042 Py_INCREF(Py_None); resultobj = Py_None;
17043 {
17044 if (temp2)
17045 delete arg2;
17046 }
17047 return resultobj;
17048 fail:
17049 {
17050 if (temp2)
17051 delete arg2;
17052 }
17053 return NULL;
17054}
17055
17056
17057static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17058 PyObject *resultobj;
17059 wxPrintData *arg1 = (wxPrintData *) 0 ;
17060 wxString *arg2 = 0 ;
17061 bool temp2 = False ;
17062 PyObject * obj0 = 0 ;
17063 PyObject * obj1 = 0 ;
17064 char *kwnames[] = {
17065 (char *) "self",(char *) "filename", NULL
17066 };
17067
17068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
17069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17070 {
17071 arg2 = wxString_in_helper(obj1);
17072 if (arg2 == NULL) SWIG_fail;
17073 temp2 = True;
17074 }
17075 {
17076 PyThreadState* __tstate = wxPyBeginAllowThreads();
17077 (arg1)->SetFilename((wxString const &)*arg2);
17078
17079 wxPyEndAllowThreads(__tstate);
17080 if (PyErr_Occurred()) SWIG_fail;
17081 }
17082 Py_INCREF(Py_None); resultobj = Py_None;
17083 {
17084 if (temp2)
17085 delete arg2;
17086 }
17087 return resultobj;
17088 fail:
17089 {
17090 if (temp2)
17091 delete arg2;
17092 }
17093 return NULL;
17094}
17095
17096
17097static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17098 PyObject *resultobj;
17099 wxPrintData *arg1 = (wxPrintData *) 0 ;
17100 wxString *arg2 = 0 ;
17101 bool temp2 = False ;
17102 PyObject * obj0 = 0 ;
17103 PyObject * obj1 = 0 ;
17104 char *kwnames[] = {
17105 (char *) "self",(char *) "path", NULL
17106 };
17107
17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
17109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17110 {
17111 arg2 = wxString_in_helper(obj1);
17112 if (arg2 == NULL) SWIG_fail;
17113 temp2 = True;
17114 }
17115 {
17116 PyThreadState* __tstate = wxPyBeginAllowThreads();
17117 (arg1)->SetFontMetricPath((wxString const &)*arg2);
17118
17119 wxPyEndAllowThreads(__tstate);
17120 if (PyErr_Occurred()) SWIG_fail;
17121 }
17122 Py_INCREF(Py_None); resultobj = Py_None;
17123 {
17124 if (temp2)
17125 delete arg2;
17126 }
17127 return resultobj;
17128 fail:
17129 {
17130 if (temp2)
17131 delete arg2;
17132 }
17133 return NULL;
17134}
17135
17136
17137static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17138 PyObject *resultobj;
17139 wxPrintData *arg1 = (wxPrintData *) 0 ;
17140 double arg2 ;
17141 PyObject * obj0 = 0 ;
17142 PyObject * obj1 = 0 ;
17143 char *kwnames[] = {
17144 (char *) "self",(char *) "x", NULL
17145 };
17146
17147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
17148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17149 {
17150 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 {
17154 PyThreadState* __tstate = wxPyBeginAllowThreads();
17155 (arg1)->SetPrinterScaleX(arg2);
17156
17157 wxPyEndAllowThreads(__tstate);
17158 if (PyErr_Occurred()) SWIG_fail;
17159 }
17160 Py_INCREF(Py_None); resultobj = Py_None;
17161 return resultobj;
17162 fail:
17163 return NULL;
17164}
17165
17166
17167static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj;
17169 wxPrintData *arg1 = (wxPrintData *) 0 ;
17170 double arg2 ;
17171 PyObject * obj0 = 0 ;
17172 PyObject * obj1 = 0 ;
17173 char *kwnames[] = {
17174 (char *) "self",(char *) "y", NULL
17175 };
17176
17177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
17178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17179 {
17180 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17181 if (PyErr_Occurred()) SWIG_fail;
17182 }
17183 {
17184 PyThreadState* __tstate = wxPyBeginAllowThreads();
17185 (arg1)->SetPrinterScaleY(arg2);
17186
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 Py_INCREF(Py_None); resultobj = Py_None;
17191 return resultobj;
17192 fail:
17193 return NULL;
17194}
17195
17196
17197static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
17198 PyObject *resultobj;
17199 wxPrintData *arg1 = (wxPrintData *) 0 ;
17200 double arg2 ;
17201 double arg3 ;
17202 PyObject * obj0 = 0 ;
17203 PyObject * obj1 = 0 ;
17204 PyObject * obj2 = 0 ;
17205 char *kwnames[] = {
17206 (char *) "self",(char *) "x",(char *) "y", NULL
17207 };
17208
17209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
17210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17211 {
17212 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17213 if (PyErr_Occurred()) SWIG_fail;
17214 }
17215 {
17216 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17217 if (PyErr_Occurred()) SWIG_fail;
17218 }
17219 {
17220 PyThreadState* __tstate = wxPyBeginAllowThreads();
17221 (arg1)->SetPrinterScaling(arg2,arg3);
17222
17223 wxPyEndAllowThreads(__tstate);
17224 if (PyErr_Occurred()) SWIG_fail;
17225 }
17226 Py_INCREF(Py_None); resultobj = Py_None;
17227 return resultobj;
17228 fail:
17229 return NULL;
17230}
17231
17232
17233static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17234 PyObject *resultobj;
17235 wxPrintData *arg1 = (wxPrintData *) 0 ;
17236 long arg2 ;
17237 PyObject * obj0 = 0 ;
17238 PyObject * obj1 = 0 ;
17239 char *kwnames[] = {
17240 (char *) "self",(char *) "x", NULL
17241 };
17242
17243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
17244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17245 {
17246 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17247 if (PyErr_Occurred()) SWIG_fail;
17248 }
17249 {
17250 PyThreadState* __tstate = wxPyBeginAllowThreads();
17251 (arg1)->SetPrinterTranslateX(arg2);
17252
17253 wxPyEndAllowThreads(__tstate);
17254 if (PyErr_Occurred()) SWIG_fail;
17255 }
17256 Py_INCREF(Py_None); resultobj = Py_None;
17257 return resultobj;
17258 fail:
17259 return NULL;
17260}
17261
17262
17263static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17264 PyObject *resultobj;
17265 wxPrintData *arg1 = (wxPrintData *) 0 ;
17266 long arg2 ;
17267 PyObject * obj0 = 0 ;
17268 PyObject * obj1 = 0 ;
17269 char *kwnames[] = {
17270 (char *) "self",(char *) "y", NULL
17271 };
17272
17273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
17274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17275 {
17276 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17277 if (PyErr_Occurred()) SWIG_fail;
17278 }
17279 {
17280 PyThreadState* __tstate = wxPyBeginAllowThreads();
17281 (arg1)->SetPrinterTranslateY(arg2);
17282
17283 wxPyEndAllowThreads(__tstate);
17284 if (PyErr_Occurred()) SWIG_fail;
17285 }
17286 Py_INCREF(Py_None); resultobj = Py_None;
17287 return resultobj;
17288 fail:
17289 return NULL;
17290}
17291
17292
17293static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
17294 PyObject *resultobj;
17295 wxPrintData *arg1 = (wxPrintData *) 0 ;
17296 long arg2 ;
17297 long arg3 ;
17298 PyObject * obj0 = 0 ;
17299 PyObject * obj1 = 0 ;
17300 PyObject * obj2 = 0 ;
17301 char *kwnames[] = {
17302 (char *) "self",(char *) "x",(char *) "y", NULL
17303 };
17304
17305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
17306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17307 {
17308 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17309 if (PyErr_Occurred()) SWIG_fail;
17310 }
17311 {
17312 arg3 = (long) SWIG_PyObj_AsLong(obj2);
17313 if (PyErr_Occurred()) SWIG_fail;
17314 }
17315 {
17316 PyThreadState* __tstate = wxPyBeginAllowThreads();
17317 (arg1)->SetPrinterTranslation(arg2,arg3);
17318
17319 wxPyEndAllowThreads(__tstate);
17320 if (PyErr_Occurred()) SWIG_fail;
17321 }
17322 Py_INCREF(Py_None); resultobj = Py_None;
17323 return resultobj;
17324 fail:
17325 return NULL;
17326}
17327
17328
17329static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17330 PyObject *resultobj;
17331 wxPrintData *arg1 = (wxPrintData *) 0 ;
17332 int arg2 ;
17333 PyObject * obj0 = 0 ;
17334 PyObject * obj1 = 0 ;
17335 char *kwnames[] = {
17336 (char *) "self",(char *) "printMode", NULL
17337 };
17338
17339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
17340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17341 {
17342 arg2 = (wxPrintMode) SWIG_PyObj_AsInt(obj1);
17343 if (PyErr_Occurred()) SWIG_fail;
17344 }
17345 {
17346 PyThreadState* __tstate = wxPyBeginAllowThreads();
17347 (arg1)->SetPrintMode((wxPrintMode )arg2);
17348
17349 wxPyEndAllowThreads(__tstate);
17350 if (PyErr_Occurred()) SWIG_fail;
17351 }
17352 Py_INCREF(Py_None); resultobj = Py_None;
17353 return resultobj;
17354 fail:
17355 return NULL;
17356}
17357
17358
17359static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
17360 PyObject *obj;
17361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17362 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
17363 Py_INCREF(obj);
17364 return Py_BuildValue((char *)"");
17365}
17366static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17367 PyObject *resultobj;
17368 wxPageSetupDialogData *result;
17369 char *kwnames[] = {
17370 NULL
17371 };
17372
17373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
17374 {
17375 PyThreadState* __tstate = wxPyBeginAllowThreads();
17376 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
17377
17378 wxPyEndAllowThreads(__tstate);
17379 if (PyErr_Occurred()) SWIG_fail;
17380 }
17381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
17382 return resultobj;
17383 fail:
17384 return NULL;
17385}
17386
17387
17388static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17389 PyObject *resultobj;
17390 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17391 PyObject * obj0 = 0 ;
17392 char *kwnames[] = {
17393 (char *) "self", NULL
17394 };
17395
17396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
17397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17398 {
17399 PyThreadState* __tstate = wxPyBeginAllowThreads();
17400 delete arg1;
17401
17402 wxPyEndAllowThreads(__tstate);
17403 if (PyErr_Occurred()) SWIG_fail;
17404 }
17405 Py_INCREF(Py_None); resultobj = Py_None;
17406 return resultobj;
17407 fail:
17408 return NULL;
17409}
17410
17411
17412static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17413 PyObject *resultobj;
17414 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17415 bool arg2 ;
17416 PyObject * obj0 = 0 ;
17417 PyObject * obj1 = 0 ;
17418 char *kwnames[] = {
17419 (char *) "self",(char *) "flag", NULL
17420 };
17421
17422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17424 {
17425 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17426 if (PyErr_Occurred()) SWIG_fail;
17427 }
17428 {
17429 PyThreadState* __tstate = wxPyBeginAllowThreads();
17430 (arg1)->EnableHelp(arg2);
17431
17432 wxPyEndAllowThreads(__tstate);
17433 if (PyErr_Occurred()) SWIG_fail;
17434 }
17435 Py_INCREF(Py_None); resultobj = Py_None;
17436 return resultobj;
17437 fail:
17438 return NULL;
17439}
17440
17441
17442static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17443 PyObject *resultobj;
17444 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17445 bool arg2 ;
17446 PyObject * obj0 = 0 ;
17447 PyObject * obj1 = 0 ;
17448 char *kwnames[] = {
17449 (char *) "self",(char *) "flag", NULL
17450 };
17451
17452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
17453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17454 {
17455 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17456 if (PyErr_Occurred()) SWIG_fail;
17457 }
17458 {
17459 PyThreadState* __tstate = wxPyBeginAllowThreads();
17460 (arg1)->EnableMargins(arg2);
17461
17462 wxPyEndAllowThreads(__tstate);
17463 if (PyErr_Occurred()) SWIG_fail;
17464 }
17465 Py_INCREF(Py_None); resultobj = Py_None;
17466 return resultobj;
17467 fail:
17468 return NULL;
17469}
17470
17471
17472static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17473 PyObject *resultobj;
17474 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17475 bool arg2 ;
17476 PyObject * obj0 = 0 ;
17477 PyObject * obj1 = 0 ;
17478 char *kwnames[] = {
17479 (char *) "self",(char *) "flag", NULL
17480 };
17481
17482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
17483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17484 {
17485 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17486 if (PyErr_Occurred()) SWIG_fail;
17487 }
17488 {
17489 PyThreadState* __tstate = wxPyBeginAllowThreads();
17490 (arg1)->EnableOrientation(arg2);
17491
17492 wxPyEndAllowThreads(__tstate);
17493 if (PyErr_Occurred()) SWIG_fail;
17494 }
17495 Py_INCREF(Py_None); resultobj = Py_None;
17496 return resultobj;
17497 fail:
17498 return NULL;
17499}
17500
17501
17502static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17503 PyObject *resultobj;
17504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17505 bool arg2 ;
17506 PyObject * obj0 = 0 ;
17507 PyObject * obj1 = 0 ;
17508 char *kwnames[] = {
17509 (char *) "self",(char *) "flag", NULL
17510 };
17511
17512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
17513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17514 {
17515 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17516 if (PyErr_Occurred()) SWIG_fail;
17517 }
17518 {
17519 PyThreadState* __tstate = wxPyBeginAllowThreads();
17520 (arg1)->EnablePaper(arg2);
17521
17522 wxPyEndAllowThreads(__tstate);
17523 if (PyErr_Occurred()) SWIG_fail;
17524 }
17525 Py_INCREF(Py_None); resultobj = Py_None;
17526 return resultobj;
17527 fail:
17528 return NULL;
17529}
17530
17531
17532static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17533 PyObject *resultobj;
17534 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17535 bool arg2 ;
17536 PyObject * obj0 = 0 ;
17537 PyObject * obj1 = 0 ;
17538 char *kwnames[] = {
17539 (char *) "self",(char *) "flag", NULL
17540 };
17541
17542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
17543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17544 {
17545 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17546 if (PyErr_Occurred()) SWIG_fail;
17547 }
17548 {
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 (arg1)->EnablePrinter(arg2);
17551
17552 wxPyEndAllowThreads(__tstate);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
17555 Py_INCREF(Py_None); resultobj = Py_None;
17556 return resultobj;
17557 fail:
17558 return NULL;
17559}
17560
17561
17562static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17563 PyObject *resultobj;
17564 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17565 bool result;
17566 PyObject * obj0 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
17572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 result = (bool)(arg1)->GetDefaultMinMargins();
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17581 return resultobj;
17582 fail:
17583 return NULL;
17584}
17585
17586
17587static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17588 PyObject *resultobj;
17589 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17590 bool result;
17591 PyObject * obj0 = 0 ;
17592 char *kwnames[] = {
17593 (char *) "self", NULL
17594 };
17595
17596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
17597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 result = (bool)(arg1)->GetEnableMargins();
17601
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17606 return resultobj;
17607 fail:
17608 return NULL;
17609}
17610
17611
17612static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj;
17614 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17615 bool result;
17616 PyObject * obj0 = 0 ;
17617 char *kwnames[] = {
17618 (char *) "self", NULL
17619 };
17620
17621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
17622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17623 {
17624 PyThreadState* __tstate = wxPyBeginAllowThreads();
17625 result = (bool)(arg1)->GetEnableOrientation();
17626
17627 wxPyEndAllowThreads(__tstate);
17628 if (PyErr_Occurred()) SWIG_fail;
17629 }
17630 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17631 return resultobj;
17632 fail:
17633 return NULL;
17634}
17635
17636
17637static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17638 PyObject *resultobj;
17639 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17640 bool result;
17641 PyObject * obj0 = 0 ;
17642 char *kwnames[] = {
17643 (char *) "self", NULL
17644 };
17645
17646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
17647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 result = (bool)(arg1)->GetEnablePaper();
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17656 return resultobj;
17657 fail:
17658 return NULL;
17659}
17660
17661
17662static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17665 bool result;
17666 PyObject * obj0 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
17672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 result = (bool)(arg1)->GetEnablePrinter();
17676
17677 wxPyEndAllowThreads(__tstate);
17678 if (PyErr_Occurred()) SWIG_fail;
17679 }
17680 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17681 return resultobj;
17682 fail:
17683 return NULL;
17684}
17685
17686
17687static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17688 PyObject *resultobj;
17689 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17690 bool result;
17691 PyObject * obj0 = 0 ;
17692 char *kwnames[] = {
17693 (char *) "self", NULL
17694 };
17695
17696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17698 {
17699 PyThreadState* __tstate = wxPyBeginAllowThreads();
17700 result = (bool)(arg1)->GetEnableHelp();
17701
17702 wxPyEndAllowThreads(__tstate);
17703 if (PyErr_Occurred()) SWIG_fail;
17704 }
17705 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17706 return resultobj;
17707 fail:
17708 return NULL;
17709}
17710
17711
17712static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17713 PyObject *resultobj;
17714 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17715 bool result;
17716 PyObject * obj0 = 0 ;
17717 char *kwnames[] = {
17718 (char *) "self", NULL
17719 };
17720
17721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
17722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17723 {
17724 PyThreadState* __tstate = wxPyBeginAllowThreads();
17725 result = (bool)(arg1)->GetDefaultInfo();
17726
17727 wxPyEndAllowThreads(__tstate);
17728 if (PyErr_Occurred()) SWIG_fail;
17729 }
17730 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17731 return resultobj;
17732 fail:
17733 return NULL;
17734}
17735
17736
17737static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17738 PyObject *resultobj;
17739 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17740 wxPoint result;
17741 PyObject * obj0 = 0 ;
17742 char *kwnames[] = {
17743 (char *) "self", NULL
17744 };
17745
17746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
17747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 result = (arg1)->GetMarginTopLeft();
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 {
17756 wxPoint * resultptr;
17757 resultptr = new wxPoint((wxPoint &) result);
17758 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17759 }
17760 return resultobj;
17761 fail:
17762 return NULL;
17763}
17764
17765
17766static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17767 PyObject *resultobj;
17768 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17769 wxPoint result;
17770 PyObject * obj0 = 0 ;
17771 char *kwnames[] = {
17772 (char *) "self", NULL
17773 };
17774
17775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
17776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17777 {
17778 PyThreadState* __tstate = wxPyBeginAllowThreads();
17779 result = (arg1)->GetMarginBottomRight();
17780
17781 wxPyEndAllowThreads(__tstate);
17782 if (PyErr_Occurred()) SWIG_fail;
17783 }
17784 {
17785 wxPoint * resultptr;
17786 resultptr = new wxPoint((wxPoint &) result);
17787 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17788 }
17789 return resultobj;
17790 fail:
17791 return NULL;
17792}
17793
17794
17795static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17796 PyObject *resultobj;
17797 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17798 wxPoint result;
17799 PyObject * obj0 = 0 ;
17800 char *kwnames[] = {
17801 (char *) "self", NULL
17802 };
17803
17804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
17805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17806 {
17807 PyThreadState* __tstate = wxPyBeginAllowThreads();
17808 result = (arg1)->GetMinMarginTopLeft();
17809
17810 wxPyEndAllowThreads(__tstate);
17811 if (PyErr_Occurred()) SWIG_fail;
17812 }
17813 {
17814 wxPoint * resultptr;
17815 resultptr = new wxPoint((wxPoint &) result);
17816 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17817 }
17818 return resultobj;
17819 fail:
17820 return NULL;
17821}
17822
17823
17824static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17825 PyObject *resultobj;
17826 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17827 wxPoint result;
17828 PyObject * obj0 = 0 ;
17829 char *kwnames[] = {
17830 (char *) "self", NULL
17831 };
17832
17833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
17834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17835 {
17836 PyThreadState* __tstate = wxPyBeginAllowThreads();
17837 result = (arg1)->GetMinMarginBottomRight();
17838
17839 wxPyEndAllowThreads(__tstate);
17840 if (PyErr_Occurred()) SWIG_fail;
17841 }
17842 {
17843 wxPoint * resultptr;
17844 resultptr = new wxPoint((wxPoint &) result);
17845 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
17846 }
17847 return resultobj;
17848 fail:
17849 return NULL;
17850}
17851
17852
17853static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17854 PyObject *resultobj;
17855 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17856 int result;
17857 PyObject * obj0 = 0 ;
17858 char *kwnames[] = {
17859 (char *) "self", NULL
17860 };
17861
17862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
17863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17864 {
17865 PyThreadState* __tstate = wxPyBeginAllowThreads();
17866 result = (int)(arg1)->GetPaperId();
17867
17868 wxPyEndAllowThreads(__tstate);
17869 if (PyErr_Occurred()) SWIG_fail;
17870 }
17871 resultobj = SWIG_PyObj_FromInt((int)result);
17872 return resultobj;
17873 fail:
17874 return NULL;
17875}
17876
17877
17878static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17879 PyObject *resultobj;
17880 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17881 wxSize result;
17882 PyObject * obj0 = 0 ;
17883 char *kwnames[] = {
17884 (char *) "self", NULL
17885 };
17886
17887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
17888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (arg1)->GetPaperSize();
17892
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 {
17897 wxSize * resultptr;
17898 resultptr = new wxSize((wxSize &) result);
17899 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
17900 }
17901 return resultobj;
17902 fail:
17903 return NULL;
17904}
17905
17906
17907static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17908 PyObject *resultobj;
17909 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17910 wxPrintData *result;
17911 PyObject * obj0 = 0 ;
17912 char *kwnames[] = {
17913 (char *) "self", NULL
17914 };
17915
17916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17918 {
17919 PyThreadState* __tstate = wxPyBeginAllowThreads();
17920 {
17921 wxPrintData &_result_ref = (arg1)->GetPrintData();
17922 result = (wxPrintData *) &_result_ref;
17923 }
17924
17925 wxPyEndAllowThreads(__tstate);
17926 if (PyErr_Occurred()) SWIG_fail;
17927 }
17928 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17929 return resultobj;
17930 fail:
17931 return NULL;
17932}
17933
17934
17935static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17936 PyObject *resultobj;
17937 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17938 bool result;
17939 PyObject * obj0 = 0 ;
17940 char *kwnames[] = {
17941 (char *) "self", NULL
17942 };
17943
17944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
17945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17946 {
17947 PyThreadState* __tstate = wxPyBeginAllowThreads();
17948 result = (bool)(arg1)->Ok();
17949
17950 wxPyEndAllowThreads(__tstate);
17951 if (PyErr_Occurred()) SWIG_fail;
17952 }
17953 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
17954 return resultobj;
17955 fail:
17956 return NULL;
17957}
17958
17959
17960static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
17961 PyObject *resultobj;
17962 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17963 bool arg2 ;
17964 PyObject * obj0 = 0 ;
17965 PyObject * obj1 = 0 ;
17966 char *kwnames[] = {
17967 (char *) "self",(char *) "flag", NULL
17968 };
17969
17970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
17971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17972 {
17973 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
17974 if (PyErr_Occurred()) SWIG_fail;
17975 }
17976 {
17977 PyThreadState* __tstate = wxPyBeginAllowThreads();
17978 (arg1)->SetDefaultInfo(arg2);
17979
17980 wxPyEndAllowThreads(__tstate);
17981 if (PyErr_Occurred()) SWIG_fail;
17982 }
17983 Py_INCREF(Py_None); resultobj = Py_None;
17984 return resultobj;
17985 fail:
17986 return NULL;
17987}
17988
17989
17990static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17991 PyObject *resultobj;
17992 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17993 bool arg2 ;
17994 PyObject * obj0 = 0 ;
17995 PyObject * obj1 = 0 ;
17996 char *kwnames[] = {
17997 (char *) "self",(char *) "flag", NULL
17998 };
17999
18000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
18001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18002 {
18003 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 {
18007 PyThreadState* __tstate = wxPyBeginAllowThreads();
18008 (arg1)->SetDefaultMinMargins(arg2);
18009
18010 wxPyEndAllowThreads(__tstate);
18011 if (PyErr_Occurred()) SWIG_fail;
18012 }
18013 Py_INCREF(Py_None); resultobj = Py_None;
18014 return resultobj;
18015 fail:
18016 return NULL;
18017}
18018
18019
18020static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18021 PyObject *resultobj;
18022 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18023 wxPoint *arg2 = 0 ;
18024 wxPoint temp2 ;
18025 PyObject * obj0 = 0 ;
18026 PyObject * obj1 = 0 ;
18027 char *kwnames[] = {
18028 (char *) "self",(char *) "pt", NULL
18029 };
18030
18031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18033 {
18034 arg2 = &temp2;
18035 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18036 }
18037 {
18038 PyThreadState* __tstate = wxPyBeginAllowThreads();
18039 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
18040
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 Py_INCREF(Py_None); resultobj = Py_None;
18045 return resultobj;
18046 fail:
18047 return NULL;
18048}
18049
18050
18051static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18052 PyObject *resultobj;
18053 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18054 wxPoint *arg2 = 0 ;
18055 wxPoint temp2 ;
18056 PyObject * obj0 = 0 ;
18057 PyObject * obj1 = 0 ;
18058 char *kwnames[] = {
18059 (char *) "self",(char *) "pt", NULL
18060 };
18061
18062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18064 {
18065 arg2 = &temp2;
18066 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18067 }
18068 {
18069 PyThreadState* __tstate = wxPyBeginAllowThreads();
18070 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
18071
18072 wxPyEndAllowThreads(__tstate);
18073 if (PyErr_Occurred()) SWIG_fail;
18074 }
18075 Py_INCREF(Py_None); resultobj = Py_None;
18076 return resultobj;
18077 fail:
18078 return NULL;
18079}
18080
18081
18082static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18083 PyObject *resultobj;
18084 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18085 wxPoint *arg2 = 0 ;
18086 wxPoint temp2 ;
18087 PyObject * obj0 = 0 ;
18088 PyObject * obj1 = 0 ;
18089 char *kwnames[] = {
18090 (char *) "self",(char *) "pt", NULL
18091 };
18092
18093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18095 {
18096 arg2 = &temp2;
18097 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18098 }
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
18102
18103 wxPyEndAllowThreads(__tstate);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
18106 Py_INCREF(Py_None); resultobj = Py_None;
18107 return resultobj;
18108 fail:
18109 return NULL;
18110}
18111
18112
18113static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18114 PyObject *resultobj;
18115 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18116 wxPoint *arg2 = 0 ;
18117 wxPoint temp2 ;
18118 PyObject * obj0 = 0 ;
18119 PyObject * obj1 = 0 ;
18120 char *kwnames[] = {
18121 (char *) "self",(char *) "pt", NULL
18122 };
18123
18124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18126 {
18127 arg2 = &temp2;
18128 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18129 }
18130 {
18131 PyThreadState* __tstate = wxPyBeginAllowThreads();
18132 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
18133
18134 wxPyEndAllowThreads(__tstate);
18135 if (PyErr_Occurred()) SWIG_fail;
18136 }
18137 Py_INCREF(Py_None); resultobj = Py_None;
18138 return resultobj;
18139 fail:
18140 return NULL;
18141}
18142
18143
18144static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18145 PyObject *resultobj;
18146 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18147 int arg2 ;
18148 PyObject * obj0 = 0 ;
18149 PyObject * obj1 = 0 ;
18150 char *kwnames[] = {
18151 (char *) "self",(char *) "id", NULL
18152 };
18153
18154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
18155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18156 {
18157 arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1);
18158 if (PyErr_Occurred()) SWIG_fail;
18159 }
18160 {
18161 PyThreadState* __tstate = wxPyBeginAllowThreads();
18162 (arg1)->SetPaperId((wxPaperSize )arg2);
18163
18164 wxPyEndAllowThreads(__tstate);
18165 if (PyErr_Occurred()) SWIG_fail;
18166 }
18167 Py_INCREF(Py_None); resultobj = Py_None;
18168 return resultobj;
18169 fail:
18170 return NULL;
18171}
18172
18173
18174static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18175 PyObject *resultobj;
18176 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18177 wxSize *arg2 = 0 ;
18178 wxSize temp2 ;
18179 PyObject * obj0 = 0 ;
18180 PyObject * obj1 = 0 ;
18181 char *kwnames[] = {
18182 (char *) "self",(char *) "size", NULL
18183 };
18184
18185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18187 {
18188 arg2 = &temp2;
18189 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18190 }
18191 {
18192 PyThreadState* __tstate = wxPyBeginAllowThreads();
18193 (arg1)->SetPaperSize((wxSize const &)*arg2);
18194
18195 wxPyEndAllowThreads(__tstate);
18196 if (PyErr_Occurred()) SWIG_fail;
18197 }
18198 Py_INCREF(Py_None); resultobj = Py_None;
18199 return resultobj;
18200 fail:
18201 return NULL;
18202}
18203
18204
18205static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18206 PyObject *resultobj;
18207 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18208 wxPrintData *arg2 = 0 ;
18209 PyObject * obj0 = 0 ;
18210 PyObject * obj1 = 0 ;
18211 char *kwnames[] = {
18212 (char *) "self",(char *) "printData", NULL
18213 };
18214
18215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18217 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18218 if (arg2 == NULL) {
18219 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18220 }
18221 {
18222 PyThreadState* __tstate = wxPyBeginAllowThreads();
18223 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18224
18225 wxPyEndAllowThreads(__tstate);
18226 if (PyErr_Occurred()) SWIG_fail;
18227 }
18228 Py_INCREF(Py_None); resultobj = Py_None;
18229 return resultobj;
18230 fail:
18231 return NULL;
18232}
18233
18234
18235static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
18236 PyObject *obj;
18237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18238 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
18239 Py_INCREF(obj);
18240 return Py_BuildValue((char *)"");
18241}
18242static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18243 PyObject *resultobj;
18244 wxWindow *arg1 = (wxWindow *) 0 ;
18245 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
18246 wxPageSetupDialog *result;
18247 PyObject * obj0 = 0 ;
18248 PyObject * obj1 = 0 ;
18249 char *kwnames[] = {
18250 (char *) "parent",(char *) "data", NULL
18251 };
18252
18253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18255 if (obj1) {
18256 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18257 }
18258 {
18259 PyThreadState* __tstate = wxPyBeginAllowThreads();
18260 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
18261
18262 wxPyEndAllowThreads(__tstate);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
18266 return resultobj;
18267 fail:
18268 return NULL;
18269}
18270
18271
18272static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
18273 PyObject *resultobj;
18274 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18275 wxPageSetupDialogData *result;
18276 PyObject * obj0 = 0 ;
18277 char *kwnames[] = {
18278 (char *) "self", NULL
18279 };
18280
18281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
18282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18283 {
18284 PyThreadState* __tstate = wxPyBeginAllowThreads();
18285 {
18286 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
18287 result = (wxPageSetupDialogData *) &_result_ref;
18288 }
18289
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
18294 return resultobj;
18295 fail:
18296 return NULL;
18297}
18298
18299
18300static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18301 PyObject *resultobj;
18302 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18303 int result;
18304 PyObject * obj0 = 0 ;
18305 char *kwnames[] = {
18306 (char *) "self", NULL
18307 };
18308
18309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
18310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18311 {
18312 PyThreadState* __tstate = wxPyBeginAllowThreads();
18313 result = (int)(arg1)->ShowModal();
18314
18315 wxPyEndAllowThreads(__tstate);
18316 if (PyErr_Occurred()) SWIG_fail;
18317 }
18318 resultobj = SWIG_PyObj_FromInt((int)result);
18319 return resultobj;
18320 fail:
18321 return NULL;
18322}
18323
18324
18325static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
18326 PyObject *obj;
18327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18328 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
18329 Py_INCREF(obj);
18330 return Py_BuildValue((char *)"");
18331}
18332static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18333 PyObject *resultobj;
18334 wxPrintDialogData *result;
18335 char *kwnames[] = {
18336 NULL
18337 };
18338
18339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 result = (wxPrintDialogData *)new wxPrintDialogData();
18343
18344 wxPyEndAllowThreads(__tstate);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
18348 return resultobj;
18349 fail:
18350 return NULL;
18351}
18352
18353
18354static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18355 PyObject *resultobj;
18356 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18357 PyObject * obj0 = 0 ;
18358 char *kwnames[] = {
18359 (char *) "self", NULL
18360 };
18361
18362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
18363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 delete arg1;
18367
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 Py_INCREF(Py_None); resultobj = Py_None;
18372 return resultobj;
18373 fail:
18374 return NULL;
18375}
18376
18377
18378static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18379 PyObject *resultobj;
18380 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18381 int result;
18382 PyObject * obj0 = 0 ;
18383 char *kwnames[] = {
18384 (char *) "self", NULL
18385 };
18386
18387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
18388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18389 {
18390 PyThreadState* __tstate = wxPyBeginAllowThreads();
18391 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
18392
18393 wxPyEndAllowThreads(__tstate);
18394 if (PyErr_Occurred()) SWIG_fail;
18395 }
18396 resultobj = SWIG_PyObj_FromInt((int)result);
18397 return resultobj;
18398 fail:
18399 return NULL;
18400}
18401
18402
18403static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18404 PyObject *resultobj;
18405 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18406 int result;
18407 PyObject * obj0 = 0 ;
18408 char *kwnames[] = {
18409 (char *) "self", NULL
18410 };
18411
18412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
18413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18414 {
18415 PyThreadState* __tstate = wxPyBeginAllowThreads();
18416 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
18417
18418 wxPyEndAllowThreads(__tstate);
18419 if (PyErr_Occurred()) SWIG_fail;
18420 }
18421 resultobj = SWIG_PyObj_FromInt((int)result);
18422 return resultobj;
18423 fail:
18424 return NULL;
18425}
18426
18427
18428static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18429 PyObject *resultobj;
18430 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18431 int result;
18432 PyObject * obj0 = 0 ;
18433 char *kwnames[] = {
18434 (char *) "self", NULL
18435 };
18436
18437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
18438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 resultobj = SWIG_PyObj_FromInt((int)result);
18447 return resultobj;
18448 fail:
18449 return NULL;
18450}
18451
18452
18453static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18454 PyObject *resultobj;
18455 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18456 int result;
18457 PyObject * obj0 = 0 ;
18458 char *kwnames[] = {
18459 (char *) "self", NULL
18460 };
18461
18462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
18463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18464 {
18465 PyThreadState* __tstate = wxPyBeginAllowThreads();
18466 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
18467
18468 wxPyEndAllowThreads(__tstate);
18469 if (PyErr_Occurred()) SWIG_fail;
18470 }
18471 resultobj = SWIG_PyObj_FromInt((int)result);
18472 return resultobj;
18473 fail:
18474 return NULL;
18475}
18476
18477
18478static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18479 PyObject *resultobj;
18480 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18481 int result;
18482 PyObject * obj0 = 0 ;
18483 char *kwnames[] = {
18484 (char *) "self", NULL
18485 };
18486
18487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
18488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18489 {
18490 PyThreadState* __tstate = wxPyBeginAllowThreads();
18491 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
18492
18493 wxPyEndAllowThreads(__tstate);
18494 if (PyErr_Occurred()) SWIG_fail;
18495 }
18496 resultobj = SWIG_PyObj_FromInt((int)result);
18497 return resultobj;
18498 fail:
18499 return NULL;
18500}
18501
18502
18503static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
18504 PyObject *resultobj;
18505 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18506 bool result;
18507 PyObject * obj0 = 0 ;
18508 char *kwnames[] = {
18509 (char *) "self", NULL
18510 };
18511
18512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
18513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18514 {
18515 PyThreadState* __tstate = wxPyBeginAllowThreads();
18516 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
18517
18518 wxPyEndAllowThreads(__tstate);
18519 if (PyErr_Occurred()) SWIG_fail;
18520 }
18521 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18522 return resultobj;
18523 fail:
18524 return NULL;
18525}
18526
18527
18528static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18529 PyObject *resultobj;
18530 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18531 bool result;
18532 PyObject * obj0 = 0 ;
18533 char *kwnames[] = {
18534 (char *) "self", NULL
18535 };
18536
18537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
18538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18539 {
18540 PyThreadState* __tstate = wxPyBeginAllowThreads();
18541 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
18542
18543 wxPyEndAllowThreads(__tstate);
18544 if (PyErr_Occurred()) SWIG_fail;
18545 }
18546 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18547 return resultobj;
18548 fail:
18549 return NULL;
18550}
18551
18552
18553static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18554 PyObject *resultobj;
18555 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18556 bool result;
18557 PyObject * obj0 = 0 ;
18558 char *kwnames[] = {
18559 (char *) "self", NULL
18560 };
18561
18562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
18563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18564 {
18565 PyThreadState* __tstate = wxPyBeginAllowThreads();
18566 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
18567
18568 wxPyEndAllowThreads(__tstate);
18569 if (PyErr_Occurred()) SWIG_fail;
18570 }
18571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18572 return resultobj;
18573 fail:
18574 return NULL;
18575}
18576
18577
18578static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18579 PyObject *resultobj;
18580 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18581 bool result;
18582 PyObject * obj0 = 0 ;
18583 char *kwnames[] = {
18584 (char *) "self", NULL
18585 };
18586
18587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
18588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18589 {
18590 PyThreadState* __tstate = wxPyBeginAllowThreads();
18591 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
18592
18593 wxPyEndAllowThreads(__tstate);
18594 if (PyErr_Occurred()) SWIG_fail;
18595 }
18596 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18597 return resultobj;
18598 fail:
18599 return NULL;
18600}
18601
18602
18603static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18604 PyObject *resultobj;
18605 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18606 bool result;
18607 PyObject * obj0 = 0 ;
18608 char *kwnames[] = {
18609 (char *) "self", NULL
18610 };
18611
18612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
18613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18614 {
18615 PyThreadState* __tstate = wxPyBeginAllowThreads();
18616 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
18617
18618 wxPyEndAllowThreads(__tstate);
18619 if (PyErr_Occurred()) SWIG_fail;
18620 }
18621 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
18622 return resultobj;
18623 fail:
18624 return NULL;
18625}
18626
18627
18628static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18629 PyObject *resultobj;
18630 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18631 int arg2 ;
18632 PyObject * obj0 = 0 ;
18633 PyObject * obj1 = 0 ;
18634 char *kwnames[] = {
18635 (char *) "self",(char *) "v", NULL
18636 };
18637
18638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
18639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18640 {
18641 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18642 if (PyErr_Occurred()) SWIG_fail;
18643 }
18644 {
18645 PyThreadState* __tstate = wxPyBeginAllowThreads();
18646 (arg1)->SetFromPage(arg2);
18647
18648 wxPyEndAllowThreads(__tstate);
18649 if (PyErr_Occurred()) SWIG_fail;
18650 }
18651 Py_INCREF(Py_None); resultobj = Py_None;
18652 return resultobj;
18653 fail:
18654 return NULL;
18655}
18656
18657
18658static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18659 PyObject *resultobj;
18660 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18661 int arg2 ;
18662 PyObject * obj0 = 0 ;
18663 PyObject * obj1 = 0 ;
18664 char *kwnames[] = {
18665 (char *) "self",(char *) "v", NULL
18666 };
18667
18668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
18669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18670 {
18671 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18672 if (PyErr_Occurred()) SWIG_fail;
18673 }
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
18676 (arg1)->SetToPage(arg2);
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 Py_INCREF(Py_None); resultobj = Py_None;
18682 return resultobj;
18683 fail:
18684 return NULL;
18685}
18686
18687
18688static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18689 PyObject *resultobj;
18690 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18691 int arg2 ;
18692 PyObject * obj0 = 0 ;
18693 PyObject * obj1 = 0 ;
18694 char *kwnames[] = {
18695 (char *) "self",(char *) "v", NULL
18696 };
18697
18698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
18699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18700 {
18701 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18702 if (PyErr_Occurred()) SWIG_fail;
18703 }
18704 {
18705 PyThreadState* __tstate = wxPyBeginAllowThreads();
18706 (arg1)->SetMinPage(arg2);
18707
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
18711 Py_INCREF(Py_None); resultobj = Py_None;
18712 return resultobj;
18713 fail:
18714 return NULL;
18715}
18716
18717
18718static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18719 PyObject *resultobj;
18720 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18721 int arg2 ;
18722 PyObject * obj0 = 0 ;
18723 PyObject * obj1 = 0 ;
18724 char *kwnames[] = {
18725 (char *) "self",(char *) "v", NULL
18726 };
18727
18728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
18729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18730 {
18731 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
18734 {
18735 PyThreadState* __tstate = wxPyBeginAllowThreads();
18736 (arg1)->SetMaxPage(arg2);
18737
18738 wxPyEndAllowThreads(__tstate);
18739 if (PyErr_Occurred()) SWIG_fail;
18740 }
18741 Py_INCREF(Py_None); resultobj = Py_None;
18742 return resultobj;
18743 fail:
18744 return NULL;
18745}
18746
18747
18748static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18749 PyObject *resultobj;
18750 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18751 int arg2 ;
18752 PyObject * obj0 = 0 ;
18753 PyObject * obj1 = 0 ;
18754 char *kwnames[] = {
18755 (char *) "self",(char *) "v", NULL
18756 };
18757
18758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
18759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18760 {
18761 arg2 = (int) SWIG_PyObj_AsInt(obj1);
18762 if (PyErr_Occurred()) SWIG_fail;
18763 }
18764 {
18765 PyThreadState* __tstate = wxPyBeginAllowThreads();
18766 (arg1)->SetNoCopies(arg2);
18767
18768 wxPyEndAllowThreads(__tstate);
18769 if (PyErr_Occurred()) SWIG_fail;
18770 }
18771 Py_INCREF(Py_None); resultobj = Py_None;
18772 return resultobj;
18773 fail:
18774 return NULL;
18775}
18776
18777
18778static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
18779 PyObject *resultobj;
18780 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18781 bool arg2 ;
18782 PyObject * obj0 = 0 ;
18783 PyObject * obj1 = 0 ;
18784 char *kwnames[] = {
18785 (char *) "self",(char *) "flag", NULL
18786 };
18787
18788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
18789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18790 {
18791 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18792 if (PyErr_Occurred()) SWIG_fail;
18793 }
18794 {
18795 PyThreadState* __tstate = wxPyBeginAllowThreads();
18796 (arg1)->SetAllPages(arg2);
18797
18798 wxPyEndAllowThreads(__tstate);
18799 if (PyErr_Occurred()) SWIG_fail;
18800 }
18801 Py_INCREF(Py_None); resultobj = Py_None;
18802 return resultobj;
18803 fail:
18804 return NULL;
18805}
18806
18807
18808static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18809 PyObject *resultobj;
18810 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18811 bool arg2 ;
18812 PyObject * obj0 = 0 ;
18813 PyObject * obj1 = 0 ;
18814 char *kwnames[] = {
18815 (char *) "self",(char *) "flag", NULL
18816 };
18817
18818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
18819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18820 {
18821 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18822 if (PyErr_Occurred()) SWIG_fail;
18823 }
18824 {
18825 PyThreadState* __tstate = wxPyBeginAllowThreads();
18826 (arg1)->SetSelection(arg2);
18827
18828 wxPyEndAllowThreads(__tstate);
18829 if (PyErr_Occurred()) SWIG_fail;
18830 }
18831 Py_INCREF(Py_None); resultobj = Py_None;
18832 return resultobj;
18833 fail:
18834 return NULL;
18835}
18836
18837
18838static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
18839 PyObject *resultobj;
18840 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18841 bool arg2 ;
18842 PyObject * obj0 = 0 ;
18843 PyObject * obj1 = 0 ;
18844 char *kwnames[] = {
18845 (char *) "self",(char *) "flag", NULL
18846 };
18847
18848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
18849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18850 {
18851 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18852 if (PyErr_Occurred()) SWIG_fail;
18853 }
18854 {
18855 PyThreadState* __tstate = wxPyBeginAllowThreads();
18856 (arg1)->SetCollate(arg2);
18857
18858 wxPyEndAllowThreads(__tstate);
18859 if (PyErr_Occurred()) SWIG_fail;
18860 }
18861 Py_INCREF(Py_None); resultobj = Py_None;
18862 return resultobj;
18863 fail:
18864 return NULL;
18865}
18866
18867
18868static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18869 PyObject *resultobj;
18870 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18871 bool arg2 ;
18872 PyObject * obj0 = 0 ;
18873 PyObject * obj1 = 0 ;
18874 char *kwnames[] = {
18875 (char *) "self",(char *) "flag", NULL
18876 };
18877
18878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
18879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18880 {
18881 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18882 if (PyErr_Occurred()) SWIG_fail;
18883 }
18884 {
18885 PyThreadState* __tstate = wxPyBeginAllowThreads();
18886 (arg1)->SetPrintToFile(arg2);
18887
18888 wxPyEndAllowThreads(__tstate);
18889 if (PyErr_Occurred()) SWIG_fail;
18890 }
18891 Py_INCREF(Py_None); resultobj = Py_None;
18892 return resultobj;
18893 fail:
18894 return NULL;
18895}
18896
18897
18898static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18899 PyObject *resultobj;
18900 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18901 bool arg2 ;
18902 PyObject * obj0 = 0 ;
18903 PyObject * obj1 = 0 ;
18904 char *kwnames[] = {
18905 (char *) "self",(char *) "flag", NULL
18906 };
18907
18908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18910 {
18911 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18912 if (PyErr_Occurred()) SWIG_fail;
18913 }
18914 {
18915 PyThreadState* __tstate = wxPyBeginAllowThreads();
18916 (arg1)->SetSetupDialog(arg2);
18917
18918 wxPyEndAllowThreads(__tstate);
18919 if (PyErr_Occurred()) SWIG_fail;
18920 }
18921 Py_INCREF(Py_None); resultobj = Py_None;
18922 return resultobj;
18923 fail:
18924 return NULL;
18925}
18926
18927
18928static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
18929 PyObject *resultobj;
18930 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18931 bool arg2 ;
18932 PyObject * obj0 = 0 ;
18933 PyObject * obj1 = 0 ;
18934 char *kwnames[] = {
18935 (char *) "self",(char *) "flag", NULL
18936 };
18937
18938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
18939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18940 {
18941 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18942 if (PyErr_Occurred()) SWIG_fail;
18943 }
18944 {
18945 PyThreadState* __tstate = wxPyBeginAllowThreads();
18946 (arg1)->EnablePrintToFile(arg2);
18947
18948 wxPyEndAllowThreads(__tstate);
18949 if (PyErr_Occurred()) SWIG_fail;
18950 }
18951 Py_INCREF(Py_None); resultobj = Py_None;
18952 return resultobj;
18953 fail:
18954 return NULL;
18955}
18956
18957
18958static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18959 PyObject *resultobj;
18960 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18961 bool arg2 ;
18962 PyObject * obj0 = 0 ;
18963 PyObject * obj1 = 0 ;
18964 char *kwnames[] = {
18965 (char *) "self",(char *) "flag", NULL
18966 };
18967
18968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
18969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18970 {
18971 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
18972 if (PyErr_Occurred()) SWIG_fail;
18973 }
18974 {
18975 PyThreadState* __tstate = wxPyBeginAllowThreads();
18976 (arg1)->EnableSelection(arg2);
18977
18978 wxPyEndAllowThreads(__tstate);
18979 if (PyErr_Occurred()) SWIG_fail;
18980 }
18981 Py_INCREF(Py_None); resultobj = Py_None;
18982 return resultobj;
18983 fail:
18984 return NULL;
18985}
18986
18987
18988static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
18989 PyObject *resultobj;
18990 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18991 bool arg2 ;
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 char *kwnames[] = {
18995 (char *) "self",(char *) "flag", NULL
18996 };
18997
18998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
18999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19000 {
19001 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19002 if (PyErr_Occurred()) SWIG_fail;
19003 }
19004 {
19005 PyThreadState* __tstate = wxPyBeginAllowThreads();
19006 (arg1)->EnablePageNumbers(arg2);
19007
19008 wxPyEndAllowThreads(__tstate);
19009 if (PyErr_Occurred()) SWIG_fail;
19010 }
19011 Py_INCREF(Py_None); resultobj = Py_None;
19012 return resultobj;
19013 fail:
19014 return NULL;
19015}
19016
19017
19018static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19019 PyObject *resultobj;
19020 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19021 bool arg2 ;
19022 PyObject * obj0 = 0 ;
19023 PyObject * obj1 = 0 ;
19024 char *kwnames[] = {
19025 (char *) "self",(char *) "flag", NULL
19026 };
19027
19028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19030 {
19031 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
19032 if (PyErr_Occurred()) SWIG_fail;
19033 }
19034 {
19035 PyThreadState* __tstate = wxPyBeginAllowThreads();
19036 (arg1)->EnableHelp(arg2);
19037
19038 wxPyEndAllowThreads(__tstate);
19039 if (PyErr_Occurred()) SWIG_fail;
19040 }
19041 Py_INCREF(Py_None); resultobj = Py_None;
19042 return resultobj;
19043 fail:
19044 return NULL;
19045}
19046
19047
19048static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19049 PyObject *resultobj;
19050 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19051 bool result;
19052 PyObject * obj0 = 0 ;
19053 char *kwnames[] = {
19054 (char *) "self", NULL
19055 };
19056
19057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
19058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19059 {
19060 PyThreadState* __tstate = wxPyBeginAllowThreads();
19061 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
19062
19063 wxPyEndAllowThreads(__tstate);
19064 if (PyErr_Occurred()) SWIG_fail;
19065 }
19066 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19067 return resultobj;
19068 fail:
19069 return NULL;
19070}
19071
19072
19073static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19074 PyObject *resultobj;
19075 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19076 bool result;
19077 PyObject * obj0 = 0 ;
19078 char *kwnames[] = {
19079 (char *) "self", NULL
19080 };
19081
19082 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
19083 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19084 {
19085 PyThreadState* __tstate = wxPyBeginAllowThreads();
19086 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
19087
19088 wxPyEndAllowThreads(__tstate);
19089 if (PyErr_Occurred()) SWIG_fail;
19090 }
19091 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19092 return resultobj;
19093 fail:
19094 return NULL;
19095}
19096
19097
19098static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19099 PyObject *resultobj;
19100 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19101 bool result;
19102 PyObject * obj0 = 0 ;
19103 char *kwnames[] = {
19104 (char *) "self", NULL
19105 };
19106
19107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
19108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19109 {
19110 PyThreadState* __tstate = wxPyBeginAllowThreads();
19111 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
19112
19113 wxPyEndAllowThreads(__tstate);
19114 if (PyErr_Occurred()) SWIG_fail;
19115 }
19116 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19117 return resultobj;
19118 fail:
19119 return NULL;
19120}
19121
19122
19123static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19124 PyObject *resultobj;
19125 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19126 bool result;
19127 PyObject * obj0 = 0 ;
19128 char *kwnames[] = {
19129 (char *) "self", NULL
19130 };
19131
19132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19134 {
19135 PyThreadState* __tstate = wxPyBeginAllowThreads();
19136 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
19137
19138 wxPyEndAllowThreads(__tstate);
19139 if (PyErr_Occurred()) SWIG_fail;
19140 }
19141 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19142 return resultobj;
19143 fail:
19144 return NULL;
19145}
19146
19147
19148static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19149 PyObject *resultobj;
19150 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19151 bool result;
19152 PyObject * obj0 = 0 ;
19153 char *kwnames[] = {
19154 (char *) "self", NULL
19155 };
19156
19157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
19158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19159 {
19160 PyThreadState* __tstate = wxPyBeginAllowThreads();
19161 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
19162
19163 wxPyEndAllowThreads(__tstate);
19164 if (PyErr_Occurred()) SWIG_fail;
19165 }
19166 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19167 return resultobj;
19168 fail:
19169 return NULL;
19170}
19171
19172
19173static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19174 PyObject *resultobj;
19175 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19176 wxPrintData *result;
19177 PyObject * obj0 = 0 ;
19178 char *kwnames[] = {
19179 (char *) "self", NULL
19180 };
19181
19182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19184 {
19185 PyThreadState* __tstate = wxPyBeginAllowThreads();
19186 {
19187 wxPrintData &_result_ref = (arg1)->GetPrintData();
19188 result = (wxPrintData *) &_result_ref;
19189 }
19190
19191 wxPyEndAllowThreads(__tstate);
19192 if (PyErr_Occurred()) SWIG_fail;
19193 }
19194 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
19195 return resultobj;
19196 fail:
19197 return NULL;
19198}
19199
19200
19201static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19202 PyObject *resultobj;
19203 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19204 wxPrintData *arg2 = 0 ;
19205 PyObject * obj0 = 0 ;
19206 PyObject * obj1 = 0 ;
19207 char *kwnames[] = {
19208 (char *) "self",(char *) "printData", NULL
19209 };
19210
19211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19214 if (arg2 == NULL) {
19215 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19216 }
19217 {
19218 PyThreadState* __tstate = wxPyBeginAllowThreads();
19219 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19220
19221 wxPyEndAllowThreads(__tstate);
19222 if (PyErr_Occurred()) SWIG_fail;
19223 }
19224 Py_INCREF(Py_None); resultobj = Py_None;
19225 return resultobj;
19226 fail:
19227 return NULL;
19228}
19229
19230
19231static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
19232 PyObject *obj;
19233 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19234 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
19235 Py_INCREF(obj);
19236 return Py_BuildValue((char *)"");
19237}
19238static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19239 PyObject *resultobj;
19240 wxWindow *arg1 = (wxWindow *) 0 ;
19241 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
19242 wxPrintDialog *result;
19243 PyObject * obj0 = 0 ;
19244 PyObject * obj1 = 0 ;
19245 char *kwnames[] = {
19246 (char *) "parent",(char *) "data", NULL
19247 };
19248
19249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19251 if (obj1) {
19252 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19253 }
19254 {
19255 PyThreadState* __tstate = wxPyBeginAllowThreads();
19256 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
19257
19258 wxPyEndAllowThreads(__tstate);
19259 if (PyErr_Occurred()) SWIG_fail;
19260 }
19261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
19262 return resultobj;
19263 fail:
19264 return NULL;
19265}
19266
19267
19268static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19269 PyObject *resultobj;
19270 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19271 wxPrintDialogData *result;
19272 PyObject * obj0 = 0 ;
19273 char *kwnames[] = {
19274 (char *) "self", NULL
19275 };
19276
19277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
19278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19279 {
19280 PyThreadState* __tstate = wxPyBeginAllowThreads();
19281 {
19282 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19283 result = (wxPrintDialogData *) &_result_ref;
19284 }
19285
19286 wxPyEndAllowThreads(__tstate);
19287 if (PyErr_Occurred()) SWIG_fail;
19288 }
19289 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19290 return resultobj;
19291 fail:
19292 return NULL;
19293}
19294
19295
19296static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19297 PyObject *resultobj;
19298 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19299 wxDC *result;
19300 PyObject * obj0 = 0 ;
19301 char *kwnames[] = {
19302 (char *) "self", NULL
19303 };
19304
19305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
19306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 result = (wxDC *)(arg1)->GetPrintDC();
19310
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 {
19315 resultobj = wxPyMake_wxObject(result);
19316 }
19317 return resultobj;
19318 fail:
19319 return NULL;
19320}
19321
19322
19323static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19324 PyObject *resultobj;
19325 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19326 int result;
19327 PyObject * obj0 = 0 ;
19328 char *kwnames[] = {
19329 (char *) "self", NULL
19330 };
19331
19332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
19333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19334 {
19335 PyThreadState* __tstate = wxPyBeginAllowThreads();
19336 result = (int)(arg1)->ShowModal();
19337
19338 wxPyEndAllowThreads(__tstate);
19339 if (PyErr_Occurred()) SWIG_fail;
19340 }
19341 resultobj = SWIG_PyObj_FromInt((int)result);
19342 return resultobj;
19343 fail:
19344 return NULL;
19345}
19346
19347
19348static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
19349 PyObject *obj;
19350 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19351 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
19352 Py_INCREF(obj);
19353 return Py_BuildValue((char *)"");
19354}
19355static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19356 PyObject *resultobj;
19357 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
19358 wxPrinter *result;
19359 PyObject * obj0 = 0 ;
19360 char *kwnames[] = {
19361 (char *) "data", NULL
19362 };
19363
19364 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
19365 if (obj0) {
19366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19367 }
19368 {
19369 PyThreadState* __tstate = wxPyBeginAllowThreads();
19370 result = (wxPrinter *)new wxPrinter(arg1);
19371
19372 wxPyEndAllowThreads(__tstate);
19373 if (PyErr_Occurred()) SWIG_fail;
19374 }
19375 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
19376 return resultobj;
19377 fail:
19378 return NULL;
19379}
19380
19381
19382static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19383 PyObject *resultobj;
19384 wxPrinter *arg1 = (wxPrinter *) 0 ;
19385 PyObject * obj0 = 0 ;
19386 char *kwnames[] = {
19387 (char *) "self", NULL
19388 };
19389
19390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
19391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19392 {
19393 PyThreadState* __tstate = wxPyBeginAllowThreads();
19394 delete arg1;
19395
19396 wxPyEndAllowThreads(__tstate);
19397 if (PyErr_Occurred()) SWIG_fail;
19398 }
19399 Py_INCREF(Py_None); resultobj = Py_None;
19400 return resultobj;
19401 fail:
19402 return NULL;
19403}
19404
19405
19406static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19407 PyObject *resultobj;
19408 wxPrinter *arg1 = (wxPrinter *) 0 ;
19409 wxWindow *arg2 = (wxWindow *) 0 ;
19410 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19411 PyObject * obj0 = 0 ;
19412 PyObject * obj1 = 0 ;
19413 PyObject * obj2 = 0 ;
19414 char *kwnames[] = {
19415 (char *) "self",(char *) "parent",(char *) "printout", NULL
19416 };
19417
19418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
19419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19421 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
19424 (arg1)->CreateAbortWindow(arg2,arg3);
19425
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 Py_INCREF(Py_None); resultobj = Py_None;
19430 return resultobj;
19431 fail:
19432 return NULL;
19433}
19434
19435
19436static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19437 PyObject *resultobj;
19438 wxPrinter *arg1 = (wxPrinter *) 0 ;
19439 wxPrintDialogData *result;
19440 PyObject * obj0 = 0 ;
19441 char *kwnames[] = {
19442 (char *) "self", NULL
19443 };
19444
19445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
19446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19447 {
19448 PyThreadState* __tstate = wxPyBeginAllowThreads();
19449 {
19450 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19451 result = (wxPrintDialogData *) &_result_ref;
19452 }
19453
19454 wxPyEndAllowThreads(__tstate);
19455 if (PyErr_Occurred()) SWIG_fail;
19456 }
19457 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19458 return resultobj;
19459 fail:
19460 return NULL;
19461}
19462
19463
19464static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19465 PyObject *resultobj;
19466 wxPrinter *arg1 = (wxPrinter *) 0 ;
19467 wxWindow *arg2 = (wxWindow *) 0 ;
19468 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19469 int arg4 = (int) True ;
19470 bool result;
19471 PyObject * obj0 = 0 ;
19472 PyObject * obj1 = 0 ;
19473 PyObject * obj2 = 0 ;
19474 PyObject * obj3 = 0 ;
19475 char *kwnames[] = {
19476 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19477 };
19478
19479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19481 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19482 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19483 if (obj3) {
19484 {
19485 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19486 if (PyErr_Occurred()) SWIG_fail;
19487 }
19488 }
19489 {
19490 PyThreadState* __tstate = wxPyBeginAllowThreads();
19491 result = (bool)(arg1)->Print(arg2,arg3,arg4);
19492
19493 wxPyEndAllowThreads(__tstate);
19494 if (PyErr_Occurred()) SWIG_fail;
19495 }
19496 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19497 return resultobj;
19498 fail:
19499 return NULL;
19500}
19501
19502
19503static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19504 PyObject *resultobj;
19505 wxPrinter *arg1 = (wxPrinter *) 0 ;
19506 wxWindow *arg2 = (wxWindow *) 0 ;
19507 wxDC *result;
19508 PyObject * obj0 = 0 ;
19509 PyObject * obj1 = 0 ;
19510 char *kwnames[] = {
19511 (char *) "self",(char *) "parent", NULL
19512 };
19513
19514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19516 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19517 {
19518 PyThreadState* __tstate = wxPyBeginAllowThreads();
19519 result = (wxDC *)(arg1)->PrintDialog(arg2);
19520
19521 wxPyEndAllowThreads(__tstate);
19522 if (PyErr_Occurred()) SWIG_fail;
19523 }
19524 {
19525 resultobj = wxPyMake_wxObject(result);
19526 }
19527 return resultobj;
19528 fail:
19529 return NULL;
19530}
19531
19532
19533static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
19534 PyObject *resultobj;
19535 wxPrinter *arg1 = (wxPrinter *) 0 ;
19536 wxWindow *arg2 = (wxWindow *) 0 ;
19537 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19538 wxString *arg4 = 0 ;
19539 bool temp4 = False ;
19540 PyObject * obj0 = 0 ;
19541 PyObject * obj1 = 0 ;
19542 PyObject * obj2 = 0 ;
19543 PyObject * obj3 = 0 ;
19544 char *kwnames[] = {
19545 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19546 };
19547
19548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
19549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19550 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19551 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19552 {
19553 arg4 = wxString_in_helper(obj3);
19554 if (arg4 == NULL) SWIG_fail;
19555 temp4 = True;
19556 }
19557 {
19558 PyThreadState* __tstate = wxPyBeginAllowThreads();
19559 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
19560
19561 wxPyEndAllowThreads(__tstate);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 }
19564 Py_INCREF(Py_None); resultobj = Py_None;
19565 {
19566 if (temp4)
19567 delete arg4;
19568 }
19569 return resultobj;
19570 fail:
19571 {
19572 if (temp4)
19573 delete arg4;
19574 }
19575 return NULL;
19576}
19577
19578
19579static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
19580 PyObject *resultobj;
19581 wxPrinter *arg1 = (wxPrinter *) 0 ;
19582 wxWindow *arg2 = (wxWindow *) 0 ;
19583 bool result;
19584 PyObject * obj0 = 0 ;
19585 PyObject * obj1 = 0 ;
19586 char *kwnames[] = {
19587 (char *) "self",(char *) "parent", NULL
19588 };
19589
19590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
19591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19593 {
19594 PyThreadState* __tstate = wxPyBeginAllowThreads();
19595 result = (bool)(arg1)->Setup(arg2);
19596
19597 wxPyEndAllowThreads(__tstate);
19598 if (PyErr_Occurred()) SWIG_fail;
19599 }
19600 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19601 return resultobj;
19602 fail:
19603 return NULL;
19604}
19605
19606
19607static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
19608 PyObject *resultobj;
19609 wxPrinter *arg1 = (wxPrinter *) 0 ;
19610 bool result;
19611 PyObject * obj0 = 0 ;
19612 char *kwnames[] = {
19613 (char *) "self", NULL
19614 };
19615
19616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
19617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19618 {
19619 PyThreadState* __tstate = wxPyBeginAllowThreads();
19620 result = (bool)(arg1)->GetAbort();
19621
19622 wxPyEndAllowThreads(__tstate);
19623 if (PyErr_Occurred()) SWIG_fail;
19624 }
19625 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
19626 return resultobj;
19627 fail:
19628 return NULL;
19629}
19630
19631
19632static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
19633 PyObject *resultobj;
19634 int result;
19635 char *kwnames[] = {
19636 NULL
19637 };
19638
19639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
19640 {
19641 PyThreadState* __tstate = wxPyBeginAllowThreads();
19642 result = (int)wxPrinter::GetLastError();
19643
19644 wxPyEndAllowThreads(__tstate);
19645 if (PyErr_Occurred()) SWIG_fail;
19646 }
19647 resultobj = SWIG_PyObj_FromInt((int)result);
19648 return resultobj;
19649 fail:
19650 return NULL;
19651}
19652
19653
19654static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
19655 PyObject *obj;
19656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19657 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
19658 Py_INCREF(obj);
19659 return Py_BuildValue((char *)"");
19660}
19661static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
19662 PyObject *resultobj;
19663 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
19664 wxString *arg1 = (wxString *) &arg1_defvalue ;
19665 wxPyPrintout *result;
19666 bool temp1 = False ;
19667 PyObject * obj0 = 0 ;
19668 char *kwnames[] = {
19669 (char *) "title", NULL
19670 };
19671
19672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
19673 if (obj0) {
19674 {
19675 arg1 = wxString_in_helper(obj0);
19676 if (arg1 == NULL) SWIG_fail;
19677 temp1 = True;
19678 }
19679 }
19680 {
19681 PyThreadState* __tstate = wxPyBeginAllowThreads();
19682 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
19683
19684 wxPyEndAllowThreads(__tstate);
19685 if (PyErr_Occurred()) SWIG_fail;
19686 }
19687 {
19688 resultobj = wxPyMake_wxObject(result);
19689 }
19690 {
19691 if (temp1)
19692 delete arg1;
19693 }
19694 return resultobj;
19695 fail:
19696 {
19697 if (temp1)
19698 delete arg1;
19699 }
19700 return NULL;
19701}
19702
19703
19704static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19705 PyObject *resultobj;
19706 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19707 PyObject *arg2 = (PyObject *) 0 ;
19708 PyObject *arg3 = (PyObject *) 0 ;
19709 PyObject * obj0 = 0 ;
19710 PyObject * obj1 = 0 ;
19711 PyObject * obj2 = 0 ;
19712 char *kwnames[] = {
19713 (char *) "self",(char *) "self",(char *) "_class", NULL
19714 };
19715
19716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
19717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19718 arg2 = obj1;
19719 arg3 = obj2;
19720 {
19721 PyThreadState* __tstate = wxPyBeginAllowThreads();
19722 (arg1)->_setCallbackInfo(arg2,arg3);
19723
19724 wxPyEndAllowThreads(__tstate);
19725 if (PyErr_Occurred()) SWIG_fail;
19726 }
19727 Py_INCREF(Py_None); resultobj = Py_None;
19728 return resultobj;
19729 fail:
19730 return NULL;
19731}
19732
19733
19734static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
19735 PyObject *resultobj;
19736 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19737 wxString result;
19738 PyObject * obj0 = 0 ;
19739 char *kwnames[] = {
19740 (char *) "self", NULL
19741 };
19742
19743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
19744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19745 {
19746 PyThreadState* __tstate = wxPyBeginAllowThreads();
19747 result = ((wxPyPrintout const *)arg1)->GetTitle();
19748
19749 wxPyEndAllowThreads(__tstate);
19750 if (PyErr_Occurred()) SWIG_fail;
19751 }
19752 {
19753#if wxUSE_UNICODE
19754 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
19755#else
19756 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
19757#endif
19758 }
19759 return resultobj;
19760 fail:
19761 return NULL;
19762}
19763
19764
19765static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19766 PyObject *resultobj;
19767 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19768 wxDC *result;
19769 PyObject * obj0 = 0 ;
19770 char *kwnames[] = {
19771 (char *) "self", NULL
19772 };
19773
19774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
19775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19776 {
19777 PyThreadState* __tstate = wxPyBeginAllowThreads();
19778 result = (wxDC *)(arg1)->GetDC();
19779
19780 wxPyEndAllowThreads(__tstate);
19781 if (PyErr_Occurred()) SWIG_fail;
19782 }
19783 {
19784 resultobj = wxPyMake_wxObject(result);
19785 }
19786 return resultobj;
19787 fail:
19788 return NULL;
19789}
19790
19791
19792static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19793 PyObject *resultobj;
19794 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19795 wxDC *arg2 = (wxDC *) 0 ;
19796 PyObject * obj0 = 0 ;
19797 PyObject * obj1 = 0 ;
19798 char *kwnames[] = {
19799 (char *) "self",(char *) "dc", NULL
19800 };
19801
19802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
19803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19804 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19805 {
19806 PyThreadState* __tstate = wxPyBeginAllowThreads();
19807 (arg1)->SetDC(arg2);
19808
19809 wxPyEndAllowThreads(__tstate);
19810 if (PyErr_Occurred()) SWIG_fail;
19811 }
19812 Py_INCREF(Py_None); resultobj = Py_None;
19813 return resultobj;
19814 fail:
19815 return NULL;
19816}
19817
19818
19819static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
19820 PyObject *resultobj;
19821 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19822 int arg2 ;
19823 int arg3 ;
19824 PyObject * obj0 = 0 ;
19825 PyObject * obj1 = 0 ;
19826 PyObject * obj2 = 0 ;
19827 char *kwnames[] = {
19828 (char *) "self",(char *) "w",(char *) "h", NULL
19829 };
19830
19831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
19832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19833 {
19834 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19835 if (PyErr_Occurred()) SWIG_fail;
19836 }
19837 {
19838 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19839 if (PyErr_Occurred()) SWIG_fail;
19840 }
19841 {
19842 PyThreadState* __tstate = wxPyBeginAllowThreads();
19843 (arg1)->SetPageSizePixels(arg2,arg3);
19844
19845 wxPyEndAllowThreads(__tstate);
19846 if (PyErr_Occurred()) SWIG_fail;
19847 }
19848 Py_INCREF(Py_None); resultobj = Py_None;
19849 return resultobj;
19850 fail:
19851 return NULL;
19852}
19853
19854
19855static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
19856 PyObject *resultobj;
19857 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19858 int *arg2 = (int *) 0 ;
19859 int *arg3 = (int *) 0 ;
19860 int temp2 ;
19861 int temp3 ;
19862 PyObject * obj0 = 0 ;
19863 char *kwnames[] = {
19864 (char *) "self", NULL
19865 };
19866
19867 arg2 = &temp2;
19868 arg3 = &temp3;
19869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
19870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19871 {
19872 PyThreadState* __tstate = wxPyBeginAllowThreads();
19873 (arg1)->GetPageSizePixels(arg2,arg3);
19874
19875 wxPyEndAllowThreads(__tstate);
19876 if (PyErr_Occurred()) SWIG_fail;
19877 }
19878 Py_INCREF(Py_None); resultobj = Py_None;
19879 {
19880 PyObject *o = PyInt_FromLong((long) (*arg2));
19881 resultobj = t_output_helper(resultobj,o);
19882 }
19883 {
19884 PyObject *o = PyInt_FromLong((long) (*arg3));
19885 resultobj = t_output_helper(resultobj,o);
19886 }
19887 return resultobj;
19888 fail:
19889 return NULL;
19890}
19891
19892
19893static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
19894 PyObject *resultobj;
19895 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19896 int arg2 ;
19897 int arg3 ;
19898 PyObject * obj0 = 0 ;
19899 PyObject * obj1 = 0 ;
19900 PyObject * obj2 = 0 ;
19901 char *kwnames[] = {
19902 (char *) "self",(char *) "w",(char *) "h", NULL
19903 };
19904
19905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
19906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19907 {
19908 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19909 if (PyErr_Occurred()) SWIG_fail;
19910 }
19911 {
19912 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19913 if (PyErr_Occurred()) SWIG_fail;
19914 }
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 (arg1)->SetPageSizeMM(arg2,arg3);
19918
19919 wxPyEndAllowThreads(__tstate);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
19922 Py_INCREF(Py_None); resultobj = Py_None;
19923 return resultobj;
19924 fail:
19925 return NULL;
19926}
19927
19928
19929static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
19930 PyObject *resultobj;
19931 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19932 int *arg2 = (int *) 0 ;
19933 int *arg3 = (int *) 0 ;
19934 int temp2 ;
19935 int temp3 ;
19936 PyObject * obj0 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self", NULL
19939 };
19940
19941 arg2 = &temp2;
19942 arg3 = &temp3;
19943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
19944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19945 {
19946 PyThreadState* __tstate = wxPyBeginAllowThreads();
19947 (arg1)->GetPageSizeMM(arg2,arg3);
19948
19949 wxPyEndAllowThreads(__tstate);
19950 if (PyErr_Occurred()) SWIG_fail;
19951 }
19952 Py_INCREF(Py_None); resultobj = Py_None;
19953 {
19954 PyObject *o = PyInt_FromLong((long) (*arg2));
19955 resultobj = t_output_helper(resultobj,o);
19956 }
19957 {
19958 PyObject *o = PyInt_FromLong((long) (*arg3));
19959 resultobj = t_output_helper(resultobj,o);
19960 }
19961 return resultobj;
19962 fail:
19963 return NULL;
19964}
19965
19966
19967static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
19968 PyObject *resultobj;
19969 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19970 int arg2 ;
19971 int arg3 ;
19972 PyObject * obj0 = 0 ;
19973 PyObject * obj1 = 0 ;
19974 PyObject * obj2 = 0 ;
19975 char *kwnames[] = {
19976 (char *) "self",(char *) "x",(char *) "y", NULL
19977 };
19978
19979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
19980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19981 {
19982 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19983 if (PyErr_Occurred()) SWIG_fail;
19984 }
19985 {
19986 arg3 = (int) SWIG_PyObj_AsInt(obj2);
19987 if (PyErr_Occurred()) SWIG_fail;
19988 }
19989 {
19990 PyThreadState* __tstate = wxPyBeginAllowThreads();
19991 (arg1)->SetPPIScreen(arg2,arg3);
19992
19993 wxPyEndAllowThreads(__tstate);
19994 if (PyErr_Occurred()) SWIG_fail;
19995 }
19996 Py_INCREF(Py_None); resultobj = Py_None;
19997 return resultobj;
19998 fail:
19999 return NULL;
20000}
20001
20002
20003static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20004 PyObject *resultobj;
20005 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20006 int *arg2 = (int *) 0 ;
20007 int *arg3 = (int *) 0 ;
20008 int temp2 ;
20009 int temp3 ;
20010 PyObject * obj0 = 0 ;
20011 char *kwnames[] = {
20012 (char *) "self", NULL
20013 };
20014
20015 arg2 = &temp2;
20016 arg3 = &temp3;
20017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
20018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20019 {
20020 PyThreadState* __tstate = wxPyBeginAllowThreads();
20021 (arg1)->GetPPIScreen(arg2,arg3);
20022
20023 wxPyEndAllowThreads(__tstate);
20024 if (PyErr_Occurred()) SWIG_fail;
20025 }
20026 Py_INCREF(Py_None); resultobj = Py_None;
20027 {
20028 PyObject *o = PyInt_FromLong((long) (*arg2));
20029 resultobj = t_output_helper(resultobj,o);
20030 }
20031 {
20032 PyObject *o = PyInt_FromLong((long) (*arg3));
20033 resultobj = t_output_helper(resultobj,o);
20034 }
20035 return resultobj;
20036 fail:
20037 return NULL;
20038}
20039
20040
20041static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20042 PyObject *resultobj;
20043 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20044 int arg2 ;
20045 int arg3 ;
20046 PyObject * obj0 = 0 ;
20047 PyObject * obj1 = 0 ;
20048 PyObject * obj2 = 0 ;
20049 char *kwnames[] = {
20050 (char *) "self",(char *) "x",(char *) "y", NULL
20051 };
20052
20053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
20054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20055 {
20056 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20057 if (PyErr_Occurred()) SWIG_fail;
20058 }
20059 {
20060 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20061 if (PyErr_Occurred()) SWIG_fail;
20062 }
20063 {
20064 PyThreadState* __tstate = wxPyBeginAllowThreads();
20065 (arg1)->SetPPIPrinter(arg2,arg3);
20066
20067 wxPyEndAllowThreads(__tstate);
20068 if (PyErr_Occurred()) SWIG_fail;
20069 }
20070 Py_INCREF(Py_None); resultobj = Py_None;
20071 return resultobj;
20072 fail:
20073 return NULL;
20074}
20075
20076
20077static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20078 PyObject *resultobj;
20079 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20080 int *arg2 = (int *) 0 ;
20081 int *arg3 = (int *) 0 ;
20082 int temp2 ;
20083 int temp3 ;
20084 PyObject * obj0 = 0 ;
20085 char *kwnames[] = {
20086 (char *) "self", NULL
20087 };
20088
20089 arg2 = &temp2;
20090 arg3 = &temp3;
20091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
20092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20093 {
20094 PyThreadState* __tstate = wxPyBeginAllowThreads();
20095 (arg1)->GetPPIPrinter(arg2,arg3);
20096
20097 wxPyEndAllowThreads(__tstate);
20098 if (PyErr_Occurred()) SWIG_fail;
20099 }
20100 Py_INCREF(Py_None); resultobj = Py_None;
20101 {
20102 PyObject *o = PyInt_FromLong((long) (*arg2));
20103 resultobj = t_output_helper(resultobj,o);
20104 }
20105 {
20106 PyObject *o = PyInt_FromLong((long) (*arg3));
20107 resultobj = t_output_helper(resultobj,o);
20108 }
20109 return resultobj;
20110 fail:
20111 return NULL;
20112}
20113
20114
20115static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20116 PyObject *resultobj;
20117 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20118 bool result;
20119 PyObject * obj0 = 0 ;
20120 char *kwnames[] = {
20121 (char *) "self", NULL
20122 };
20123
20124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
20125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 result = (bool)(arg1)->IsPreview();
20129
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20134 return resultobj;
20135 fail:
20136 return NULL;
20137}
20138
20139
20140static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20141 PyObject *resultobj;
20142 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20143 bool arg2 ;
20144 PyObject * obj0 = 0 ;
20145 PyObject * obj1 = 0 ;
20146 char *kwnames[] = {
20147 (char *) "self",(char *) "p", NULL
20148 };
20149
20150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
20151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20152 {
20153 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
20154 if (PyErr_Occurred()) SWIG_fail;
20155 }
20156 {
20157 PyThreadState* __tstate = wxPyBeginAllowThreads();
20158 (arg1)->SetIsPreview(arg2);
20159
20160 wxPyEndAllowThreads(__tstate);
20161 if (PyErr_Occurred()) SWIG_fail;
20162 }
20163 Py_INCREF(Py_None); resultobj = Py_None;
20164 return resultobj;
20165 fail:
20166 return NULL;
20167}
20168
20169
20170static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20171 PyObject *resultobj;
20172 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20173 int arg2 ;
20174 int arg3 ;
20175 bool result;
20176 PyObject * obj0 = 0 ;
20177 PyObject * obj1 = 0 ;
20178 PyObject * obj2 = 0 ;
20179 char *kwnames[] = {
20180 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20181 };
20182
20183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
20184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20185 {
20186 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20187 if (PyErr_Occurred()) SWIG_fail;
20188 }
20189 {
20190 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20191 if (PyErr_Occurred()) SWIG_fail;
20192 }
20193 {
20194 PyThreadState* __tstate = wxPyBeginAllowThreads();
20195 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
20196
20197 wxPyEndAllowThreads(__tstate);
20198 if (PyErr_Occurred()) SWIG_fail;
20199 }
20200 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20201 return resultobj;
20202 fail:
20203 return NULL;
20204}
20205
20206
20207static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20208 PyObject *resultobj;
20209 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20210 PyObject * obj0 = 0 ;
20211 char *kwnames[] = {
20212 (char *) "self", NULL
20213 };
20214
20215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
20216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20217 {
20218 PyThreadState* __tstate = wxPyBeginAllowThreads();
20219 (arg1)->base_OnEndDocument();
20220
20221 wxPyEndAllowThreads(__tstate);
20222 if (PyErr_Occurred()) SWIG_fail;
20223 }
20224 Py_INCREF(Py_None); resultobj = Py_None;
20225 return resultobj;
20226 fail:
20227 return NULL;
20228}
20229
20230
20231static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20232 PyObject *resultobj;
20233 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20234 PyObject * obj0 = 0 ;
20235 char *kwnames[] = {
20236 (char *) "self", NULL
20237 };
20238
20239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
20240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20241 {
20242 PyThreadState* __tstate = wxPyBeginAllowThreads();
20243 (arg1)->base_OnBeginPrinting();
20244
20245 wxPyEndAllowThreads(__tstate);
20246 if (PyErr_Occurred()) SWIG_fail;
20247 }
20248 Py_INCREF(Py_None); resultobj = Py_None;
20249 return resultobj;
20250 fail:
20251 return NULL;
20252}
20253
20254
20255static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20256 PyObject *resultobj;
20257 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20258 PyObject * obj0 = 0 ;
20259 char *kwnames[] = {
20260 (char *) "self", NULL
20261 };
20262
20263 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
20264 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20265 {
20266 PyThreadState* __tstate = wxPyBeginAllowThreads();
20267 (arg1)->base_OnEndPrinting();
20268
20269 wxPyEndAllowThreads(__tstate);
20270 if (PyErr_Occurred()) SWIG_fail;
20271 }
20272 Py_INCREF(Py_None); resultobj = Py_None;
20273 return resultobj;
20274 fail:
20275 return NULL;
20276}
20277
20278
20279static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20280 PyObject *resultobj;
20281 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20282 PyObject * obj0 = 0 ;
20283 char *kwnames[] = {
20284 (char *) "self", NULL
20285 };
20286
20287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
20288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20289 {
20290 PyThreadState* __tstate = wxPyBeginAllowThreads();
20291 (arg1)->base_OnPreparePrinting();
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_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20304 PyObject *resultobj;
20305 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20306 int arg2 ;
20307 bool result;
20308 PyObject * obj0 = 0 ;
20309 PyObject * obj1 = 0 ;
20310 char *kwnames[] = {
20311 (char *) "self",(char *) "page", NULL
20312 };
20313
20314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
20315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20316 {
20317 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20318 if (PyErr_Occurred()) SWIG_fail;
20319 }
20320 {
20321 PyThreadState* __tstate = wxPyBeginAllowThreads();
20322 result = (bool)(arg1)->base_HasPage(arg2);
20323
20324 wxPyEndAllowThreads(__tstate);
20325 if (PyErr_Occurred()) SWIG_fail;
20326 }
20327 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
20328 return resultobj;
20329 fail:
20330 return NULL;
20331}
20332
20333
20334static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20335 PyObject *resultobj;
20336 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20337 int *arg2 = (int *) 0 ;
20338 int *arg3 = (int *) 0 ;
20339 int *arg4 = (int *) 0 ;
20340 int *arg5 = (int *) 0 ;
20341 int temp2 ;
20342 int temp3 ;
20343 int temp4 ;
20344 int temp5 ;
20345 PyObject * obj0 = 0 ;
20346 char *kwnames[] = {
20347 (char *) "self", NULL
20348 };
20349
20350 arg2 = &temp2;
20351 arg3 = &temp3;
20352 arg4 = &temp4;
20353 arg5 = &temp5;
20354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
20355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20356 {
20357 PyThreadState* __tstate = wxPyBeginAllowThreads();
20358 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
20359
20360 wxPyEndAllowThreads(__tstate);
20361 if (PyErr_Occurred()) SWIG_fail;
20362 }
20363 Py_INCREF(Py_None); resultobj = Py_None;
20364 {
20365 PyObject *o = PyInt_FromLong((long) (*arg2));
20366 resultobj = t_output_helper(resultobj,o);
20367 }
20368 {
20369 PyObject *o = PyInt_FromLong((long) (*arg3));
20370 resultobj = t_output_helper(resultobj,o);
20371 }
20372 {
20373 PyObject *o = PyInt_FromLong((long) (*arg4));
20374 resultobj = t_output_helper(resultobj,o);
20375 }
20376 {
20377 PyObject *o = PyInt_FromLong((long) (*arg5));
20378 resultobj = t_output_helper(resultobj,o);
20379 }
20380 return resultobj;
20381 fail:
20382 return NULL;
20383}
20384
20385
20386static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
20387 PyObject *obj;
20388 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20389 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
20390 Py_INCREF(obj);
20391 return Py_BuildValue((char *)"");
20392}
20393static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20394 PyObject *resultobj;
20395 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20396 wxWindow *arg2 = (wxWindow *) 0 ;
20397 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20398 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20399 wxSize const &arg4_defvalue = wxDefaultSize ;
20400 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20401 long arg5 = (long) 0 ;
20402 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
20403 wxString *arg6 = (wxString *) &arg6_defvalue ;
20404 wxPreviewCanvas *result;
20405 wxPoint temp3 ;
20406 wxSize temp4 ;
20407 bool temp6 = False ;
20408 PyObject * obj0 = 0 ;
20409 PyObject * obj1 = 0 ;
20410 PyObject * obj2 = 0 ;
20411 PyObject * obj3 = 0 ;
20412 PyObject * obj4 = 0 ;
20413 PyObject * obj5 = 0 ;
20414 char *kwnames[] = {
20415 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20416 };
20417
20418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
20419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20420 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20421 if (obj2) {
20422 {
20423 arg3 = &temp3;
20424 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20425 }
20426 }
20427 if (obj3) {
20428 {
20429 arg4 = &temp4;
20430 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20431 }
20432 }
20433 if (obj4) {
20434 {
20435 arg5 = (long) SWIG_PyObj_AsLong(obj4);
20436 if (PyErr_Occurred()) SWIG_fail;
20437 }
20438 }
20439 if (obj5) {
20440 {
20441 arg6 = wxString_in_helper(obj5);
20442 if (arg6 == NULL) SWIG_fail;
20443 temp6 = True;
20444 }
20445 }
20446 {
20447 PyThreadState* __tstate = wxPyBeginAllowThreads();
20448 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20449
20450 wxPyEndAllowThreads(__tstate);
20451 if (PyErr_Occurred()) SWIG_fail;
20452 }
20453 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
20454 {
20455 if (temp6)
20456 delete arg6;
20457 }
20458 return resultobj;
20459 fail:
20460 {
20461 if (temp6)
20462 delete arg6;
20463 }
20464 return NULL;
20465}
20466
20467
20468static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
20469 PyObject *obj;
20470 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20471 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
20472 Py_INCREF(obj);
20473 return Py_BuildValue((char *)"");
20474}
20475static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20476 PyObject *resultobj;
20477 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20478 wxFrame *arg2 = (wxFrame *) 0 ;
20479 wxString *arg3 = 0 ;
20480 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20481 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20482 wxSize const &arg5_defvalue = wxDefaultSize ;
20483 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20484 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20485 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20486 wxString *arg7 = (wxString *) &arg7_defvalue ;
20487 wxPreviewFrame *result;
20488 bool temp3 = False ;
20489 wxPoint temp4 ;
20490 wxSize temp5 ;
20491 bool temp7 = False ;
20492 PyObject * obj0 = 0 ;
20493 PyObject * obj1 = 0 ;
20494 PyObject * obj2 = 0 ;
20495 PyObject * obj3 = 0 ;
20496 PyObject * obj4 = 0 ;
20497 PyObject * obj5 = 0 ;
20498 PyObject * obj6 = 0 ;
20499 char *kwnames[] = {
20500 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20501 };
20502
20503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20506 {
20507 arg3 = wxString_in_helper(obj2);
20508 if (arg3 == NULL) SWIG_fail;
20509 temp3 = True;
20510 }
20511 if (obj3) {
20512 {
20513 arg4 = &temp4;
20514 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20515 }
20516 }
20517 if (obj4) {
20518 {
20519 arg5 = &temp5;
20520 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20521 }
20522 }
20523 if (obj5) {
20524 {
20525 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20526 if (PyErr_Occurred()) SWIG_fail;
20527 }
20528 }
20529 if (obj6) {
20530 {
20531 arg7 = wxString_in_helper(obj6);
20532 if (arg7 == NULL) SWIG_fail;
20533 temp7 = True;
20534 }
20535 }
20536 {
20537 PyThreadState* __tstate = wxPyBeginAllowThreads();
20538 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20539
20540 wxPyEndAllowThreads(__tstate);
20541 if (PyErr_Occurred()) SWIG_fail;
20542 }
20543 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
20544 {
20545 if (temp3)
20546 delete arg3;
20547 }
20548 {
20549 if (temp7)
20550 delete arg7;
20551 }
20552 return resultobj;
20553 fail:
20554 {
20555 if (temp3)
20556 delete arg3;
20557 }
20558 {
20559 if (temp7)
20560 delete arg7;
20561 }
20562 return NULL;
20563}
20564
20565
20566static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20567 PyObject *resultobj;
20568 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20569 PyObject * obj0 = 0 ;
20570 char *kwnames[] = {
20571 (char *) "self", NULL
20572 };
20573
20574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
20575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20576 {
20577 PyThreadState* __tstate = wxPyBeginAllowThreads();
20578 (arg1)->Initialize();
20579
20580 wxPyEndAllowThreads(__tstate);
20581 if (PyErr_Occurred()) SWIG_fail;
20582 }
20583 Py_INCREF(Py_None); resultobj = Py_None;
20584 return resultobj;
20585 fail:
20586 return NULL;
20587}
20588
20589
20590static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20591 PyObject *resultobj;
20592 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20593 PyObject * obj0 = 0 ;
20594 char *kwnames[] = {
20595 (char *) "self", NULL
20596 };
20597
20598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
20599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20600 {
20601 PyThreadState* __tstate = wxPyBeginAllowThreads();
20602 (arg1)->CreateControlBar();
20603
20604 wxPyEndAllowThreads(__tstate);
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
20607 Py_INCREF(Py_None); resultobj = Py_None;
20608 return resultobj;
20609 fail:
20610 return NULL;
20611}
20612
20613
20614static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20615 PyObject *resultobj;
20616 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20617 PyObject * obj0 = 0 ;
20618 char *kwnames[] = {
20619 (char *) "self", NULL
20620 };
20621
20622 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
20623 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20624 {
20625 PyThreadState* __tstate = wxPyBeginAllowThreads();
20626 (arg1)->CreateCanvas();
20627
20628 wxPyEndAllowThreads(__tstate);
20629 if (PyErr_Occurred()) SWIG_fail;
20630 }
20631 Py_INCREF(Py_None); resultobj = Py_None;
20632 return resultobj;
20633 fail:
20634 return NULL;
20635}
20636
20637
20638static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20639 PyObject *resultobj;
20640 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
20641 wxPreviewControlBar *result;
20642 PyObject * obj0 = 0 ;
20643 char *kwnames[] = {
20644 (char *) "self", NULL
20645 };
20646
20647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
20648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20649 {
20650 PyThreadState* __tstate = wxPyBeginAllowThreads();
20651 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
20652
20653 wxPyEndAllowThreads(__tstate);
20654 if (PyErr_Occurred()) SWIG_fail;
20655 }
20656 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
20657 return resultobj;
20658 fail:
20659 return NULL;
20660}
20661
20662
20663static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
20664 PyObject *obj;
20665 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20666 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
20667 Py_INCREF(obj);
20668 return Py_BuildValue((char *)"");
20669}
20670static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20671 PyObject *resultobj;
20672 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20673 long arg2 ;
20674 wxWindow *arg3 = (wxWindow *) 0 ;
20675 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20676 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20677 wxSize const &arg5_defvalue = wxDefaultSize ;
20678 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20679 long arg6 = (long) wxTAB_TRAVERSAL ;
20680 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20681 wxString *arg7 = (wxString *) &arg7_defvalue ;
20682 wxPreviewControlBar *result;
20683 wxPoint temp4 ;
20684 wxSize temp5 ;
20685 bool temp7 = False ;
20686 PyObject * obj0 = 0 ;
20687 PyObject * obj1 = 0 ;
20688 PyObject * obj2 = 0 ;
20689 PyObject * obj3 = 0 ;
20690 PyObject * obj4 = 0 ;
20691 PyObject * obj5 = 0 ;
20692 PyObject * obj6 = 0 ;
20693 char *kwnames[] = {
20694 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20695 };
20696
20697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
20698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20699 {
20700 arg2 = (long) SWIG_PyObj_AsLong(obj1);
20701 if (PyErr_Occurred()) SWIG_fail;
20702 }
20703 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20704 if (obj3) {
20705 {
20706 arg4 = &temp4;
20707 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20708 }
20709 }
20710 if (obj4) {
20711 {
20712 arg5 = &temp5;
20713 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20714 }
20715 }
20716 if (obj5) {
20717 {
20718 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 }
20722 if (obj6) {
20723 {
20724 arg7 = wxString_in_helper(obj6);
20725 if (arg7 == NULL) SWIG_fail;
20726 temp7 = True;
20727 }
20728 }
20729 {
20730 PyThreadState* __tstate = wxPyBeginAllowThreads();
20731 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20732
20733 wxPyEndAllowThreads(__tstate);
20734 if (PyErr_Occurred()) SWIG_fail;
20735 }
20736 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
20737 {
20738 if (temp7)
20739 delete arg7;
20740 }
20741 return resultobj;
20742 fail:
20743 {
20744 if (temp7)
20745 delete arg7;
20746 }
20747 return NULL;
20748}
20749
20750
20751static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20752 PyObject *resultobj;
20753 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20754 int result;
20755 PyObject * obj0 = 0 ;
20756 char *kwnames[] = {
20757 (char *) "self", NULL
20758 };
20759
20760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
20761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20762 {
20763 PyThreadState* __tstate = wxPyBeginAllowThreads();
20764 result = (int)(arg1)->GetZoomControl();
20765
20766 wxPyEndAllowThreads(__tstate);
20767 if (PyErr_Occurred()) SWIG_fail;
20768 }
20769 resultobj = SWIG_PyObj_FromInt((int)result);
20770 return resultobj;
20771 fail:
20772 return NULL;
20773}
20774
20775
20776static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20777 PyObject *resultobj;
20778 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20779 int arg2 ;
20780 PyObject * obj0 = 0 ;
20781 PyObject * obj1 = 0 ;
20782 char *kwnames[] = {
20783 (char *) "self",(char *) "zoom", NULL
20784 };
20785
20786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
20787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20788 {
20789 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20790 if (PyErr_Occurred()) SWIG_fail;
20791 }
20792 {
20793 PyThreadState* __tstate = wxPyBeginAllowThreads();
20794 (arg1)->SetZoomControl(arg2);
20795
20796 wxPyEndAllowThreads(__tstate);
20797 if (PyErr_Occurred()) SWIG_fail;
20798 }
20799 Py_INCREF(Py_None); resultobj = Py_None;
20800 return resultobj;
20801 fail:
20802 return NULL;
20803}
20804
20805
20806static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20807 PyObject *resultobj;
20808 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20809 wxPrintPreview *result;
20810 PyObject * obj0 = 0 ;
20811 char *kwnames[] = {
20812 (char *) "self", NULL
20813 };
20814
20815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
20816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20817 {
20818 PyThreadState* __tstate = wxPyBeginAllowThreads();
20819 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
20820
20821 wxPyEndAllowThreads(__tstate);
20822 if (PyErr_Occurred()) SWIG_fail;
20823 }
20824 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
20825 return resultobj;
20826 fail:
20827 return NULL;
20828}
20829
20830
20831static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
20832 PyObject *resultobj;
20833 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20834 PyObject * obj0 = 0 ;
20835 char *kwnames[] = {
20836 (char *) "self", NULL
20837 };
20838
20839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
20840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20841 {
20842 PyThreadState* __tstate = wxPyBeginAllowThreads();
20843 (arg1)->OnNext();
20844
20845 wxPyEndAllowThreads(__tstate);
20846 if (PyErr_Occurred()) SWIG_fail;
20847 }
20848 Py_INCREF(Py_None); resultobj = Py_None;
20849 return resultobj;
20850 fail:
20851 return NULL;
20852}
20853
20854
20855static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
20856 PyObject *resultobj;
20857 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20858 PyObject * obj0 = 0 ;
20859 char *kwnames[] = {
20860 (char *) "self", NULL
20861 };
20862
20863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
20864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20865 {
20866 PyThreadState* __tstate = wxPyBeginAllowThreads();
20867 (arg1)->OnPrevious();
20868
20869 wxPyEndAllowThreads(__tstate);
20870 if (PyErr_Occurred()) SWIG_fail;
20871 }
20872 Py_INCREF(Py_None); resultobj = Py_None;
20873 return resultobj;
20874 fail:
20875 return NULL;
20876}
20877
20878
20879static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
20880 PyObject *resultobj;
20881 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20882 PyObject * obj0 = 0 ;
20883 char *kwnames[] = {
20884 (char *) "self", NULL
20885 };
20886
20887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
20888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20889 {
20890 PyThreadState* __tstate = wxPyBeginAllowThreads();
20891 (arg1)->OnFirst();
20892
20893 wxPyEndAllowThreads(__tstate);
20894 if (PyErr_Occurred()) SWIG_fail;
20895 }
20896 Py_INCREF(Py_None); resultobj = Py_None;
20897 return resultobj;
20898 fail:
20899 return NULL;
20900}
20901
20902
20903static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
20904 PyObject *resultobj;
20905 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20906 PyObject * obj0 = 0 ;
20907 char *kwnames[] = {
20908 (char *) "self", NULL
20909 };
20910
20911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
20912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20913 {
20914 PyThreadState* __tstate = wxPyBeginAllowThreads();
20915 (arg1)->OnLast();
20916
20917 wxPyEndAllowThreads(__tstate);
20918 if (PyErr_Occurred()) SWIG_fail;
20919 }
20920 Py_INCREF(Py_None); resultobj = Py_None;
20921 return resultobj;
20922 fail:
20923 return NULL;
20924}
20925
20926
20927static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
20928 PyObject *resultobj;
20929 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
20930 PyObject * obj0 = 0 ;
20931 char *kwnames[] = {
20932 (char *) "self", NULL
20933 };
20934
20935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
20936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20937 {
20938 PyThreadState* __tstate = wxPyBeginAllowThreads();
20939 (arg1)->OnGoto();
20940
20941 wxPyEndAllowThreads(__tstate);
20942 if (PyErr_Occurred()) SWIG_fail;
20943 }
20944 Py_INCREF(Py_None); resultobj = Py_None;
20945 return resultobj;
20946 fail:
20947 return NULL;
20948}
20949
20950
20951static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20952 PyObject *obj;
20953 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20954 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
20955 Py_INCREF(obj);
20956 return Py_BuildValue((char *)"");
20957}
20958static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20959 PyObject *resultobj;
20960 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20961 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20962 wxPrintData *arg3 = (wxPrintData *) NULL ;
20963 wxPrintPreview *result;
20964 PyObject * obj0 = 0 ;
20965 PyObject * obj1 = 0 ;
20966 PyObject * obj2 = 0 ;
20967 char *kwnames[] = {
20968 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20969 };
20970
20971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20974 if (obj2) {
20975 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20976 }
20977 {
20978 PyThreadState* __tstate = wxPyBeginAllowThreads();
20979 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
20980
20981 wxPyEndAllowThreads(__tstate);
20982 if (PyErr_Occurred()) SWIG_fail;
20983 }
20984 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
20985 return resultobj;
20986 fail:
20987 return NULL;
20988}
20989
20990
20991static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20992 PyObject *resultobj;
20993 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20994 int arg2 ;
20995 bool result;
20996 PyObject * obj0 = 0 ;
20997 PyObject * obj1 = 0 ;
20998 char *kwnames[] = {
20999 (char *) "self",(char *) "pageNum", NULL
21000 };
21001
21002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21004 {
21005 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21006 if (PyErr_Occurred()) SWIG_fail;
21007 }
21008 {
21009 PyThreadState* __tstate = wxPyBeginAllowThreads();
21010 result = (bool)(arg1)->SetCurrentPage(arg2);
21011
21012 wxPyEndAllowThreads(__tstate);
21013 if (PyErr_Occurred()) SWIG_fail;
21014 }
21015 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21016 return resultobj;
21017 fail:
21018 return NULL;
21019}
21020
21021
21022static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21023 PyObject *resultobj;
21024 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21025 int result;
21026 PyObject * obj0 = 0 ;
21027 char *kwnames[] = {
21028 (char *) "self", NULL
21029 };
21030
21031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
21032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21033 {
21034 PyThreadState* __tstate = wxPyBeginAllowThreads();
21035 result = (int)(arg1)->GetCurrentPage();
21036
21037 wxPyEndAllowThreads(__tstate);
21038 if (PyErr_Occurred()) SWIG_fail;
21039 }
21040 resultobj = SWIG_PyObj_FromInt((int)result);
21041 return resultobj;
21042 fail:
21043 return NULL;
21044}
21045
21046
21047static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21048 PyObject *resultobj;
21049 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21050 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21051 PyObject * obj0 = 0 ;
21052 PyObject * obj1 = 0 ;
21053 char *kwnames[] = {
21054 (char *) "self",(char *) "printout", NULL
21055 };
21056
21057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
21058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21060 {
21061 PyThreadState* __tstate = wxPyBeginAllowThreads();
21062 (arg1)->SetPrintout(arg2);
21063
21064 wxPyEndAllowThreads(__tstate);
21065 if (PyErr_Occurred()) SWIG_fail;
21066 }
21067 Py_INCREF(Py_None); resultobj = Py_None;
21068 return resultobj;
21069 fail:
21070 return NULL;
21071}
21072
21073
21074static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21075 PyObject *resultobj;
21076 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21077 wxPyPrintout *result;
21078 PyObject * obj0 = 0 ;
21079 char *kwnames[] = {
21080 (char *) "self", NULL
21081 };
21082
21083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
21084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21085 {
21086 PyThreadState* __tstate = wxPyBeginAllowThreads();
21087 result = (wxPyPrintout *)(arg1)->GetPrintout();
21088
21089 wxPyEndAllowThreads(__tstate);
21090 if (PyErr_Occurred()) SWIG_fail;
21091 }
21092 {
21093 resultobj = wxPyMake_wxObject(result);
21094 }
21095 return resultobj;
21096 fail:
21097 return NULL;
21098}
21099
21100
21101static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21102 PyObject *resultobj;
21103 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21104 wxPyPrintout *result;
21105 PyObject * obj0 = 0 ;
21106 char *kwnames[] = {
21107 (char *) "self", NULL
21108 };
21109
21110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
21111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21112 {
21113 PyThreadState* __tstate = wxPyBeginAllowThreads();
21114 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
21115
21116 wxPyEndAllowThreads(__tstate);
21117 if (PyErr_Occurred()) SWIG_fail;
21118 }
21119 {
21120 resultobj = wxPyMake_wxObject(result);
21121 }
21122 return resultobj;
21123 fail:
21124 return NULL;
21125}
21126
21127
21128static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21129 PyObject *resultobj;
21130 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21131 wxFrame *arg2 = (wxFrame *) 0 ;
21132 PyObject * obj0 = 0 ;
21133 PyObject * obj1 = 0 ;
21134 char *kwnames[] = {
21135 (char *) "self",(char *) "frame", NULL
21136 };
21137
21138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
21139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21140 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21141 {
21142 PyThreadState* __tstate = wxPyBeginAllowThreads();
21143 (arg1)->SetFrame(arg2);
21144
21145 wxPyEndAllowThreads(__tstate);
21146 if (PyErr_Occurred()) SWIG_fail;
21147 }
21148 Py_INCREF(Py_None); resultobj = Py_None;
21149 return resultobj;
21150 fail:
21151 return NULL;
21152}
21153
21154
21155static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21156 PyObject *resultobj;
21157 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21158 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21159 PyObject * obj0 = 0 ;
21160 PyObject * obj1 = 0 ;
21161 char *kwnames[] = {
21162 (char *) "self",(char *) "canvas", NULL
21163 };
21164
21165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
21166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21168 {
21169 PyThreadState* __tstate = wxPyBeginAllowThreads();
21170 (arg1)->SetCanvas(arg2);
21171
21172 wxPyEndAllowThreads(__tstate);
21173 if (PyErr_Occurred()) SWIG_fail;
21174 }
21175 Py_INCREF(Py_None); resultobj = Py_None;
21176 return resultobj;
21177 fail:
21178 return NULL;
21179}
21180
21181
21182static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21183 PyObject *resultobj;
21184 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21185 wxFrame *result;
21186 PyObject * obj0 = 0 ;
21187 char *kwnames[] = {
21188 (char *) "self", NULL
21189 };
21190
21191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
21192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21193 {
21194 PyThreadState* __tstate = wxPyBeginAllowThreads();
21195 result = (wxFrame *)(arg1)->GetFrame();
21196
21197 wxPyEndAllowThreads(__tstate);
21198 if (PyErr_Occurred()) SWIG_fail;
21199 }
21200 {
21201 resultobj = wxPyMake_wxObject(result);
21202 }
21203 return resultobj;
21204 fail:
21205 return NULL;
21206}
21207
21208
21209static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21210 PyObject *resultobj;
21211 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21212 wxPreviewCanvas *result;
21213 PyObject * obj0 = 0 ;
21214 char *kwnames[] = {
21215 (char *) "self", NULL
21216 };
21217
21218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
21219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21220 {
21221 PyThreadState* __tstate = wxPyBeginAllowThreads();
21222 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
21223
21224 wxPyEndAllowThreads(__tstate);
21225 if (PyErr_Occurred()) SWIG_fail;
21226 }
21227 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
21228 return resultobj;
21229 fail:
21230 return NULL;
21231}
21232
21233
21234static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21235 PyObject *resultobj;
21236 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21237 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21238 wxDC *arg3 = 0 ;
21239 bool result;
21240 PyObject * obj0 = 0 ;
21241 PyObject * obj1 = 0 ;
21242 PyObject * obj2 = 0 ;
21243 char *kwnames[] = {
21244 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21245 };
21246
21247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21249 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21250 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21251 if (arg3 == NULL) {
21252 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21253 }
21254 {
21255 PyThreadState* __tstate = wxPyBeginAllowThreads();
21256 result = (bool)(arg1)->PaintPage(arg2,*arg3);
21257
21258 wxPyEndAllowThreads(__tstate);
21259 if (PyErr_Occurred()) SWIG_fail;
21260 }
21261 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21262 return resultobj;
21263 fail:
21264 return NULL;
21265}
21266
21267
21268static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21269 PyObject *resultobj;
21270 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21271 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21272 wxDC *arg3 = 0 ;
21273 bool result;
21274 PyObject * obj0 = 0 ;
21275 PyObject * obj1 = 0 ;
21276 PyObject * obj2 = 0 ;
21277 char *kwnames[] = {
21278 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21279 };
21280
21281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21284 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21285 if (arg3 == NULL) {
21286 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21287 }
21288 {
21289 PyThreadState* __tstate = wxPyBeginAllowThreads();
21290 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
21291
21292 wxPyEndAllowThreads(__tstate);
21293 if (PyErr_Occurred()) SWIG_fail;
21294 }
21295 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21296 return resultobj;
21297 fail:
21298 return NULL;
21299}
21300
21301
21302static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21303 PyObject *resultobj;
21304 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21305 int arg2 ;
21306 bool result;
21307 PyObject * obj0 = 0 ;
21308 PyObject * obj1 = 0 ;
21309 char *kwnames[] = {
21310 (char *) "self",(char *) "pageNum", NULL
21311 };
21312
21313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21315 {
21316 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21317 if (PyErr_Occurred()) SWIG_fail;
21318 }
21319 {
21320 PyThreadState* __tstate = wxPyBeginAllowThreads();
21321 result = (bool)(arg1)->RenderPage(arg2);
21322
21323 wxPyEndAllowThreads(__tstate);
21324 if (PyErr_Occurred()) SWIG_fail;
21325 }
21326 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21327 return resultobj;
21328 fail:
21329 return NULL;
21330}
21331
21332
21333static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
21334 PyObject *resultobj;
21335 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21336 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21337 PyObject * obj0 = 0 ;
21338 PyObject * obj1 = 0 ;
21339 char *kwnames[] = {
21340 (char *) "self",(char *) "canvas", NULL
21341 };
21342
21343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
21344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21346 {
21347 PyThreadState* __tstate = wxPyBeginAllowThreads();
21348 (arg1)->AdjustScrollbars(arg2);
21349
21350 wxPyEndAllowThreads(__tstate);
21351 if (PyErr_Occurred()) SWIG_fail;
21352 }
21353 Py_INCREF(Py_None); resultobj = Py_None;
21354 return resultobj;
21355 fail:
21356 return NULL;
21357}
21358
21359
21360static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21361 PyObject *resultobj;
21362 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21363 wxPrintDialogData *result;
21364 PyObject * obj0 = 0 ;
21365 char *kwnames[] = {
21366 (char *) "self", NULL
21367 };
21368
21369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
21370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21371 {
21372 PyThreadState* __tstate = wxPyBeginAllowThreads();
21373 {
21374 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21375 result = (wxPrintDialogData *) &_result_ref;
21376 }
21377
21378 wxPyEndAllowThreads(__tstate);
21379 if (PyErr_Occurred()) SWIG_fail;
21380 }
21381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
21382 return resultobj;
21383 fail:
21384 return NULL;
21385}
21386
21387
21388static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21389 PyObject *resultobj;
21390 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21391 int arg2 ;
21392 PyObject * obj0 = 0 ;
21393 PyObject * obj1 = 0 ;
21394 char *kwnames[] = {
21395 (char *) "self",(char *) "percent", NULL
21396 };
21397
21398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21400 {
21401 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21402 if (PyErr_Occurred()) SWIG_fail;
21403 }
21404 {
21405 PyThreadState* __tstate = wxPyBeginAllowThreads();
21406 (arg1)->SetZoom(arg2);
21407
21408 wxPyEndAllowThreads(__tstate);
21409 if (PyErr_Occurred()) SWIG_fail;
21410 }
21411 Py_INCREF(Py_None); resultobj = Py_None;
21412 return resultobj;
21413 fail:
21414 return NULL;
21415}
21416
21417
21418static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21419 PyObject *resultobj;
21420 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21421 int result;
21422 PyObject * obj0 = 0 ;
21423 char *kwnames[] = {
21424 (char *) "self", NULL
21425 };
21426
21427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
21428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21429 {
21430 PyThreadState* __tstate = wxPyBeginAllowThreads();
21431 result = (int)(arg1)->GetZoom();
21432
21433 wxPyEndAllowThreads(__tstate);
21434 if (PyErr_Occurred()) SWIG_fail;
21435 }
21436 resultobj = SWIG_PyObj_FromInt((int)result);
21437 return resultobj;
21438 fail:
21439 return NULL;
21440}
21441
21442
21443static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21444 PyObject *resultobj;
21445 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21446 int result;
21447 PyObject * obj0 = 0 ;
21448 char *kwnames[] = {
21449 (char *) "self", NULL
21450 };
21451
21452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
21453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21454 {
21455 PyThreadState* __tstate = wxPyBeginAllowThreads();
21456 result = (int)(arg1)->GetMaxPage();
21457
21458 wxPyEndAllowThreads(__tstate);
21459 if (PyErr_Occurred()) SWIG_fail;
21460 }
21461 resultobj = SWIG_PyObj_FromInt((int)result);
21462 return resultobj;
21463 fail:
21464 return NULL;
21465}
21466
21467
21468static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21469 PyObject *resultobj;
21470 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21471 int result;
21472 PyObject * obj0 = 0 ;
21473 char *kwnames[] = {
21474 (char *) "self", NULL
21475 };
21476
21477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
21478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21479 {
21480 PyThreadState* __tstate = wxPyBeginAllowThreads();
21481 result = (int)(arg1)->GetMinPage();
21482
21483 wxPyEndAllowThreads(__tstate);
21484 if (PyErr_Occurred()) SWIG_fail;
21485 }
21486 resultobj = SWIG_PyObj_FromInt((int)result);
21487 return resultobj;
21488 fail:
21489 return NULL;
21490}
21491
21492
21493static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21494 PyObject *resultobj;
21495 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21496 bool result;
21497 PyObject * obj0 = 0 ;
21498 char *kwnames[] = {
21499 (char *) "self", NULL
21500 };
21501
21502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
21503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21504 {
21505 PyThreadState* __tstate = wxPyBeginAllowThreads();
21506 result = (bool)(arg1)->Ok();
21507
21508 wxPyEndAllowThreads(__tstate);
21509 if (PyErr_Occurred()) SWIG_fail;
21510 }
21511 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21512 return resultobj;
21513 fail:
21514 return NULL;
21515}
21516
21517
21518static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
21519 PyObject *resultobj;
21520 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21521 bool arg2 ;
21522 PyObject * obj0 = 0 ;
21523 PyObject * obj1 = 0 ;
21524 char *kwnames[] = {
21525 (char *) "self",(char *) "ok", NULL
21526 };
21527
21528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
21529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21530 {
21531 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21532 if (PyErr_Occurred()) SWIG_fail;
21533 }
21534 {
21535 PyThreadState* __tstate = wxPyBeginAllowThreads();
21536 (arg1)->SetOk(arg2);
21537
21538 wxPyEndAllowThreads(__tstate);
21539 if (PyErr_Occurred()) SWIG_fail;
21540 }
21541 Py_INCREF(Py_None); resultobj = Py_None;
21542 return resultobj;
21543 fail:
21544 return NULL;
21545}
21546
21547
21548static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21549 PyObject *resultobj;
21550 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21551 bool arg2 ;
21552 bool result;
21553 PyObject * obj0 = 0 ;
21554 PyObject * obj1 = 0 ;
21555 char *kwnames[] = {
21556 (char *) "self",(char *) "interactive", NULL
21557 };
21558
21559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
21560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21561 {
21562 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21563 if (PyErr_Occurred()) SWIG_fail;
21564 }
21565 {
21566 PyThreadState* __tstate = wxPyBeginAllowThreads();
21567 result = (bool)(arg1)->Print(arg2);
21568
21569 wxPyEndAllowThreads(__tstate);
21570 if (PyErr_Occurred()) SWIG_fail;
21571 }
21572 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21573 return resultobj;
21574 fail:
21575 return NULL;
21576}
21577
21578
21579static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
21580 PyObject *resultobj;
21581 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21582 PyObject * obj0 = 0 ;
21583 char *kwnames[] = {
21584 (char *) "self", NULL
21585 };
21586
21587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
21588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21589 {
21590 PyThreadState* __tstate = wxPyBeginAllowThreads();
21591 (arg1)->DetermineScaling();
21592
21593 wxPyEndAllowThreads(__tstate);
21594 if (PyErr_Occurred()) SWIG_fail;
21595 }
21596 Py_INCREF(Py_None); resultobj = Py_None;
21597 return resultobj;
21598 fail:
21599 return NULL;
21600}
21601
21602
21603static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
21604 PyObject *obj;
21605 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21606 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
21607 Py_INCREF(obj);
21608 return Py_BuildValue((char *)"");
21609}
21610static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21611 PyObject *resultobj;
21612 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21613 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21614 wxPrintData *arg3 = (wxPrintData *) NULL ;
21615 wxPyPrintPreview *result;
21616 PyObject * obj0 = 0 ;
21617 PyObject * obj1 = 0 ;
21618 PyObject * obj2 = 0 ;
21619 char *kwnames[] = {
21620 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21621 };
21622
21623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21625 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21626 if (obj2) {
21627 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21628 }
21629 {
21630 PyThreadState* __tstate = wxPyBeginAllowThreads();
21631 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
21632
21633 wxPyEndAllowThreads(__tstate);
21634 if (PyErr_Occurred()) SWIG_fail;
21635 }
21636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
21637 return resultobj;
21638 fail:
21639 return NULL;
21640}
21641
21642
21643static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21644 PyObject *resultobj;
21645 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21646 PyObject *arg2 = (PyObject *) 0 ;
21647 PyObject *arg3 = (PyObject *) 0 ;
21648 PyObject * obj0 = 0 ;
21649 PyObject * obj1 = 0 ;
21650 PyObject * obj2 = 0 ;
21651 char *kwnames[] = {
21652 (char *) "self",(char *) "self",(char *) "_class", NULL
21653 };
21654
21655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21657 arg2 = obj1;
21658 arg3 = obj2;
21659 {
21660 PyThreadState* __tstate = wxPyBeginAllowThreads();
21661 (arg1)->_setCallbackInfo(arg2,arg3);
21662
21663 wxPyEndAllowThreads(__tstate);
21664 if (PyErr_Occurred()) SWIG_fail;
21665 }
21666 Py_INCREF(Py_None); resultobj = Py_None;
21667 return resultobj;
21668 fail:
21669 return NULL;
21670}
21671
21672
21673static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21674 PyObject *resultobj;
21675 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21676 int arg2 ;
21677 bool result;
21678 PyObject * obj0 = 0 ;
21679 PyObject * obj1 = 0 ;
21680 char *kwnames[] = {
21681 (char *) "self",(char *) "pageNum", NULL
21682 };
21683
21684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
21685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21686 {
21687 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21688 if (PyErr_Occurred()) SWIG_fail;
21689 }
21690 {
21691 PyThreadState* __tstate = wxPyBeginAllowThreads();
21692 result = (bool)(arg1)->base_SetCurrentPage(arg2);
21693
21694 wxPyEndAllowThreads(__tstate);
21695 if (PyErr_Occurred()) SWIG_fail;
21696 }
21697 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21698 return resultobj;
21699 fail:
21700 return NULL;
21701}
21702
21703
21704static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21705 PyObject *resultobj;
21706 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21707 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21708 wxDC *arg3 = 0 ;
21709 bool result;
21710 PyObject * obj0 = 0 ;
21711 PyObject * obj1 = 0 ;
21712 PyObject * obj2 = 0 ;
21713 char *kwnames[] = {
21714 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21715 };
21716
21717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21719 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21720 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21721 if (arg3 == NULL) {
21722 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21723 }
21724 {
21725 PyThreadState* __tstate = wxPyBeginAllowThreads();
21726 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
21727
21728 wxPyEndAllowThreads(__tstate);
21729 if (PyErr_Occurred()) SWIG_fail;
21730 }
21731 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21732 return resultobj;
21733 fail:
21734 return NULL;
21735}
21736
21737
21738static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21739 PyObject *resultobj;
21740 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21741 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21742 wxDC *arg3 = 0 ;
21743 bool result;
21744 PyObject * obj0 = 0 ;
21745 PyObject * obj1 = 0 ;
21746 PyObject * obj2 = 0 ;
21747 char *kwnames[] = {
21748 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21749 };
21750
21751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21753 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21754 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21755 if (arg3 == NULL) {
21756 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21757 }
21758 {
21759 PyThreadState* __tstate = wxPyBeginAllowThreads();
21760 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
21761
21762 wxPyEndAllowThreads(__tstate);
21763 if (PyErr_Occurred()) SWIG_fail;
21764 }
21765 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21766 return resultobj;
21767 fail:
21768 return NULL;
21769}
21770
21771
21772static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21773 PyObject *resultobj;
21774 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21775 int arg2 ;
21776 bool result;
21777 PyObject * obj0 = 0 ;
21778 PyObject * obj1 = 0 ;
21779 char *kwnames[] = {
21780 (char *) "self",(char *) "pageNum", NULL
21781 };
21782
21783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
21784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21785 {
21786 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21787 if (PyErr_Occurred()) SWIG_fail;
21788 }
21789 {
21790 PyThreadState* __tstate = wxPyBeginAllowThreads();
21791 result = (bool)(arg1)->base_RenderPage(arg2);
21792
21793 wxPyEndAllowThreads(__tstate);
21794 if (PyErr_Occurred()) SWIG_fail;
21795 }
21796 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21797 return resultobj;
21798 fail:
21799 return NULL;
21800}
21801
21802
21803static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21804 PyObject *resultobj;
21805 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21806 int arg2 ;
21807 PyObject * obj0 = 0 ;
21808 PyObject * obj1 = 0 ;
21809 char *kwnames[] = {
21810 (char *) "self",(char *) "percent", NULL
21811 };
21812
21813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
21814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21815 {
21816 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21817 if (PyErr_Occurred()) SWIG_fail;
21818 }
21819 {
21820 PyThreadState* __tstate = wxPyBeginAllowThreads();
21821 (arg1)->base_SetZoom(arg2);
21822
21823 wxPyEndAllowThreads(__tstate);
21824 if (PyErr_Occurred()) SWIG_fail;
21825 }
21826 Py_INCREF(Py_None); resultobj = Py_None;
21827 return resultobj;
21828 fail:
21829 return NULL;
21830}
21831
21832
21833static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
21834 PyObject *resultobj;
21835 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21836 bool arg2 ;
21837 bool result;
21838 PyObject * obj0 = 0 ;
21839 PyObject * obj1 = 0 ;
21840 char *kwnames[] = {
21841 (char *) "self",(char *) "interactive", NULL
21842 };
21843
21844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
21845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21846 {
21847 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
21848 if (PyErr_Occurred()) SWIG_fail;
21849 }
21850 {
21851 PyThreadState* __tstate = wxPyBeginAllowThreads();
21852 result = (bool)(arg1)->base_Print(arg2);
21853
21854 wxPyEndAllowThreads(__tstate);
21855 if (PyErr_Occurred()) SWIG_fail;
21856 }
21857 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
21858 return resultobj;
21859 fail:
21860 return NULL;
21861}
21862
21863
21864static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
21865 PyObject *resultobj;
21866 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
21867 PyObject * obj0 = 0 ;
21868 char *kwnames[] = {
21869 (char *) "self", NULL
21870 };
21871
21872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
21873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21874 {
21875 PyThreadState* __tstate = wxPyBeginAllowThreads();
21876 (arg1)->base_DetermineScaling();
21877
21878 wxPyEndAllowThreads(__tstate);
21879 if (PyErr_Occurred()) SWIG_fail;
21880 }
21881 Py_INCREF(Py_None); resultobj = Py_None;
21882 return resultobj;
21883 fail:
21884 return NULL;
21885}
21886
21887
21888static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
21889 PyObject *obj;
21890 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21891 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
21892 Py_INCREF(obj);
21893 return Py_BuildValue((char *)"");
21894}
21895static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21896 PyObject *resultobj;
21897 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21898 wxFrame *arg2 = (wxFrame *) 0 ;
21899 wxString *arg3 = 0 ;
21900 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21901 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21902 wxSize const &arg5_defvalue = wxDefaultSize ;
21903 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21904 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
21905 wxString const &arg7_defvalue = wxPyFrameNameStr ;
21906 wxString *arg7 = (wxString *) &arg7_defvalue ;
21907 wxPyPreviewFrame *result;
21908 bool temp3 = False ;
21909 wxPoint temp4 ;
21910 wxSize temp5 ;
21911 bool temp7 = False ;
21912 PyObject * obj0 = 0 ;
21913 PyObject * obj1 = 0 ;
21914 PyObject * obj2 = 0 ;
21915 PyObject * obj3 = 0 ;
21916 PyObject * obj4 = 0 ;
21917 PyObject * obj5 = 0 ;
21918 PyObject * obj6 = 0 ;
21919 char *kwnames[] = {
21920 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21921 };
21922
21923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
21924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21925 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21926 {
21927 arg3 = wxString_in_helper(obj2);
21928 if (arg3 == NULL) SWIG_fail;
21929 temp3 = True;
21930 }
21931 if (obj3) {
21932 {
21933 arg4 = &temp4;
21934 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21935 }
21936 }
21937 if (obj4) {
21938 {
21939 arg5 = &temp5;
21940 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21941 }
21942 }
21943 if (obj5) {
21944 {
21945 arg6 = (long) SWIG_PyObj_AsLong(obj5);
21946 if (PyErr_Occurred()) SWIG_fail;
21947 }
21948 }
21949 if (obj6) {
21950 {
21951 arg7 = wxString_in_helper(obj6);
21952 if (arg7 == NULL) SWIG_fail;
21953 temp7 = True;
21954 }
21955 }
21956 {
21957 PyThreadState* __tstate = wxPyBeginAllowThreads();
21958 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21959
21960 wxPyEndAllowThreads(__tstate);
21961 if (PyErr_Occurred()) SWIG_fail;
21962 }
21963 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
21964 {
21965 if (temp3)
21966 delete arg3;
21967 }
21968 {
21969 if (temp7)
21970 delete arg7;
21971 }
21972 return resultobj;
21973 fail:
21974 {
21975 if (temp3)
21976 delete arg3;
21977 }
21978 {
21979 if (temp7)
21980 delete arg7;
21981 }
21982 return NULL;
21983}
21984
21985
21986static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
21987 PyObject *resultobj;
21988 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
21989 PyObject *arg2 = (PyObject *) 0 ;
21990 PyObject *arg3 = (PyObject *) 0 ;
21991 PyObject * obj0 = 0 ;
21992 PyObject * obj1 = 0 ;
21993 PyObject * obj2 = 0 ;
21994 char *kwnames[] = {
21995 (char *) "self",(char *) "self",(char *) "_class", NULL
21996 };
21997
21998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
21999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22000 arg2 = obj1;
22001 arg3 = obj2;
22002 {
22003 PyThreadState* __tstate = wxPyBeginAllowThreads();
22004 (arg1)->_setCallbackInfo(arg2,arg3);
22005
22006 wxPyEndAllowThreads(__tstate);
22007 if (PyErr_Occurred()) SWIG_fail;
22008 }
22009 Py_INCREF(Py_None); resultobj = Py_None;
22010 return resultobj;
22011 fail:
22012 return NULL;
22013}
22014
22015
22016static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22017 PyObject *resultobj;
22018 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22019 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22020 PyObject * obj0 = 0 ;
22021 PyObject * obj1 = 0 ;
22022 char *kwnames[] = {
22023 (char *) "self",(char *) "canvas", NULL
22024 };
22025
22026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
22027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22028 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22029 {
22030 PyThreadState* __tstate = wxPyBeginAllowThreads();
22031 (arg1)->SetPreviewCanvas(arg2);
22032
22033 wxPyEndAllowThreads(__tstate);
22034 if (PyErr_Occurred()) SWIG_fail;
22035 }
22036 Py_INCREF(Py_None); resultobj = Py_None;
22037 return resultobj;
22038 fail:
22039 return NULL;
22040}
22041
22042
22043static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22044 PyObject *resultobj;
22045 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22046 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
22047 PyObject * obj0 = 0 ;
22048 PyObject * obj1 = 0 ;
22049 char *kwnames[] = {
22050 (char *) "self",(char *) "bar", NULL
22051 };
22052
22053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
22054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22055 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22056 {
22057 PyThreadState* __tstate = wxPyBeginAllowThreads();
22058 (arg1)->SetControlBar(arg2);
22059
22060 wxPyEndAllowThreads(__tstate);
22061 if (PyErr_Occurred()) SWIG_fail;
22062 }
22063 Py_INCREF(Py_None); resultobj = Py_None;
22064 return resultobj;
22065 fail:
22066 return NULL;
22067}
22068
22069
22070static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22071 PyObject *resultobj;
22072 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22073 PyObject * obj0 = 0 ;
22074 char *kwnames[] = {
22075 (char *) "self", NULL
22076 };
22077
22078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
22079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22080 {
22081 PyThreadState* __tstate = wxPyBeginAllowThreads();
22082 (arg1)->base_Initialize();
22083
22084 wxPyEndAllowThreads(__tstate);
22085 if (PyErr_Occurred()) SWIG_fail;
22086 }
22087 Py_INCREF(Py_None); resultobj = Py_None;
22088 return resultobj;
22089 fail:
22090 return NULL;
22091}
22092
22093
22094static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22095 PyObject *resultobj;
22096 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22097 PyObject * obj0 = 0 ;
22098 char *kwnames[] = {
22099 (char *) "self", NULL
22100 };
22101
22102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
22103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22104 {
22105 PyThreadState* __tstate = wxPyBeginAllowThreads();
22106 (arg1)->base_CreateCanvas();
22107
22108 wxPyEndAllowThreads(__tstate);
22109 if (PyErr_Occurred()) SWIG_fail;
22110 }
22111 Py_INCREF(Py_None); resultobj = Py_None;
22112 return resultobj;
22113 fail:
22114 return NULL;
22115}
22116
22117
22118static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22119 PyObject *resultobj;
22120 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22121 PyObject * obj0 = 0 ;
22122 char *kwnames[] = {
22123 (char *) "self", NULL
22124 };
22125
22126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
22127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22128 {
22129 PyThreadState* __tstate = wxPyBeginAllowThreads();
22130 (arg1)->base_CreateControlBar();
22131
22132 wxPyEndAllowThreads(__tstate);
22133 if (PyErr_Occurred()) SWIG_fail;
22134 }
22135 Py_INCREF(Py_None); resultobj = Py_None;
22136 return resultobj;
22137 fail:
22138 return NULL;
22139}
22140
22141
22142static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
22143 PyObject *obj;
22144 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22145 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
22146 Py_INCREF(obj);
22147 return Py_BuildValue((char *)"");
22148}
22149static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22150 PyObject *resultobj;
22151 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22152 long arg2 ;
22153 wxWindow *arg3 = (wxWindow *) 0 ;
22154 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22155 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22156 wxSize const &arg5_defvalue = wxDefaultSize ;
22157 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22158 long arg6 = (long) 0 ;
22159 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22160 wxString *arg7 = (wxString *) &arg7_defvalue ;
22161 wxPyPreviewControlBar *result;
22162 wxPoint temp4 ;
22163 wxSize temp5 ;
22164 bool temp7 = False ;
22165 PyObject * obj0 = 0 ;
22166 PyObject * obj1 = 0 ;
22167 PyObject * obj2 = 0 ;
22168 PyObject * obj3 = 0 ;
22169 PyObject * obj4 = 0 ;
22170 PyObject * obj5 = 0 ;
22171 PyObject * obj6 = 0 ;
22172 char *kwnames[] = {
22173 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22174 };
22175
22176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
22177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22178 {
22179 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22180 if (PyErr_Occurred()) SWIG_fail;
22181 }
22182 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22183 if (obj3) {
22184 {
22185 arg4 = &temp4;
22186 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22187 }
22188 }
22189 if (obj4) {
22190 {
22191 arg5 = &temp5;
22192 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22193 }
22194 }
22195 if (obj5) {
22196 {
22197 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22198 if (PyErr_Occurred()) SWIG_fail;
22199 }
22200 }
22201 if (obj6) {
22202 {
22203 arg7 = wxString_in_helper(obj6);
22204 if (arg7 == NULL) SWIG_fail;
22205 temp7 = True;
22206 }
22207 }
22208 {
22209 PyThreadState* __tstate = wxPyBeginAllowThreads();
22210 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22211
22212 wxPyEndAllowThreads(__tstate);
22213 if (PyErr_Occurred()) SWIG_fail;
22214 }
22215 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
22216 {
22217 if (temp7)
22218 delete arg7;
22219 }
22220 return resultobj;
22221 fail:
22222 {
22223 if (temp7)
22224 delete arg7;
22225 }
22226 return NULL;
22227}
22228
22229
22230static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22231 PyObject *resultobj;
22232 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22233 PyObject *arg2 = (PyObject *) 0 ;
22234 PyObject *arg3 = (PyObject *) 0 ;
22235 PyObject * obj0 = 0 ;
22236 PyObject * obj1 = 0 ;
22237 PyObject * obj2 = 0 ;
22238 char *kwnames[] = {
22239 (char *) "self",(char *) "self",(char *) "_class", NULL
22240 };
22241
22242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22244 arg2 = obj1;
22245 arg3 = obj2;
22246 {
22247 PyThreadState* __tstate = wxPyBeginAllowThreads();
22248 (arg1)->_setCallbackInfo(arg2,arg3);
22249
22250 wxPyEndAllowThreads(__tstate);
22251 if (PyErr_Occurred()) SWIG_fail;
22252 }
22253 Py_INCREF(Py_None); resultobj = Py_None;
22254 return resultobj;
22255 fail:
22256 return NULL;
22257}
22258
22259
22260static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22261 PyObject *resultobj;
22262 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22263 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
22264 PyObject * obj0 = 0 ;
22265 PyObject * obj1 = 0 ;
22266 char *kwnames[] = {
22267 (char *) "self",(char *) "preview", NULL
22268 };
22269
22270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
22271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22272 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22273 {
22274 PyThreadState* __tstate = wxPyBeginAllowThreads();
22275 (arg1)->SetPrintPreview(arg2);
22276
22277 wxPyEndAllowThreads(__tstate);
22278 if (PyErr_Occurred()) SWIG_fail;
22279 }
22280 Py_INCREF(Py_None); resultobj = Py_None;
22281 return resultobj;
22282 fail:
22283 return NULL;
22284}
22285
22286
22287static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
22288 PyObject *resultobj;
22289 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22290 PyObject * obj0 = 0 ;
22291 char *kwnames[] = {
22292 (char *) "self", NULL
22293 };
22294
22295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
22296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22297 {
22298 PyThreadState* __tstate = wxPyBeginAllowThreads();
22299 (arg1)->base_CreateButtons();
22300
22301 wxPyEndAllowThreads(__tstate);
22302 if (PyErr_Occurred()) SWIG_fail;
22303 }
22304 Py_INCREF(Py_None); resultobj = Py_None;
22305 return resultobj;
22306 fail:
22307 return NULL;
22308}
22309
22310
22311static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22312 PyObject *resultobj;
22313 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22314 int arg2 ;
22315 PyObject * obj0 = 0 ;
22316 PyObject * obj1 = 0 ;
22317 char *kwnames[] = {
22318 (char *) "self",(char *) "zoom", NULL
22319 };
22320
22321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
22322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22323 {
22324 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22325 if (PyErr_Occurred()) SWIG_fail;
22326 }
22327 {
22328 PyThreadState* __tstate = wxPyBeginAllowThreads();
22329 (arg1)->base_SetZoomControl(arg2);
22330
22331 wxPyEndAllowThreads(__tstate);
22332 if (PyErr_Occurred()) SWIG_fail;
22333 }
22334 Py_INCREF(Py_None); resultobj = Py_None;
22335 return resultobj;
22336 fail:
22337 return NULL;
22338}
22339
22340
22341static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22342 PyObject *obj;
22343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22344 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
22345 Py_INCREF(obj);
22346 return Py_BuildValue((char *)"");
22347}
22348static PyMethodDef SwigMethods[] = {
22349 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
22350 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
22351 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
22352 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
22353 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
22354 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22355 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22356 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22357 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
22358 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
22359 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22360 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22361 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
22362 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
22363 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
22364 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
22365 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
22366 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
22367 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
22368 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
22369 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
22370 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
22371 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
22372 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22373 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22374 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
22375 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
22376 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
22377 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
22378 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
22379 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
22380 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
22381 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
22382 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
22383 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
22384 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
22385 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
22386 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
22387 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
22388 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
22389 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
22390 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
22391 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
22392 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
22393 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
22394 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
22395 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
22396 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
22397 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
22398 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
22399 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
22400 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
22401 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
22402 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22403 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22404 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22405 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22406 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22407 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22408 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
22409 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
22410 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
22411 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
22412 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
22413 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
22414 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
22415 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
22416 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
22417 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
22418 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
22419 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
22420 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
22421 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
22422 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22423 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
22424 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
22425 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
22426 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
22427 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
22428 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
22429 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
22430 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
22431 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
22432 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
22433 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
22434 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
22435 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
22436 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
22437 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
22438 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
22439 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
22440 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
22441 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
22442 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22443 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22444 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22445 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
22446 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22447 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22448 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22449 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
22450 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
22451 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
22452 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
22453 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
22454 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
22455 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
22456 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
22457 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
22458 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
22459 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
22460 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
22461 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
22462 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
22463 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
22464 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
22465 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
22466 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
22467 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
22468 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
22469 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
22470 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
22471 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22472 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22473 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22474 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22475 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22476 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22477 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22478 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22479 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
22480 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
22481 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22482 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22483 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
22484 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
22485 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
22486 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
22487 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
22488 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
22489 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
22490 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
22491 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
22492 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
22493 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
22494 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
22495 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22496 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22497 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22498 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22499 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22500 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22501 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22502 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22503 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22504 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22505 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22506 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22507 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22508 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22509 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
22510 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
22511 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
22512 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
22513 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
22514 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
22515 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
22516 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
22517 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
22518 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
22519 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22520 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22521 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22522 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22523 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
22524 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
22525 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22526 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22527 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22528 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22529 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
22530 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
22531 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22532 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22533 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
22534 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
22535 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
22536 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22537 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22538 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
22539 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22540 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22541 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22542 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
22543 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22544 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
22545 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22546 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22547 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
22548 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
22549 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
22550 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
22551 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
22552 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
22553 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
22554 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
22555 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
22556 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
22557 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
22558 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
22559 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
22560 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
22561 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22562 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22563 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22564 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22565 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
22566 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
22567 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
22568 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
22569 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
22570 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
22571 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
22572 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
22573 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
22574 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
22575 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
22576 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
22577 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
22578 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
22579 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
22580 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
22581 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22582 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
22583 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
22584 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
22585 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
22586 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
22587 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
22588 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
22589 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
22590 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
22591 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
22592 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
22593 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
22594 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
22595 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
22596 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
22597 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
22598 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
22599 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
22600 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
22601 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
22602 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
22603 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
22604 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
22605 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
22606 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
22607 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22608 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
22609 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
22610 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
22611 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
22612 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
22613 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
22614 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
22615 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
22616 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
22617 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
22618 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
22619 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
22620 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
22621 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
22622 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
22623 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
22624 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
22625 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
22626 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
22627 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
22628 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22629 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
22630 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
22631 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
22632 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
22633 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
22634 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
22635 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
22636 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22637 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
22638 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
22639 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
22640 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
22641 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
22642 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
22643 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
22644 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
22645 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
22646 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
22647 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
22648 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
22649 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
22650 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
22651 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
22652 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
22653 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
22654 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
22655 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
22656 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
22657 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
22658 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
22659 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
22660 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
22661 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
22662 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
22663 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
22664 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22665 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
22666 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
22667 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
22668 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
22669 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22670 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
22671 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
22672 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
22673 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
22674 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
22675 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
22676 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
22677 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
22678 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
22679 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
22680 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
22681 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
22682 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
22683 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
22684 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
22685 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
22686 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
22687 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
22688 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
22689 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22690 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
22691 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
22692 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22693 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
22694 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
22695 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
22696 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
22697 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
22698 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
22699 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22700 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
22701 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
22702 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
22703 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22704 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
22705 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
22706 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
22707 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
22708 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
22709 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
22710 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
22711 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
22712 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
22713 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
22714 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
22715 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
22716 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
22717 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
22718 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
22719 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
22720 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
22721 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
22722 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
22723 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
22724 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
22725 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
22726 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
22727 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
22728 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
22729 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
22730 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
22731 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
22732 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
22733 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
22734 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
22735 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
22736 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
22737 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
22738 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
22739 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
22740 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
22741 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
22742 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
22743 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
22744 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
22745 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
22746 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22747 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
22748 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
22749 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
22750 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
22751 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
22752 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
22753 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
22754 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
22755 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
22756 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
22757 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
22758 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
22759 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
22760 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
22761 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
22762 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
22763 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
22764 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
22765 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
22766 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
22767 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22768 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
22769 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
22770 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
22771 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
22772 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
22773 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
22774 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
22775 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
22776 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
22777 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
22778 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
22779 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
22780 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
22781 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
22782 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
22783 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
22784 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
22785 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
22786 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
22787 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
22788 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
22789 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
22790 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
22791 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22792 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
22793 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
22794 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
22795 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
22796 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
22797 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
22798 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
22799 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
22800 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
22801 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22802 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
22803 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
22804 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
22805 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
22806 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
22807 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
22808 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
22809 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
22810 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
22811 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
22812 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
22813 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
22814 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
22815 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
22816 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
22817 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
22818 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
22819 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
22820 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
22821 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
22822 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
22823 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
22824 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
22825 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
22826 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
22827 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
22828 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
22829 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
22830 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
22831 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
22832 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
22833 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
22834 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
22835 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
22836 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
22837 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
22838 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
22839 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
22840 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
22841 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
22842 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
22843 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
22844 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
22845 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
22846 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
22847 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
22848 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
22849 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
22850 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
22851 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
22852 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
22853 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
22854 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
22855 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
22856 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
22857 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
22858 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
22859 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
22860 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
22861 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
22862 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
22863 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
22864 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
22865 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22866 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
22867 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
22868 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
22869 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
22870 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
22871 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
22872 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
22873 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
22874 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
22875 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
22876 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
22877 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
22878 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
22879 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
22880 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
22881 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
22882 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
22883 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
22884 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
22885 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
22886 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
22887 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
22888 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
22889 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
22890 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
22891 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
22892 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
22893 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
22894 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
22895 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
22896 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
22897 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
22898 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
22899 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
22900 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
22901 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
22902 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
22903 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
22904 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22905 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
22906 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
22907 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
22908 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
22909 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
22910 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
22911 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
22912 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
22913 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
22914 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
22915 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
22916 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
22917 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
22918 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22919 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
22920 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
22921 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
22922 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
22923 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
22924 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
22925 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
22926 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
22927 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
22928 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
22929 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
22930 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
22931 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
22932 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
22933 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
22934 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
22935 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
22936 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
22937 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
22938 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
22939 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
22940 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
22941 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
22942 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
22943 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
22944 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
22945 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
22946 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
22947 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
22948 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
22949 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
22950 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
22951 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
22952 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
22953 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
22954 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
22955 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
22956 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
22957 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
22958 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
22959 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
22960 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
22961 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
22962 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
22963 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
22964 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
22965 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
22966 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
22967 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
22968 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
22969 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
22970 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
22971 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
22972 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
22973 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
22974 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
22975 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
22976 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
22977 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
22978 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
22979 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
22980 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
22981 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
22982 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
22983 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22984 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
22985 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
22986 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
22987 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
22988 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
22989 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
22990 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
22991 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
22992 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
22993 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
22994 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
22995 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
22996 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
22997 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
22998 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
22999 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
23000 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23001 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23002 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23003 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
23004 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23005 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
23006 { NULL, NULL }
23007};
23008
23009
23010/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23011
23012static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
23013 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23014}
23015static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
23016 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
23017}
23018static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
23019 return (void *)((wxEvent *) ((wxMenuEvent *) x));
23020}
23021static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
23022 return (void *)((wxEvent *) ((wxCloseEvent *) x));
23023}
23024static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
23025 return (void *)((wxEvent *) ((wxMouseEvent *) x));
23026}
23027static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
23028 return (void *)((wxEvent *) ((wxEraseEvent *) x));
23029}
23030static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
23031 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
23032}
23033static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
23034 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23035}
23036static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
23037 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
23038}
23039static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
23040 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
23041}
23042static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
23043 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
23044}
23045static void *_p_wxPyEventTo_p_wxEvent(void *x) {
23046 return (void *)((wxEvent *) ((wxPyEvent *) x));
23047}
23048static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
23049 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
23050}
23051static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
23052 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
23053}
23054static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
23055 return (void *)((wxEvent *) ((wxIdleEvent *) x));
23056}
23057static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
23058 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
23059}
23060static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
23061 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
23062}
23063static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
23064 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
23065}
23066static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
23067 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
23068}
23069static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
23070 return (void *)((wxEvent *) ((wxActivateEvent *) x));
23071}
23072static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
23073 return (void *)((wxEvent *) ((wxSizeEvent *) x));
23074}
23075static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
23076 return (void *)((wxEvent *) ((wxMoveEvent *) x));
23077}
23078static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
23079 return (void *)((wxEvent *) ((wxPaintEvent *) x));
23080}
23081static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
23082 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
23083}
23084static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
23085 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
23086}
23087static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
23088 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
23089}
23090static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
23091 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
23092}
23093static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
23094 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23095}
23096static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
23097 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
23098}
23099static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
23100 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
23101}
23102static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
23103 return (void *)((wxEvent *) ((wxFocusEvent *) x));
23104}
23105static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
23106 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
23107}
23108static void *_p_wxSashEventTo_p_wxEvent(void *x) {
23109 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
23110}
23111static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
23112 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23113}
23114static void *_p_wxShowEventTo_p_wxEvent(void *x) {
23115 return (void *)((wxEvent *) ((wxShowEvent *) x));
23116}
23117static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
23118 return (void *)((wxEvent *) ((wxCommandEvent *) x));
23119}
23120static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
23121 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
23122}
23123static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
23124 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23125}
23126static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
23127 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
23128}
23129static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
23130 return (void *)((wxEvent *) ((wxKeyEvent *) x));
23131}
23132static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
23133 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
23134}
23135static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
23136 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
23137}
23138static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
23139 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
23140}
23141static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
23142 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23143}
23144static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
23145 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23146}
23147static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
23148 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23149}
23150static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
23151 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
23152}
23153static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
23154 return (void *)((wxEvtHandler *) ((wxValidator *) x));
23155}
23156static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
23157 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
23158}
23159static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
23160 return (void *)((wxEvtHandler *) ((wxMenu *) x));
23161}
23162static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
23163 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23164}
23165static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
23166 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23167}
23168static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
23169 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23170}
23171static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
23172 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23173}
23174static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
23175 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23176}
23177static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
23178 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23179}
23180static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
23181 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23182}
23183static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
23184 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
23185}
23186static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
23187 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
23188}
23189static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
23190 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23191}
23192static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
23193 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23194}
23195static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
23196 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23197}
23198static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
23199 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
23200}
23201static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
23202 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23203}
23204static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
23205 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
23206}
23207static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
23208 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
23209}
23210static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
23211 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
23212}
23213static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
23214 return (void *)((wxEvtHandler *) ((wxWindow *) x));
23215}
23216static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
23217 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23218}
23219static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
23220 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
23221}
23222static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
23223 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
23224}
23225static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
23226 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
23227}
23228static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
23229 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23230}
23231static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
23232 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23233}
23234static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
23235 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23236}
23237static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
23238 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
23239}
23240static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
23241 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23242}
23243static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
23244 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
23245}
23246static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
23247 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23248}
23249static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
23250 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23251}
23252static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
23253 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23254}
23255static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
23256 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23257}
23258static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
23259 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23260}
23261static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
23262 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
23263}
23264static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
23265 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23266}
23267static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
23268 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23269}
23270static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
23271 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23272}
23273static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
23274 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23275}
23276static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
23277 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23278}
23279static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
23280 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23281}
23282static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
23283 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23284}
23285static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
23286 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23287}
23288static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
23289 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
23290}
23291static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
23292 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
23293}
23294static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
23295 return (void *)((wxFrame *) ((wxProgressDialog *) x));
23296}
23297static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
23298 return (void *)((wxFrame *) ((wxTipWindow *) x));
23299}
23300static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
23301 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
23302}
23303static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
23304 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23305}
23306static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
23307 return (void *)((wxFrame *) ((wxMiniFrame *) x));
23308}
23309static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
23310 return (void *)((wxFrame *) ((wxSplashScreen *) x));
23311}
23312static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
23313 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
23314}
23315static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
23316 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
23317}
23318static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
23319 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23320}
23321static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
23322 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23323}
23324static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
23325 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23326}
23327static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
23328 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
23329}
23330static void *_p_wxSizerItemTo_p_wxObject(void *x) {
23331 return (void *)((wxObject *) ((wxSizerItem *) x));
23332}
23333static void *_p_wxScrollEventTo_p_wxObject(void *x) {
23334 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
23335}
23336static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
23337 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
23338}
23339static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
23340 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
23341}
23342static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
23343 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
23344}
23345static void *_p_wxSizerTo_p_wxObject(void *x) {
23346 return (void *)((wxObject *) ((wxSizer *) x));
23347}
23348static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
23349 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
23350}
23351static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
23352 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
23353}
23354static void *_p_wxPyPanelTo_p_wxObject(void *x) {
23355 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23356}
23357static void *_p_wxEventTo_p_wxObject(void *x) {
23358 return (void *)((wxObject *) ((wxEvent *) x));
23359}
23360static void *_p_wxFontDataTo_p_wxObject(void *x) {
23361 return (void *)((wxObject *) ((wxFontData *) x));
23362}
23363static void *_p_wxPrintDataTo_p_wxObject(void *x) {
23364 return (void *)((wxObject *) ((wxPrintData *) x));
23365}
23366static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
23367 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
23368}
23369static void *_p_wxGridSizerTo_p_wxObject(void *x) {
23370 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
23371}
23372static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
23373 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
23374}
23375static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
23376 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
23377}
23378static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
23379 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
23380}
23381static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
23382 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
23383}
23384static void *_p_wxPaintEventTo_p_wxObject(void *x) {
23385 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
23386}
23387static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
23388 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
23389}
23390static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
23391 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
23392}
23393static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
23394 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
23395}
23396static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
23397 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23398}
23399static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
23400 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
23401}
23402static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
23403 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23404}
23405static void *_p_wxControlTo_p_wxObject(void *x) {
23406 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
23407}
23408static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
23409 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
23410}
23411static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
23412 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23413}
23414static void *_p_wxFSFileTo_p_wxObject(void *x) {
23415 return (void *)((wxObject *) ((wxFSFile *) x));
23416}
23417static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
23418 return (void *)((wxObject *) ((wxFindReplaceData *) x));
23419}
23420static void *_p_wxPySizerTo_p_wxObject(void *x) {
23421 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
23422}
23423static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
23424 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23425}
23426static void *_p_wxColourDataTo_p_wxObject(void *x) {
23427 return (void *)((wxObject *) ((wxColourData *) x));
23428}
23429static void *_p_wxPyEventTo_p_wxObject(void *x) {
23430 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
23431}
23432static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
23433 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
23434}
23435static void *_p_wxPyWindowTo_p_wxObject(void *x) {
23436 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
23437}
23438static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
23439 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23440}
23441static void *_p_wxFileDialogTo_p_wxObject(void *x) {
23442 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23443}
23444static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
23445 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23446}
23447static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
23448 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23449}
23450static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
23451 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23452}
23453static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
23454 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23455}
23456static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
23457 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23458}
23459static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
23460 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23461}
23462static void *_p_wxShowEventTo_p_wxObject(void *x) {
23463 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
23464}
23465static void *_p_wxPrinterTo_p_wxObject(void *x) {
23466 return (void *)((wxObject *) ((wxPrinter *) x));
23467}
23468static void *_p_wxMenuItemTo_p_wxObject(void *x) {
23469 return (void *)((wxObject *) ((wxMenuItem *) x));
23470}
23471static void *_p_wxIdleEventTo_p_wxObject(void *x) {
23472 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
23473}
23474static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
23475 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
23476}
23477static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
23478 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
23479}
23480static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
23481 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
23482}
23483static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
23484 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
23485}
23486static void *_p_wxSizeEventTo_p_wxObject(void *x) {
23487 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
23488}
23489static void *_p_wxMoveEventTo_p_wxObject(void *x) {
23490 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
23491}
23492static void *_p_wxActivateEventTo_p_wxObject(void *x) {
23493 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
23494}
23495static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
23496 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
23497}
23498static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
23499 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
23500}
23501static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
23502 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
23503}
23504static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
23505 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
23506}
23507static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
23508 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
23509}
23510static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
23511 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
23512}
23513static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
23514 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
23515}
23516static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
23517 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
23518}
23519static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
23520 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
23521}
23522static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
23523 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
23524}
23525static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
23526 return (void *)((wxObject *) ((wxImageHandler *) x));
23527}
23528static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
23529 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
23530}
23531static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
23532 return (void *)((wxObject *) ((wxEvtHandler *) x));
23533}
23534static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
23535 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
23536}
23537static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
23538 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23539}
23540static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
23541 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23542}
23543static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
23544 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
23545}
23546static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
23547 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23548}
23549static void *_p_wxImageTo_p_wxObject(void *x) {
23550 return (void *)((wxObject *) ((wxImage *) x));
23551}
23552static void *_p_wxFrameTo_p_wxObject(void *x) {
23553 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23554}
23555static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
23556 return (void *)((wxObject *) ((wxPyPrintout *) x));
23557}
23558static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
23559 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
23560}
23561static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
23562 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
23563}
23564static void *_p_wxStatusBarTo_p_wxObject(void *x) {
23565 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
23566}
23567static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
23568 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23569}
23570static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
23571 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23572}
23573static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
23574 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
23575}
23576static void *_p_wxKeyEventTo_p_wxObject(void *x) {
23577 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
23578}
23579static void *_p_wxWindowTo_p_wxObject(void *x) {
23580 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
23581}
23582static void *_p_wxMenuTo_p_wxObject(void *x) {
23583 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
23584}
23585static void *_p_wxMenuBarTo_p_wxObject(void *x) {
23586 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
23587}
23588static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
23589 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23590}
23591static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
23592 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
23593}
23594static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
23595 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
23596}
23597static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
23598 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
23599}
23600static void *_p_wxSashWindowTo_p_wxObject(void *x) {
23601 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
23602}
23603static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
23604 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23605}
23606static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
23607 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
23608}
23609static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
23610 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23611}
23612static void *_p_wxTipWindowTo_p_wxObject(void *x) {
23613 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23614}
23615static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
23616 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23617}
23618static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
23619 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
23620}
23621static void *_p_wxSashEventTo_p_wxObject(void *x) {
23622 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
23623}
23624static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
23625 return (void *)((wxObject *) ((wxPrintPreview *) x));
23626}
23627static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
23628 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
23629}
23630static void *_p_wxPanelTo_p_wxObject(void *x) {
23631 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
23632}
23633static void *_p_wxDialogTo_p_wxObject(void *x) {
23634 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23635}
23636static void *_p_wxColourDialogTo_p_wxObject(void *x) {
23637 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23638}
23639static void *_p_wxDirDialogTo_p_wxObject(void *x) {
23640 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23641}
23642static void *_p_wxFontDialogTo_p_wxObject(void *x) {
23643 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23644}
23645static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
23646 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23647}
23648static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
23649 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23650}
23651static void *_p_wxFileSystemTo_p_wxObject(void *x) {
23652 return (void *)((wxObject *) ((wxFileSystem *) x));
23653}
23654static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
23655 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
23656}
23657static void *_p_wxMenuEventTo_p_wxObject(void *x) {
23658 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
23659}
23660static void *_p_wxPyAppTo_p_wxObject(void *x) {
23661 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
23662}
23663static void *_p_wxCloseEventTo_p_wxObject(void *x) {
23664 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
23665}
23666static void *_p_wxMouseEventTo_p_wxObject(void *x) {
23667 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
23668}
23669static void *_p_wxEraseEventTo_p_wxObject(void *x) {
23670 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
23671}
23672static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
23673 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
23674}
23675static void *_p_wxCommandEventTo_p_wxObject(void *x) {
23676 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
23677}
23678static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
23679 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23680}
23681static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
23682 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23683}
23684static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
23685 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
23686}
23687static void *_p_wxFocusEventTo_p_wxObject(void *x) {
23688 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
23689}
23690static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
23691 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
23692}
23693static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
23694 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23695}
23696static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
23697 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
23698}
23699static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
23700 return (void *)((wxObject *) ((wxPrintDialogData *) x));
23701}
23702static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
23703 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
23704}
23705static void *_p_wxValidatorTo_p_wxObject(void *x) {
23706 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
23707}
23708static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
23709 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23710}
23711static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
23712 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
23713}
23714static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
23715 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23716}
23717static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
23718 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
23719}
23720static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
23721 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
23722}
23723static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
23724 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
23725}
23726static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
23727 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
23728}
23729static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
23730 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
23731}
23732static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
23733 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
23734}
23735static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
23736 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
23737}
23738static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
23739 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
23740}
23741static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
23742 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
23743}
23744static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
23745 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
23746}
23747static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
23748 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
23749}
23750static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
23751 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
23752}
23753static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
23754 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
23755}
23756static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
23757 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
23758}
23759static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
23760 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
23761}
23762static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
23763 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
23764}
23765static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
23766 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
23767}
23768static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
23769 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
23770}
23771static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
23772 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
23773}
23774static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
23775 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
23776}
23777static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
23778 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
23779}
23780static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
23781 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23782}
23783static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
23784 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23785}
23786static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
23787 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23788}
23789static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
23790 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
23791}
23792static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
23793 return (void *)((wxWindow *) ((wxMenuBar *) x));
23794}
23795static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
23796 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23797}
23798static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
23799 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23800}
23801static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
23802 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23803}
23804static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
23805 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23806}
23807static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
23808 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23809}
23810static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
23811 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23812}
23813static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
23814 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23815}
23816static void *_p_wxPanelTo_p_wxWindow(void *x) {
23817 return (void *)((wxWindow *) ((wxPanel *) x));
23818}
23819static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
23820 return (void *)((wxWindow *) ((wxStatusBar *) x));
23821}
23822static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
23823 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
23824}
23825static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
23826 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
23827}
23828static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
23829 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
23830}
23831static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
23832 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23833}
23834static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
23835 return (void *)((wxWindow *) ((wxPopupWindow *) x));
23836}
23837static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
23838 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
23839}
23840static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
23841 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
23842}
23843static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
23844 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
23845}
23846static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
23847 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
23848}
23849static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
23850 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
23851}
23852static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
23853 return (void *)((wxWindow *) ((wxSashWindow *) x));
23854}
23855static void *_p_wxControlTo_p_wxWindow(void *x) {
23856 return (void *)((wxWindow *) ((wxControl *) x));
23857}
23858static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
23859 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23860}
23861static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
23862 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23863}
23864static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
23865 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23866}
23867static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
23868 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
23869}
23870static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
23871 return (void *)((wxWindow *) ((wxPyWindow *) x));
23872}
23873static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
23874 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23875}
23876static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
23877 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23878}
23879static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
23880 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23881}
23882static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
23883 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
23884}
23885static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
23886 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23887}
23888static void *_p_wxFrameTo_p_wxWindow(void *x) {
23889 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
23890}
23891static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
23892 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23893}
23894static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
23895 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23896}
23897static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
23898 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23899}
23900static void *_p_wxDialogTo_p_wxWindow(void *x) {
23901 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
23902}
23903static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
23904 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23905}
23906static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
23907 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23908}
23909static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
23910 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23911}
23912static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
23913 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
23914}
23915static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
23916 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
23917}
23918static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
23919 return (void *)((wxDialog *) ((wxColourDialog *) x));
23920}
23921static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
23922 return (void *)((wxDialog *) ((wxDirDialog *) x));
23923}
23924static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
23925 return (void *)((wxDialog *) ((wxFontDialog *) x));
23926}
23927static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
23928 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
23929}
23930static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
23931 return (void *)((wxDialog *) ((wxPrintDialog *) x));
23932}
23933static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
23934 return (void *)((wxDialog *) ((wxFileDialog *) x));
23935}
23936static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
23937 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
23938}
23939static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
23940 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
23941}
23942static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
23943 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
23944}
23945static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
23946 return (void *)((wxDialog *) ((wxMessageDialog *) x));
23947}
23948static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
23949 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
23950}
23951static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
23952 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
23953}
23954static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
23955 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
23956}
23957static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
23958 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23959}
23960static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
23961 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23962}
23963static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
23964 return (void *)((wxPanel *) ((wxPyPanel *) x));
23965}
23966static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
23967 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
23968}
23969static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
23970 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
23971}
23972static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
23973 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23974}
23975static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
23976 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
23977}
23978static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
23979 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
23980}
23981static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
23982 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
23983}
23984static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
23985 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
23986}
23987static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
23988 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
23989}
23990static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
23991 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23992}
23993static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
23994 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
23995}
23996static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
23997 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
23998}
23999static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
24000 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
24001}
24002static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
24003 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
24004}
24005static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
24006 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
24007}
24008static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
24009 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24010}
24011static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
24012static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
24013static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
24014static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
24015static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
24016static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
24017static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
24018static swig_type_info _swigt__p_wxEvent[] = {{"_p_wxEvent", 0, "wxEvent *", 0},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxEvent},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxEvent},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxEvent},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxEvent},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxEvent},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxEvent},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxEvent},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxEvent},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxEvent},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxEvent},{"_p_wxEvent"},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxEvent},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxEvent},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxEvent},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxEvent},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxEvent},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxEvent},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxEvent},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxEvent},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxEvent},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxEvent},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxEvent},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxEvent},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxEvent},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxEvent},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxEvent},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxEvent},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxEvent},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxEvent},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxEvent},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxEvent},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxEvent},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxEvent},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxEvent},{0}};
24019static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
24020static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
24021static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
24022static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
24023static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
24024static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
24025static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
24026static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
24027static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
24028static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
24029static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
24030static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
24031static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
24032static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
24033static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
24034static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
24035static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
24036static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
24037static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
24038static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
24039static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
24040static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
24041static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
24042static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
24043static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
24044static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
24045static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
24046static swig_type_info _swigt__p_wxEvtHandler[] = {{"_p_wxEvtHandler", 0, "wxEvtHandler *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxEvtHandler},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxEvtHandler},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxEvtHandler},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxEvtHandler},{"_p_wxValidator", _p_wxValidatorTo_p_wxEvtHandler},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxEvtHandler},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxEvtHandler},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxEvtHandler},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxEvtHandler},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxEvtHandler},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxEvtHandler},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxEvtHandler},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxEvtHandler},{"_p_wxPanel", _p_wxPanelTo_p_wxEvtHandler},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxEvtHandler},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxEvtHandler},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxEvtHandler},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxEvtHandler},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxEvtHandler},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxEvtHandler},{"_p_wxWindow", _p_wxWindowTo_p_wxEvtHandler},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxEvtHandler},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxEvtHandler},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxEvtHandler},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxEvtHandler},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxEvtHandler},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxEvtHandler},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxEvtHandler},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxEvtHandler},{"_p_wxControl", _p_wxControlTo_p_wxEvtHandler},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxEvtHandler},{"_p_wxPyApp", _p_wxPyAppTo_p_wxEvtHandler},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxEvtHandler},{"_p_wxEvtHandler"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxEvtHandler},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxEvtHandler},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxEvtHandler},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxEvtHandler},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxEvtHandler},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxEvtHandler},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxEvtHandler},{"_p_wxFrame", _p_wxFrameTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxEvtHandler},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxEvtHandler},{"_p_wxMenu", _p_wxMenuTo_p_wxEvtHandler},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxEvtHandler},{0}};
24047static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
24048static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
24049static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
24050static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
24051static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
24052static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
24053static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxFrame},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxFrame},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxFrame},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxFrame},{"_p_wxFrame"},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxFrame},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxFrame},{0}};
24054static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
24055static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
24056static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
24057static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
24058static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
24059static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
24060static swig_type_info _swigt__p_wxObject[] = {{"_p_wxObject", 0, "wxObject *", 0},{"_p_wxQueryLayoutInfoEvent", _p_wxQueryLayoutInfoEventTo_p_wxObject},{"_p_wxLayoutConstraints", _p_wxLayoutConstraintsTo_p_wxObject},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxObject},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxObject},{"_p_wxGBSizerItem", _p_wxGBSizerItemTo_p_wxObject},{"_p_wxSizerItem", _p_wxSizerItemTo_p_wxObject},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxObject},{"_p_wxIndividualLayoutConstraint", _p_wxIndividualLayoutConstraintTo_p_wxObject},{"_p_wxStaticBoxSizer", _p_wxStaticBoxSizerTo_p_wxObject},{"_p_wxBoxSizer", _p_wxBoxSizerTo_p_wxObject},{"_p_wxSizer", _p_wxSizerTo_p_wxObject},{"_p_wxGridBagSizer", _p_wxGridBagSizerTo_p_wxObject},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxObject},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxObject},{"_p_wxMenu", _p_wxMenuTo_p_wxObject},{"_p_wxFontData", _p_wxFontDataTo_p_wxObject},{"_p_wxPrintData", _p_wxPrintDataTo_p_wxObject},{"_p_wxEvent", _p_wxEventTo_p_wxObject},{"_p_wxGridSizer", _p_wxGridSizerTo_p_wxObject},{"_p_wxFlexGridSizer", _p_wxFlexGridSizerTo_p_wxObject},{"_p_wxTaskBarIcon", _p_wxTaskBarIconTo_p_wxObject},{"_p_wxLayoutAlgorithm", _p_wxLayoutAlgorithmTo_p_wxObject},{"_p_wxInitDialogEvent", _p_wxInitDialogEventTo_p_wxObject},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxObject},{"_p_wxPaintEvent", _p_wxPaintEventTo_p_wxObject},{"_p_wxNcPaintEvent", _p_wxNcPaintEventTo_p_wxObject},{"_p_wxPaletteChangedEvent", _p_wxPaletteChangedEventTo_p_wxObject},{"_p_wxDisplayChangedEvent", _p_wxDisplayChangedEventTo_p_wxObject},{"_p_wxMouseCaptureChangedEvent", _p_wxMouseCaptureChangedEventTo_p_wxObject},{"_p_wxSysColourChangedEvent", _p_wxSysColourChangedEventTo_p_wxObject},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxObject},{"_p_wxControl", _p_wxControlTo_p_wxObject},{"_p_wxSetCursorEvent", _p_wxSetCursorEventTo_p_wxObject},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxObject},{"_p_wxFSFile", _p_wxFSFileTo_p_wxObject},{"_p_wxFindReplaceData", _p_wxFindReplaceDataTo_p_wxObject},{"_p_wxPySizer", _p_wxPySizerTo_p_wxObject},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxObject},{"_p_wxColourData", _p_wxColourDataTo_p_wxObject},{"_p_wxPyEvent", _p_wxPyEventTo_p_wxObject},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxObject},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxObject},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxObject},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxObject},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxObject},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxObject},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxObject},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxObject},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxObject},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxObject},{"_p_wxShowEvent", _p_wxShowEventTo_p_wxObject},{"_p_wxPrinter", _p_wxPrinterTo_p_wxObject},{"_p_wxIdleEvent", _p_wxIdleEventTo_p_wxObject},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxObject},{"_p_wxQueryNewPaletteEvent", _p_wxQueryNewPaletteEventTo_p_wxObject},{"_p_wxMaximizeEvent", _p_wxMaximizeEventTo_p_wxObject},{"_p_wxMoveEvent", _p_wxMoveEventTo_p_wxObject},{"_p_wxSizeEvent", _p_wxSizeEventTo_p_wxObject},{"_p_wxActivateEvent", _p_wxActivateEventTo_p_wxObject},{"_p_wxIconizeEvent", _p_wxIconizeEventTo_p_wxObject},{"_p_wxMenuItem", _p_wxMenuItemTo_p_wxObject},{"_p_wxCalculateLayoutEvent", _p_wxCalculateLayoutEventTo_p_wxObject},{"_p_wxEvtHandler", _p_wxEvtHandlerTo_p_wxObject},{"_p_wxTIFFHandler", _p_wxTIFFHandlerTo_p_wxObject},{"_p_wxImageHandler", _p_wxImageHandlerTo_p_wxObject},{"_p_wxBMPHandler", _p_wxBMPHandlerTo_p_wxObject},{"_p_wxICOHandler", _p_wxICOHandlerTo_p_wxObject},{"_p_wxCURHandler", _p_wxCURHandlerTo_p_wxObject},{"_p_wxANIHandler", _p_wxANIHandlerTo_p_wxObject},{"_p_wxPNGHandler", _p_wxPNGHandlerTo_p_wxObject},{"_p_wxGIFHandler", _p_wxGIFHandlerTo_p_wxObject},{"_p_wxPCXHandler", _p_wxPCXHandlerTo_p_wxObject},{"_p_wxJPEGHandler", _p_wxJPEGHandlerTo_p_wxObject},{"_p_wxPNMHandler", _p_wxPNMHandlerTo_p_wxObject},{"_p_wxXPMHandler", _p_wxXPMHandlerTo_p_wxObject},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxObject},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxObject},{"_p_wxAcceleratorTable", _p_wxAcceleratorTableTo_p_wxObject},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxObject},{"_p_wxImage", _p_wxImageTo_p_wxObject},{"_p_wxFrame", _p_wxFrameTo_p_wxObject},{"_p_wxPyPrintout", _p_wxPyPrintoutTo_p_wxObject},{"_p_wxTaskBarIconEvent", _p_wxTaskBarIconEventTo_p_wxObject},{"_p_wxScrollWinEvent", _p_wxScrollWinEventTo_p_wxObject},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxObject},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxObject},{"_p_wxObject"},{"_p_wxKeyEvent", _p_wxKeyEventTo_p_wxObject},{"_p_wxNavigationKeyEvent", _p_wxNavigationKeyEventTo_p_wxObject},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxObject},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxObject},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxObject},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxObject},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxObject},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxObject},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxObject},{"_p_wxWindow", _p_wxWindowTo_p_wxObject},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxObject},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxObject},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxObject},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxObject},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxObject},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxObject},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxObject},{"_p_wxPrintPreview", _p_wxPrintPreviewTo_p_wxObject},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxObject},{"_p_wxPanel", _p_wxPanelTo_p_wxObject},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxObject},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxObject},{"_p_wxDialog", _p_wxDialogTo_p_wxObject},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxObject},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxObject},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxObject},{"_p_wxFileSystem", _p_wxFileSystemTo_p_wxObject},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxObject},{"_p_wxMenuEvent", _p_wxMenuEventTo_p_wxObject},{"_p_wxCloseEvent", _p_wxCloseEventTo_p_wxObject},{"_p_wxMouseEvent", _p_wxMouseEventTo_p_wxObject},{"_p_wxEraseEvent", _p_wxEraseEventTo_p_wxObject},{"_p_wxPyApp", _p_wxPyAppTo_p_wxObject},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxObject},{"_p_wxCommandEvent", _p_wxCommandEventTo_p_wxObject},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxObject},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxObject},{"_p_wxDropFilesEvent", _p_wxDropFilesEventTo_p_wxObject},{"_p_wxFocusEvent", _p_wxFocusEventTo_p_wxObject},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxObject},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxObject},{"_p_wxPageSetupDialogData", _p_wxPageSetupDialogDataTo_p_wxObject},{"_p_wxPrintDialogData", _p_wxPrintDialogDataTo_p_wxObject},{"_p_wxValidator", _p_wxValidatorTo_p_wxObject},{"_p_wxPyValidator", _p_wxPyValidatorTo_p_wxObject},{0}};
24061static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
24062static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
24063static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
24064static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
24065static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
24066static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
24067static swig_type_info _swigt__p_wxPyVScrolledWindow[] = {{"_p_wxPyVScrolledWindow", 0, "wxPyVScrolledWindow *", 0},{"_p_wxPyVScrolledWindow"},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPyVScrolledWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow},{0}};
24068static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}};
24069static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
24070static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxTopLevelWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxTopLevelWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxTopLevelWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxTopLevelWindow},{"_p_wxTopLevelWindow"},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxTopLevelWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxTopLevelWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxTopLevelWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxTopLevelWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxTopLevelWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxTopLevelWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxTopLevelWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxTopLevelWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxTopLevelWindow},{0}};
24071static swig_type_info _swigt__p_wxWindow[] = {{"_p_wxWindow", 0, "wxWindow *", 0},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxWindow},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxWindow},{"_p_wxMenuBar", _p_wxMenuBarTo_p_wxWindow},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxWindow},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxWindow},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxWindow},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxWindow},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxWindow},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxWindow},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxWindow},{"_p_wxPanel", _p_wxPanelTo_p_wxWindow},{"_p_wxStatusBar", _p_wxStatusBarTo_p_wxWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxWindow},{"_p_wxTopLevelWindow", _p_wxTopLevelWindowTo_p_wxWindow},{"_p_wxSplashScreenWindow", _p_wxSplashScreenWindowTo_p_wxWindow},{"_p_wxSplitterWindow", _p_wxSplitterWindowTo_p_wxWindow},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxWindow},{"_p_wxSashWindow", _p_wxSashWindowTo_p_wxWindow},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxWindow},{"_p_wxWindow"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxWindow},{"_p_wxPopupWindow", _p_wxPopupWindowTo_p_wxWindow},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxWindow},{"_p_wxMDIClientWindow", _p_wxMDIClientWindowTo_p_wxWindow},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxWindow},{"_p_wxPreviewFrame", _p_wxPreviewFrameTo_p_wxWindow},{"_p_wxControl", _p_wxControlTo_p_wxWindow},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxWindow},{"_p_wxControlWithItems", _p_wxControlWithItemsTo_p_wxWindow},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxWindow},{"_p_wxPyWindow", _p_wxPyWindowTo_p_wxWindow},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxWindow},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxWindow},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxWindow},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxWindow},{"_p_wxFrame", _p_wxFrameTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxWindow},{"_p_wxMDIParentFrame", _p_wxMDIParentFrameTo_p_wxWindow},{0}};
24072static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
24073static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
24074static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
24075static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
24076static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
24077static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
24078static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
24079static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
24080static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
24081static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
24082static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
24083static swig_type_info _swigt__p_wxDialog[] = {{"_p_wxDialog", 0, "wxDialog *", 0},{"_p_wxDialog"},{"_p_wxColourDialog", _p_wxColourDialogTo_p_wxDialog},{"_p_wxDirDialog", _p_wxDirDialogTo_p_wxDialog},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxDialog},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxDialog},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxDialog},{"_p_wxFileDialog", _p_wxFileDialogTo_p_wxDialog},{"_p_wxMultiChoiceDialog", _p_wxMultiChoiceDialogTo_p_wxDialog},{"_p_wxSingleChoiceDialog", _p_wxSingleChoiceDialogTo_p_wxDialog},{"_p_wxTextEntryDialog", _p_wxTextEntryDialogTo_p_wxDialog},{"_p_wxMessageDialog", _p_wxMessageDialogTo_p_wxDialog},{"_p_wxFindReplaceDialog", _p_wxFindReplaceDialogTo_p_wxDialog},{0}};
24084static swig_type_info _swigt__p_wxPanel[] = {{"_p_wxPanel", 0, "wxPanel *", 0},{"_p_wxPanel"},{"_p_wxScrolledWindow", _p_wxScrolledWindowTo_p_wxPanel},{"_p_wxPyVScrolledWindow", _p_wxPyVScrolledWindowTo_p_wxPanel},{"_p_wxPyVListBox", _p_wxPyVListBoxTo_p_wxPanel},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPanel},{"_p_wxPyPanel", _p_wxPyPanelTo_p_wxPanel},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxPanel},{"_p_wxPreviewControlBar", _p_wxPreviewControlBarTo_p_wxPanel},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPanel},{0}};
24085static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
24086static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
24087static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{0}};
24088static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
24089static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
24090static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
24091static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
24092static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
24093static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
24094
24095static swig_type_info *swig_types_initial[] = {
24096_swigt__p_wxQueryLayoutInfoEvent,
24097_swigt__p_wxPreviewFrame,
24098_swigt__p_wxPyPreviewFrame,
24099_swigt__p_wxPyPanel,
24100_swigt__p_wxMenu,
24101_swigt__p_wxPrintData,
24102_swigt__p_wxFontData,
24103_swigt__p_wxEvent,
24104_swigt__p_wxTaskBarIcon,
24105_swigt__p_wxIconBundle,
24106_swigt__p_wxLayoutAlgorithm,
24107_swigt__p_wxFindDialogEvent,
24108_swigt__p_wxPreviewCanvas,
24109_swigt__p_wxFont,
24110_swigt__p_wxSplitterEvent,
24111_swigt__p_wxRegion,
24112_swigt__p_wxFindReplaceData,
24113_swigt__p_int,
24114_swigt__p_wxSize,
24115_swigt__p_wxDC,
24116_swigt__p_wxIcon,
24117_swigt__p_wxMDIChildFrame,
24118_swigt__p_wxColourData,
24119_swigt__p_wxNotifyEvent,
24120_swigt__p_wxPyWindow,
24121_swigt__p_wxSplashScreen,
24122_swigt__p_wxFindReplaceDialog,
24123_swigt__p_wxProgressDialog,
24124_swigt__p_wxMessageDialog,
24125_swigt__p_wxTextEntryDialog,
24126_swigt__p_wxSingleChoiceDialog,
24127_swigt__p_wxMultiChoiceDialog,
24128_swigt__p_wxFileDialog,
24129_swigt__p_wxPrinter,
24130_swigt__p_wxArrayInt,
24131_swigt__p_wxEvtHandler,
24132_swigt__p_wxCalculateLayoutEvent,
24133_swigt__p_wxPyHtmlListBox,
24134_swigt__p_wxPyVListBox,
24135_swigt__p_wxRect,
24136_swigt__p_char,
24137_swigt__p_wxMiniFrame,
24138_swigt__p_wxFrame,
24139_swigt__p_wxPyPrintout,
24140_swigt__p_wxTaskBarIconEvent,
24141_swigt__p_wxScrollWinEvent,
24142_swigt__p_wxStatusBar,
24143_swigt__p_wxMDIParentFrame,
24144_swigt__p_wxPoint,
24145_swigt__p_wxObject,
24146_swigt__p_unsigned_long,
24147_swigt__p_wxMDIClientWindow,
24148_swigt__p_wxTipWindow,
24149_swigt__p_wxPyPopupTransientWindow,
24150_swigt__p_wxSashLayoutWindow,
24151_swigt__p_wxSplitterWindow,
24152_swigt__p_wxPyVScrolledWindow,
24153_swigt__p_wxPopupWindow,
24154_swigt__p_wxSashWindow,
24155_swigt__p_wxTopLevelWindow,
24156_swigt__p_wxWindow,
24157_swigt__p_wxScrolledWindow,
24158_swigt__p_wxSplashScreenWindow,
24159_swigt__p_wxMenuBar,
24160_swigt__p_wxPrintPreview,
24161_swigt__p_wxSashEvent,
24162_swigt__p_wxString,
24163_swigt__p_wxPyPrintPreview,
24164_swigt__p_wxPageSetupDialog,
24165_swigt__p_wxFontDialog,
24166_swigt__p_wxDirDialog,
24167_swigt__p_wxColourDialog,
24168_swigt__p_wxDialog,
24169_swigt__p_wxPanel,
24170_swigt__p_wxPrintDialog,
24171_swigt__p_wxBitmap,
24172_swigt__p_wxCommandEvent,
24173_swigt__p_wxPreviewControlBar,
24174_swigt__p_wxPyPreviewControlBar,
24175_swigt__p_wxColour,
24176_swigt__p_wxToolBar,
24177_swigt__p_wxPageSetupDialogData,
24178_swigt__p_wxPrintDialogData,
241790
24180};
24181
24182
24183/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24184
24185static swig_const_info swig_const_table[] = {
24186{0}};
24187
24188#ifdef __cplusplus
24189}
24190#endif
24191
24192#ifdef __cplusplus
24193extern "C"
24194#endif
24195SWIGEXPORT(void) SWIG_init(void) {
24196 static PyObject *SWIG_globals = 0;
24197 static int typeinit = 0;
24198 PyObject *m, *d;
24199 int i;
24200 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
24201 m = Py_InitModule((char *) SWIG_name, SwigMethods);
24202 d = PyModule_GetDict(m);
24203
24204 if (!typeinit) {
24205 for (i = 0; swig_types_initial[i]; i++) {
24206 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
24207 }
24208 typeinit = 1;
24209 }
24210 SWIG_InstallConstants(d,swig_const_table);
24211
24212 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
24213 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
24214 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
24215 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
24216 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
24217 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR));
24218 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
24219 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
24220 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER));
24221 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION));
24222 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL));
24223 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG));
24224 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
24225 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
24226 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE));
24227 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT));
24228 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT));
24229 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
24230 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER));
24231 PyDict_SetItemString(d,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH));
24232 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT));
24233 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE));
24234 PyDict_SetItemString(d,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH));
24235 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER));
24236 PyDict_SetItemString(d,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER));
24237 PyDict_SetItemString(d,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D));
24238 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL));
24239 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL));
24240 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE));
24241 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING));
24242 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
24243 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
24244 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
24245 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
24246 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
24247 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
24248 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
24249 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE));
24250 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING));
24251 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
24252 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER));
24253 PyDict_SetItemString(d,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER));
24254 PyDict_SetItemString(d,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH));
24255 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER));
24256 PyDict_SetItemString(d,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D));
24257 PyDict_SetItemString(d,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP));
24258 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT));
24259 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM));
24260 PyDict_SetItemString(d,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT));
24261 PyDict_SetItemString(d,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE));
24262 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK));
24263 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
24264 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
24265 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL));
24266 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL));
24267 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE));
24268 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP));
24269 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT));
24270 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT));
24271 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM));
24272 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y));
24273 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X));
24274 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH));
24275 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY));
24276 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
24277 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
24278 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
24279
24280 // Map renamed classes back to their common name for OOR
24281 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24282 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24283 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24284
24285 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
24286 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
24287 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
24288 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
24289 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
24290 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
24291 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
24292 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
24293 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
24294 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
24295 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
24296 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
24297 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
24298 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE));
24299 PyDict_SetItemString(d,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN));
24300 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD));
24301 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE));
24302 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG));
24303 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN));
24304 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE));
24305 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD));
24306 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
24307 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
24308 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
24309 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
24310 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
24311 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001));
24312 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001));
24313 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002));
24314 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003));
24315 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004));
24316 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005));
24317 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100));
24318 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600));
24319 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
24320 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
24321 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE));
24322 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW));
24323 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE));
24324 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER));
24325 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR));
24326 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED));
24327 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR));
24328 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT));
24329 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS));
24330 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT));
24331 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM));
24332 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST));
24333 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST));
24334 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO));
24335 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT));
24336 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE));
24337 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT));
24338 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS));
24339 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT));
24340 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM));
24341 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST));
24342 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST));
24343 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO));
24344
24345 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
24346
24347}
24348