]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / msw / windows_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
83448d71 3 * Version 1.3.22
d14a1e28
RD
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
f0983263
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
f0983263
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
f0983263 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
f0983263 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
f0983263 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
f0983263 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
f0983263
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
124#endif
125
f0983263 126
d14a1e28
RD
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
d14a1e28
RD
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
d14a1e28
RD
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)
83448d71 174
d14a1e28
RD
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)
d14a1e28
RD
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
8edf1c75 187typedef double (*py_objasdbl_conv)(PyObject *obj);
d14a1e28 188
f0983263
RD
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[]);
d14a1e28 197
8edf1c75
RD
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);
d14a1e28
RD
219
220
221/* Contract support */
222
423f194a 223#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 224
d14a1e28
RD
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]
41f1cec7
RD
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]
8edf1c75
RD
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]
db914595
RD
283#define SWIGTYPE_p_wxOutputStream swig_types[50]
284#define SWIGTYPE_p_unsigned_long swig_types[51]
285#define SWIGTYPE_p_wxMDIClientWindow swig_types[52]
286#define SWIGTYPE_p_wxTipWindow 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_wxPyPopupTransientWindow swig_types[57]
291#define SWIGTYPE_p_wxPopupWindow swig_types[58]
292#define SWIGTYPE_p_wxSashWindow swig_types[59]
293#define SWIGTYPE_p_wxTopLevelWindow swig_types[60]
294#define SWIGTYPE_p_wxWindow swig_types[61]
295#define SWIGTYPE_p_wxScrolledWindow swig_types[62]
296#define SWIGTYPE_p_wxSplashScreenWindow swig_types[63]
297#define SWIGTYPE_p_wxMenuBar swig_types[64]
298#define SWIGTYPE_p_wxPrintPreview swig_types[65]
299#define SWIGTYPE_p_wxSashEvent swig_types[66]
300#define SWIGTYPE_p_wxString swig_types[67]
301#define SWIGTYPE_p_wxPyPrintPreview swig_types[68]
8edf1c75
RD
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]
db914595
RD
307#define SWIGTYPE_p_wxPageSetupDialog swig_types[74]
308#define SWIGTYPE_p_wxPrintDialog swig_types[75]
309#define SWIGTYPE_p_wxBitmap swig_types[76]
310#define SWIGTYPE_p_wxCommandEvent swig_types[77]
311#define SWIGTYPE_p_wxPreviewControlBar swig_types[78]
312#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[79]
313#define SWIGTYPE_p_wxColour swig_types[80]
314#define SWIGTYPE_p_wxToolBar swig_types[81]
315#define SWIGTYPE_p_wxPageSetupDialogData swig_types[82]
316#define SWIGTYPE_p_wxPrintDialogData swig_types[83]
317static swig_type_info *swig_types[85];
d14a1e28
RD
318
319/* -------- TYPES TABLE (END) -------- */
320
321
322/*-----------------------------------------------
323 @(target):= _windows.so
324 ------------------------------------------------*/
325#define SWIG_init init_windows
326
327#define SWIG_name "_windows"
328
8edf1c75
RD
329#include <limits.h>
330#include <float.h>
331#include <string.h>
332
333#ifndef SWIGSTATIC
334#ifdef __cplusplus
335#define SWIGSTATIC(a) static inline a
336#else
337#define SWIGSTATIC(a) static a
338#endif
339#endif
340
341#ifndef numeric_cast
342#ifdef __cplusplus
343#ifdef HAVE_NUMERIC_CAST
344#define numeric_cast(type,a) numeric_cast<type>(a)
345#else
346#define numeric_cast(type,a) static_cast<type>(a)
347#endif
348#else
349#define numeric_cast(type,a) (type)(a)
350#endif
351#endif
352
353
354
355#define SWIG_PyObj_FromSignedChar PyInt_FromLong
356#define SWIG_PyObj_FromUnsignedChar PyInt_FromLong
357#define SWIG_PyObj_FromShort PyInt_FromLong
358#define SWIG_PyObj_FromUnsignedShort PyInt_FromLong
359#define SWIG_PyObj_FromInt PyInt_FromLong
360#define SWIG_PyObj_FromLong PyInt_FromLong
361#define SWIG_PyObj_FromFloat PyFloat_FromDouble
362#define SWIG_PyObj_FromDouble PyFloat_FromDouble
363#define SWIG_PyObj_FromFloat PyFloat_FromDouble
364#define SWIG_PyObj_FromDouble PyFloat_FromDouble
365
366
d14a1e28
RD
367#include "wx/wxPython/wxPython.h"
368#include "wx/wxPython/pyclasses.h"
369
d14a1e28 370
d03fd34d
RD
371 static const wxString wxPyEmptyString(wxEmptyString);
372 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
373
374
375
8edf1c75
RD
376SWIGSTATIC(int)
377SWIG_PyObj_AsInt(PyObject *obj)
378{
379 return numeric_cast(int,
380 SWIG_PyObj_AsLongInRange(obj, "int", INT_MIN, INT_MAX));
381}
382
383
384SWIGSTATIC(long)
385SWIG_PyObj_AsLong(PyObject * obj)
386{
387 return PyInt_Check(obj) ? PyInt_AsLong(obj) : PyLong_AsLong(obj);
388}
389
390
8edf1c75
RD
391SWIGSTATIC(bool)
392SWIG_PyObj_AsBool(PyObject *obj)
393{
394 return PyObject_IsTrue(obj) ? true : false;
395}
396
397
d14a1e28
RD
398static PyObject* t_output_helper(PyObject* target, PyObject* o) {
399 PyObject* o2;
400 PyObject* o3;
401
402 if (!target) {
403 target = o;
404 } else if (target == Py_None) {
405 Py_DECREF(Py_None);
406 target = o;
407 } else {
408 if (!PyTuple_Check(target)) {
409 o2 = target;
410 target = PyTuple_New(1);
411 PyTuple_SetItem(target, 0, o2);
412 }
413 o3 = PyTuple_New(1);
414 PyTuple_SetItem(o3, 0, o);
415
416 o2 = target;
417 target = PySequence_Concat(o2, o3);
418 Py_DECREF(o2);
419 Py_DECREF(o3);
420 }
421 return target;
422}
423
8edf1c75
RD
424
425SWIGSTATIC(double)
426SWIG_PyObj_AsDouble(PyObject *obj)
427{
428 return (PyFloat_Check(obj)) ? PyFloat_AsDouble(obj) :
429#if HAVE_LONG_LONG
430 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLongLong(obj));
431#else
432 (double)((PyInt_Check(obj)) ? PyInt_AsLong(obj) : PyLong_AsLong(obj));
433#endif
434 if (PyErr_Occurred()) {
435 PyErr_Clear();
436 PyErr_SetString(PyExc_TypeError, "a double is expected");
437 }
438}
439
d03fd34d
RD
440 static const wxString wxPyFrameNameStr(wxFrameNameStr);
441 static const wxString wxPyDialogNameStr(wxDialogNameStr);
442 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
443 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
d14a1e28
RD
444bool wxDialog_IsModalShowing(wxDialog *self){
445
446
447
448 return self->IsModalShowing();
449
450 }
451
452
44127b65
RD
453wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
454 wxRect r;
455 self->GetFieldRect(i, r);
456 return r;
457 }
eb9b6107
RD
458 static const wxString wxPySplitterNameStr(wxT("splitter"));
459 static const wxString wxPySashNameStr(wxT("sashWindow"));
460 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
d14a1e28
RD
461
462#include <wx/popupwin.h>
463
464
465class wxPyPopupTransientWindow : public wxPopupTransientWindow
466{
467public:
468 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
469 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
470 : wxPopupTransientWindow(parent, style) {}
471
472 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
473 DEC_PYCALLBACK__(OnDismiss);
474 DEC_PYCALLBACK_BOOL_(CanDismiss);
475 PYPRIVATE;
476};
477
478
479IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
480IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
481IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
482
483
484#include <wx/tipwin.h>
485
8a0b029b
RD
486wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
487 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
d14a1e28
RD
488 }
489
490#include <wx/tipwin.h>
491
492
493#include <wx/vscroll.h>
494
495
496class wxPyVScrolledWindow : public wxVScrolledWindow
497{
498 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
499public:
500 wxPyVScrolledWindow() : wxVScrolledWindow() {}
501
502 wxPyVScrolledWindow(wxWindow *parent,
503 wxWindowID id = wxID_ANY,
504 const wxPoint& pos = wxDefaultPosition,
505 const wxSize& size = wxDefaultSize,
506 long style = 0,
507 const wxString& name = wxPyPanelNameStr)
508 : wxVScrolledWindow(parent, id, pos, size, style, name)
509 {}
510
511 // Overridable virtuals
512
513 // this function must be overridden in the derived class and it should
514 // return the height of the given line in pixels
515 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
516
517
518 // this function doesn't have to be overridden but it may be useful to do
519 // it if calculating the lines heights is a relatively expensive operation
520 // as it gives the user code a possibility to calculate several of them at
521 // once
522 //
523 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
524 // shouldn't rely on the latter being called for all lines in the interval
525 // specified here. It is also possible that OnGetLineHeight() will be
526 // called for the lines outside of this interval, so this is really just a
527 // hint, not a promise.
528 //
529 // finally note that lineMin is inclusive, while lineMax is exclusive, as
530 // usual
531 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
532
533
534 // when the number of lines changes, we try to estimate the total height
535 // of all lines which is a rather expensive operation in terms of lines
536 // access, so if the user code may estimate the average height
537 // better/faster than we do, it should override this function to implement
538 // its own logic
539 //
540 // this function should return the best guess for the total height it may
541 // make
542 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
543
544
545 // Also expose some other interesting protected methods
546
547
548 // find the index of the line we need to show at the top of the window such
549 // that the last (fully or partially) visible line is the given one
423f194a 550 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
d14a1e28
RD
551 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
552
553 // get the total height of the lines between lineMin (inclusive) and
554 // lineMax (exclusive)
555 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
556 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
557
558
559 PYPRIVATE;
560};
561
562IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
563
564IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
565IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
566IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
567
568
8edf1c75
RD
569SWIGSTATIC(PyObject* )
570SWIG_PyObj_FromUnsignedLong(unsigned long value)
571{
572 return (value > (unsigned long)(LONG_MAX)) ?
573 PyLong_FromUnsignedLong(value) : PyInt_FromLong((long)value);
574}
575
576
d14a1e28 577#include <wx/vlbox.h>
d14a1e28 578
d03fd34d 579 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
580
581class wxPyVListBox : public wxVListBox
582{
583 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
584public:
585 wxPyVListBox() : wxVListBox() {}
586
587 wxPyVListBox(wxWindow *parent,
588 wxWindowID id = wxID_ANY,
589 const wxPoint& pos = wxDefaultPosition,
590 const wxSize& size = wxDefaultSize,
591 long style = 0,
592 const wxString& name = wxPyVListBoxNameStr)
593 : wxVListBox(parent, id, pos, size, style, name)
594 {}
595
596 // Overridable virtuals
597
598 // the derived class must implement this function to actually draw the item
599 // with the given index on the provided DC
600 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
601 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
602
603
604 // the derived class must implement this method to return the height of the
605 // specified item
606 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
607 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
608
609
610 // this method may be used to draw separators between the lines; note that
611 // the rectangle may be modified, typically to deflate it a bit before
612 // passing to OnDrawItem()
613 //
614 // the base class version doesn't do anything
615 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
616 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
617
618
619 // this method is used to draw the items background and, maybe, a border
620 // around it
621 //
622 // the base class version implements a reasonable default behaviour which
623 // consists in drawing the selected item with the standard background
624 // colour and drawing a border around the item if it is either selected or
625 // current
626 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
627 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
628
629
630 PYPRIVATE;
631};
632
633IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
634
635IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
636IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
637IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
638IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
639
640
641
642#include <wx/htmllbox.h>
643
644
645class wxPyHtmlListBox : public wxHtmlListBox
646{
647 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
648public:
649 wxPyHtmlListBox() : wxHtmlListBox() {}
650
651 wxPyHtmlListBox(wxWindow *parent,
652 wxWindowID id = wxID_ANY,
653 const wxPoint& pos = wxDefaultPosition,
654 const wxSize& size = wxDefaultSize,
655 long style = 0,
656 const wxString& name = wxPyVListBoxNameStr)
657 : wxHtmlListBox(parent, id, pos, size, style, name)
658 {}
659
660 // Overridable virtuals
661
662 // this method must be implemented in the derived class and should return
663 // the body (i.e. without <html>) of the HTML for the given item
664 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
665
666 // this function may be overridden to decorate HTML returned by OnGetItem()
667 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
668
669// TODO:
670// // this method allows to customize the selection appearance: it may be used
671// // to specify the colour of the text which normally has the given colour
672// // colFg when it is inside the selection
673// //
674// // by default, the original colour is not used at all and all text has the
675// // same (default for this system) colour inside selection
676// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
677
678// // this is the same as GetSelectedTextColour() but allows to customize the
679// // background colour -- this is even more rarely used as you can change it
680// // globally using SetSelectionBackground()
681// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
682
683
684 PYPRIVATE;
685};
686
687
688IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
689
690IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
691IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
692
693
694
695
696
697#ifdef __WXMAC__
698// implement dummy classes and such for wxMac
699
700class wxTaskBarIcon : public wxEvtHandler
701{
702public:
cbd72d4f 703 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28
RD
704};
705
706
707class wxTaskBarIconEvent : public wxEvent
708{
709public:
710 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
cbd72d4f 711 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
712 virtual wxEvent* Clone() const { return NULL; }
713};
714
715enum {
716 wxEVT_TASKBAR_MOVE = 0,
717 wxEVT_TASKBAR_LEFT_DOWN = 0,
718 wxEVT_TASKBAR_LEFT_UP = 0,
719 wxEVT_TASKBAR_RIGHT_DOWN = 0,
720 wxEVT_TASKBAR_RIGHT_UP = 0,
721 wxEVT_TASKBAR_LEFT_DCLICK = 0,
722 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
723};
724#endif
725
d03fd34d
RD
726 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
727 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
728 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
729 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
730 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
731 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
d14a1e28
RD
732PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
733 wxArrayString arr;
734 self->GetFilenames(arr);
735 return wxArrayString2PyList_helper(arr);
736 }
737PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
738 wxArrayString arr;
739 self->GetPaths(arr);
740 return wxArrayString2PyList_helper(arr);
741 }
742PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
743 return wxArrayInt2PyList_helper(self->GetSelections());
744 }
745wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
746 return new wxSingleChoiceDialog(parent, message, caption,
747 choices, choices_array, NULL, style, pos);
748 }
749
750#include <wx/mdi.h>
751
752 // C++ version of Python aware wxWindow
753class wxPyWindow : public wxWindow
754{
755 DECLARE_DYNAMIC_CLASS(wxPyWindow)
756public:
757 wxPyWindow() : wxWindow() {}
758 wxPyWindow(wxWindow* parent, const wxWindowID id,
759 const wxPoint& pos = wxDefaultPosition,
760 const wxSize& size = wxDefaultSize,
761 long style = 0,
762 const wxString& name = wxPyPanelNameStr)
763 : wxWindow(parent, id, pos, size, style, name) {}
764
765
766 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
767 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
768 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
769 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
770
771 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
772 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
773 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
774
775 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
776 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
777
778 DEC_PYCALLBACK__(InitDialog);
779 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
780 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
781 DEC_PYCALLBACK_BOOL_(Validate);
782
783 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
784 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
785 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
786
787 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
788 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
789
790 PYPRIVATE;
791};
792
793IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
794
795IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
796IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
797IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
798IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
799
800IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
801IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
802IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
803
804IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
805IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
806
807IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
808IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
809IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
810IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
811
812IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
813IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
814IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
815
816IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
817IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
818
819
820 // C++ version of Python aware wxPanel
821class wxPyPanel : public wxPanel
822{
823 DECLARE_DYNAMIC_CLASS(wxPyPanel)
824public:
825 wxPyPanel() : wxPanel() {}
826 wxPyPanel(wxWindow* parent, const wxWindowID id,
827 const wxPoint& pos = wxDefaultPosition,
828 const wxSize& size = wxDefaultSize,
829 long style = 0,
830 const wxString& name = wxPyPanelNameStr)
831 : wxPanel(parent, id, pos, size, style, name) {}
832
833
834 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
835 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
836 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
837 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
838
839 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
840 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
841 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
842
843 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
844 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
845
846 DEC_PYCALLBACK__(InitDialog);
847 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
848 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
849 DEC_PYCALLBACK_BOOL_(Validate);
850
851 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
852 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
853 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
854
855 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
856 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
857
858 PYPRIVATE;
859};
860
861IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
862
863IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
864IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
865IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
866IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
867
868IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
869IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
870IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
871
872IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
873IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
874
875IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
876IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
877IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
878IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
879
880IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
881IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
882IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
883
884IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
885IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
886
887
888
889#include "wx/wxPython/printfw.h"
890
d14a1e28 891
eb9b6107
RD
892 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
893 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
d14a1e28
RD
894
895
896
897// Since this one would be tough and ugly to do with the Macros...
898void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
423f194a 899 bool hadErr = False;
d14a1e28
RD
900 bool found;
901
902 wxPyBeginBlockThreads();
903 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
904 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
905 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
906 PyObject* val;
907
908 val = PyTuple_GetItem(result, 0);
909 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
423f194a 910 else hadErr = True;
d14a1e28
RD
911
912 val = PyTuple_GetItem(result, 1);
913 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
423f194a 914 else hadErr = True;
d14a1e28
RD
915
916 val = PyTuple_GetItem(result, 2);
917 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
423f194a 918 else hadErr = True;
d14a1e28
RD
919
920 val = PyTuple_GetItem(result, 3);
921 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
423f194a 922 else hadErr = True;
d14a1e28
RD
923 }
924 else
423f194a 925 hadErr = True;
d14a1e28
RD
926
927 if (hadErr) {
928 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
929 PyErr_Print();
930 }
931 Py_DECREF(result);
932 }
933 wxPyEndBlockThreads();
934 if (! found)
935 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
936}
937
938void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
939 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
940}
941
942
943IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
944IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
945IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
946IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
947IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
948IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
949IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
950
951
952
953
954
955#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
956 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
957 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
958
959
960#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
961 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
423f194a 962 bool rval=False; \
d14a1e28
RD
963 bool found; \
964 wxPyBeginBlockThreads(); \
965 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
966 PyObject* win = wxPyMake_wxObject(a); \
967 PyObject* dc = wxPyMake_wxObject(&b); \
968 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
969 Py_DECREF(win); \
970 Py_DECREF(dc); \
971 } \
972 wxPyEndBlockThreads(); \
973 if (! found) \
974 rval = PCLASS::CBNAME(a, b); \
975 return rval; \
976 } \
977 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
978 return PCLASS::CBNAME(a, b); \
979 }
980
981
982
983
984class wxPyPrintPreview : public wxPrintPreview
985{
986 DECLARE_CLASS(wxPyPrintPreview)
987public:
988 wxPyPrintPreview(wxPyPrintout* printout,
989 wxPyPrintout* printoutForPrinting,
990 wxPrintData* data=NULL)
991 : wxPrintPreview(printout, printoutForPrinting, data)
992 {}
993
994 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
995 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
996 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
997 DEC_PYCALLBACK_BOOL_INT(RenderPage);
998 DEC_PYCALLBACK_VOID_INT(SetZoom);
999 DEC_PYCALLBACK_BOOL_BOOL(Print);
1000 DEC_PYCALLBACK_VOID_(DetermineScaling);
1001
1002 PYPRIVATE;
1003};
1004
1005// Stupid renamed classes... Fix this in 2.5...
1006#if defined(__WXMSW__)
1007IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
1008#elif defined(__WXMAC__)
1009IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
1010#else
1011IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
1012#endif
1013
1014IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
1015IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
1016IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
1017IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
1018IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
1019IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
1020IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
1021
1022
1023class wxPyPreviewFrame : public wxPreviewFrame
1024{
1025 DECLARE_CLASS(wxPyPreviewFrame);
1026public:
1027 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
1028 const wxString& title,
1029 const wxPoint& pos = wxDefaultPosition,
1030 const wxSize& size = wxDefaultSize,
1031 long style = wxDEFAULT_FRAME_STYLE,
1032 const wxString& name = wxPyFrameNameStr)
1033 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
1034 {}
1035
1036 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
1037 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
1038
1039 DEC_PYCALLBACK_VOID_(Initialize);
1040 DEC_PYCALLBACK_VOID_(CreateCanvas);
1041 DEC_PYCALLBACK_VOID_(CreateControlBar);
1042
1043 PYPRIVATE;
1044};
1045
1046IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
1047
1048IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
1049IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
1050IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
1051
1052
1053class wxPyPreviewControlBar : public wxPreviewControlBar
1054{
1055 DECLARE_CLASS(wxPyPreviewControlBar);
1056public:
1057 wxPyPreviewControlBar(wxPrintPreview *preview,
1058 long buttons,
1059 wxWindow *parent,
1060 const wxPoint& pos = wxDefaultPosition,
1061 const wxSize& size = wxDefaultSize,
1062 long style = 0,
1063 const wxString& name = wxPyPanelNameStr)
1064 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
1065 {}
1066
1067 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
1068
1069 DEC_PYCALLBACK_VOID_(CreateButtons);
1070 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
1071
1072 PYPRIVATE;
1073};
1074
1075IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
1076IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1077IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1078
1079#ifdef __cplusplus
1080extern "C" {
1081#endif
1082static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1083 PyObject *resultobj;
1084 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1085 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1086 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1087 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1088 wxSize const &arg4_defvalue = wxDefaultSize ;
1089 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1090 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1091 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1092 wxString *arg6 = (wxString *) &arg6_defvalue ;
1093 wxPanel *result;
1094 wxPoint temp3 ;
1095 wxSize temp4 ;
423f194a 1096 bool temp6 = False ;
d14a1e28 1097 PyObject * obj0 = 0 ;
8edf1c75 1098 PyObject * obj1 = 0 ;
d14a1e28
RD
1099 PyObject * obj2 = 0 ;
1100 PyObject * obj3 = 0 ;
8edf1c75 1101 PyObject * obj4 = 0 ;
d14a1e28
RD
1102 PyObject * obj5 = 0 ;
1103 char *kwnames[] = {
1104 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1105 };
1106
8edf1c75 1107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_Panel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 1108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1109 if (obj1) {
1110 {
1111 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
1112 if (PyErr_Occurred()) SWIG_fail;
1113 }
1114 }
d14a1e28
RD
1115 if (obj2) {
1116 {
1117 arg3 = &temp3;
1118 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1119 }
1120 }
1121 if (obj3) {
1122 {
1123 arg4 = &temp4;
1124 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1125 }
1126 }
8edf1c75
RD
1127 if (obj4) {
1128 {
1129 arg5 = (long) SWIG_PyObj_AsLong(obj4);
1130 if (PyErr_Occurred()) SWIG_fail;
1131 }
1132 }
d14a1e28
RD
1133 if (obj5) {
1134 {
1135 arg6 = wxString_in_helper(obj5);
1136 if (arg6 == NULL) SWIG_fail;
423f194a 1137 temp6 = True;
d14a1e28
RD
1138 }
1139 }
1140 {
1141 PyThreadState* __tstate = wxPyBeginAllowThreads();
1142 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1143
1144 wxPyEndAllowThreads(__tstate);
1145 if (PyErr_Occurred()) SWIG_fail;
1146 }
1147 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1148 {
1149 if (temp6)
1150 delete arg6;
1151 }
1152 return resultobj;
1153 fail:
1154 {
1155 if (temp6)
1156 delete arg6;
1157 }
1158 return NULL;
1159}
1160
1161
1162static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1163 PyObject *resultobj;
1164 wxPanel *result;
1165 char *kwnames[] = {
1166 NULL
1167 };
1168
1169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1170 {
1171 PyThreadState* __tstate = wxPyBeginAllowThreads();
1172 result = (wxPanel *)new wxPanel();
1173
1174 wxPyEndAllowThreads(__tstate);
1175 if (PyErr_Occurred()) SWIG_fail;
1176 }
1177 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1178 return resultobj;
1179 fail:
1180 return NULL;
1181}
1182
1183
1184static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1185 PyObject *resultobj;
1186 wxPanel *arg1 = (wxPanel *) 0 ;
1187 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1188 int arg3 ;
d14a1e28
RD
1189 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1190 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1191 wxSize const &arg5_defvalue = wxDefaultSize ;
1192 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1193 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1194 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1195 wxString *arg7 = (wxString *) &arg7_defvalue ;
1196 bool result;
1197 wxPoint temp4 ;
1198 wxSize temp5 ;
423f194a 1199 bool temp7 = False ;
d14a1e28
RD
1200 PyObject * obj0 = 0 ;
1201 PyObject * obj1 = 0 ;
8edf1c75 1202 PyObject * obj2 = 0 ;
d14a1e28
RD
1203 PyObject * obj3 = 0 ;
1204 PyObject * obj4 = 0 ;
8edf1c75 1205 PyObject * obj5 = 0 ;
d14a1e28
RD
1206 PyObject * obj6 = 0 ;
1207 char *kwnames[] = {
1208 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1209 };
1210
8edf1c75 1211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:Panel_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
1212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1213 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1214 {
1215 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
1216 if (PyErr_Occurred()) SWIG_fail;
1217 }
d14a1e28
RD
1218 if (obj3) {
1219 {
1220 arg4 = &temp4;
1221 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1222 }
1223 }
1224 if (obj4) {
1225 {
1226 arg5 = &temp5;
1227 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1228 }
1229 }
8edf1c75
RD
1230 if (obj5) {
1231 {
1232 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1233 if (PyErr_Occurred()) SWIG_fail;
1234 }
1235 }
d14a1e28
RD
1236 if (obj6) {
1237 {
1238 arg7 = wxString_in_helper(obj6);
1239 if (arg7 == NULL) SWIG_fail;
423f194a 1240 temp7 = True;
d14a1e28
RD
1241 }
1242 }
1243 {
1244 PyThreadState* __tstate = wxPyBeginAllowThreads();
1245 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1246
1247 wxPyEndAllowThreads(__tstate);
1248 if (PyErr_Occurred()) SWIG_fail;
1249 }
4e760a36 1250 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1251 {
1252 if (temp7)
1253 delete arg7;
1254 }
1255 return resultobj;
1256 fail:
1257 {
1258 if (temp7)
1259 delete arg7;
1260 }
1261 return NULL;
1262}
1263
1264
1265static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1266 PyObject *resultobj;
1267 wxPanel *arg1 = (wxPanel *) 0 ;
1268 PyObject * obj0 = 0 ;
1269 char *kwnames[] = {
1270 (char *) "self", NULL
1271 };
1272
1273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1275 {
1276 PyThreadState* __tstate = wxPyBeginAllowThreads();
1277 (arg1)->InitDialog();
1278
1279 wxPyEndAllowThreads(__tstate);
1280 if (PyErr_Occurred()) SWIG_fail;
1281 }
1282 Py_INCREF(Py_None); resultobj = Py_None;
1283 return resultobj;
1284 fail:
1285 return NULL;
1286}
1287
1288
1289static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1290 PyObject *obj;
1291 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1292 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1293 Py_INCREF(obj);
1294 return Py_BuildValue((char *)"");
1295}
1296static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1297 PyObject *resultobj;
1298 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1299 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1300 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1301 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1302 wxSize const &arg4_defvalue = wxDefaultSize ;
1303 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1304 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1305 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1306 wxString *arg6 = (wxString *) &arg6_defvalue ;
1307 wxScrolledWindow *result;
1308 wxPoint temp3 ;
1309 wxSize temp4 ;
423f194a 1310 bool temp6 = False ;
d14a1e28 1311 PyObject * obj0 = 0 ;
8edf1c75 1312 PyObject * obj1 = 0 ;
d14a1e28
RD
1313 PyObject * obj2 = 0 ;
1314 PyObject * obj3 = 0 ;
8edf1c75 1315 PyObject * obj4 = 0 ;
d14a1e28
RD
1316 PyObject * obj5 = 0 ;
1317 char *kwnames[] = {
1318 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1319 };
1320
8edf1c75 1321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_ScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 1322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1323 if (obj1) {
1324 {
1325 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
1326 if (PyErr_Occurred()) SWIG_fail;
1327 }
1328 }
d14a1e28
RD
1329 if (obj2) {
1330 {
1331 arg3 = &temp3;
1332 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1333 }
1334 }
1335 if (obj3) {
1336 {
1337 arg4 = &temp4;
1338 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1339 }
1340 }
8edf1c75
RD
1341 if (obj4) {
1342 {
1343 arg5 = (long) SWIG_PyObj_AsLong(obj4);
1344 if (PyErr_Occurred()) SWIG_fail;
1345 }
1346 }
d14a1e28
RD
1347 if (obj5) {
1348 {
1349 arg6 = wxString_in_helper(obj5);
1350 if (arg6 == NULL) SWIG_fail;
423f194a 1351 temp6 = True;
d14a1e28
RD
1352 }
1353 }
1354 {
1355 PyThreadState* __tstate = wxPyBeginAllowThreads();
1356 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1357
1358 wxPyEndAllowThreads(__tstate);
1359 if (PyErr_Occurred()) SWIG_fail;
1360 }
1361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1362 {
1363 if (temp6)
1364 delete arg6;
1365 }
1366 return resultobj;
1367 fail:
1368 {
1369 if (temp6)
1370 delete arg6;
1371 }
1372 return NULL;
1373}
1374
1375
1376static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1377 PyObject *resultobj;
1378 wxScrolledWindow *result;
1379 char *kwnames[] = {
1380 NULL
1381 };
1382
1383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1384 {
1385 PyThreadState* __tstate = wxPyBeginAllowThreads();
1386 result = (wxScrolledWindow *)new wxScrolledWindow();
1387
1388 wxPyEndAllowThreads(__tstate);
1389 if (PyErr_Occurred()) SWIG_fail;
1390 }
1391 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1392 return resultobj;
1393 fail:
1394 return NULL;
1395}
1396
1397
1398static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1399 PyObject *resultobj;
1400 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1401 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1402 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1403 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1404 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1405 wxSize const &arg5_defvalue = wxDefaultSize ;
1406 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1407 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1408 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1409 wxString *arg7 = (wxString *) &arg7_defvalue ;
1410 bool result;
1411 wxPoint temp4 ;
1412 wxSize temp5 ;
423f194a 1413 bool temp7 = False ;
d14a1e28
RD
1414 PyObject * obj0 = 0 ;
1415 PyObject * obj1 = 0 ;
8edf1c75 1416 PyObject * obj2 = 0 ;
d14a1e28
RD
1417 PyObject * obj3 = 0 ;
1418 PyObject * obj4 = 0 ;
8edf1c75 1419 PyObject * obj5 = 0 ;
d14a1e28
RD
1420 PyObject * obj6 = 0 ;
1421 char *kwnames[] = {
1422 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1423 };
1424
8edf1c75 1425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
1426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1427 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1428 if (obj2) {
1429 {
1430 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
1431 if (PyErr_Occurred()) SWIG_fail;
1432 }
1433 }
d14a1e28
RD
1434 if (obj3) {
1435 {
1436 arg4 = &temp4;
1437 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1438 }
1439 }
1440 if (obj4) {
1441 {
1442 arg5 = &temp5;
1443 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1444 }
1445 }
8edf1c75
RD
1446 if (obj5) {
1447 {
1448 arg6 = (long) SWIG_PyObj_AsLong(obj5);
1449 if (PyErr_Occurred()) SWIG_fail;
1450 }
1451 }
d14a1e28
RD
1452 if (obj6) {
1453 {
1454 arg7 = wxString_in_helper(obj6);
1455 if (arg7 == NULL) SWIG_fail;
423f194a 1456 temp7 = True;
d14a1e28
RD
1457 }
1458 }
1459 {
1460 PyThreadState* __tstate = wxPyBeginAllowThreads();
1461 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1462
1463 wxPyEndAllowThreads(__tstate);
1464 if (PyErr_Occurred()) SWIG_fail;
1465 }
4e760a36 1466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
1467 {
1468 if (temp7)
1469 delete arg7;
1470 }
1471 return resultobj;
1472 fail:
1473 {
1474 if (temp7)
1475 delete arg7;
1476 }
1477 return NULL;
1478}
1479
1480
1481static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1482 PyObject *resultobj;
1483 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1484 int arg2 ;
1485 int arg3 ;
1486 int arg4 ;
1487 int arg5 ;
1488 int arg6 = (int) 0 ;
1489 int arg7 = (int) 0 ;
423f194a 1490 bool arg8 = (bool) False ;
d14a1e28 1491 PyObject * obj0 = 0 ;
8edf1c75
RD
1492 PyObject * obj1 = 0 ;
1493 PyObject * obj2 = 0 ;
1494 PyObject * obj3 = 0 ;
1495 PyObject * obj4 = 0 ;
1496 PyObject * obj5 = 0 ;
1497 PyObject * obj6 = 0 ;
d14a1e28
RD
1498 PyObject * obj7 = 0 ;
1499 char *kwnames[] = {
1500 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1501 };
1502
8edf1c75 1503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28 1504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1505 {
1506 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1507 if (PyErr_Occurred()) SWIG_fail;
1508 }
1509 {
1510 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1511 if (PyErr_Occurred()) SWIG_fail;
1512 }
1513 {
1514 arg4 = (int) SWIG_PyObj_AsInt(obj3);
1515 if (PyErr_Occurred()) SWIG_fail;
1516 }
1517 {
1518 arg5 = (int) SWIG_PyObj_AsInt(obj4);
1519 if (PyErr_Occurred()) SWIG_fail;
1520 }
1521 if (obj5) {
1522 {
1523 arg6 = (int) SWIG_PyObj_AsInt(obj5);
1524 if (PyErr_Occurred()) SWIG_fail;
1525 }
1526 }
1527 if (obj6) {
1528 {
1529 arg7 = (int) SWIG_PyObj_AsInt(obj6);
1530 if (PyErr_Occurred()) SWIG_fail;
1531 }
1532 }
d14a1e28 1533 if (obj7) {
83448d71 1534 {
8edf1c75 1535 arg8 = (bool) SWIG_PyObj_AsBool(obj7);
83448d71
RD
1536 if (PyErr_Occurred()) SWIG_fail;
1537 }
d14a1e28
RD
1538 }
1539 {
1540 PyThreadState* __tstate = wxPyBeginAllowThreads();
1541 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1542
1543 wxPyEndAllowThreads(__tstate);
1544 if (PyErr_Occurred()) SWIG_fail;
1545 }
1546 Py_INCREF(Py_None); resultobj = Py_None;
1547 return resultobj;
1548 fail:
1549 return NULL;
1550}
1551
1552
1553static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1554 PyObject *resultobj;
1555 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1556 int arg2 ;
1557 int arg3 ;
1558 PyObject * obj0 = 0 ;
8edf1c75
RD
1559 PyObject * obj1 = 0 ;
1560 PyObject * obj2 = 0 ;
d14a1e28
RD
1561 char *kwnames[] = {
1562 (char *) "self",(char *) "x",(char *) "y", NULL
1563 };
1564
8edf1c75 1565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_Scroll",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 1566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1567 {
1568 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 {
1572 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1573 if (PyErr_Occurred()) SWIG_fail;
1574 }
d14a1e28
RD
1575 {
1576 PyThreadState* __tstate = wxPyBeginAllowThreads();
1577 (arg1)->Scroll(arg2,arg3);
1578
1579 wxPyEndAllowThreads(__tstate);
1580 if (PyErr_Occurred()) SWIG_fail;
1581 }
1582 Py_INCREF(Py_None); resultobj = Py_None;
1583 return resultobj;
1584 fail:
1585 return NULL;
1586}
1587
1588
1589static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1590 PyObject *resultobj;
1591 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1592 int arg2 ;
1593 int result;
1594 PyObject * obj0 = 0 ;
8edf1c75 1595 PyObject * obj1 = 0 ;
d14a1e28
RD
1596 char *kwnames[] = {
1597 (char *) "self",(char *) "orient", NULL
1598 };
1599
8edf1c75 1600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 1601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1602 {
1603 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1604 if (PyErr_Occurred()) SWIG_fail;
1605 }
d14a1e28
RD
1606 {
1607 PyThreadState* __tstate = wxPyBeginAllowThreads();
1608 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1609
1610 wxPyEndAllowThreads(__tstate);
1611 if (PyErr_Occurred()) SWIG_fail;
1612 }
8edf1c75 1613 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
1614 return resultobj;
1615 fail:
1616 return NULL;
1617}
1618
1619
1620static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1621 PyObject *resultobj;
1622 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1623 int arg2 ;
1624 int arg3 ;
1625 PyObject * obj0 = 0 ;
8edf1c75
RD
1626 PyObject * obj1 = 0 ;
1627 PyObject * obj2 = 0 ;
d14a1e28
RD
1628 char *kwnames[] = {
1629 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1630 };
1631
8edf1c75 1632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 1633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1634 {
1635 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1636 if (PyErr_Occurred()) SWIG_fail;
1637 }
1638 {
1639 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1640 if (PyErr_Occurred()) SWIG_fail;
1641 }
d14a1e28
RD
1642 {
1643 PyThreadState* __tstate = wxPyBeginAllowThreads();
1644 (arg1)->SetScrollPageSize(arg2,arg3);
1645
1646 wxPyEndAllowThreads(__tstate);
1647 if (PyErr_Occurred()) SWIG_fail;
1648 }
1649 Py_INCREF(Py_None); resultobj = Py_None;
1650 return resultobj;
1651 fail:
1652 return NULL;
1653}
1654
1655
1656static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1657 PyObject *resultobj;
1658 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1659 int arg2 ;
1660 int arg3 ;
1661 PyObject * obj0 = 0 ;
8edf1c75
RD
1662 PyObject * obj1 = 0 ;
1663 PyObject * obj2 = 0 ;
d14a1e28
RD
1664 char *kwnames[] = {
1665 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1666 };
1667
8edf1c75 1668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 1669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1670 {
1671 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1672 if (PyErr_Occurred()) SWIG_fail;
1673 }
1674 {
1675 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1676 if (PyErr_Occurred()) SWIG_fail;
1677 }
d14a1e28
RD
1678 {
1679 PyThreadState* __tstate = wxPyBeginAllowThreads();
1680 (arg1)->SetScrollRate(arg2,arg3);
1681
1682 wxPyEndAllowThreads(__tstate);
1683 if (PyErr_Occurred()) SWIG_fail;
1684 }
1685 Py_INCREF(Py_None); resultobj = Py_None;
1686 return resultobj;
1687 fail:
1688 return NULL;
1689}
1690
1691
1692static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1693 PyObject *resultobj;
1694 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1695 int *arg2 = (int *) 0 ;
1696 int *arg3 = (int *) 0 ;
1697 int temp2 ;
1698 int temp3 ;
1699 PyObject * obj0 = 0 ;
1700 char *kwnames[] = {
1701 (char *) "self", NULL
1702 };
1703
1704 arg2 = &temp2;
1705 arg3 = &temp3;
1706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1708 {
1709 PyThreadState* __tstate = wxPyBeginAllowThreads();
1710 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1711
1712 wxPyEndAllowThreads(__tstate);
1713 if (PyErr_Occurred()) SWIG_fail;
1714 }
1715 Py_INCREF(Py_None); resultobj = Py_None;
1716 {
1717 PyObject *o = PyInt_FromLong((long) (*arg2));
1718 resultobj = t_output_helper(resultobj,o);
1719 }
1720 {
1721 PyObject *o = PyInt_FromLong((long) (*arg3));
1722 resultobj = t_output_helper(resultobj,o);
1723 }
1724 return resultobj;
1725 fail:
1726 return NULL;
1727}
1728
1729
1730static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1731 PyObject *resultobj;
1732 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1733 bool arg2 ;
1734 bool arg3 ;
1735 PyObject * obj0 = 0 ;
1736 PyObject * obj1 = 0 ;
1737 PyObject * obj2 = 0 ;
1738 char *kwnames[] = {
1739 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1740 };
1741
1742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 1744 {
8edf1c75 1745 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
1746 if (PyErr_Occurred()) SWIG_fail;
1747 }
1748 {
8edf1c75 1749 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
1750 if (PyErr_Occurred()) SWIG_fail;
1751 }
d14a1e28
RD
1752 {
1753 PyThreadState* __tstate = wxPyBeginAllowThreads();
1754 (arg1)->EnableScrolling(arg2,arg3);
1755
1756 wxPyEndAllowThreads(__tstate);
1757 if (PyErr_Occurred()) SWIG_fail;
1758 }
1759 Py_INCREF(Py_None); resultobj = Py_None;
1760 return resultobj;
1761 fail:
1762 return NULL;
1763}
1764
1765
1766static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1767 PyObject *resultobj;
1768 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1769 int *arg2 = (int *) 0 ;
1770 int *arg3 = (int *) 0 ;
1771 int temp2 ;
1772 int temp3 ;
1773 PyObject * obj0 = 0 ;
1774 char *kwnames[] = {
1775 (char *) "self", NULL
1776 };
1777
1778 arg2 = &temp2;
1779 arg3 = &temp3;
1780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1782 {
1783 PyThreadState* __tstate = wxPyBeginAllowThreads();
1784 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1785
1786 wxPyEndAllowThreads(__tstate);
1787 if (PyErr_Occurred()) SWIG_fail;
1788 }
1789 Py_INCREF(Py_None); resultobj = Py_None;
1790 {
1791 PyObject *o = PyInt_FromLong((long) (*arg2));
1792 resultobj = t_output_helper(resultobj,o);
1793 }
1794 {
1795 PyObject *o = PyInt_FromLong((long) (*arg3));
1796 resultobj = t_output_helper(resultobj,o);
1797 }
1798 return resultobj;
1799 fail:
1800 return NULL;
1801}
1802
1803
1804static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1805 PyObject *resultobj;
1806 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1807 double arg2 ;
1808 double arg3 ;
1809 PyObject * obj0 = 0 ;
8edf1c75
RD
1810 PyObject * obj1 = 0 ;
1811 PyObject * obj2 = 0 ;
d14a1e28
RD
1812 char *kwnames[] = {
1813 (char *) "self",(char *) "xs",(char *) "ys", NULL
1814 };
1815
8edf1c75 1816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_SetScale",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 1817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1818 {
1819 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
1820 if (PyErr_Occurred()) SWIG_fail;
1821 }
1822 {
1823 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 }
d14a1e28
RD
1826 {
1827 PyThreadState* __tstate = wxPyBeginAllowThreads();
1828 (arg1)->SetScale(arg2,arg3);
1829
1830 wxPyEndAllowThreads(__tstate);
1831 if (PyErr_Occurred()) SWIG_fail;
1832 }
1833 Py_INCREF(Py_None); resultobj = Py_None;
1834 return resultobj;
1835 fail:
1836 return NULL;
1837}
1838
1839
1840static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1841 PyObject *resultobj;
1842 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1843 double result;
1844 PyObject * obj0 = 0 ;
1845 char *kwnames[] = {
1846 (char *) "self", NULL
1847 };
1848
1849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1851 {
1852 PyThreadState* __tstate = wxPyBeginAllowThreads();
1853 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1854
1855 wxPyEndAllowThreads(__tstate);
1856 if (PyErr_Occurred()) SWIG_fail;
1857 }
8edf1c75 1858 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
1859 return resultobj;
1860 fail:
1861 return NULL;
1862}
1863
1864
1865static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1866 PyObject *resultobj;
1867 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1868 double result;
1869 PyObject * obj0 = 0 ;
1870 char *kwnames[] = {
1871 (char *) "self", NULL
1872 };
1873
1874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1876 {
1877 PyThreadState* __tstate = wxPyBeginAllowThreads();
1878 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1879
1880 wxPyEndAllowThreads(__tstate);
1881 if (PyErr_Occurred()) SWIG_fail;
1882 }
8edf1c75 1883 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
1884 return resultobj;
1885 fail:
1886 return NULL;
1887}
1888
1889
1890static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1891 PyObject *resultobj;
1892 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1893 wxPoint *arg2 = 0 ;
1894 wxPoint result;
1895 wxPoint temp2 ;
d14a1e28 1896 PyObject * obj0 = 0 ;
44127b65 1897 PyObject * obj1 = 0 ;
d14a1e28 1898
44127b65 1899 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
d14a1e28 1900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
44127b65
RD
1901 {
1902 arg2 = &temp2;
1903 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1904 }
d14a1e28
RD
1905 {
1906 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1907 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
1908
1909 wxPyEndAllowThreads(__tstate);
1910 if (PyErr_Occurred()) SWIG_fail;
1911 }
d14a1e28 1912 {
44127b65
RD
1913 wxPoint * resultptr;
1914 resultptr = new wxPoint((wxPoint &) result);
1915 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
1916 }
1917 return resultobj;
1918 fail:
1919 return NULL;
1920}
1921
1922
1923static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1924 PyObject *resultobj;
1925 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1926 int arg2 ;
1927 int arg3 ;
1928 int *arg4 = (int *) 0 ;
1929 int *arg5 = (int *) 0 ;
1930 int temp4 ;
1931 int temp5 ;
d14a1e28 1932 PyObject * obj0 = 0 ;
8edf1c75
RD
1933 PyObject * obj1 = 0 ;
1934 PyObject * obj2 = 0 ;
d14a1e28 1935
44127b65
RD
1936 arg4 = &temp4;
1937 arg5 = &temp5;
8edf1c75 1938 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1,&obj2)) goto fail;
d14a1e28 1939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
1940 {
1941 arg2 = (int) SWIG_PyObj_AsInt(obj1);
1942 if (PyErr_Occurred()) SWIG_fail;
1943 }
1944 {
1945 arg3 = (int) SWIG_PyObj_AsInt(obj2);
1946 if (PyErr_Occurred()) SWIG_fail;
1947 }
d14a1e28
RD
1948 {
1949 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1950 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
1951
1952 wxPyEndAllowThreads(__tstate);
1953 if (PyErr_Occurred()) SWIG_fail;
1954 }
44127b65 1955 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 1956 {
44127b65
RD
1957 PyObject *o = PyInt_FromLong((long) (*arg4));
1958 resultobj = t_output_helper(resultobj,o);
1959 }
1960 {
1961 PyObject *o = PyInt_FromLong((long) (*arg5));
1962 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
1963 }
1964 return resultobj;
1965 fail:
1966 return NULL;
1967}
1968
1969
1970static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1971 int argc;
1972 PyObject *argv[4];
1973 int ii;
1974
1975 argc = PyObject_Length(args);
1976 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1977 argv[ii] = PyTuple_GetItem(args,ii);
1978 }
1979 if (argc == 2) {
1980 int _v;
1981 {
1982 void *ptr;
1983 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1984 _v = 0;
1985 PyErr_Clear();
1986 } else {
1987 _v = 1;
1988 }
1989 }
1990 if (_v) {
1991 {
1992 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1993 }
1994 if (_v) {
44127b65 1995 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
1996 }
1997 }
1998 }
1999 if (argc == 3) {
2000 int _v;
2001 {
2002 void *ptr;
2003 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2004 _v = 0;
2005 PyErr_Clear();
2006 } else {
2007 _v = 1;
2008 }
2009 }
2010 if (_v) {
2011 {
8edf1c75 2012 SWIG_PyObj_AsInt(argv[1]);
83448d71
RD
2013 if (PyErr_Occurred()) {
2014 _v = 0;
2015 PyErr_Clear();
2016 } else {
2017 _v = 1;
2018 }
d14a1e28
RD
2019 }
2020 if (_v) {
2021 {
8edf1c75 2022 SWIG_PyObj_AsInt(argv[2]);
83448d71
RD
2023 if (PyErr_Occurred()) {
2024 _v = 0;
2025 PyErr_Clear();
2026 } else {
2027 _v = 1;
2028 }
d14a1e28
RD
2029 }
2030 if (_v) {
44127b65 2031 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
2032 }
2033 }
2034 }
2035 }
2036
2037 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
2038 return NULL;
2039}
2040
2041
2042static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
2043 PyObject *resultobj;
2044 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
2045 wxPoint *arg2 = 0 ;
2046 wxPoint result;
2047 wxPoint temp2 ;
d14a1e28 2048 PyObject * obj0 = 0 ;
44127b65 2049 PyObject * obj1 = 0 ;
d14a1e28 2050
44127b65 2051 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
d14a1e28 2052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
44127b65
RD
2053 {
2054 arg2 = &temp2;
2055 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
2056 }
d14a1e28
RD
2057 {
2058 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 2059 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
2060
2061 wxPyEndAllowThreads(__tstate);
2062 if (PyErr_Occurred()) SWIG_fail;
2063 }
d14a1e28 2064 {
44127b65
RD
2065 wxPoint * resultptr;
2066 resultptr = new wxPoint((wxPoint &) result);
2067 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
2068 }
2069 return resultobj;
2070 fail:
2071 return NULL;
2072}
2073
2074
2075static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
2076 PyObject *resultobj;
2077 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
2078 int arg2 ;
2079 int arg3 ;
2080 int *arg4 = (int *) 0 ;
2081 int *arg5 = (int *) 0 ;
2082 int temp4 ;
2083 int temp5 ;
d14a1e28 2084 PyObject * obj0 = 0 ;
8edf1c75
RD
2085 PyObject * obj1 = 0 ;
2086 PyObject * obj2 = 0 ;
d14a1e28 2087
44127b65
RD
2088 arg4 = &temp4;
2089 arg5 = &temp5;
8edf1c75 2090 if(!PyArg_ParseTuple(args,(char *)"OOO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1,&obj2)) goto fail;
d14a1e28 2091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
2092 {
2093 arg2 = (int) SWIG_PyObj_AsInt(obj1);
2094 if (PyErr_Occurred()) SWIG_fail;
2095 }
2096 {
2097 arg3 = (int) SWIG_PyObj_AsInt(obj2);
2098 if (PyErr_Occurred()) SWIG_fail;
2099 }
d14a1e28
RD
2100 {
2101 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 2102 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
2103
2104 wxPyEndAllowThreads(__tstate);
2105 if (PyErr_Occurred()) SWIG_fail;
2106 }
44127b65
RD
2107 Py_INCREF(Py_None); resultobj = Py_None;
2108 {
2109 PyObject *o = PyInt_FromLong((long) (*arg4));
2110 resultobj = t_output_helper(resultobj,o);
2111 }
d14a1e28 2112 {
44127b65
RD
2113 PyObject *o = PyInt_FromLong((long) (*arg5));
2114 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
2115 }
2116 return resultobj;
2117 fail:
2118 return NULL;
2119}
2120
2121
2122static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
2123 int argc;
2124 PyObject *argv[4];
2125 int ii;
2126
2127 argc = PyObject_Length(args);
2128 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
2129 argv[ii] = PyTuple_GetItem(args,ii);
2130 }
2131 if (argc == 2) {
2132 int _v;
2133 {
2134 void *ptr;
2135 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2136 _v = 0;
2137 PyErr_Clear();
2138 } else {
2139 _v = 1;
2140 }
2141 }
2142 if (_v) {
2143 {
2144 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
2145 }
2146 if (_v) {
44127b65 2147 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
2148 }
2149 }
2150 }
2151 if (argc == 3) {
2152 int _v;
2153 {
2154 void *ptr;
2155 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
2156 _v = 0;
2157 PyErr_Clear();
2158 } else {
2159 _v = 1;
2160 }
2161 }
2162 if (_v) {
2163 {
8edf1c75 2164 SWIG_PyObj_AsInt(argv[1]);
83448d71
RD
2165 if (PyErr_Occurred()) {
2166 _v = 0;
2167 PyErr_Clear();
2168 } else {
2169 _v = 1;
2170 }
d14a1e28
RD
2171 }
2172 if (_v) {
2173 {
8edf1c75 2174 SWIG_PyObj_AsInt(argv[2]);
83448d71
RD
2175 if (PyErr_Occurred()) {
2176 _v = 0;
2177 PyErr_Clear();
2178 } else {
2179 _v = 1;
2180 }
d14a1e28
RD
2181 }
2182 if (_v) {
44127b65 2183 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
2184 }
2185 }
2186 }
2187 }
2188
2189 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
2190 return NULL;
2191}
2192
2193
2194static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
2195 PyObject *resultobj;
2196 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2197 PyObject * obj0 = 0 ;
2198 char *kwnames[] = {
2199 (char *) "self", NULL
2200 };
2201
2202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
2203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2204 {
2205 PyThreadState* __tstate = wxPyBeginAllowThreads();
2206 (arg1)->AdjustScrollbars();
2207
2208 wxPyEndAllowThreads(__tstate);
2209 if (PyErr_Occurred()) SWIG_fail;
2210 }
2211 Py_INCREF(Py_None); resultobj = Py_None;
2212 return resultobj;
2213 fail:
2214 return NULL;
2215}
2216
2217
2218static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
2219 PyObject *resultobj;
2220 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2221 wxScrollWinEvent *arg2 = 0 ;
2222 int result;
2223 PyObject * obj0 = 0 ;
2224 PyObject * obj1 = 0 ;
2225 char *kwnames[] = {
2226 (char *) "self",(char *) "event", NULL
2227 };
2228
2229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
2230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2231 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2232 if (arg2 == NULL) {
2233 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2234 }
2235 {
2236 PyThreadState* __tstate = wxPyBeginAllowThreads();
2237 result = (int)(arg1)->CalcScrollInc(*arg2);
2238
2239 wxPyEndAllowThreads(__tstate);
2240 if (PyErr_Occurred()) SWIG_fail;
2241 }
8edf1c75 2242 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
2243 return resultobj;
2244 fail:
2245 return NULL;
2246}
2247
2248
2249static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2250 PyObject *resultobj;
2251 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2252 wxWindow *arg2 = (wxWindow *) 0 ;
2253 PyObject * obj0 = 0 ;
2254 PyObject * obj1 = 0 ;
2255 char *kwnames[] = {
2256 (char *) "self",(char *) "target", NULL
2257 };
2258
2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2261 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2262 {
2263 PyThreadState* __tstate = wxPyBeginAllowThreads();
2264 (arg1)->SetTargetWindow(arg2);
2265
2266 wxPyEndAllowThreads(__tstate);
2267 if (PyErr_Occurred()) SWIG_fail;
2268 }
2269 Py_INCREF(Py_None); resultobj = Py_None;
2270 return resultobj;
2271 fail:
2272 return NULL;
2273}
2274
2275
2276static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2277 PyObject *resultobj;
2278 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2279 wxWindow *result;
2280 PyObject * obj0 = 0 ;
2281 char *kwnames[] = {
2282 (char *) "self", NULL
2283 };
2284
2285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2287 {
2288 PyThreadState* __tstate = wxPyBeginAllowThreads();
2289 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2290
2291 wxPyEndAllowThreads(__tstate);
2292 if (PyErr_Occurred()) SWIG_fail;
2293 }
2294 {
2295 resultobj = wxPyMake_wxObject(result);
2296 }
2297 return resultobj;
2298 fail:
2299 return NULL;
2300}
2301
2302
2303static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2304 PyObject *resultobj;
2305 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2306 wxRect *arg2 = 0 ;
2307 wxRect temp2 ;
2308 PyObject * obj0 = 0 ;
2309 PyObject * obj1 = 0 ;
2310 char *kwnames[] = {
2311 (char *) "self",(char *) "rect", NULL
2312 };
2313
2314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2316 {
2317 arg2 = &temp2;
2318 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2319 }
2320 {
2321 PyThreadState* __tstate = wxPyBeginAllowThreads();
2322 (arg1)->SetTargetRect((wxRect const &)*arg2);
2323
2324 wxPyEndAllowThreads(__tstate);
2325 if (PyErr_Occurred()) SWIG_fail;
2326 }
2327 Py_INCREF(Py_None); resultobj = Py_None;
2328 return resultobj;
2329 fail:
2330 return NULL;
2331}
2332
2333
2334static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2335 PyObject *resultobj;
2336 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2337 wxRect result;
2338 PyObject * obj0 = 0 ;
2339 char *kwnames[] = {
2340 (char *) "self", NULL
2341 };
2342
2343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2345 {
2346 PyThreadState* __tstate = wxPyBeginAllowThreads();
2347 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2348
2349 wxPyEndAllowThreads(__tstate);
2350 if (PyErr_Occurred()) SWIG_fail;
2351 }
2352 {
2353 wxRect * resultptr;
2354 resultptr = new wxRect((wxRect &) result);
2355 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2356 }
2357 return resultobj;
2358 fail:
2359 return NULL;
2360}
2361
2362
2363static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2364 PyObject *obj;
2365 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2366 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2367 Py_INCREF(obj);
2368 return Py_BuildValue((char *)"");
2369}
8edf1c75 2370static int _wrap_FrameNameStr_set(PyObject *) {
d03fd34d
RD
2371 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2372 return 1;
2373}
2374
2375
2376static PyObject *_wrap_FrameNameStr_get() {
2377 PyObject *pyobj;
2378
2379 {
2380#if wxUSE_UNICODE
2381 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2382#else
2383 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2384#endif
2385 }
2386 return pyobj;
2387}
2388
2389
8edf1c75 2390static int _wrap_DialogNameStr_set(PyObject *) {
d03fd34d
RD
2391 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2392 return 1;
2393}
2394
2395
2396static PyObject *_wrap_DialogNameStr_get() {
2397 PyObject *pyobj;
2398
2399 {
2400#if wxUSE_UNICODE
2401 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2402#else
2403 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2404#endif
2405 }
2406 return pyobj;
2407}
2408
2409
8edf1c75 2410static int _wrap_StatusLineNameStr_set(PyObject *) {
d03fd34d
RD
2411 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2412 return 1;
2413}
2414
2415
2416static PyObject *_wrap_StatusLineNameStr_get() {
2417 PyObject *pyobj;
2418
2419 {
2420#if wxUSE_UNICODE
2421 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2422#else
2423 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2424#endif
2425 }
2426 return pyobj;
2427}
2428
2429
8edf1c75 2430static int _wrap_ToolBarNameStr_set(PyObject *) {
d03fd34d
RD
2431 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2432 return 1;
2433}
2434
2435
2436static PyObject *_wrap_ToolBarNameStr_get() {
2437 PyObject *pyobj;
2438
2439 {
2440#if wxUSE_UNICODE
2441 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2442#else
2443 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2444#endif
2445 }
2446 return pyobj;
2447}
2448
2449
d14a1e28
RD
2450static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2451 PyObject *resultobj;
2452 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
423f194a 2453 bool arg2 = (bool) True ;
d14a1e28
RD
2454 PyObject * obj0 = 0 ;
2455 PyObject * obj1 = 0 ;
2456 char *kwnames[] = {
2457 (char *) "self",(char *) "maximize", NULL
2458 };
2459
2460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2462 if (obj1) {
83448d71 2463 {
8edf1c75 2464 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
2465 if (PyErr_Occurred()) SWIG_fail;
2466 }
d14a1e28
RD
2467 }
2468 {
2469 PyThreadState* __tstate = wxPyBeginAllowThreads();
2470 (arg1)->Maximize(arg2);
2471
2472 wxPyEndAllowThreads(__tstate);
2473 if (PyErr_Occurred()) SWIG_fail;
2474 }
2475 Py_INCREF(Py_None); resultobj = Py_None;
2476 return resultobj;
2477 fail:
2478 return NULL;
2479}
2480
2481
2482static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2483 PyObject *resultobj;
2484 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2485 PyObject * obj0 = 0 ;
2486 char *kwnames[] = {
2487 (char *) "self", NULL
2488 };
2489
2490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2492 {
2493 PyThreadState* __tstate = wxPyBeginAllowThreads();
2494 (arg1)->Restore();
2495
2496 wxPyEndAllowThreads(__tstate);
2497 if (PyErr_Occurred()) SWIG_fail;
2498 }
2499 Py_INCREF(Py_None); resultobj = Py_None;
2500 return resultobj;
2501 fail:
2502 return NULL;
2503}
2504
2505
2506static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2507 PyObject *resultobj;
2508 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
423f194a 2509 bool arg2 = (bool) True ;
d14a1e28
RD
2510 PyObject * obj0 = 0 ;
2511 PyObject * obj1 = 0 ;
2512 char *kwnames[] = {
2513 (char *) "self",(char *) "iconize", NULL
2514 };
2515
2516 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2517 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2518 if (obj1) {
83448d71 2519 {
8edf1c75 2520 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
d14a1e28
RD
2523 }
2524 {
2525 PyThreadState* __tstate = wxPyBeginAllowThreads();
2526 (arg1)->Iconize(arg2);
2527
2528 wxPyEndAllowThreads(__tstate);
2529 if (PyErr_Occurred()) SWIG_fail;
2530 }
2531 Py_INCREF(Py_None); resultobj = Py_None;
2532 return resultobj;
2533 fail:
2534 return NULL;
2535}
2536
2537
2538static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2539 PyObject *resultobj;
2540 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2541 bool result;
2542 PyObject * obj0 = 0 ;
2543 char *kwnames[] = {
2544 (char *) "self", NULL
2545 };
2546
2547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2549 {
2550 PyThreadState* __tstate = wxPyBeginAllowThreads();
2551 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2552
2553 wxPyEndAllowThreads(__tstate);
2554 if (PyErr_Occurred()) SWIG_fail;
2555 }
4e760a36 2556 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2557 return resultobj;
2558 fail:
2559 return NULL;
2560}
2561
2562
2563static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2564 PyObject *resultobj;
2565 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2566 bool result;
2567 PyObject * obj0 = 0 ;
2568 char *kwnames[] = {
2569 (char *) "self", NULL
2570 };
2571
2572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2574 {
2575 PyThreadState* __tstate = wxPyBeginAllowThreads();
2576 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2577
2578 wxPyEndAllowThreads(__tstate);
2579 if (PyErr_Occurred()) SWIG_fail;
2580 }
4e760a36 2581 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2582 return resultobj;
2583 fail:
2584 return NULL;
2585}
2586
2587
2588static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2589 PyObject *resultobj;
2590 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2591 wxIcon result;
2592 PyObject * obj0 = 0 ;
2593 char *kwnames[] = {
2594 (char *) "self", NULL
2595 };
2596
2597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2599 {
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 {
2607 wxIcon * resultptr;
2608 resultptr = new wxIcon((wxIcon &) result);
2609 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2610 }
2611 return resultobj;
2612 fail:
2613 return NULL;
2614}
2615
2616
2617static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2618 PyObject *resultobj;
2619 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2620 wxIcon *arg2 = 0 ;
2621 PyObject * obj0 = 0 ;
2622 PyObject * obj1 = 0 ;
2623 char *kwnames[] = {
2624 (char *) "self",(char *) "icon", NULL
2625 };
2626
2627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2629 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2630 if (arg2 == NULL) {
2631 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2632 }
2633 {
2634 PyThreadState* __tstate = wxPyBeginAllowThreads();
2635 (arg1)->SetIcon((wxIcon const &)*arg2);
2636
2637 wxPyEndAllowThreads(__tstate);
2638 if (PyErr_Occurred()) SWIG_fail;
2639 }
2640 Py_INCREF(Py_None); resultobj = Py_None;
2641 return resultobj;
2642 fail:
2643 return NULL;
2644}
2645
2646
2647static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2648 PyObject *resultobj;
2649 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2650 wxIconBundle *arg2 = 0 ;
2651 PyObject * obj0 = 0 ;
2652 PyObject * obj1 = 0 ;
2653 char *kwnames[] = {
2654 (char *) "self",(char *) "icons", NULL
2655 };
2656
2657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2659 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2660 if (arg2 == NULL) {
2661 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2662 }
2663 {
2664 PyThreadState* __tstate = wxPyBeginAllowThreads();
2665 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2666
2667 wxPyEndAllowThreads(__tstate);
2668 if (PyErr_Occurred()) SWIG_fail;
2669 }
2670 Py_INCREF(Py_None); resultobj = Py_None;
2671 return resultobj;
2672 fail:
2673 return NULL;
2674}
2675
2676
2677static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2678 PyObject *resultobj;
2679 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2680 bool arg2 ;
2681 long arg3 = (long) wxFULLSCREEN_ALL ;
2682 bool result;
2683 PyObject * obj0 = 0 ;
2684 PyObject * obj1 = 0 ;
8edf1c75 2685 PyObject * obj2 = 0 ;
d14a1e28
RD
2686 char *kwnames[] = {
2687 (char *) "self",(char *) "show",(char *) "style", NULL
2688 };
2689
8edf1c75 2690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 2691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 2692 {
8edf1c75 2693 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
2694 if (PyErr_Occurred()) SWIG_fail;
2695 }
8edf1c75
RD
2696 if (obj2) {
2697 {
2698 arg3 = (long) SWIG_PyObj_AsLong(obj2);
2699 if (PyErr_Occurred()) SWIG_fail;
2700 }
2701 }
d14a1e28
RD
2702 {
2703 PyThreadState* __tstate = wxPyBeginAllowThreads();
2704 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2705
2706 wxPyEndAllowThreads(__tstate);
2707 if (PyErr_Occurred()) SWIG_fail;
2708 }
4e760a36 2709 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2710 return resultobj;
2711 fail:
2712 return NULL;
2713}
2714
2715
2716static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2717 PyObject *resultobj;
2718 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2719 bool result;
2720 PyObject * obj0 = 0 ;
2721 char *kwnames[] = {
2722 (char *) "self", NULL
2723 };
2724
2725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2727 {
2728 PyThreadState* __tstate = wxPyBeginAllowThreads();
2729 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2730
2731 wxPyEndAllowThreads(__tstate);
2732 if (PyErr_Occurred()) SWIG_fail;
2733 }
4e760a36 2734 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2735 return resultobj;
2736 fail:
2737 return NULL;
2738}
2739
2740
2741static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2742 PyObject *resultobj;
2743 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2744 wxString *arg2 = 0 ;
423f194a 2745 bool temp2 = False ;
d14a1e28
RD
2746 PyObject * obj0 = 0 ;
2747 PyObject * obj1 = 0 ;
2748 char *kwnames[] = {
2749 (char *) "self",(char *) "title", NULL
2750 };
2751
2752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2754 {
2755 arg2 = wxString_in_helper(obj1);
2756 if (arg2 == NULL) SWIG_fail;
423f194a 2757 temp2 = True;
d14a1e28
RD
2758 }
2759 {
2760 PyThreadState* __tstate = wxPyBeginAllowThreads();
2761 (arg1)->SetTitle((wxString const &)*arg2);
2762
2763 wxPyEndAllowThreads(__tstate);
2764 if (PyErr_Occurred()) SWIG_fail;
2765 }
2766 Py_INCREF(Py_None); resultobj = Py_None;
2767 {
2768 if (temp2)
2769 delete arg2;
2770 }
2771 return resultobj;
2772 fail:
2773 {
2774 if (temp2)
2775 delete arg2;
2776 }
2777 return NULL;
2778}
2779
2780
2781static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2782 PyObject *resultobj;
2783 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2784 wxString result;
2785 PyObject * obj0 = 0 ;
2786 char *kwnames[] = {
2787 (char *) "self", NULL
2788 };
2789
2790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2792 {
2793 PyThreadState* __tstate = wxPyBeginAllowThreads();
2794 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2795
2796 wxPyEndAllowThreads(__tstate);
2797 if (PyErr_Occurred()) SWIG_fail;
2798 }
2799 {
2800#if wxUSE_UNICODE
2801 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2802#else
2803 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2804#endif
2805 }
2806 return resultobj;
2807 fail:
2808 return NULL;
2809}
2810
2811
2812static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2813 PyObject *resultobj;
2814 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2815 wxRegion *arg2 = 0 ;
2816 bool result;
2817 PyObject * obj0 = 0 ;
2818 PyObject * obj1 = 0 ;
2819 char *kwnames[] = {
2820 (char *) "self",(char *) "region", NULL
2821 };
2822
2823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2825 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2826 if (arg2 == NULL) {
2827 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2828 }
2829 {
2830 PyThreadState* __tstate = wxPyBeginAllowThreads();
2831 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2832
2833 wxPyEndAllowThreads(__tstate);
2834 if (PyErr_Occurred()) SWIG_fail;
2835 }
4e760a36 2836 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
2837 return resultobj;
2838 fail:
2839 return NULL;
2840}
2841
2842
2843static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2844 PyObject *obj;
2845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2846 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2847 Py_INCREF(obj);
2848 return Py_BuildValue((char *)"");
2849}
2850static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2851 PyObject *resultobj;
2852 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 2853 int arg2 ;
d14a1e28
RD
2854 wxString *arg3 = 0 ;
2855 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2856 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2857 wxSize const &arg5_defvalue = wxDefaultSize ;
2858 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2859 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2860 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2861 wxString *arg7 = (wxString *) &arg7_defvalue ;
2862 wxFrame *result;
423f194a 2863 bool temp3 = False ;
d14a1e28
RD
2864 wxPoint temp4 ;
2865 wxSize temp5 ;
423f194a 2866 bool temp7 = False ;
d14a1e28 2867 PyObject * obj0 = 0 ;
8edf1c75 2868 PyObject * obj1 = 0 ;
d14a1e28
RD
2869 PyObject * obj2 = 0 ;
2870 PyObject * obj3 = 0 ;
2871 PyObject * obj4 = 0 ;
8edf1c75 2872 PyObject * obj5 = 0 ;
d14a1e28
RD
2873 PyObject * obj6 = 0 ;
2874 char *kwnames[] = {
2875 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2876 };
2877
8edf1c75 2878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Frame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28 2879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
2880 {
2881 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
2882 if (PyErr_Occurred()) SWIG_fail;
2883 }
d14a1e28
RD
2884 {
2885 arg3 = wxString_in_helper(obj2);
2886 if (arg3 == NULL) SWIG_fail;
423f194a 2887 temp3 = True;
d14a1e28
RD
2888 }
2889 if (obj3) {
2890 {
2891 arg4 = &temp4;
2892 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2893 }
2894 }
2895 if (obj4) {
2896 {
2897 arg5 = &temp5;
2898 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2899 }
2900 }
8edf1c75
RD
2901 if (obj5) {
2902 {
2903 arg6 = (long) SWIG_PyObj_AsLong(obj5);
2904 if (PyErr_Occurred()) SWIG_fail;
2905 }
2906 }
d14a1e28
RD
2907 if (obj6) {
2908 {
2909 arg7 = wxString_in_helper(obj6);
2910 if (arg7 == NULL) SWIG_fail;
423f194a 2911 temp7 = True;
d14a1e28
RD
2912 }
2913 }
2914 {
2915 PyThreadState* __tstate = wxPyBeginAllowThreads();
2916 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2917
2918 wxPyEndAllowThreads(__tstate);
2919 if (PyErr_Occurred()) SWIG_fail;
2920 }
2921 {
2922 resultobj = wxPyMake_wxObject(result);
2923 }
2924 {
2925 if (temp3)
2926 delete arg3;
2927 }
2928 {
2929 if (temp7)
2930 delete arg7;
2931 }
2932 return resultobj;
2933 fail:
2934 {
2935 if (temp3)
2936 delete arg3;
2937 }
2938 {
2939 if (temp7)
2940 delete arg7;
2941 }
2942 return NULL;
2943}
2944
2945
2946static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2947 PyObject *resultobj;
2948 wxFrame *result;
2949 char *kwnames[] = {
2950 NULL
2951 };
2952
2953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2954 {
2955 PyThreadState* __tstate = wxPyBeginAllowThreads();
2956 result = (wxFrame *)new wxFrame();
2957
2958 wxPyEndAllowThreads(__tstate);
2959 if (PyErr_Occurred()) SWIG_fail;
2960 }
2961 {
2962 resultobj = wxPyMake_wxObject(result);
2963 }
2964 return resultobj;
2965 fail:
2966 return NULL;
2967}
2968
2969
2970static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2971 PyObject *resultobj;
2972 wxFrame *arg1 = (wxFrame *) 0 ;
2973 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 2974 int arg3 ;
d14a1e28
RD
2975 wxString *arg4 = 0 ;
2976 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2977 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2978 wxSize const &arg6_defvalue = wxDefaultSize ;
2979 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2980 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2981 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2982 wxString *arg8 = (wxString *) &arg8_defvalue ;
2983 bool result;
423f194a 2984 bool temp4 = False ;
d14a1e28
RD
2985 wxPoint temp5 ;
2986 wxSize temp6 ;
423f194a 2987 bool temp8 = False ;
d14a1e28
RD
2988 PyObject * obj0 = 0 ;
2989 PyObject * obj1 = 0 ;
8edf1c75 2990 PyObject * obj2 = 0 ;
d14a1e28
RD
2991 PyObject * obj3 = 0 ;
2992 PyObject * obj4 = 0 ;
2993 PyObject * obj5 = 0 ;
8edf1c75 2994 PyObject * obj6 = 0 ;
d14a1e28
RD
2995 PyObject * obj7 = 0 ;
2996 char *kwnames[] = {
2997 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2998 };
2999
8edf1c75 3000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Frame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
3001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3002 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3003 {
3004 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
3005 if (PyErr_Occurred()) SWIG_fail;
3006 }
d14a1e28
RD
3007 {
3008 arg4 = wxString_in_helper(obj3);
3009 if (arg4 == NULL) SWIG_fail;
423f194a 3010 temp4 = True;
d14a1e28
RD
3011 }
3012 if (obj4) {
3013 {
3014 arg5 = &temp5;
3015 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3016 }
3017 }
3018 if (obj5) {
3019 {
3020 arg6 = &temp6;
3021 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3022 }
3023 }
8edf1c75
RD
3024 if (obj6) {
3025 {
3026 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3027 if (PyErr_Occurred()) SWIG_fail;
3028 }
3029 }
d14a1e28
RD
3030 if (obj7) {
3031 {
3032 arg8 = wxString_in_helper(obj7);
3033 if (arg8 == NULL) SWIG_fail;
423f194a 3034 temp8 = True;
d14a1e28
RD
3035 }
3036 }
3037 {
3038 PyThreadState* __tstate = wxPyBeginAllowThreads();
3039 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3040
3041 wxPyEndAllowThreads(__tstate);
3042 if (PyErr_Occurred()) SWIG_fail;
3043 }
4e760a36 3044 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3045 {
3046 if (temp4)
3047 delete arg4;
3048 }
3049 {
3050 if (temp8)
3051 delete arg8;
3052 }
3053 return resultobj;
3054 fail:
3055 {
3056 if (temp4)
3057 delete arg4;
3058 }
3059 {
3060 if (temp8)
3061 delete arg8;
3062 }
3063 return NULL;
3064}
3065
3066
3067static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3068 PyObject *resultobj;
3069 wxFrame *arg1 = (wxFrame *) 0 ;
3070 wxPoint result;
3071 PyObject * obj0 = 0 ;
3072 char *kwnames[] = {
3073 (char *) "self", NULL
3074 };
3075
3076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3078 {
3079 PyThreadState* __tstate = wxPyBeginAllowThreads();
3080 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3081
3082 wxPyEndAllowThreads(__tstate);
3083 if (PyErr_Occurred()) SWIG_fail;
3084 }
3085 {
3086 wxPoint * resultptr;
3087 resultptr = new wxPoint((wxPoint &) result);
3088 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3089 }
3090 return resultobj;
3091 fail:
3092 return NULL;
3093}
3094
3095
3096static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3097 PyObject *resultobj;
3098 wxFrame *arg1 = (wxFrame *) 0 ;
3099 PyObject * obj0 = 0 ;
3100 char *kwnames[] = {
3101 (char *) "self", NULL
3102 };
3103
3104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3106 {
3107 PyThreadState* __tstate = wxPyBeginAllowThreads();
3108 (arg1)->SendSizeEvent();
3109
3110 wxPyEndAllowThreads(__tstate);
3111 if (PyErr_Occurred()) SWIG_fail;
3112 }
3113 Py_INCREF(Py_None); resultobj = Py_None;
3114 return resultobj;
3115 fail:
3116 return NULL;
3117}
3118
3119
3120static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3121 PyObject *resultobj;
3122 wxFrame *arg1 = (wxFrame *) 0 ;
3123 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3124 PyObject * obj0 = 0 ;
3125 PyObject * obj1 = 0 ;
3126 char *kwnames[] = {
3127 (char *) "self",(char *) "menubar", NULL
3128 };
3129
3130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3132 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3133 {
3134 PyThreadState* __tstate = wxPyBeginAllowThreads();
3135 (arg1)->SetMenuBar(arg2);
3136
3137 wxPyEndAllowThreads(__tstate);
3138 if (PyErr_Occurred()) SWIG_fail;
3139 }
3140 Py_INCREF(Py_None); resultobj = Py_None;
3141 return resultobj;
3142 fail:
3143 return NULL;
3144}
3145
3146
3147static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3148 PyObject *resultobj;
3149 wxFrame *arg1 = (wxFrame *) 0 ;
3150 wxMenuBar *result;
3151 PyObject * obj0 = 0 ;
3152 char *kwnames[] = {
3153 (char *) "self", NULL
3154 };
3155
3156 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3157 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3158 {
3159 PyThreadState* __tstate = wxPyBeginAllowThreads();
3160 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3161
3162 wxPyEndAllowThreads(__tstate);
3163 if (PyErr_Occurred()) SWIG_fail;
3164 }
3165 {
3166 resultobj = wxPyMake_wxObject(result);
3167 }
3168 return resultobj;
3169 fail:
3170 return NULL;
3171}
3172
3173
3174static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3175 PyObject *resultobj;
3176 wxFrame *arg1 = (wxFrame *) 0 ;
3177 int arg2 ;
3178 bool result;
3179 PyObject * obj0 = 0 ;
8edf1c75 3180 PyObject * obj1 = 0 ;
d14a1e28
RD
3181 char *kwnames[] = {
3182 (char *) "self",(char *) "winid", NULL
3183 };
3184
8edf1c75 3185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_ProcessCommand",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3187 {
3188 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3189 if (PyErr_Occurred()) SWIG_fail;
3190 }
d14a1e28
RD
3191 {
3192 PyThreadState* __tstate = wxPyBeginAllowThreads();
3193 result = (bool)(arg1)->ProcessCommand(arg2);
3194
3195 wxPyEndAllowThreads(__tstate);
3196 if (PyErr_Occurred()) SWIG_fail;
3197 }
4e760a36 3198 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3199 return resultobj;
3200 fail:
3201 return NULL;
3202}
3203
3204
3205static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3206 PyObject *resultobj;
3207 wxFrame *arg1 = (wxFrame *) 0 ;
3208 int arg2 = (int) 1 ;
3209 long arg3 = (long) wxST_SIZEGRIP ;
423f194a 3210 int arg4 = (int) 0 ;
d14a1e28
RD
3211 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3212 wxString *arg5 = (wxString *) &arg5_defvalue ;
3213 wxStatusBar *result;
423f194a 3214 bool temp5 = False ;
d14a1e28 3215 PyObject * obj0 = 0 ;
8edf1c75
RD
3216 PyObject * obj1 = 0 ;
3217 PyObject * obj2 = 0 ;
3218 PyObject * obj3 = 0 ;
d14a1e28
RD
3219 PyObject * obj4 = 0 ;
3220 char *kwnames[] = {
3221 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3222 };
3223
8edf1c75 3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 3225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3226 if (obj1) {
3227 {
3228 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3229 if (PyErr_Occurred()) SWIG_fail;
3230 }
3231 }
3232 if (obj2) {
3233 {
3234 arg3 = (long) SWIG_PyObj_AsLong(obj2);
3235 if (PyErr_Occurred()) SWIG_fail;
3236 }
3237 }
3238 if (obj3) {
3239 {
3240 arg4 = (int) SWIG_PyObj_AsInt(obj3);
3241 if (PyErr_Occurred()) SWIG_fail;
3242 }
3243 }
d14a1e28
RD
3244 if (obj4) {
3245 {
3246 arg5 = wxString_in_helper(obj4);
3247 if (arg5 == NULL) SWIG_fail;
423f194a 3248 temp5 = True;
d14a1e28
RD
3249 }
3250 }
3251 {
3252 PyThreadState* __tstate = wxPyBeginAllowThreads();
3253 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3254
3255 wxPyEndAllowThreads(__tstate);
3256 if (PyErr_Occurred()) SWIG_fail;
3257 }
3258 {
3259 resultobj = wxPyMake_wxObject(result);
3260 }
3261 {
3262 if (temp5)
3263 delete arg5;
3264 }
3265 return resultobj;
3266 fail:
3267 {
3268 if (temp5)
3269 delete arg5;
3270 }
3271 return NULL;
3272}
3273
3274
3275static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3276 PyObject *resultobj;
3277 wxFrame *arg1 = (wxFrame *) 0 ;
3278 wxStatusBar *result;
3279 PyObject * obj0 = 0 ;
3280 char *kwnames[] = {
3281 (char *) "self", NULL
3282 };
3283
3284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3286 {
3287 PyThreadState* __tstate = wxPyBeginAllowThreads();
3288 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3289
3290 wxPyEndAllowThreads(__tstate);
3291 if (PyErr_Occurred()) SWIG_fail;
3292 }
3293 {
3294 resultobj = wxPyMake_wxObject(result);
3295 }
3296 return resultobj;
3297 fail:
3298 return NULL;
3299}
3300
3301
3302static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3303 PyObject *resultobj;
3304 wxFrame *arg1 = (wxFrame *) 0 ;
3305 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3306 PyObject * obj0 = 0 ;
3307 PyObject * obj1 = 0 ;
3308 char *kwnames[] = {
3309 (char *) "self",(char *) "statBar", NULL
3310 };
3311
3312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3315 {
3316 PyThreadState* __tstate = wxPyBeginAllowThreads();
3317 (arg1)->SetStatusBar(arg2);
3318
3319 wxPyEndAllowThreads(__tstate);
3320 if (PyErr_Occurred()) SWIG_fail;
3321 }
3322 Py_INCREF(Py_None); resultobj = Py_None;
3323 return resultobj;
3324 fail:
3325 return NULL;
3326}
3327
3328
3329static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3330 PyObject *resultobj;
3331 wxFrame *arg1 = (wxFrame *) 0 ;
3332 wxString *arg2 = 0 ;
3333 int arg3 = (int) 0 ;
423f194a 3334 bool temp2 = False ;
d14a1e28
RD
3335 PyObject * obj0 = 0 ;
3336 PyObject * obj1 = 0 ;
8edf1c75 3337 PyObject * obj2 = 0 ;
d14a1e28
RD
3338 char *kwnames[] = {
3339 (char *) "self",(char *) "text",(char *) "number", NULL
3340 };
3341
8edf1c75 3342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
3343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3344 {
3345 arg2 = wxString_in_helper(obj1);
3346 if (arg2 == NULL) SWIG_fail;
423f194a 3347 temp2 = True;
d14a1e28 3348 }
8edf1c75
RD
3349 if (obj2) {
3350 {
3351 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3352 if (PyErr_Occurred()) SWIG_fail;
3353 }
3354 }
d14a1e28
RD
3355 {
3356 PyThreadState* __tstate = wxPyBeginAllowThreads();
3357 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3358
3359 wxPyEndAllowThreads(__tstate);
3360 if (PyErr_Occurred()) SWIG_fail;
3361 }
3362 Py_INCREF(Py_None); resultobj = Py_None;
3363 {
3364 if (temp2)
3365 delete arg2;
3366 }
3367 return resultobj;
3368 fail:
3369 {
3370 if (temp2)
3371 delete arg2;
3372 }
3373 return NULL;
3374}
3375
3376
3377static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3378 PyObject *resultobj;
3379 wxFrame *arg1 = (wxFrame *) 0 ;
3380 int arg2 ;
3381 int *arg3 = (int *) 0 ;
3382 PyObject * obj0 = 0 ;
3383 PyObject * obj1 = 0 ;
3384 char *kwnames[] = {
3385 (char *) "self",(char *) "widths", NULL
3386 };
3387
3388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3390 {
3391 arg2 = PyList_Size(obj1);
3392 arg3 = int_LIST_helper(obj1);
3393 if (arg3 == NULL) SWIG_fail;
3394 }
3395 {
3396 PyThreadState* __tstate = wxPyBeginAllowThreads();
3397 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3398
3399 wxPyEndAllowThreads(__tstate);
3400 if (PyErr_Occurred()) SWIG_fail;
3401 }
3402 Py_INCREF(Py_None); resultobj = Py_None;
3403 {
3404 if (arg3) delete [] arg3;
3405 }
3406 return resultobj;
3407 fail:
3408 {
3409 if (arg3) delete [] arg3;
3410 }
3411 return NULL;
3412}
3413
3414
3415static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3416 PyObject *resultobj;
3417 wxFrame *arg1 = (wxFrame *) 0 ;
3418 wxString *arg2 = 0 ;
3419 int arg3 = (int) 0 ;
423f194a 3420 bool temp2 = False ;
d14a1e28
RD
3421 PyObject * obj0 = 0 ;
3422 PyObject * obj1 = 0 ;
8edf1c75 3423 PyObject * obj2 = 0 ;
d14a1e28
RD
3424 char *kwnames[] = {
3425 (char *) "self",(char *) "text",(char *) "number", NULL
3426 };
3427
8edf1c75 3428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:Frame_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
3429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3430 {
3431 arg2 = wxString_in_helper(obj1);
3432 if (arg2 == NULL) SWIG_fail;
423f194a 3433 temp2 = True;
d14a1e28 3434 }
8edf1c75
RD
3435 if (obj2) {
3436 {
3437 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3438 if (PyErr_Occurred()) SWIG_fail;
3439 }
3440 }
d14a1e28
RD
3441 {
3442 PyThreadState* __tstate = wxPyBeginAllowThreads();
3443 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3444
3445 wxPyEndAllowThreads(__tstate);
3446 if (PyErr_Occurred()) SWIG_fail;
3447 }
3448 Py_INCREF(Py_None); resultobj = Py_None;
3449 {
3450 if (temp2)
3451 delete arg2;
3452 }
3453 return resultobj;
3454 fail:
3455 {
3456 if (temp2)
3457 delete arg2;
3458 }
3459 return NULL;
3460}
3461
3462
3463static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3464 PyObject *resultobj;
3465 wxFrame *arg1 = (wxFrame *) 0 ;
3466 int arg2 = (int) 0 ;
3467 PyObject * obj0 = 0 ;
8edf1c75 3468 PyObject * obj1 = 0 ;
d14a1e28
RD
3469 char *kwnames[] = {
3470 (char *) "self",(char *) "number", NULL
3471 };
3472
8edf1c75 3473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3475 if (obj1) {
3476 {
3477 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3478 if (PyErr_Occurred()) SWIG_fail;
3479 }
3480 }
d14a1e28
RD
3481 {
3482 PyThreadState* __tstate = wxPyBeginAllowThreads();
3483 (arg1)->PopStatusText(arg2);
3484
3485 wxPyEndAllowThreads(__tstate);
3486 if (PyErr_Occurred()) SWIG_fail;
3487 }
3488 Py_INCREF(Py_None); resultobj = Py_None;
3489 return resultobj;
3490 fail:
3491 return NULL;
3492}
3493
3494
3495static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3496 PyObject *resultobj;
3497 wxFrame *arg1 = (wxFrame *) 0 ;
3498 int arg2 ;
3499 PyObject * obj0 = 0 ;
8edf1c75 3500 PyObject * obj1 = 0 ;
d14a1e28
RD
3501 char *kwnames[] = {
3502 (char *) "self",(char *) "n", NULL
3503 };
3504
8edf1c75 3505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBarPane",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3507 {
3508 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3509 if (PyErr_Occurred()) SWIG_fail;
3510 }
d14a1e28
RD
3511 {
3512 PyThreadState* __tstate = wxPyBeginAllowThreads();
3513 (arg1)->SetStatusBarPane(arg2);
3514
3515 wxPyEndAllowThreads(__tstate);
3516 if (PyErr_Occurred()) SWIG_fail;
3517 }
3518 Py_INCREF(Py_None); resultobj = Py_None;
3519 return resultobj;
3520 fail:
3521 return NULL;
3522}
3523
3524
3525static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3526 PyObject *resultobj;
3527 wxFrame *arg1 = (wxFrame *) 0 ;
3528 int result;
3529 PyObject * obj0 = 0 ;
3530 char *kwnames[] = {
3531 (char *) "self", NULL
3532 };
3533
3534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3536 {
3537 PyThreadState* __tstate = wxPyBeginAllowThreads();
3538 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3539
3540 wxPyEndAllowThreads(__tstate);
3541 if (PyErr_Occurred()) SWIG_fail;
3542 }
8edf1c75 3543 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
3544 return resultobj;
3545 fail:
3546 return NULL;
3547}
3548
3549
3550static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3551 PyObject *resultobj;
3552 wxFrame *arg1 = (wxFrame *) 0 ;
3553 long arg2 = (long) -1 ;
423f194a 3554 int arg3 = (int) -1 ;
d14a1e28
RD
3555 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3556 wxString *arg4 = (wxString *) &arg4_defvalue ;
3557 wxToolBar *result;
423f194a 3558 bool temp4 = False ;
d14a1e28 3559 PyObject * obj0 = 0 ;
8edf1c75
RD
3560 PyObject * obj1 = 0 ;
3561 PyObject * obj2 = 0 ;
d14a1e28
RD
3562 PyObject * obj3 = 0 ;
3563 char *kwnames[] = {
3564 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3565 };
3566
8edf1c75 3567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:Frame_CreateToolBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 3568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3569 if (obj1) {
3570 {
3571 arg2 = (long) SWIG_PyObj_AsLong(obj1);
3572 if (PyErr_Occurred()) SWIG_fail;
3573 }
3574 }
3575 if (obj2) {
3576 {
3577 arg3 = (int) SWIG_PyObj_AsInt(obj2);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 }
d14a1e28
RD
3581 if (obj3) {
3582 {
3583 arg4 = wxString_in_helper(obj3);
3584 if (arg4 == NULL) SWIG_fail;
423f194a 3585 temp4 = True;
d14a1e28
RD
3586 }
3587 }
3588 {
3589 PyThreadState* __tstate = wxPyBeginAllowThreads();
3590 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3591
3592 wxPyEndAllowThreads(__tstate);
3593 if (PyErr_Occurred()) SWIG_fail;
3594 }
3595 {
3596 resultobj = wxPyMake_wxObject(result);
3597 }
3598 {
3599 if (temp4)
3600 delete arg4;
3601 }
3602 return resultobj;
3603 fail:
3604 {
3605 if (temp4)
3606 delete arg4;
3607 }
3608 return NULL;
3609}
3610
3611
3612static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3613 PyObject *resultobj;
3614 wxFrame *arg1 = (wxFrame *) 0 ;
3615 wxToolBar *result;
3616 PyObject * obj0 = 0 ;
3617 char *kwnames[] = {
3618 (char *) "self", NULL
3619 };
3620
3621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3623 {
3624 PyThreadState* __tstate = wxPyBeginAllowThreads();
3625 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3626
3627 wxPyEndAllowThreads(__tstate);
3628 if (PyErr_Occurred()) SWIG_fail;
3629 }
3630 {
3631 resultobj = wxPyMake_wxObject(result);
3632 }
3633 return resultobj;
3634 fail:
3635 return NULL;
3636}
3637
3638
3639static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3640 PyObject *resultobj;
3641 wxFrame *arg1 = (wxFrame *) 0 ;
3642 wxToolBar *arg2 = (wxToolBar *) 0 ;
3643 PyObject * obj0 = 0 ;
3644 PyObject * obj1 = 0 ;
3645 char *kwnames[] = {
3646 (char *) "self",(char *) "toolbar", NULL
3647 };
3648
3649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3652 {
3653 PyThreadState* __tstate = wxPyBeginAllowThreads();
3654 (arg1)->SetToolBar(arg2);
3655
3656 wxPyEndAllowThreads(__tstate);
3657 if (PyErr_Occurred()) SWIG_fail;
3658 }
3659 Py_INCREF(Py_None); resultobj = Py_None;
3660 return resultobj;
3661 fail:
3662 return NULL;
3663}
3664
3665
3666static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3667 PyObject *resultobj;
3668 wxFrame *arg1 = (wxFrame *) 0 ;
3669 wxString *arg2 = 0 ;
3670 bool arg3 ;
423f194a 3671 bool temp2 = False ;
d14a1e28
RD
3672 PyObject * obj0 = 0 ;
3673 PyObject * obj1 = 0 ;
3674 PyObject * obj2 = 0 ;
3675 char *kwnames[] = {
3676 (char *) "self",(char *) "text",(char *) "show", NULL
3677 };
3678
3679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3681 {
3682 arg2 = wxString_in_helper(obj1);
3683 if (arg2 == NULL) SWIG_fail;
423f194a 3684 temp2 = True;
d14a1e28 3685 }
83448d71 3686 {
8edf1c75 3687 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
3688 if (PyErr_Occurred()) SWIG_fail;
3689 }
d14a1e28
RD
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3693
3694 wxPyEndAllowThreads(__tstate);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 Py_INCREF(Py_None); resultobj = Py_None;
3698 {
3699 if (temp2)
3700 delete arg2;
3701 }
3702 return resultobj;
3703 fail:
3704 {
3705 if (temp2)
3706 delete arg2;
3707 }
3708 return NULL;
3709}
3710
3711
3712static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3713 PyObject *resultobj;
3714 wxFrame *arg1 = (wxFrame *) 0 ;
3715 wxMenu *arg2 = (wxMenu *) NULL ;
3716 PyObject * obj0 = 0 ;
3717 PyObject * obj1 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self",(char *) "menu", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3724 if (obj1) {
3725 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3726 }
3727 {
3728 PyThreadState* __tstate = wxPyBeginAllowThreads();
3729 (arg1)->DoMenuUpdates(arg2);
3730
3731 wxPyEndAllowThreads(__tstate);
3732 if (PyErr_Occurred()) SWIG_fail;
3733 }
3734 Py_INCREF(Py_None); resultobj = Py_None;
3735 return resultobj;
3736 fail:
3737 return NULL;
3738}
3739
3740
3741static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3742 PyObject *obj;
3743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3744 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3745 Py_INCREF(obj);
3746 return Py_BuildValue((char *)"");
3747}
3748static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3749 PyObject *resultobj;
3750 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3751 int arg2 ;
d14a1e28
RD
3752 wxString *arg3 = 0 ;
3753 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3754 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3755 wxSize const &arg5_defvalue = wxDefaultSize ;
3756 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3757 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3758 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3759 wxString *arg7 = (wxString *) &arg7_defvalue ;
3760 wxDialog *result;
423f194a 3761 bool temp3 = False ;
d14a1e28
RD
3762 wxPoint temp4 ;
3763 wxSize temp5 ;
423f194a 3764 bool temp7 = False ;
d14a1e28 3765 PyObject * obj0 = 0 ;
8edf1c75 3766 PyObject * obj1 = 0 ;
d14a1e28
RD
3767 PyObject * obj2 = 0 ;
3768 PyObject * obj3 = 0 ;
3769 PyObject * obj4 = 0 ;
8edf1c75 3770 PyObject * obj5 = 0 ;
d14a1e28
RD
3771 PyObject * obj6 = 0 ;
3772 char *kwnames[] = {
3773 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3774 };
3775
8edf1c75 3776 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_Dialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28 3777 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3778 {
3779 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
3780 if (PyErr_Occurred()) SWIG_fail;
3781 }
d14a1e28
RD
3782 {
3783 arg3 = wxString_in_helper(obj2);
3784 if (arg3 == NULL) SWIG_fail;
423f194a 3785 temp3 = True;
d14a1e28
RD
3786 }
3787 if (obj3) {
3788 {
3789 arg4 = &temp4;
3790 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3791 }
3792 }
3793 if (obj4) {
3794 {
3795 arg5 = &temp5;
3796 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3797 }
3798 }
8edf1c75
RD
3799 if (obj5) {
3800 {
3801 arg6 = (long) SWIG_PyObj_AsLong(obj5);
3802 if (PyErr_Occurred()) SWIG_fail;
3803 }
3804 }
d14a1e28
RD
3805 if (obj6) {
3806 {
3807 arg7 = wxString_in_helper(obj6);
3808 if (arg7 == NULL) SWIG_fail;
423f194a 3809 temp7 = True;
d14a1e28
RD
3810 }
3811 }
3812 {
3813 PyThreadState* __tstate = wxPyBeginAllowThreads();
3814 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3815
3816 wxPyEndAllowThreads(__tstate);
3817 if (PyErr_Occurred()) SWIG_fail;
3818 }
3819 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3820 {
3821 if (temp3)
3822 delete arg3;
3823 }
3824 {
3825 if (temp7)
3826 delete arg7;
3827 }
3828 return resultobj;
3829 fail:
3830 {
3831 if (temp3)
3832 delete arg3;
3833 }
3834 {
3835 if (temp7)
3836 delete arg7;
3837 }
3838 return NULL;
3839}
3840
3841
3842static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3843 PyObject *resultobj;
3844 wxDialog *result;
3845 char *kwnames[] = {
3846 NULL
3847 };
3848
3849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3850 {
3851 PyThreadState* __tstate = wxPyBeginAllowThreads();
3852 result = (wxDialog *)new wxDialog();
3853
3854 wxPyEndAllowThreads(__tstate);
3855 if (PyErr_Occurred()) SWIG_fail;
3856 }
3857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3858 return resultobj;
3859 fail:
3860 return NULL;
3861}
3862
3863
3864static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3865 PyObject *resultobj;
3866 wxDialog *arg1 = (wxDialog *) 0 ;
3867 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3868 int arg3 ;
d14a1e28
RD
3869 wxString *arg4 = 0 ;
3870 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3871 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3872 wxSize const &arg6_defvalue = wxDefaultSize ;
3873 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3874 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3875 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3876 wxString *arg8 = (wxString *) &arg8_defvalue ;
3877 bool result;
423f194a 3878 bool temp4 = False ;
d14a1e28
RD
3879 wxPoint temp5 ;
3880 wxSize temp6 ;
423f194a 3881 bool temp8 = False ;
d14a1e28
RD
3882 PyObject * obj0 = 0 ;
3883 PyObject * obj1 = 0 ;
8edf1c75 3884 PyObject * obj2 = 0 ;
d14a1e28
RD
3885 PyObject * obj3 = 0 ;
3886 PyObject * obj4 = 0 ;
3887 PyObject * obj5 = 0 ;
8edf1c75 3888 PyObject * obj6 = 0 ;
d14a1e28
RD
3889 PyObject * obj7 = 0 ;
3890 char *kwnames[] = {
3891 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3892 };
3893
8edf1c75 3894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:Dialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
3895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3896 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3897 {
3898 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
d14a1e28
RD
3901 {
3902 arg4 = wxString_in_helper(obj3);
3903 if (arg4 == NULL) SWIG_fail;
423f194a 3904 temp4 = True;
d14a1e28
RD
3905 }
3906 if (obj4) {
3907 {
3908 arg5 = &temp5;
3909 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3910 }
3911 }
3912 if (obj5) {
3913 {
3914 arg6 = &temp6;
3915 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3916 }
3917 }
8edf1c75
RD
3918 if (obj6) {
3919 {
3920 arg7 = (long) SWIG_PyObj_AsLong(obj6);
3921 if (PyErr_Occurred()) SWIG_fail;
3922 }
3923 }
d14a1e28
RD
3924 if (obj7) {
3925 {
3926 arg8 = wxString_in_helper(obj7);
3927 if (arg8 == NULL) SWIG_fail;
423f194a 3928 temp8 = True;
d14a1e28
RD
3929 }
3930 }
3931 {
3932 PyThreadState* __tstate = wxPyBeginAllowThreads();
3933 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3934
3935 wxPyEndAllowThreads(__tstate);
3936 if (PyErr_Occurred()) SWIG_fail;
3937 }
4e760a36 3938 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
3939 {
3940 if (temp4)
3941 delete arg4;
3942 }
3943 {
3944 if (temp8)
3945 delete arg8;
3946 }
3947 return resultobj;
3948 fail:
3949 {
3950 if (temp4)
3951 delete arg4;
3952 }
3953 {
3954 if (temp8)
3955 delete arg8;
3956 }
3957 return NULL;
3958}
3959
3960
3961static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3962 PyObject *resultobj;
3963 wxDialog *arg1 = (wxDialog *) 0 ;
3964 int arg2 ;
3965 PyObject * obj0 = 0 ;
8edf1c75 3966 PyObject * obj1 = 0 ;
d14a1e28
RD
3967 char *kwnames[] = {
3968 (char *) "self",(char *) "returnCode", NULL
3969 };
3970
8edf1c75 3971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetReturnCode",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 3972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
3973 {
3974 arg2 = (int) SWIG_PyObj_AsInt(obj1);
3975 if (PyErr_Occurred()) SWIG_fail;
3976 }
d14a1e28
RD
3977 {
3978 PyThreadState* __tstate = wxPyBeginAllowThreads();
3979 (arg1)->SetReturnCode(arg2);
3980
3981 wxPyEndAllowThreads(__tstate);
3982 if (PyErr_Occurred()) SWIG_fail;
3983 }
3984 Py_INCREF(Py_None); resultobj = Py_None;
3985 return resultobj;
3986 fail:
3987 return NULL;
3988}
3989
3990
3991static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3992 PyObject *resultobj;
3993 wxDialog *arg1 = (wxDialog *) 0 ;
3994 int result;
3995 PyObject * obj0 = 0 ;
3996 char *kwnames[] = {
3997 (char *) "self", NULL
3998 };
3999
4000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
4001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4002 {
4003 PyThreadState* __tstate = wxPyBeginAllowThreads();
4004 result = (int)((wxDialog const *)arg1)->GetReturnCode();
4005
4006 wxPyEndAllowThreads(__tstate);
4007 if (PyErr_Occurred()) SWIG_fail;
4008 }
8edf1c75 4009 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
4010 return resultobj;
4011 fail:
4012 return NULL;
4013}
4014
4015
4016static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4017 PyObject *resultobj;
4018 wxDialog *arg1 = (wxDialog *) 0 ;
4019 wxString *arg2 = 0 ;
4020 wxSizer *result;
423f194a 4021 bool temp2 = False ;
d14a1e28
RD
4022 PyObject * obj0 = 0 ;
4023 PyObject * obj1 = 0 ;
4024 char *kwnames[] = {
4025 (char *) "self",(char *) "message", NULL
4026 };
4027
4028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
4029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4030 {
4031 arg2 = wxString_in_helper(obj1);
4032 if (arg2 == NULL) SWIG_fail;
423f194a 4033 temp2 = True;
d14a1e28
RD
4034 }
4035 {
4036 PyThreadState* __tstate = wxPyBeginAllowThreads();
4037 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
4038
4039 wxPyEndAllowThreads(__tstate);
4040 if (PyErr_Occurred()) SWIG_fail;
4041 }
4042 {
4043 resultobj = wxPyMake_wxSizer(result);
4044 }
4045 {
4046 if (temp2)
4047 delete arg2;
4048 }
4049 return resultobj;
4050 fail:
4051 {
4052 if (temp2)
4053 delete arg2;
4054 }
4055 return NULL;
4056}
4057
4058
4059static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
4060 PyObject *resultobj;
4061 wxDialog *arg1 = (wxDialog *) 0 ;
4062 long arg2 ;
4063 wxSizer *result;
4064 PyObject * obj0 = 0 ;
8edf1c75 4065 PyObject * obj1 = 0 ;
d14a1e28
RD
4066 char *kwnames[] = {
4067 (char *) "self",(char *) "flags", NULL
4068 };
4069
8edf1c75 4070 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateButtonSizer",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4071 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4072 {
4073 arg2 = (long) SWIG_PyObj_AsLong(obj1);
4074 if (PyErr_Occurred()) SWIG_fail;
4075 }
d14a1e28
RD
4076 {
4077 PyThreadState* __tstate = wxPyBeginAllowThreads();
4078 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
4079
4080 wxPyEndAllowThreads(__tstate);
4081 if (PyErr_Occurred()) SWIG_fail;
4082 }
4083 {
4084 resultobj = wxPyMake_wxSizer(result);
4085 }
4086 return resultobj;
4087 fail:
4088 return NULL;
4089}
4090
4091
d14a1e28
RD
4092static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4093 PyObject *resultobj;
4094 wxDialog *arg1 = (wxDialog *) 0 ;
4095 bool result;
4096 PyObject * obj0 = 0 ;
4097 char *kwnames[] = {
4098 (char *) "self", NULL
4099 };
4100
4101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4103 {
4104 PyThreadState* __tstate = wxPyBeginAllowThreads();
4105 result = (bool)((wxDialog const *)arg1)->IsModal();
4106
4107 wxPyEndAllowThreads(__tstate);
4108 if (PyErr_Occurred()) SWIG_fail;
4109 }
4e760a36 4110 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4111 return resultobj;
4112 fail:
4113 return NULL;
4114}
4115
4116
4117static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4118 PyObject *resultobj;
4119 wxDialog *arg1 = (wxDialog *) 0 ;
4120 int result;
4121 PyObject * obj0 = 0 ;
4122 char *kwnames[] = {
4123 (char *) "self", NULL
4124 };
4125
4126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4128 {
4129 PyThreadState* __tstate = wxPyBeginAllowThreads();
4130 result = (int)(arg1)->ShowModal();
4131
4132 wxPyEndAllowThreads(__tstate);
4133 if (PyErr_Occurred()) SWIG_fail;
4134 }
8edf1c75 4135 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
4136 return resultobj;
4137 fail:
4138 return NULL;
4139}
4140
4141
4142static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4143 PyObject *resultobj;
4144 wxDialog *arg1 = (wxDialog *) 0 ;
4145 int arg2 ;
4146 PyObject * obj0 = 0 ;
8edf1c75 4147 PyObject * obj1 = 0 ;
d14a1e28
RD
4148 char *kwnames[] = {
4149 (char *) "self",(char *) "retCode", NULL
4150 };
4151
8edf1c75 4152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_EndModal",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4154 {
4155 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4156 if (PyErr_Occurred()) SWIG_fail;
4157 }
d14a1e28
RD
4158 {
4159 PyThreadState* __tstate = wxPyBeginAllowThreads();
4160 (arg1)->EndModal(arg2);
4161
4162 wxPyEndAllowThreads(__tstate);
4163 if (PyErr_Occurred()) SWIG_fail;
4164 }
4165 Py_INCREF(Py_None); resultobj = Py_None;
4166 return resultobj;
4167 fail:
4168 return NULL;
4169}
4170
4171
4172static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4173 PyObject *resultobj;
4174 wxDialog *arg1 = (wxDialog *) 0 ;
4175 bool result;
4176 PyObject * obj0 = 0 ;
4177 char *kwnames[] = {
4178 (char *) "self", NULL
4179 };
4180
4181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4183 {
4184 PyThreadState* __tstate = wxPyBeginAllowThreads();
4185 result = (bool)wxDialog_IsModalShowing(arg1);
4186
4187 wxPyEndAllowThreads(__tstate);
4188 if (PyErr_Occurred()) SWIG_fail;
4189 }
4e760a36 4190 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4191 return resultobj;
4192 fail:
4193 return NULL;
4194}
4195
4196
4197static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4198 PyObject *obj;
4199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4200 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4201 Py_INCREF(obj);
4202 return Py_BuildValue((char *)"");
4203}
4204static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4205 PyObject *resultobj;
4206 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4207 int arg2 ;
d14a1e28
RD
4208 wxString *arg3 = 0 ;
4209 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4210 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4211 wxSize const &arg5_defvalue = wxDefaultSize ;
4212 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4213 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4214 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4215 wxString *arg7 = (wxString *) &arg7_defvalue ;
4216 wxMiniFrame *result;
423f194a 4217 bool temp3 = False ;
d14a1e28
RD
4218 wxPoint temp4 ;
4219 wxSize temp5 ;
423f194a 4220 bool temp7 = False ;
d14a1e28 4221 PyObject * obj0 = 0 ;
8edf1c75 4222 PyObject * obj1 = 0 ;
d14a1e28
RD
4223 PyObject * obj2 = 0 ;
4224 PyObject * obj3 = 0 ;
4225 PyObject * obj4 = 0 ;
8edf1c75 4226 PyObject * obj5 = 0 ;
d14a1e28
RD
4227 PyObject * obj6 = 0 ;
4228 char *kwnames[] = {
4229 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4230 };
4231
8edf1c75 4232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MiniFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28 4233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4234 {
4235 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
4236 if (PyErr_Occurred()) SWIG_fail;
4237 }
d14a1e28
RD
4238 {
4239 arg3 = wxString_in_helper(obj2);
4240 if (arg3 == NULL) SWIG_fail;
423f194a 4241 temp3 = True;
d14a1e28
RD
4242 }
4243 if (obj3) {
4244 {
4245 arg4 = &temp4;
4246 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4247 }
4248 }
4249 if (obj4) {
4250 {
4251 arg5 = &temp5;
4252 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4253 }
4254 }
8edf1c75
RD
4255 if (obj5) {
4256 {
4257 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4258 if (PyErr_Occurred()) SWIG_fail;
4259 }
4260 }
d14a1e28
RD
4261 if (obj6) {
4262 {
4263 arg7 = wxString_in_helper(obj6);
4264 if (arg7 == NULL) SWIG_fail;
423f194a 4265 temp7 = True;
d14a1e28
RD
4266 }
4267 }
4268 {
4269 PyThreadState* __tstate = wxPyBeginAllowThreads();
4270 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4271
4272 wxPyEndAllowThreads(__tstate);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 }
4275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4276 {
4277 if (temp3)
4278 delete arg3;
4279 }
4280 {
4281 if (temp7)
4282 delete arg7;
4283 }
4284 return resultobj;
4285 fail:
4286 {
4287 if (temp3)
4288 delete arg3;
4289 }
4290 {
4291 if (temp7)
4292 delete arg7;
4293 }
4294 return NULL;
4295}
4296
4297
4298static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4299 PyObject *resultobj;
4300 wxMiniFrame *result;
4301 char *kwnames[] = {
4302 NULL
4303 };
4304
4305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4306 {
4307 PyThreadState* __tstate = wxPyBeginAllowThreads();
4308 result = (wxMiniFrame *)new wxMiniFrame();
4309
4310 wxPyEndAllowThreads(__tstate);
4311 if (PyErr_Occurred()) SWIG_fail;
4312 }
4313 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4314 return resultobj;
4315 fail:
4316 return NULL;
4317}
4318
4319
4320static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4321 PyObject *resultobj;
4322 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4323 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4324 int arg3 ;
d14a1e28
RD
4325 wxString *arg4 = 0 ;
4326 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4327 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4328 wxSize const &arg6_defvalue = wxDefaultSize ;
4329 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4330 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4331 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4332 wxString *arg8 = (wxString *) &arg8_defvalue ;
4333 bool result;
423f194a 4334 bool temp4 = False ;
d14a1e28
RD
4335 wxPoint temp5 ;
4336 wxSize temp6 ;
423f194a 4337 bool temp8 = False ;
d14a1e28
RD
4338 PyObject * obj0 = 0 ;
4339 PyObject * obj1 = 0 ;
8edf1c75 4340 PyObject * obj2 = 0 ;
d14a1e28
RD
4341 PyObject * obj3 = 0 ;
4342 PyObject * obj4 = 0 ;
4343 PyObject * obj5 = 0 ;
8edf1c75 4344 PyObject * obj6 = 0 ;
d14a1e28
RD
4345 PyObject * obj7 = 0 ;
4346 char *kwnames[] = {
4347 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4348 };
4349
8edf1c75 4350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MiniFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
4351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4352 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4353 {
4354 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
4355 if (PyErr_Occurred()) SWIG_fail;
4356 }
d14a1e28
RD
4357 {
4358 arg4 = wxString_in_helper(obj3);
4359 if (arg4 == NULL) SWIG_fail;
423f194a 4360 temp4 = True;
d14a1e28
RD
4361 }
4362 if (obj4) {
4363 {
4364 arg5 = &temp5;
4365 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4366 }
4367 }
4368 if (obj5) {
4369 {
4370 arg6 = &temp6;
4371 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4372 }
4373 }
8edf1c75
RD
4374 if (obj6) {
4375 {
4376 arg7 = (long) SWIG_PyObj_AsLong(obj6);
4377 if (PyErr_Occurred()) SWIG_fail;
4378 }
4379 }
d14a1e28
RD
4380 if (obj7) {
4381 {
4382 arg8 = wxString_in_helper(obj7);
4383 if (arg8 == NULL) SWIG_fail;
423f194a 4384 temp8 = True;
d14a1e28
RD
4385 }
4386 }
4387 {
4388 PyThreadState* __tstate = wxPyBeginAllowThreads();
4389 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4390
4391 wxPyEndAllowThreads(__tstate);
4392 if (PyErr_Occurred()) SWIG_fail;
4393 }
4e760a36 4394 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4395 {
4396 if (temp4)
4397 delete arg4;
4398 }
4399 {
4400 if (temp8)
4401 delete arg8;
4402 }
4403 return resultobj;
4404 fail:
4405 {
4406 if (temp4)
4407 delete arg4;
4408 }
4409 {
4410 if (temp8)
4411 delete arg8;
4412 }
4413 return NULL;
4414}
4415
4416
4417static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4418 PyObject *obj;
4419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4420 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4421 Py_INCREF(obj);
4422 return Py_BuildValue((char *)"");
4423}
4424static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4425 PyObject *resultobj;
4426 wxBitmap *arg1 = 0 ;
4427 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4428 int arg3 ;
d14a1e28
RD
4429 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4430 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4431 wxSize const &arg5_defvalue = wxDefaultSize ;
4432 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4433 long arg6 = (long) wxNO_BORDER ;
4434 wxSplashScreenWindow *result;
4435 wxPoint temp4 ;
4436 wxSize temp5 ;
4437 PyObject * obj0 = 0 ;
4438 PyObject * obj1 = 0 ;
8edf1c75 4439 PyObject * obj2 = 0 ;
d14a1e28
RD
4440 PyObject * obj3 = 0 ;
4441 PyObject * obj4 = 0 ;
8edf1c75 4442 PyObject * obj5 = 0 ;
d14a1e28
RD
4443 char *kwnames[] = {
4444 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4445 };
4446
8edf1c75 4447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
4448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4449 if (arg1 == NULL) {
4450 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4451 }
4452 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4453 {
4454 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
d14a1e28
RD
4457 if (obj3) {
4458 {
4459 arg4 = &temp4;
4460 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4461 }
4462 }
4463 if (obj4) {
4464 {
4465 arg5 = &temp5;
4466 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4467 }
4468 }
8edf1c75
RD
4469 if (obj5) {
4470 {
4471 arg6 = (long) SWIG_PyObj_AsLong(obj5);
4472 if (PyErr_Occurred()) SWIG_fail;
4473 }
4474 }
d14a1e28
RD
4475 {
4476 PyThreadState* __tstate = wxPyBeginAllowThreads();
4477 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4478
4479 wxPyEndAllowThreads(__tstate);
4480 if (PyErr_Occurred()) SWIG_fail;
4481 }
4482 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4483 return resultobj;
4484 fail:
4485 return NULL;
4486}
4487
4488
4489static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4490 PyObject *resultobj;
4491 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4492 wxBitmap *arg2 = 0 ;
4493 PyObject * obj0 = 0 ;
4494 PyObject * obj1 = 0 ;
4495 char *kwnames[] = {
4496 (char *) "self",(char *) "bitmap", NULL
4497 };
4498
4499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4501 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4502 if (arg2 == NULL) {
4503 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4504 }
4505 {
4506 PyThreadState* __tstate = wxPyBeginAllowThreads();
4507 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4508
4509 wxPyEndAllowThreads(__tstate);
4510 if (PyErr_Occurred()) SWIG_fail;
4511 }
4512 Py_INCREF(Py_None); resultobj = Py_None;
4513 return resultobj;
4514 fail:
4515 return NULL;
4516}
4517
4518
4519static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4520 PyObject *resultobj;
4521 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4522 wxBitmap *result;
4523 PyObject * obj0 = 0 ;
4524 char *kwnames[] = {
4525 (char *) "self", NULL
4526 };
4527
4528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4530 {
4531 PyThreadState* __tstate = wxPyBeginAllowThreads();
4532 {
4533 wxBitmap &_result_ref = (arg1)->GetBitmap();
4534 result = (wxBitmap *) &_result_ref;
4535 }
4536
4537 wxPyEndAllowThreads(__tstate);
4538 if (PyErr_Occurred()) SWIG_fail;
4539 }
4540 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4541 return resultobj;
4542 fail:
4543 return NULL;
4544}
4545
4546
4547static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4548 PyObject *obj;
4549 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4550 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4551 Py_INCREF(obj);
4552 return Py_BuildValue((char *)"");
4553}
4554static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4555 PyObject *resultobj;
4556 wxBitmap *arg1 = 0 ;
4557 long arg2 ;
4558 int arg3 ;
4559 wxWindow *arg4 = (wxWindow *) 0 ;
423f194a 4560 int arg5 ;
d14a1e28
RD
4561 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4562 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4563 wxSize const &arg7_defvalue = wxDefaultSize ;
4564 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4565 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4566 wxSplashScreen *result;
4567 wxPoint temp6 ;
4568 wxSize temp7 ;
4569 PyObject * obj0 = 0 ;
8edf1c75
RD
4570 PyObject * obj1 = 0 ;
4571 PyObject * obj2 = 0 ;
d14a1e28 4572 PyObject * obj3 = 0 ;
8edf1c75 4573 PyObject * obj4 = 0 ;
d14a1e28
RD
4574 PyObject * obj5 = 0 ;
4575 PyObject * obj6 = 0 ;
8edf1c75 4576 PyObject * obj7 = 0 ;
d14a1e28
RD
4577 char *kwnames[] = {
4578 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4579 };
4580
8edf1c75 4581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|OOO:new_SplashScreen",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
4582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4583 if (arg1 == NULL) {
4584 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4585 }
8edf1c75
RD
4586 {
4587 arg2 = (long) SWIG_PyObj_AsLong(obj1);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 {
4591 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4592 if (PyErr_Occurred()) SWIG_fail;
4593 }
d14a1e28 4594 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4595 {
4596 arg5 = (int) SWIG_PyObj_AsInt(obj4);
4597 if (PyErr_Occurred()) SWIG_fail;
4598 }
d14a1e28
RD
4599 if (obj5) {
4600 {
4601 arg6 = &temp6;
4602 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4603 }
4604 }
4605 if (obj6) {
4606 {
4607 arg7 = &temp7;
4608 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4609 }
4610 }
8edf1c75
RD
4611 if (obj7) {
4612 {
4613 arg8 = (long) SWIG_PyObj_AsLong(obj7);
4614 if (PyErr_Occurred()) SWIG_fail;
4615 }
4616 }
d14a1e28
RD
4617 {
4618 PyThreadState* __tstate = wxPyBeginAllowThreads();
4619 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4620
4621 wxPyEndAllowThreads(__tstate);
4622 if (PyErr_Occurred()) SWIG_fail;
4623 }
4624 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4625 return resultobj;
4626 fail:
4627 return NULL;
4628}
4629
4630
4631static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4632 PyObject *resultobj;
4633 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4634 long result;
4635 PyObject * obj0 = 0 ;
4636 char *kwnames[] = {
4637 (char *) "self", NULL
4638 };
4639
4640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4642 {
4643 PyThreadState* __tstate = wxPyBeginAllowThreads();
4644 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4645
4646 wxPyEndAllowThreads(__tstate);
4647 if (PyErr_Occurred()) SWIG_fail;
4648 }
8edf1c75 4649 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
4650 return resultobj;
4651 fail:
4652 return NULL;
4653}
4654
4655
4656static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4657 PyObject *resultobj;
4658 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4659 wxSplashScreenWindow *result;
4660 PyObject * obj0 = 0 ;
4661 char *kwnames[] = {
4662 (char *) "self", NULL
4663 };
4664
4665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4667 {
4668 PyThreadState* __tstate = wxPyBeginAllowThreads();
4669 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4670
4671 wxPyEndAllowThreads(__tstate);
4672 if (PyErr_Occurred()) SWIG_fail;
4673 }
4674 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4675 return resultobj;
4676 fail:
4677 return NULL;
4678}
4679
4680
4681static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4682 PyObject *resultobj;
4683 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4684 int result;
4685 PyObject * obj0 = 0 ;
4686 char *kwnames[] = {
4687 (char *) "self", NULL
4688 };
4689
4690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4692 {
4693 PyThreadState* __tstate = wxPyBeginAllowThreads();
4694 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4695
4696 wxPyEndAllowThreads(__tstate);
4697 if (PyErr_Occurred()) SWIG_fail;
4698 }
8edf1c75 4699 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
4700 return resultobj;
4701 fail:
4702 return NULL;
4703}
4704
4705
4706static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4707 PyObject *obj;
4708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4709 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4710 Py_INCREF(obj);
4711 return Py_BuildValue((char *)"");
4712}
4713static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4714 PyObject *resultobj;
4715 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4716 int arg2 = (int) -1 ;
d14a1e28
RD
4717 long arg3 = (long) wxST_SIZEGRIP ;
4718 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4719 wxString *arg4 = (wxString *) &arg4_defvalue ;
4720 wxStatusBar *result;
423f194a 4721 bool temp4 = False ;
d14a1e28 4722 PyObject * obj0 = 0 ;
8edf1c75
RD
4723 PyObject * obj1 = 0 ;
4724 PyObject * obj2 = 0 ;
d14a1e28
RD
4725 PyObject * obj3 = 0 ;
4726 char *kwnames[] = {
4727 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4728 };
4729
8edf1c75 4730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOO:new_StatusBar",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 4731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4732 if (obj1) {
4733 {
4734 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4735 if (PyErr_Occurred()) SWIG_fail;
4736 }
4737 }
4738 if (obj2) {
4739 {
4740 arg3 = (long) SWIG_PyObj_AsLong(obj2);
4741 if (PyErr_Occurred()) SWIG_fail;
4742 }
4743 }
d14a1e28
RD
4744 if (obj3) {
4745 {
4746 arg4 = wxString_in_helper(obj3);
4747 if (arg4 == NULL) SWIG_fail;
423f194a 4748 temp4 = True;
d14a1e28
RD
4749 }
4750 }
4751 {
4752 PyThreadState* __tstate = wxPyBeginAllowThreads();
4753 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4754
4755 wxPyEndAllowThreads(__tstate);
4756 if (PyErr_Occurred()) SWIG_fail;
4757 }
4758 {
4759 resultobj = wxPyMake_wxObject(result);
4760 }
4761 {
4762 if (temp4)
4763 delete arg4;
4764 }
4765 return resultobj;
4766 fail:
4767 {
4768 if (temp4)
4769 delete arg4;
4770 }
4771 return NULL;
4772}
4773
4774
4775static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4776 PyObject *resultobj;
4777 wxStatusBar *result;
4778 char *kwnames[] = {
4779 NULL
4780 };
4781
4782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4783 {
4784 PyThreadState* __tstate = wxPyBeginAllowThreads();
4785 result = (wxStatusBar *)new wxStatusBar();
4786
4787 wxPyEndAllowThreads(__tstate);
4788 if (PyErr_Occurred()) SWIG_fail;
4789 }
4790 {
4791 resultobj = wxPyMake_wxObject(result);
4792 }
4793 return resultobj;
4794 fail:
4795 return NULL;
4796}
4797
4798
4799static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4800 PyObject *resultobj;
4801 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4802 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4803 int arg3 ;
d14a1e28
RD
4804 long arg4 = (long) wxST_SIZEGRIP ;
4805 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4806 wxString *arg5 = (wxString *) &arg5_defvalue ;
4807 bool result;
423f194a 4808 bool temp5 = False ;
d14a1e28
RD
4809 PyObject * obj0 = 0 ;
4810 PyObject * obj1 = 0 ;
8edf1c75
RD
4811 PyObject * obj2 = 0 ;
4812 PyObject * obj3 = 0 ;
d14a1e28
RD
4813 PyObject * obj4 = 0 ;
4814 char *kwnames[] = {
4815 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4816 };
4817
8edf1c75 4818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OO:StatusBar_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
4819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4820 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4821 {
4822 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4823 if (PyErr_Occurred()) SWIG_fail;
4824 }
4825 if (obj3) {
4826 {
4827 arg4 = (long) SWIG_PyObj_AsLong(obj3);
4828 if (PyErr_Occurred()) SWIG_fail;
4829 }
4830 }
d14a1e28
RD
4831 if (obj4) {
4832 {
4833 arg5 = wxString_in_helper(obj4);
4834 if (arg5 == NULL) SWIG_fail;
423f194a 4835 temp5 = True;
d14a1e28
RD
4836 }
4837 }
4838 {
4839 PyThreadState* __tstate = wxPyBeginAllowThreads();
4840 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4841
4842 wxPyEndAllowThreads(__tstate);
4843 if (PyErr_Occurred()) SWIG_fail;
4844 }
4e760a36 4845 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
4846 {
4847 if (temp5)
4848 delete arg5;
4849 }
4850 return resultobj;
4851 fail:
4852 {
4853 if (temp5)
4854 delete arg5;
4855 }
4856 return NULL;
4857}
4858
4859
4860static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4861 PyObject *resultobj;
4862 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4863 int arg2 = (int) 1 ;
4864 PyObject * obj0 = 0 ;
8edf1c75 4865 PyObject * obj1 = 0 ;
d14a1e28
RD
4866 char *kwnames[] = {
4867 (char *) "self",(char *) "number", NULL
4868 };
4869
8edf1c75 4870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_SetFieldsCount",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4872 if (obj1) {
4873 {
4874 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4875 if (PyErr_Occurred()) SWIG_fail;
4876 }
4877 }
d14a1e28
RD
4878 {
4879 PyThreadState* __tstate = wxPyBeginAllowThreads();
4880 (arg1)->SetFieldsCount(arg2);
4881
4882 wxPyEndAllowThreads(__tstate);
4883 if (PyErr_Occurred()) SWIG_fail;
4884 }
4885 Py_INCREF(Py_None); resultobj = Py_None;
4886 return resultobj;
4887 fail:
4888 return NULL;
4889}
4890
4891
4892static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4893 PyObject *resultobj;
4894 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4895 int result;
4896 PyObject * obj0 = 0 ;
4897 char *kwnames[] = {
4898 (char *) "self", NULL
4899 };
4900
4901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4903 {
4904 PyThreadState* __tstate = wxPyBeginAllowThreads();
4905 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4906
4907 wxPyEndAllowThreads(__tstate);
4908 if (PyErr_Occurred()) SWIG_fail;
4909 }
8edf1c75 4910 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
4911 return resultobj;
4912 fail:
4913 return NULL;
4914}
4915
4916
4917static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4918 PyObject *resultobj;
4919 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4920 wxString *arg2 = 0 ;
4921 int arg3 = (int) 0 ;
423f194a 4922 bool temp2 = False ;
d14a1e28
RD
4923 PyObject * obj0 = 0 ;
4924 PyObject * obj1 = 0 ;
8edf1c75 4925 PyObject * obj2 = 0 ;
d14a1e28
RD
4926 char *kwnames[] = {
4927 (char *) "self",(char *) "text",(char *) "number", NULL
4928 };
4929
8edf1c75 4930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
4931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4932 {
4933 arg2 = wxString_in_helper(obj1);
4934 if (arg2 == NULL) SWIG_fail;
423f194a 4935 temp2 = True;
d14a1e28 4936 }
8edf1c75
RD
4937 if (obj2) {
4938 {
4939 arg3 = (int) SWIG_PyObj_AsInt(obj2);
4940 if (PyErr_Occurred()) SWIG_fail;
4941 }
4942 }
d14a1e28
RD
4943 {
4944 PyThreadState* __tstate = wxPyBeginAllowThreads();
4945 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4946
4947 wxPyEndAllowThreads(__tstate);
4948 if (PyErr_Occurred()) SWIG_fail;
4949 }
4950 Py_INCREF(Py_None); resultobj = Py_None;
4951 {
4952 if (temp2)
4953 delete arg2;
4954 }
4955 return resultobj;
4956 fail:
4957 {
4958 if (temp2)
4959 delete arg2;
4960 }
4961 return NULL;
4962}
4963
4964
4965static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4966 PyObject *resultobj;
4967 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4968 int arg2 = (int) 0 ;
4969 wxString result;
4970 PyObject * obj0 = 0 ;
8edf1c75 4971 PyObject * obj1 = 0 ;
d14a1e28
RD
4972 char *kwnames[] = {
4973 (char *) "self",(char *) "number", NULL
4974 };
4975
8edf1c75 4976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_GetStatusText",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 4977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
4978 if (obj1) {
4979 {
4980 arg2 = (int) SWIG_PyObj_AsInt(obj1);
4981 if (PyErr_Occurred()) SWIG_fail;
4982 }
4983 }
d14a1e28
RD
4984 {
4985 PyThreadState* __tstate = wxPyBeginAllowThreads();
4986 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4987
4988 wxPyEndAllowThreads(__tstate);
4989 if (PyErr_Occurred()) SWIG_fail;
4990 }
4991 {
4992#if wxUSE_UNICODE
4993 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4994#else
4995 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4996#endif
4997 }
4998 return resultobj;
4999 fail:
5000 return NULL;
5001}
5002
5003
5004static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5005 PyObject *resultobj;
5006 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5007 wxString *arg2 = 0 ;
5008 int arg3 = (int) 0 ;
423f194a 5009 bool temp2 = False ;
d14a1e28
RD
5010 PyObject * obj0 = 0 ;
5011 PyObject * obj1 = 0 ;
8edf1c75 5012 PyObject * obj2 = 0 ;
d14a1e28
RD
5013 char *kwnames[] = {
5014 (char *) "self",(char *) "text",(char *) "number", NULL
5015 };
5016
8edf1c75 5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
5018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5019 {
5020 arg2 = wxString_in_helper(obj1);
5021 if (arg2 == NULL) SWIG_fail;
423f194a 5022 temp2 = True;
d14a1e28 5023 }
8edf1c75
RD
5024 if (obj2) {
5025 {
5026 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5027 if (PyErr_Occurred()) SWIG_fail;
5028 }
5029 }
d14a1e28
RD
5030 {
5031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5032 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
5033
5034 wxPyEndAllowThreads(__tstate);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 Py_INCREF(Py_None); resultobj = Py_None;
5038 {
5039 if (temp2)
5040 delete arg2;
5041 }
5042 return resultobj;
5043 fail:
5044 {
5045 if (temp2)
5046 delete arg2;
5047 }
5048 return NULL;
5049}
5050
5051
5052static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
5053 PyObject *resultobj;
5054 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5055 int arg2 = (int) 0 ;
5056 PyObject * obj0 = 0 ;
8edf1c75 5057 PyObject * obj1 = 0 ;
d14a1e28
RD
5058 char *kwnames[] = {
5059 (char *) "self",(char *) "number", NULL
5060 };
5061
8edf1c75 5062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:StatusBar_PopStatusText",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5064 if (obj1) {
5065 {
5066 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 }
d14a1e28
RD
5070 {
5071 PyThreadState* __tstate = wxPyBeginAllowThreads();
5072 (arg1)->PopStatusText(arg2);
5073
5074 wxPyEndAllowThreads(__tstate);
5075 if (PyErr_Occurred()) SWIG_fail;
5076 }
5077 Py_INCREF(Py_None); resultobj = Py_None;
5078 return resultobj;
5079 fail:
5080 return NULL;
5081}
5082
5083
5084static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
5085 PyObject *resultobj;
5086 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5087 int arg2 ;
5088 int *arg3 = (int *) 0 ;
5089 PyObject * obj0 = 0 ;
5090 PyObject * obj1 = 0 ;
5091 char *kwnames[] = {
5092 (char *) "self",(char *) "widths", NULL
5093 };
5094
5095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
5096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5097 {
5098 arg2 = PyList_Size(obj1);
5099 arg3 = int_LIST_helper(obj1);
5100 if (arg3 == NULL) SWIG_fail;
5101 }
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 Py_INCREF(Py_None); resultobj = Py_None;
5110 {
5111 if (arg3) delete [] arg3;
5112 }
5113 return resultobj;
5114 fail:
5115 {
5116 if (arg3) delete [] arg3;
5117 }
5118 return NULL;
5119}
5120
5121
5122static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
5123 PyObject *resultobj;
5124 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5125 int arg2 ;
44127b65 5126 wxRect result;
d14a1e28 5127 PyObject * obj0 = 0 ;
8edf1c75 5128 PyObject * obj1 = 0 ;
d14a1e28 5129 char *kwnames[] = {
44127b65 5130 (char *) "self",(char *) "i", NULL
d14a1e28
RD
5131 };
5132
8edf1c75 5133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_GetFieldRect",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5135 {
5136 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5137 if (PyErr_Occurred()) SWIG_fail;
5138 }
d14a1e28
RD
5139 {
5140 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 5141 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
5142
5143 wxPyEndAllowThreads(__tstate);
5144 if (PyErr_Occurred()) SWIG_fail;
5145 }
44127b65
RD
5146 {
5147 wxRect * resultptr;
5148 resultptr = new wxRect((wxRect &) result);
5149 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
5150 }
d14a1e28
RD
5151 return resultobj;
5152 fail:
5153 return NULL;
5154}
5155
5156
5157static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
5158 PyObject *resultobj;
5159 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5160 int arg2 ;
5161 PyObject * obj0 = 0 ;
8edf1c75 5162 PyObject * obj1 = 0 ;
d14a1e28
RD
5163 char *kwnames[] = {
5164 (char *) "self",(char *) "height", NULL
5165 };
5166
8edf1c75 5167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetMinHeight",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5169 {
5170 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5171 if (PyErr_Occurred()) SWIG_fail;
5172 }
d14a1e28
RD
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 (arg1)->SetMinHeight(arg2);
5176
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 Py_INCREF(Py_None); resultobj = Py_None;
5181 return resultobj;
5182 fail:
5183 return NULL;
5184}
5185
5186
5187static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
5188 PyObject *resultobj;
5189 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5190 int result;
5191 PyObject * obj0 = 0 ;
5192 char *kwnames[] = {
5193 (char *) "self", NULL
5194 };
5195
5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
5197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5198 {
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
5201
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
8edf1c75 5205 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5206 return resultobj;
5207 fail:
5208 return NULL;
5209}
5210
5211
5212static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject *resultobj;
5214 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
5215 int result;
5216 PyObject * obj0 = 0 ;
5217 char *kwnames[] = {
5218 (char *) "self", NULL
5219 };
5220
5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
8edf1c75 5230 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5231 return resultobj;
5232 fail:
5233 return NULL;
5234}
5235
5236
5237static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5238 PyObject *obj;
5239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5240 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5241 Py_INCREF(obj);
5242 return Py_BuildValue((char *)"");
5243}
8edf1c75 5244static int _wrap_SplitterNameStr_set(PyObject *) {
d03fd34d
RD
5245 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
5246 return 1;
5247}
5248
5249
5250static PyObject *_wrap_SplitterNameStr_get() {
5251 PyObject *pyobj;
5252
5253 {
5254#if wxUSE_UNICODE
5255 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5256#else
5257 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
5258#endif
5259 }
5260 return pyobj;
5261}
5262
5263
d14a1e28
RD
5264static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5265 PyObject *resultobj;
5266 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 5267 int arg2 ;
d14a1e28
RD
5268 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5269 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5270 wxSize const &arg4_defvalue = wxDefaultSize ;
5271 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5272 long arg5 = (long) wxSP_3D ;
5273 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5274 wxString *arg6 = (wxString *) &arg6_defvalue ;
5275 wxSplitterWindow *result;
5276 wxPoint temp3 ;
5277 wxSize temp4 ;
423f194a 5278 bool temp6 = False ;
d14a1e28 5279 PyObject * obj0 = 0 ;
8edf1c75 5280 PyObject * obj1 = 0 ;
d14a1e28
RD
5281 PyObject * obj2 = 0 ;
5282 PyObject * obj3 = 0 ;
8edf1c75 5283 PyObject * obj4 = 0 ;
d14a1e28
RD
5284 PyObject * obj5 = 0 ;
5285 char *kwnames[] = {
8edf1c75 5286 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
5287 };
5288
8edf1c75 5289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SplitterWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 5290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5291 {
5292 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5293 if (PyErr_Occurred()) SWIG_fail;
5294 }
d14a1e28
RD
5295 if (obj2) {
5296 {
5297 arg3 = &temp3;
5298 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5299 }
5300 }
5301 if (obj3) {
5302 {
5303 arg4 = &temp4;
5304 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5305 }
5306 }
8edf1c75
RD
5307 if (obj4) {
5308 {
5309 arg5 = (long) SWIG_PyObj_AsLong(obj4);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 }
d14a1e28
RD
5313 if (obj5) {
5314 {
5315 arg6 = wxString_in_helper(obj5);
5316 if (arg6 == NULL) SWIG_fail;
423f194a 5317 temp6 = True;
d14a1e28
RD
5318 }
5319 }
5320 {
5321 PyThreadState* __tstate = wxPyBeginAllowThreads();
5322 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5323
5324 wxPyEndAllowThreads(__tstate);
5325 if (PyErr_Occurred()) SWIG_fail;
5326 }
5327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5328 {
5329 if (temp6)
5330 delete arg6;
5331 }
5332 return resultobj;
5333 fail:
5334 {
5335 if (temp6)
5336 delete arg6;
5337 }
5338 return NULL;
5339}
5340
5341
5342static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5343 PyObject *resultobj;
5344 wxSplitterWindow *result;
5345 char *kwnames[] = {
5346 NULL
5347 };
5348
5349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5350 {
5351 PyThreadState* __tstate = wxPyBeginAllowThreads();
5352 result = (wxSplitterWindow *)new wxSplitterWindow();
5353
5354 wxPyEndAllowThreads(__tstate);
5355 if (PyErr_Occurred()) SWIG_fail;
5356 }
5357 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5358 return resultobj;
5359 fail:
5360 return NULL;
5361}
5362
5363
5364static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5365 PyObject *resultobj;
5366 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5367 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 5368 int arg3 ;
d14a1e28
RD
5369 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5370 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5371 wxSize const &arg5_defvalue = wxDefaultSize ;
5372 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5373 long arg6 = (long) wxSP_3D ;
5374 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5375 wxString *arg7 = (wxString *) &arg7_defvalue ;
5376 bool result;
5377 wxPoint temp4 ;
5378 wxSize temp5 ;
423f194a 5379 bool temp7 = False ;
d14a1e28
RD
5380 PyObject * obj0 = 0 ;
5381 PyObject * obj1 = 0 ;
8edf1c75 5382 PyObject * obj2 = 0 ;
d14a1e28
RD
5383 PyObject * obj3 = 0 ;
5384 PyObject * obj4 = 0 ;
8edf1c75 5385 PyObject * obj5 = 0 ;
d14a1e28
RD
5386 PyObject * obj6 = 0 ;
5387 char *kwnames[] = {
8edf1c75 5388 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
d14a1e28
RD
5389 };
5390
8edf1c75 5391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SplitterWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
5392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5394 {
5395 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5396 if (PyErr_Occurred()) SWIG_fail;
5397 }
d14a1e28
RD
5398 if (obj3) {
5399 {
5400 arg4 = &temp4;
5401 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5402 }
5403 }
5404 if (obj4) {
5405 {
5406 arg5 = &temp5;
5407 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5408 }
5409 }
8edf1c75
RD
5410 if (obj5) {
5411 {
5412 arg6 = (long) SWIG_PyObj_AsLong(obj5);
5413 if (PyErr_Occurred()) SWIG_fail;
5414 }
5415 }
d14a1e28
RD
5416 if (obj6) {
5417 {
5418 arg7 = wxString_in_helper(obj6);
5419 if (arg7 == NULL) SWIG_fail;
423f194a 5420 temp7 = True;
d14a1e28
RD
5421 }
5422 }
5423 {
5424 PyThreadState* __tstate = wxPyBeginAllowThreads();
5425 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5426
5427 wxPyEndAllowThreads(__tstate);
5428 if (PyErr_Occurred()) SWIG_fail;
5429 }
4e760a36 5430 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5431 {
5432 if (temp7)
5433 delete arg7;
5434 }
5435 return resultobj;
5436 fail:
5437 {
5438 if (temp7)
5439 delete arg7;
5440 }
5441 return NULL;
5442}
5443
5444
5445static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5446 PyObject *resultobj;
5447 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5448 wxWindow *result;
5449 PyObject * obj0 = 0 ;
5450 char *kwnames[] = {
5451 (char *) "self", NULL
5452 };
5453
5454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5456 {
5457 PyThreadState* __tstate = wxPyBeginAllowThreads();
5458 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5459
5460 wxPyEndAllowThreads(__tstate);
5461 if (PyErr_Occurred()) SWIG_fail;
5462 }
5463 {
5464 resultobj = wxPyMake_wxObject(result);
5465 }
5466 return resultobj;
5467 fail:
5468 return NULL;
5469}
5470
5471
5472static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5473 PyObject *resultobj;
5474 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5475 wxWindow *result;
5476 PyObject * obj0 = 0 ;
5477 char *kwnames[] = {
5478 (char *) "self", NULL
5479 };
5480
5481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5483 {
5484 PyThreadState* __tstate = wxPyBeginAllowThreads();
5485 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5486
5487 wxPyEndAllowThreads(__tstate);
5488 if (PyErr_Occurred()) SWIG_fail;
5489 }
5490 {
5491 resultobj = wxPyMake_wxObject(result);
5492 }
5493 return resultobj;
5494 fail:
5495 return NULL;
5496}
5497
5498
5499static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5500 PyObject *resultobj;
5501 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5502 int arg2 ;
5503 PyObject * obj0 = 0 ;
8edf1c75 5504 PyObject * obj1 = 0 ;
d14a1e28
RD
5505 char *kwnames[] = {
5506 (char *) "self",(char *) "mode", NULL
5507 };
5508
8edf1c75 5509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSplitMode",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5511 {
5512 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5513 if (PyErr_Occurred()) SWIG_fail;
5514 }
d14a1e28
RD
5515 {
5516 PyThreadState* __tstate = wxPyBeginAllowThreads();
5517 (arg1)->SetSplitMode(arg2);
5518
5519 wxPyEndAllowThreads(__tstate);
5520 if (PyErr_Occurred()) SWIG_fail;
5521 }
5522 Py_INCREF(Py_None); resultobj = Py_None;
5523 return resultobj;
5524 fail:
5525 return NULL;
5526}
5527
5528
5529static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5530 PyObject *resultobj;
5531 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5532 int result;
5533 PyObject * obj0 = 0 ;
5534 char *kwnames[] = {
5535 (char *) "self", NULL
5536 };
5537
5538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5540 {
5541 PyThreadState* __tstate = wxPyBeginAllowThreads();
5542 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5543
5544 wxPyEndAllowThreads(__tstate);
5545 if (PyErr_Occurred()) SWIG_fail;
5546 }
8edf1c75 5547 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5548 return resultobj;
5549 fail:
5550 return NULL;
5551}
5552
5553
5554static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5555 PyObject *resultobj;
5556 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5557 wxWindow *arg2 = (wxWindow *) 0 ;
5558 PyObject * obj0 = 0 ;
5559 PyObject * obj1 = 0 ;
5560 char *kwnames[] = {
5561 (char *) "self",(char *) "window", NULL
5562 };
5563
5564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5566 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5567 {
5568 PyThreadState* __tstate = wxPyBeginAllowThreads();
5569 (arg1)->Initialize(arg2);
5570
5571 wxPyEndAllowThreads(__tstate);
5572 if (PyErr_Occurred()) SWIG_fail;
5573 }
5574 Py_INCREF(Py_None); resultobj = Py_None;
5575 return resultobj;
5576 fail:
5577 return NULL;
5578}
5579
5580
5581static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5582 PyObject *resultobj;
5583 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5584 wxWindow *arg2 = (wxWindow *) 0 ;
5585 wxWindow *arg3 = (wxWindow *) 0 ;
5586 int arg4 = (int) 0 ;
5587 bool result;
5588 PyObject * obj0 = 0 ;
5589 PyObject * obj1 = 0 ;
5590 PyObject * obj2 = 0 ;
8edf1c75 5591 PyObject * obj3 = 0 ;
d14a1e28
RD
5592 char *kwnames[] = {
5593 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5594 };
5595
8edf1c75 5596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
5597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5598 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5599 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5600 if (obj3) {
5601 {
5602 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 }
d14a1e28
RD
5606 {
5607 PyThreadState* __tstate = wxPyBeginAllowThreads();
5608 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5609
5610 wxPyEndAllowThreads(__tstate);
5611 if (PyErr_Occurred()) SWIG_fail;
5612 }
4e760a36 5613 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5614 return resultobj;
5615 fail:
5616 return NULL;
5617}
5618
5619
5620static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5621 PyObject *resultobj;
5622 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5623 wxWindow *arg2 = (wxWindow *) 0 ;
5624 wxWindow *arg3 = (wxWindow *) 0 ;
5625 int arg4 = (int) 0 ;
5626 bool result;
5627 PyObject * obj0 = 0 ;
5628 PyObject * obj1 = 0 ;
5629 PyObject * obj2 = 0 ;
8edf1c75 5630 PyObject * obj3 = 0 ;
d14a1e28
RD
5631 char *kwnames[] = {
5632 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5633 };
5634
8edf1c75 5635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
5636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5637 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5638 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5639 if (obj3) {
5640 {
5641 arg4 = (int) SWIG_PyObj_AsInt(obj3);
5642 if (PyErr_Occurred()) SWIG_fail;
5643 }
5644 }
d14a1e28
RD
5645 {
5646 PyThreadState* __tstate = wxPyBeginAllowThreads();
5647 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5648
5649 wxPyEndAllowThreads(__tstate);
5650 if (PyErr_Occurred()) SWIG_fail;
5651 }
4e760a36 5652 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5653 return resultobj;
5654 fail:
5655 return NULL;
5656}
5657
5658
5659static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5662 wxWindow *arg2 = (wxWindow *) NULL ;
5663 bool result;
5664 PyObject * obj0 = 0 ;
5665 PyObject * obj1 = 0 ;
5666 char *kwnames[] = {
5667 (char *) "self",(char *) "toRemove", NULL
5668 };
5669
5670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5672 if (obj1) {
5673 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5674 }
5675 {
5676 PyThreadState* __tstate = wxPyBeginAllowThreads();
5677 result = (bool)(arg1)->Unsplit(arg2);
5678
5679 wxPyEndAllowThreads(__tstate);
5680 if (PyErr_Occurred()) SWIG_fail;
5681 }
4e760a36 5682 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5683 return resultobj;
5684 fail:
5685 return NULL;
5686}
5687
5688
5689static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5690 PyObject *resultobj;
5691 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5692 wxWindow *arg2 = (wxWindow *) 0 ;
5693 wxWindow *arg3 = (wxWindow *) 0 ;
5694 bool result;
5695 PyObject * obj0 = 0 ;
5696 PyObject * obj1 = 0 ;
5697 PyObject * obj2 = 0 ;
5698 char *kwnames[] = {
5699 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5700 };
5701
5702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5705 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5706 {
5707 PyThreadState* __tstate = wxPyBeginAllowThreads();
5708 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5709
5710 wxPyEndAllowThreads(__tstate);
5711 if (PyErr_Occurred()) SWIG_fail;
5712 }
4e760a36 5713 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5714 return resultobj;
5715 fail:
5716 return NULL;
5717}
5718
5719
5720static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5721 PyObject *resultobj;
5722 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5723 bool result;
5724 PyObject * obj0 = 0 ;
5725 char *kwnames[] = {
5726 (char *) "self", NULL
5727 };
5728
5729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5731 {
5732 PyThreadState* __tstate = wxPyBeginAllowThreads();
5733 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5734
5735 wxPyEndAllowThreads(__tstate);
5736 if (PyErr_Occurred()) SWIG_fail;
5737 }
4e760a36 5738 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
5739 return resultobj;
5740 fail:
5741 return NULL;
5742}
5743
5744
5745static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5746 PyObject *resultobj;
5747 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5748 int arg2 ;
5749 PyObject * obj0 = 0 ;
8edf1c75 5750 PyObject * obj1 = 0 ;
d14a1e28
RD
5751 char *kwnames[] = {
5752 (char *) "self",(char *) "width", NULL
5753 };
5754
8edf1c75 5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetSashSize",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5757 {
5758 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5759 if (PyErr_Occurred()) SWIG_fail;
5760 }
d14a1e28
RD
5761 {
5762 PyThreadState* __tstate = wxPyBeginAllowThreads();
5763 (arg1)->SetSashSize(arg2);
5764
5765 wxPyEndAllowThreads(__tstate);
5766 if (PyErr_Occurred()) SWIG_fail;
5767 }
5768 Py_INCREF(Py_None); resultobj = Py_None;
5769 return resultobj;
5770 fail:
5771 return NULL;
5772}
5773
5774
5775static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5776 PyObject *resultobj;
5777 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5778 int arg2 ;
5779 PyObject * obj0 = 0 ;
8edf1c75 5780 PyObject * obj1 = 0 ;
d14a1e28
RD
5781 char *kwnames[] = {
5782 (char *) "self",(char *) "width", NULL
5783 };
5784
8edf1c75 5785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetBorderSize",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5787 {
5788 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5789 if (PyErr_Occurred()) SWIG_fail;
5790 }
d14a1e28
RD
5791 {
5792 PyThreadState* __tstate = wxPyBeginAllowThreads();
5793 (arg1)->SetBorderSize(arg2);
5794
5795 wxPyEndAllowThreads(__tstate);
5796 if (PyErr_Occurred()) SWIG_fail;
5797 }
5798 Py_INCREF(Py_None); resultobj = Py_None;
5799 return resultobj;
5800 fail:
5801 return NULL;
5802}
5803
5804
5805static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5806 PyObject *resultobj;
5807 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5808 int result;
5809 PyObject * obj0 = 0 ;
5810 char *kwnames[] = {
5811 (char *) "self", NULL
5812 };
5813
5814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5816 {
5817 PyThreadState* __tstate = wxPyBeginAllowThreads();
5818 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5819
5820 wxPyEndAllowThreads(__tstate);
5821 if (PyErr_Occurred()) SWIG_fail;
5822 }
8edf1c75 5823 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5824 return resultobj;
5825 fail:
5826 return NULL;
5827}
5828
5829
5830static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5831 PyObject *resultobj;
5832 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5833 int result;
5834 PyObject * obj0 = 0 ;
5835 char *kwnames[] = {
5836 (char *) "self", NULL
5837 };
5838
5839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5841 {
5842 PyThreadState* __tstate = wxPyBeginAllowThreads();
5843 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5844
5845 wxPyEndAllowThreads(__tstate);
5846 if (PyErr_Occurred()) SWIG_fail;
5847 }
8edf1c75 5848 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5849 return resultobj;
5850 fail:
5851 return NULL;
5852}
5853
5854
5855static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5856 PyObject *resultobj;
5857 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5858 int arg2 ;
423f194a 5859 bool arg3 = (bool) True ;
d14a1e28 5860 PyObject * obj0 = 0 ;
8edf1c75 5861 PyObject * obj1 = 0 ;
d14a1e28
RD
5862 PyObject * obj2 = 0 ;
5863 char *kwnames[] = {
5864 (char *) "self",(char *) "position",(char *) "redraw", NULL
5865 };
5866
8edf1c75 5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 5868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5869 {
5870 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5871 if (PyErr_Occurred()) SWIG_fail;
5872 }
d14a1e28 5873 if (obj2) {
83448d71 5874 {
8edf1c75 5875 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
5876 if (PyErr_Occurred()) SWIG_fail;
5877 }
d14a1e28
RD
5878 }
5879 {
5880 PyThreadState* __tstate = wxPyBeginAllowThreads();
5881 (arg1)->SetSashPosition(arg2,arg3);
5882
5883 wxPyEndAllowThreads(__tstate);
5884 if (PyErr_Occurred()) SWIG_fail;
5885 }
5886 Py_INCREF(Py_None); resultobj = Py_None;
5887 return resultobj;
5888 fail:
5889 return NULL;
5890}
5891
5892
5893static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5894 PyObject *resultobj;
5895 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5896 int result;
5897 PyObject * obj0 = 0 ;
5898 char *kwnames[] = {
5899 (char *) "self", NULL
5900 };
5901
5902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5904 {
5905 PyThreadState* __tstate = wxPyBeginAllowThreads();
5906 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5907
5908 wxPyEndAllowThreads(__tstate);
5909 if (PyErr_Occurred()) SWIG_fail;
5910 }
8edf1c75 5911 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5912 return resultobj;
5913 fail:
5914 return NULL;
5915}
5916
5917
5918static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5919 PyObject *resultobj;
5920 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5921 int arg2 ;
5922 PyObject * obj0 = 0 ;
8edf1c75 5923 PyObject * obj1 = 0 ;
d14a1e28
RD
5924 char *kwnames[] = {
5925 (char *) "self",(char *) "min", NULL
5926 };
5927
8edf1c75 5928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 5929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5930 {
5931 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5932 if (PyErr_Occurred()) SWIG_fail;
5933 }
d14a1e28
RD
5934 {
5935 PyThreadState* __tstate = wxPyBeginAllowThreads();
5936 (arg1)->SetMinimumPaneSize(arg2);
5937
5938 wxPyEndAllowThreads(__tstate);
5939 if (PyErr_Occurred()) SWIG_fail;
5940 }
5941 Py_INCREF(Py_None); resultobj = Py_None;
5942 return resultobj;
5943 fail:
5944 return NULL;
5945}
5946
5947
5948static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5949 PyObject *resultobj;
5950 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5951 int result;
5952 PyObject * obj0 = 0 ;
5953 char *kwnames[] = {
5954 (char *) "self", NULL
5955 };
5956
5957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5959 {
5960 PyThreadState* __tstate = wxPyBeginAllowThreads();
5961 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5962
5963 wxPyEndAllowThreads(__tstate);
5964 if (PyErr_Occurred()) SWIG_fail;
5965 }
8edf1c75 5966 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
5967 return resultobj;
5968 fail:
5969 return NULL;
5970}
5971
5972
5973static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5974 PyObject *resultobj;
5975 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5976 int arg2 ;
5977 int arg3 ;
5978 int arg4 = (int) 5 ;
5979 bool result;
5980 PyObject * obj0 = 0 ;
8edf1c75
RD
5981 PyObject * obj1 = 0 ;
5982 PyObject * obj2 = 0 ;
5983 PyObject * obj3 = 0 ;
d14a1e28
RD
5984 char *kwnames[] = {
5985 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5986 };
5987
8edf1c75 5988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 5989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
5990 {
5991 arg2 = (int) SWIG_PyObj_AsInt(obj1);
5992 if (PyErr_Occurred()) SWIG_fail;
5993 }
5994 {
5995 arg3 = (int) SWIG_PyObj_AsInt(obj2);
5996 if (PyErr_Occurred()) SWIG_fail;
5997 }
5998 if (obj3) {
5999 {
6000 arg4 = (int) SWIG_PyObj_AsInt(obj3);
6001 if (PyErr_Occurred()) SWIG_fail;
6002 }
6003 }
d14a1e28
RD
6004 {
6005 PyThreadState* __tstate = wxPyBeginAllowThreads();
6006 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
6007
6008 wxPyEndAllowThreads(__tstate);
6009 if (PyErr_Occurred()) SWIG_fail;
6010 }
4e760a36 6011 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6012 return resultobj;
6013 fail:
6014 return NULL;
6015}
6016
6017
6018static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6019 PyObject *resultobj;
6020 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6021 PyObject * obj0 = 0 ;
6022 char *kwnames[] = {
6023 (char *) "self", NULL
6024 };
6025
6026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
6027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6028 {
6029 PyThreadState* __tstate = wxPyBeginAllowThreads();
6030 (arg1)->SizeWindows();
6031
6032 wxPyEndAllowThreads(__tstate);
6033 if (PyErr_Occurred()) SWIG_fail;
6034 }
6035 Py_INCREF(Py_None); resultobj = Py_None;
6036 return resultobj;
6037 fail:
6038 return NULL;
6039}
6040
6041
6042static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6043 PyObject *resultobj;
6044 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6045 bool arg2 ;
6046 PyObject * obj0 = 0 ;
6047 PyObject * obj1 = 0 ;
6048 char *kwnames[] = {
6049 (char *) "self",(char *) "needUpdating", NULL
6050 };
6051
6052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
6053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 6054 {
8edf1c75 6055 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
d14a1e28
RD
6058 {
6059 PyThreadState* __tstate = wxPyBeginAllowThreads();
6060 (arg1)->SetNeedUpdating(arg2);
6061
6062 wxPyEndAllowThreads(__tstate);
6063 if (PyErr_Occurred()) SWIG_fail;
6064 }
6065 Py_INCREF(Py_None); resultobj = Py_None;
6066 return resultobj;
6067 fail:
6068 return NULL;
6069}
6070
6071
6072static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
6073 PyObject *resultobj;
6074 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
6075 bool result;
6076 PyObject * obj0 = 0 ;
6077 char *kwnames[] = {
6078 (char *) "self", NULL
6079 };
6080
6081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
6082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6083 {
6084 PyThreadState* __tstate = wxPyBeginAllowThreads();
6085 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
6086
6087 wxPyEndAllowThreads(__tstate);
6088 if (PyErr_Occurred()) SWIG_fail;
6089 }
4e760a36 6090 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6091 return resultobj;
6092 fail:
6093 return NULL;
6094}
6095
6096
6097static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
6098 PyObject *obj;
6099 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6100 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
6101 Py_INCREF(obj);
6102 return Py_BuildValue((char *)"");
6103}
6104static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6105 PyObject *resultobj;
6106 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
6107 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
6108 wxSplitterEvent *result;
8edf1c75 6109 PyObject * obj0 = 0 ;
d14a1e28
RD
6110 PyObject * obj1 = 0 ;
6111 char *kwnames[] = {
6112 (char *) "type",(char *) "splitter", NULL
6113 };
6114
8edf1c75
RD
6115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SplitterEvent",kwnames,&obj0,&obj1)) goto fail;
6116 if (obj0) {
6117 {
6118 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
6119 if (PyErr_Occurred()) SWIG_fail;
6120 }
6121 }
d14a1e28
RD
6122 if (obj1) {
6123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6124 }
6125 {
6126 PyThreadState* __tstate = wxPyBeginAllowThreads();
6127 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
6128
6129 wxPyEndAllowThreads(__tstate);
6130 if (PyErr_Occurred()) SWIG_fail;
6131 }
6132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
6133 return resultobj;
6134 fail:
6135 return NULL;
6136}
6137
6138
6139static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6140 PyObject *resultobj;
6141 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6142 int arg2 ;
6143 PyObject * obj0 = 0 ;
8edf1c75 6144 PyObject * obj1 = 0 ;
d14a1e28
RD
6145 char *kwnames[] = {
6146 (char *) "self",(char *) "pos", NULL
6147 };
6148
8edf1c75 6149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterEvent_SetSashPosition",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6151 {
6152 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6153 if (PyErr_Occurred()) SWIG_fail;
6154 }
d14a1e28
RD
6155 {
6156 PyThreadState* __tstate = wxPyBeginAllowThreads();
6157 (arg1)->SetSashPosition(arg2);
6158
6159 wxPyEndAllowThreads(__tstate);
6160 if (PyErr_Occurred()) SWIG_fail;
6161 }
6162 Py_INCREF(Py_None); resultobj = Py_None;
6163 return resultobj;
6164 fail:
6165 return NULL;
6166}
6167
6168
6169static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
6170 PyObject *resultobj;
6171 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6172 int result;
6173 PyObject * obj0 = 0 ;
6174 char *kwnames[] = {
6175 (char *) "self", NULL
6176 };
6177
6178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
6179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6180 {
6181 PyThreadState* __tstate = wxPyBeginAllowThreads();
6182 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
6183
6184 wxPyEndAllowThreads(__tstate);
6185 if (PyErr_Occurred()) SWIG_fail;
6186 }
8edf1c75 6187 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6188 return resultobj;
6189 fail:
6190 return NULL;
6191}
6192
6193
6194static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
6195 PyObject *resultobj;
6196 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6197 wxWindow *result;
6198 PyObject * obj0 = 0 ;
6199 char *kwnames[] = {
6200 (char *) "self", NULL
6201 };
6202
6203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
6204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6205 {
6206 PyThreadState* __tstate = wxPyBeginAllowThreads();
6207 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
6208
6209 wxPyEndAllowThreads(__tstate);
6210 if (PyErr_Occurred()) SWIG_fail;
6211 }
6212 {
6213 resultobj = wxPyMake_wxObject(result);
6214 }
6215 return resultobj;
6216 fail:
6217 return NULL;
6218}
6219
6220
6221static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
6222 PyObject *resultobj;
6223 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6224 int result;
6225 PyObject * obj0 = 0 ;
6226 char *kwnames[] = {
6227 (char *) "self", NULL
6228 };
6229
6230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
6231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6232 {
6233 PyThreadState* __tstate = wxPyBeginAllowThreads();
6234 result = (int)((wxSplitterEvent const *)arg1)->GetX();
6235
6236 wxPyEndAllowThreads(__tstate);
6237 if (PyErr_Occurred()) SWIG_fail;
6238 }
8edf1c75 6239 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6240 return resultobj;
6241 fail:
6242 return NULL;
6243}
6244
6245
6246static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
6247 PyObject *resultobj;
6248 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
6249 int result;
6250 PyObject * obj0 = 0 ;
6251 char *kwnames[] = {
6252 (char *) "self", NULL
6253 };
6254
6255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
6256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6257 {
6258 PyThreadState* __tstate = wxPyBeginAllowThreads();
6259 result = (int)((wxSplitterEvent const *)arg1)->GetY();
6260
6261 wxPyEndAllowThreads(__tstate);
6262 if (PyErr_Occurred()) SWIG_fail;
6263 }
8edf1c75 6264 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6265 return resultobj;
6266 fail:
6267 return NULL;
6268}
6269
6270
6271static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
6272 PyObject *obj;
6273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6274 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
6275 Py_INCREF(obj);
6276 return Py_BuildValue((char *)"");
6277}
8edf1c75 6278static int _wrap_SashNameStr_set(PyObject *) {
d03fd34d
RD
6279 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
6280 return 1;
6281}
6282
6283
6284static PyObject *_wrap_SashNameStr_get() {
6285 PyObject *pyobj;
6286
6287 {
6288#if wxUSE_UNICODE
6289 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6290#else
6291 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
6292#endif
6293 }
6294 return pyobj;
6295}
6296
6297
8edf1c75 6298static int _wrap_SashLayoutNameStr_set(PyObject *) {
d03fd34d
RD
6299 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
6300 return 1;
6301}
6302
6303
6304static PyObject *_wrap_SashLayoutNameStr_get() {
6305 PyObject *pyobj;
6306
6307 {
6308#if wxUSE_UNICODE
6309 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6310#else
6311 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
6312#endif
6313 }
6314 return pyobj;
6315}
6316
6317
d14a1e28
RD
6318static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6319 PyObject *resultobj;
6320 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 6321 int arg2 ;
d14a1e28
RD
6322 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6323 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6324 wxSize const &arg4_defvalue = wxDefaultSize ;
6325 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6326 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6327 wxString const &arg6_defvalue = wxPySashNameStr ;
6328 wxString *arg6 = (wxString *) &arg6_defvalue ;
6329 wxSashWindow *result;
6330 wxPoint temp3 ;
6331 wxSize temp4 ;
423f194a 6332 bool temp6 = False ;
d14a1e28 6333 PyObject * obj0 = 0 ;
8edf1c75 6334 PyObject * obj1 = 0 ;
d14a1e28
RD
6335 PyObject * obj2 = 0 ;
6336 PyObject * obj3 = 0 ;
8edf1c75 6337 PyObject * obj4 = 0 ;
d14a1e28
RD
6338 PyObject * obj5 = 0 ;
6339 char *kwnames[] = {
6340 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6341 };
6342
8edf1c75 6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 6344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6345 {
6346 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6347 if (PyErr_Occurred()) SWIG_fail;
6348 }
d14a1e28
RD
6349 if (obj2) {
6350 {
6351 arg3 = &temp3;
6352 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6353 }
6354 }
6355 if (obj3) {
6356 {
6357 arg4 = &temp4;
6358 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6359 }
6360 }
8edf1c75
RD
6361 if (obj4) {
6362 {
6363 arg5 = (long) SWIG_PyObj_AsLong(obj4);
6364 if (PyErr_Occurred()) SWIG_fail;
6365 }
6366 }
d14a1e28
RD
6367 if (obj5) {
6368 {
6369 arg6 = wxString_in_helper(obj5);
6370 if (arg6 == NULL) SWIG_fail;
423f194a 6371 temp6 = True;
d14a1e28
RD
6372 }
6373 }
6374 {
6375 PyThreadState* __tstate = wxPyBeginAllowThreads();
6376 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6377
6378 wxPyEndAllowThreads(__tstate);
6379 if (PyErr_Occurred()) SWIG_fail;
6380 }
6381 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6382 {
6383 if (temp6)
6384 delete arg6;
6385 }
6386 return resultobj;
6387 fail:
6388 {
6389 if (temp6)
6390 delete arg6;
6391 }
6392 return NULL;
6393}
6394
6395
6396static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6397 PyObject *resultobj;
6398 wxSashWindow *result;
6399 char *kwnames[] = {
6400 NULL
6401 };
6402
6403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6404 {
6405 PyThreadState* __tstate = wxPyBeginAllowThreads();
6406 result = (wxSashWindow *)new wxSashWindow();
6407
6408 wxPyEndAllowThreads(__tstate);
6409 if (PyErr_Occurred()) SWIG_fail;
6410 }
6411 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6412 return resultobj;
6413 fail:
6414 return NULL;
6415}
6416
6417
6418static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6419 PyObject *resultobj;
6420 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6421 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 6422 int arg3 ;
d14a1e28
RD
6423 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6424 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6425 wxSize const &arg5_defvalue = wxDefaultSize ;
6426 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6427 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6428 wxString const &arg7_defvalue = wxPySashNameStr ;
6429 wxString *arg7 = (wxString *) &arg7_defvalue ;
6430 bool result;
6431 wxPoint temp4 ;
6432 wxSize temp5 ;
423f194a 6433 bool temp7 = False ;
d14a1e28
RD
6434 PyObject * obj0 = 0 ;
6435 PyObject * obj1 = 0 ;
8edf1c75 6436 PyObject * obj2 = 0 ;
d14a1e28
RD
6437 PyObject * obj3 = 0 ;
6438 PyObject * obj4 = 0 ;
8edf1c75 6439 PyObject * obj5 = 0 ;
d14a1e28
RD
6440 PyObject * obj6 = 0 ;
6441 char *kwnames[] = {
6442 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6443 };
6444
8edf1c75 6445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
6446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6447 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6448 {
6449 arg3 = (int) SWIG_PyObj_AsInt(obj2);
6450 if (PyErr_Occurred()) SWIG_fail;
6451 }
d14a1e28
RD
6452 if (obj3) {
6453 {
6454 arg4 = &temp4;
6455 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6456 }
6457 }
6458 if (obj4) {
6459 {
6460 arg5 = &temp5;
6461 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6462 }
6463 }
8edf1c75
RD
6464 if (obj5) {
6465 {
6466 arg6 = (long) SWIG_PyObj_AsLong(obj5);
6467 if (PyErr_Occurred()) SWIG_fail;
6468 }
6469 }
d14a1e28
RD
6470 if (obj6) {
6471 {
6472 arg7 = wxString_in_helper(obj6);
6473 if (arg7 == NULL) SWIG_fail;
423f194a 6474 temp7 = True;
d14a1e28
RD
6475 }
6476 }
6477 {
6478 PyThreadState* __tstate = wxPyBeginAllowThreads();
6479 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6480
6481 wxPyEndAllowThreads(__tstate);
6482 if (PyErr_Occurred()) SWIG_fail;
6483 }
4e760a36 6484 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6485 {
6486 if (temp7)
6487 delete arg7;
6488 }
6489 return resultobj;
6490 fail:
6491 {
6492 if (temp7)
6493 delete arg7;
6494 }
6495 return NULL;
6496}
6497
6498
6499static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6500 PyObject *resultobj;
6501 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6502 int arg2 ;
6503 bool arg3 ;
6504 PyObject * obj0 = 0 ;
8edf1c75 6505 PyObject * obj1 = 0 ;
d14a1e28
RD
6506 PyObject * obj2 = 0 ;
6507 char *kwnames[] = {
6508 (char *) "self",(char *) "edge",(char *) "sash", NULL
6509 };
6510
8edf1c75 6511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashVisible",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 6512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 6513 {
8edf1c75
RD
6514 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6515 if (PyErr_Occurred()) SWIG_fail;
6516 }
6517 {
6518 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
6519 if (PyErr_Occurred()) SWIG_fail;
6520 }
d14a1e28
RD
6521 {
6522 PyThreadState* __tstate = wxPyBeginAllowThreads();
6523 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6524
6525 wxPyEndAllowThreads(__tstate);
6526 if (PyErr_Occurred()) SWIG_fail;
6527 }
6528 Py_INCREF(Py_None); resultobj = Py_None;
6529 return resultobj;
6530 fail:
6531 return NULL;
6532}
6533
6534
6535static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6536 PyObject *resultobj;
6537 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6538 int arg2 ;
6539 bool result;
6540 PyObject * obj0 = 0 ;
8edf1c75 6541 PyObject * obj1 = 0 ;
d14a1e28
RD
6542 char *kwnames[] = {
6543 (char *) "self",(char *) "edge", NULL
6544 };
6545
8edf1c75 6546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetSashVisible",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6548 {
6549 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6550 if (PyErr_Occurred()) SWIG_fail;
6551 }
d14a1e28
RD
6552 {
6553 PyThreadState* __tstate = wxPyBeginAllowThreads();
6554 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6555
6556 wxPyEndAllowThreads(__tstate);
6557 if (PyErr_Occurred()) SWIG_fail;
6558 }
4e760a36 6559 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6560 return resultobj;
6561 fail:
6562 return NULL;
6563}
6564
6565
6566static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6567 PyObject *resultobj;
6568 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6569 int arg2 ;
6570 bool arg3 ;
6571 PyObject * obj0 = 0 ;
8edf1c75 6572 PyObject * obj1 = 0 ;
d14a1e28
RD
6573 PyObject * obj2 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "self",(char *) "edge",(char *) "border", NULL
6576 };
6577
8edf1c75 6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SashWindow_SetSashBorder",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 6579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 6580 {
8edf1c75
RD
6581 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 {
6585 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
6586 if (PyErr_Occurred()) SWIG_fail;
6587 }
d14a1e28
RD
6588 {
6589 PyThreadState* __tstate = wxPyBeginAllowThreads();
6590 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6591
6592 wxPyEndAllowThreads(__tstate);
6593 if (PyErr_Occurred()) SWIG_fail;
6594 }
6595 Py_INCREF(Py_None); resultobj = Py_None;
6596 return resultobj;
6597 fail:
6598 return NULL;
6599}
6600
6601
6602static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6603 PyObject *resultobj;
6604 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6605 int arg2 ;
6606 bool result;
6607 PyObject * obj0 = 0 ;
8edf1c75 6608 PyObject * obj1 = 0 ;
d14a1e28
RD
6609 char *kwnames[] = {
6610 (char *) "self",(char *) "edge", NULL
6611 };
6612
8edf1c75 6613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_HasBorder",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6615 {
6616 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6617 if (PyErr_Occurred()) SWIG_fail;
6618 }
d14a1e28
RD
6619 {
6620 PyThreadState* __tstate = wxPyBeginAllowThreads();
6621 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6622
6623 wxPyEndAllowThreads(__tstate);
6624 if (PyErr_Occurred()) SWIG_fail;
6625 }
4e760a36 6626 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
6627 return resultobj;
6628 fail:
6629 return NULL;
6630}
6631
6632
6633static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6634 PyObject *resultobj;
6635 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6636 int arg2 ;
6637 int result;
6638 PyObject * obj0 = 0 ;
8edf1c75 6639 PyObject * obj1 = 0 ;
d14a1e28
RD
6640 char *kwnames[] = {
6641 (char *) "self",(char *) "edge", NULL
6642 };
6643
8edf1c75 6644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_GetEdgeMargin",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6646 {
6647 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
6648 if (PyErr_Occurred()) SWIG_fail;
6649 }
d14a1e28
RD
6650 {
6651 PyThreadState* __tstate = wxPyBeginAllowThreads();
6652 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6653
6654 wxPyEndAllowThreads(__tstate);
6655 if (PyErr_Occurred()) SWIG_fail;
6656 }
8edf1c75 6657 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6658 return resultobj;
6659 fail:
6660 return NULL;
6661}
6662
6663
6664static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6665 PyObject *resultobj;
6666 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6667 int arg2 ;
6668 PyObject * obj0 = 0 ;
8edf1c75 6669 PyObject * obj1 = 0 ;
d14a1e28
RD
6670 char *kwnames[] = {
6671 (char *) "self",(char *) "width", NULL
6672 };
6673
8edf1c75 6674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6676 {
6677 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6678 if (PyErr_Occurred()) SWIG_fail;
6679 }
d14a1e28
RD
6680 {
6681 PyThreadState* __tstate = wxPyBeginAllowThreads();
6682 (arg1)->SetDefaultBorderSize(arg2);
6683
6684 wxPyEndAllowThreads(__tstate);
6685 if (PyErr_Occurred()) SWIG_fail;
6686 }
6687 Py_INCREF(Py_None); resultobj = Py_None;
6688 return resultobj;
6689 fail:
6690 return NULL;
6691}
6692
6693
6694static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6695 PyObject *resultobj;
6696 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6697 int result;
6698 PyObject * obj0 = 0 ;
6699 char *kwnames[] = {
6700 (char *) "self", NULL
6701 };
6702
6703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6705 {
6706 PyThreadState* __tstate = wxPyBeginAllowThreads();
6707 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6708
6709 wxPyEndAllowThreads(__tstate);
6710 if (PyErr_Occurred()) SWIG_fail;
6711 }
8edf1c75 6712 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6713 return resultobj;
6714 fail:
6715 return NULL;
6716}
6717
6718
6719static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6720 PyObject *resultobj;
6721 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6722 int arg2 ;
6723 PyObject * obj0 = 0 ;
8edf1c75 6724 PyObject * obj1 = 0 ;
d14a1e28
RD
6725 char *kwnames[] = {
6726 (char *) "self",(char *) "width", NULL
6727 };
6728
8edf1c75 6729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6731 {
6732 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6733 if (PyErr_Occurred()) SWIG_fail;
6734 }
d14a1e28
RD
6735 {
6736 PyThreadState* __tstate = wxPyBeginAllowThreads();
6737 (arg1)->SetExtraBorderSize(arg2);
6738
6739 wxPyEndAllowThreads(__tstate);
6740 if (PyErr_Occurred()) SWIG_fail;
6741 }
6742 Py_INCREF(Py_None); resultobj = Py_None;
6743 return resultobj;
6744 fail:
6745 return NULL;
6746}
6747
6748
6749static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6750 PyObject *resultobj;
6751 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6752 int result;
6753 PyObject * obj0 = 0 ;
6754 char *kwnames[] = {
6755 (char *) "self", NULL
6756 };
6757
6758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6760 {
6761 PyThreadState* __tstate = wxPyBeginAllowThreads();
6762 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6763
6764 wxPyEndAllowThreads(__tstate);
6765 if (PyErr_Occurred()) SWIG_fail;
6766 }
8edf1c75 6767 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6768 return resultobj;
6769 fail:
6770 return NULL;
6771}
6772
6773
6774static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6775 PyObject *resultobj;
6776 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6777 int arg2 ;
6778 PyObject * obj0 = 0 ;
8edf1c75 6779 PyObject * obj1 = 0 ;
d14a1e28
RD
6780 char *kwnames[] = {
6781 (char *) "self",(char *) "min", NULL
6782 };
6783
8edf1c75 6784 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6785 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6786 {
6787 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6788 if (PyErr_Occurred()) SWIG_fail;
6789 }
d14a1e28
RD
6790 {
6791 PyThreadState* __tstate = wxPyBeginAllowThreads();
6792 (arg1)->SetMinimumSizeX(arg2);
6793
6794 wxPyEndAllowThreads(__tstate);
6795 if (PyErr_Occurred()) SWIG_fail;
6796 }
6797 Py_INCREF(Py_None); resultobj = Py_None;
6798 return resultobj;
6799 fail:
6800 return NULL;
6801}
6802
6803
6804static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6805 PyObject *resultobj;
6806 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6807 int arg2 ;
6808 PyObject * obj0 = 0 ;
8edf1c75 6809 PyObject * obj1 = 0 ;
d14a1e28
RD
6810 char *kwnames[] = {
6811 (char *) "self",(char *) "min", NULL
6812 };
6813
8edf1c75 6814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6816 {
6817 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
d14a1e28
RD
6820 {
6821 PyThreadState* __tstate = wxPyBeginAllowThreads();
6822 (arg1)->SetMinimumSizeY(arg2);
6823
6824 wxPyEndAllowThreads(__tstate);
6825 if (PyErr_Occurred()) SWIG_fail;
6826 }
6827 Py_INCREF(Py_None); resultobj = Py_None;
6828 return resultobj;
6829 fail:
6830 return NULL;
6831}
6832
6833
6834static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6835 PyObject *resultobj;
6836 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6837 int result;
6838 PyObject * obj0 = 0 ;
6839 char *kwnames[] = {
6840 (char *) "self", NULL
6841 };
6842
6843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6845 {
6846 PyThreadState* __tstate = wxPyBeginAllowThreads();
6847 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6848
6849 wxPyEndAllowThreads(__tstate);
6850 if (PyErr_Occurred()) SWIG_fail;
6851 }
8edf1c75 6852 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6853 return resultobj;
6854 fail:
6855 return NULL;
6856}
6857
6858
6859static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6860 PyObject *resultobj;
6861 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6862 int result;
6863 PyObject * obj0 = 0 ;
6864 char *kwnames[] = {
6865 (char *) "self", NULL
6866 };
6867
6868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6870 {
6871 PyThreadState* __tstate = wxPyBeginAllowThreads();
6872 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6873
6874 wxPyEndAllowThreads(__tstate);
6875 if (PyErr_Occurred()) SWIG_fail;
6876 }
8edf1c75 6877 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6878 return resultobj;
6879 fail:
6880 return NULL;
6881}
6882
6883
6884static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6885 PyObject *resultobj;
6886 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6887 int arg2 ;
6888 PyObject * obj0 = 0 ;
8edf1c75 6889 PyObject * obj1 = 0 ;
d14a1e28
RD
6890 char *kwnames[] = {
6891 (char *) "self",(char *) "max", NULL
6892 };
6893
8edf1c75 6894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6896 {
6897 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6898 if (PyErr_Occurred()) SWIG_fail;
6899 }
d14a1e28
RD
6900 {
6901 PyThreadState* __tstate = wxPyBeginAllowThreads();
6902 (arg1)->SetMaximumSizeX(arg2);
6903
6904 wxPyEndAllowThreads(__tstate);
6905 if (PyErr_Occurred()) SWIG_fail;
6906 }
6907 Py_INCREF(Py_None); resultobj = Py_None;
6908 return resultobj;
6909 fail:
6910 return NULL;
6911}
6912
6913
6914static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6915 PyObject *resultobj;
6916 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6917 int arg2 ;
6918 PyObject * obj0 = 0 ;
8edf1c75 6919 PyObject * obj1 = 0 ;
d14a1e28
RD
6920 char *kwnames[] = {
6921 (char *) "self",(char *) "max", NULL
6922 };
6923
8edf1c75 6924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 6925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
6926 {
6927 arg2 = (int) SWIG_PyObj_AsInt(obj1);
6928 if (PyErr_Occurred()) SWIG_fail;
6929 }
d14a1e28
RD
6930 {
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 (arg1)->SetMaximumSizeY(arg2);
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 Py_INCREF(Py_None); resultobj = Py_None;
6938 return resultobj;
6939 fail:
6940 return NULL;
6941}
6942
6943
6944static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6945 PyObject *resultobj;
6946 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6947 int result;
6948 PyObject * obj0 = 0 ;
6949 char *kwnames[] = {
6950 (char *) "self", NULL
6951 };
6952
6953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6955 {
6956 PyThreadState* __tstate = wxPyBeginAllowThreads();
6957 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6958
6959 wxPyEndAllowThreads(__tstate);
6960 if (PyErr_Occurred()) SWIG_fail;
6961 }
8edf1c75 6962 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6963 return resultobj;
6964 fail:
6965 return NULL;
6966}
6967
6968
6969static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6970 PyObject *resultobj;
6971 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6972 int result;
6973 PyObject * obj0 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "self", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
8edf1c75 6987 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
6988 return resultobj;
6989 fail:
6990 return NULL;
6991}
6992
6993
6994static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6995 PyObject *resultobj;
6996 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6997 int arg2 ;
6998 int arg3 ;
6999 int arg4 = (int) 2 ;
7000 int result;
7001 PyObject * obj0 = 0 ;
8edf1c75
RD
7002 PyObject * obj1 = 0 ;
7003 PyObject * obj2 = 0 ;
7004 PyObject * obj3 = 0 ;
d14a1e28
RD
7005 char *kwnames[] = {
7006 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
7007 };
7008
8edf1c75 7009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:SashWindow_SashHitTest",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 7010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7011 {
7012 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 }
7015 {
7016 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7017 if (PyErr_Occurred()) SWIG_fail;
7018 }
7019 if (obj3) {
7020 {
7021 arg4 = (int) SWIG_PyObj_AsInt(obj3);
7022 if (PyErr_Occurred()) SWIG_fail;
7023 }
7024 }
d14a1e28
RD
7025 {
7026 PyThreadState* __tstate = wxPyBeginAllowThreads();
7027 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
7028
7029 wxPyEndAllowThreads(__tstate);
7030 if (PyErr_Occurred()) SWIG_fail;
7031 }
8edf1c75 7032 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
7033 return resultobj;
7034 fail:
7035 return NULL;
7036}
7037
7038
7039static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
7040 PyObject *resultobj;
7041 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
7042 PyObject * obj0 = 0 ;
7043 char *kwnames[] = {
7044 (char *) "self", NULL
7045 };
7046
7047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
7048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7049 {
7050 PyThreadState* __tstate = wxPyBeginAllowThreads();
7051 (arg1)->SizeWindows();
7052
7053 wxPyEndAllowThreads(__tstate);
7054 if (PyErr_Occurred()) SWIG_fail;
7055 }
7056 Py_INCREF(Py_None); resultobj = Py_None;
7057 return resultobj;
7058 fail:
7059 return NULL;
7060}
7061
7062
7063static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
7064 PyObject *obj;
7065 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7066 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
7067 Py_INCREF(obj);
7068 return Py_BuildValue((char *)"");
7069}
7070static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj;
7072 int arg1 = (int) 0 ;
7073 int arg2 = (int) wxSASH_NONE ;
7074 wxSashEvent *result;
8edf1c75
RD
7075 PyObject * obj0 = 0 ;
7076 PyObject * obj1 = 0 ;
d14a1e28
RD
7077 char *kwnames[] = {
7078 (char *) "id",(char *) "edge", NULL
7079 };
7080
8edf1c75
RD
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_SashEvent",kwnames,&obj0,&obj1)) goto fail;
7082 if (obj0) {
7083 {
7084 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7085 if (PyErr_Occurred()) SWIG_fail;
7086 }
7087 }
7088 if (obj1) {
7089 {
7090 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
7091 if (PyErr_Occurred()) SWIG_fail;
7092 }
7093 }
d14a1e28
RD
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
7102 return resultobj;
7103 fail:
7104 return NULL;
7105}
7106
7107
7108static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7109 PyObject *resultobj;
7110 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7111 int arg2 ;
7112 PyObject * obj0 = 0 ;
8edf1c75 7113 PyObject * obj1 = 0 ;
d14a1e28
RD
7114 char *kwnames[] = {
7115 (char *) "self",(char *) "edge", NULL
7116 };
7117
8edf1c75 7118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetEdge",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 7119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7120 {
7121 arg2 = (wxSashEdgePosition) SWIG_PyObj_AsInt(obj1);
7122 if (PyErr_Occurred()) SWIG_fail;
7123 }
d14a1e28
RD
7124 {
7125 PyThreadState* __tstate = wxPyBeginAllowThreads();
7126 (arg1)->SetEdge((wxSashEdgePosition )arg2);
7127
7128 wxPyEndAllowThreads(__tstate);
7129 if (PyErr_Occurred()) SWIG_fail;
7130 }
7131 Py_INCREF(Py_None); resultobj = Py_None;
7132 return resultobj;
7133 fail:
7134 return NULL;
7135}
7136
7137
7138static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
7139 PyObject *resultobj;
7140 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7141 int result;
7142 PyObject * obj0 = 0 ;
7143 char *kwnames[] = {
7144 (char *) "self", NULL
7145 };
7146
7147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
7148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7149 {
7150 PyThreadState* __tstate = wxPyBeginAllowThreads();
7151 result = (int)((wxSashEvent const *)arg1)->GetEdge();
7152
7153 wxPyEndAllowThreads(__tstate);
7154 if (PyErr_Occurred()) SWIG_fail;
7155 }
8edf1c75 7156 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
7157 return resultobj;
7158 fail:
7159 return NULL;
7160}
7161
7162
7163static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7164 PyObject *resultobj;
7165 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7166 wxRect *arg2 = 0 ;
7167 wxRect temp2 ;
7168 PyObject * obj0 = 0 ;
7169 PyObject * obj1 = 0 ;
7170 char *kwnames[] = {
7171 (char *) "self",(char *) "rect", NULL
7172 };
7173
7174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
7175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7176 {
7177 arg2 = &temp2;
7178 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7179 }
7180 {
7181 PyThreadState* __tstate = wxPyBeginAllowThreads();
7182 (arg1)->SetDragRect((wxRect const &)*arg2);
7183
7184 wxPyEndAllowThreads(__tstate);
7185 if (PyErr_Occurred()) SWIG_fail;
7186 }
7187 Py_INCREF(Py_None); resultobj = Py_None;
7188 return resultobj;
7189 fail:
7190 return NULL;
7191}
7192
7193
7194static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7195 PyObject *resultobj;
7196 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7197 wxRect result;
7198 PyObject * obj0 = 0 ;
7199 char *kwnames[] = {
7200 (char *) "self", NULL
7201 };
7202
7203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
7204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 result = ((wxSashEvent const *)arg1)->GetDragRect();
7208
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 {
7213 wxRect * resultptr;
7214 resultptr = new wxRect((wxRect &) result);
7215 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7216 }
7217 return resultobj;
7218 fail:
7219 return NULL;
7220}
7221
7222
7223static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7224 PyObject *resultobj;
7225 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7226 int arg2 ;
7227 PyObject * obj0 = 0 ;
8edf1c75 7228 PyObject * obj1 = 0 ;
d14a1e28
RD
7229 char *kwnames[] = {
7230 (char *) "self",(char *) "status", NULL
7231 };
7232
8edf1c75 7233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragStatus",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 7234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7235 {
7236 arg2 = (wxSashDragStatus) SWIG_PyObj_AsInt(obj1);
7237 if (PyErr_Occurred()) SWIG_fail;
7238 }
d14a1e28
RD
7239 {
7240 PyThreadState* __tstate = wxPyBeginAllowThreads();
7241 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
7242
7243 wxPyEndAllowThreads(__tstate);
7244 if (PyErr_Occurred()) SWIG_fail;
7245 }
7246 Py_INCREF(Py_None); resultobj = Py_None;
7247 return resultobj;
7248 fail:
7249 return NULL;
7250}
7251
7252
7253static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
7254 PyObject *resultobj;
7255 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
7256 int result;
7257 PyObject * obj0 = 0 ;
7258 char *kwnames[] = {
7259 (char *) "self", NULL
7260 };
7261
7262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
7263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
7267
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
8edf1c75 7271 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
7272 return resultobj;
7273 fail:
7274 return NULL;
7275}
7276
7277
7278static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
7279 PyObject *obj;
7280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7281 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
7282 Py_INCREF(obj);
7283 return Py_BuildValue((char *)"");
7284}
7285static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7286 PyObject *resultobj;
423f194a 7287 int arg1 = (int) 0 ;
d14a1e28 7288 wxQueryLayoutInfoEvent *result;
8edf1c75 7289 PyObject * obj0 = 0 ;
d14a1e28
RD
7290 char *kwnames[] = {
7291 (char *) "id", NULL
7292 };
7293
8edf1c75
RD
7294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_QueryLayoutInfoEvent",kwnames,&obj0)) goto fail;
7295 if (obj0) {
7296 {
7297 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7298 if (PyErr_Occurred()) SWIG_fail;
7299 }
7300 }
d14a1e28
RD
7301 {
7302 PyThreadState* __tstate = wxPyBeginAllowThreads();
7303 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
7304
7305 wxPyEndAllowThreads(__tstate);
7306 if (PyErr_Occurred()) SWIG_fail;
7307 }
7308 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
7309 return resultobj;
7310 fail:
7311 return NULL;
7312}
7313
7314
7315static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7316 PyObject *resultobj;
7317 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7318 int arg2 ;
7319 PyObject * obj0 = 0 ;
8edf1c75 7320 PyObject * obj1 = 0 ;
d14a1e28
RD
7321 char *kwnames[] = {
7322 (char *) "self",(char *) "length", NULL
7323 };
7324
8edf1c75 7325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 7326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7327 {
7328 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7329 if (PyErr_Occurred()) SWIG_fail;
7330 }
d14a1e28
RD
7331 {
7332 PyThreadState* __tstate = wxPyBeginAllowThreads();
7333 (arg1)->SetRequestedLength(arg2);
7334
7335 wxPyEndAllowThreads(__tstate);
7336 if (PyErr_Occurred()) SWIG_fail;
7337 }
7338 Py_INCREF(Py_None); resultobj = Py_None;
7339 return resultobj;
7340 fail:
7341 return NULL;
7342}
7343
7344
7345static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
7346 PyObject *resultobj;
7347 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7348 int result;
7349 PyObject * obj0 = 0 ;
7350 char *kwnames[] = {
7351 (char *) "self", NULL
7352 };
7353
7354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
7355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7356 {
7357 PyThreadState* __tstate = wxPyBeginAllowThreads();
7358 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
7359
7360 wxPyEndAllowThreads(__tstate);
7361 if (PyErr_Occurred()) SWIG_fail;
7362 }
8edf1c75 7363 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
7364 return resultobj;
7365 fail:
7366 return NULL;
7367}
7368
7369
7370static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7371 PyObject *resultobj;
7372 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7373 int arg2 ;
7374 PyObject * obj0 = 0 ;
8edf1c75 7375 PyObject * obj1 = 0 ;
d14a1e28
RD
7376 char *kwnames[] = {
7377 (char *) "self",(char *) "flags", NULL
7378 };
7379
8edf1c75 7380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 7381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7382 {
7383 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7384 if (PyErr_Occurred()) SWIG_fail;
7385 }
d14a1e28
RD
7386 {
7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
7388 (arg1)->SetFlags(arg2);
7389
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
7393 Py_INCREF(Py_None); resultobj = Py_None;
7394 return resultobj;
7395 fail:
7396 return NULL;
7397}
7398
7399
7400static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7401 PyObject *resultobj;
7402 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7403 int result;
7404 PyObject * obj0 = 0 ;
7405 char *kwnames[] = {
7406 (char *) "self", NULL
7407 };
7408
7409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
7410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7411 {
7412 PyThreadState* __tstate = wxPyBeginAllowThreads();
7413 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
7414
7415 wxPyEndAllowThreads(__tstate);
7416 if (PyErr_Occurred()) SWIG_fail;
7417 }
8edf1c75 7418 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
7419 return resultobj;
7420 fail:
7421 return NULL;
7422}
7423
7424
7425static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7426 PyObject *resultobj;
7427 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7428 wxSize *arg2 = 0 ;
7429 wxSize temp2 ;
7430 PyObject * obj0 = 0 ;
7431 PyObject * obj1 = 0 ;
7432 char *kwnames[] = {
7433 (char *) "self",(char *) "size", NULL
7434 };
7435
7436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
7437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7438 {
7439 arg2 = &temp2;
7440 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7441 }
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 (arg1)->SetSize((wxSize const &)*arg2);
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 Py_INCREF(Py_None); resultobj = Py_None;
7450 return resultobj;
7451 fail:
7452 return NULL;
7453}
7454
7455
7456static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7457 PyObject *resultobj;
7458 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7459 wxSize result;
7460 PyObject * obj0 = 0 ;
7461 char *kwnames[] = {
7462 (char *) "self", NULL
7463 };
7464
7465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
7466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7467 {
7468 PyThreadState* __tstate = wxPyBeginAllowThreads();
7469 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
7470
7471 wxPyEndAllowThreads(__tstate);
7472 if (PyErr_Occurred()) SWIG_fail;
7473 }
7474 {
7475 wxSize * resultptr;
7476 resultptr = new wxSize((wxSize &) result);
7477 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
7478 }
7479 return resultobj;
7480 fail:
7481 return NULL;
7482}
7483
7484
7485static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7486 PyObject *resultobj;
7487 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7488 int arg2 ;
7489 PyObject * obj0 = 0 ;
8edf1c75 7490 PyObject * obj1 = 0 ;
d14a1e28
RD
7491 char *kwnames[] = {
7492 (char *) "self",(char *) "orient", NULL
7493 };
7494
8edf1c75 7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 7496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7497 {
7498 arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1);
7499 if (PyErr_Occurred()) SWIG_fail;
7500 }
d14a1e28
RD
7501 {
7502 PyThreadState* __tstate = wxPyBeginAllowThreads();
7503 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7504
7505 wxPyEndAllowThreads(__tstate);
7506 if (PyErr_Occurred()) SWIG_fail;
7507 }
7508 Py_INCREF(Py_None); resultobj = Py_None;
7509 return resultobj;
7510 fail:
7511 return NULL;
7512}
7513
7514
7515static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7516 PyObject *resultobj;
7517 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7518 int result;
7519 PyObject * obj0 = 0 ;
7520 char *kwnames[] = {
7521 (char *) "self", NULL
7522 };
7523
7524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7526 {
7527 PyThreadState* __tstate = wxPyBeginAllowThreads();
7528 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7529
7530 wxPyEndAllowThreads(__tstate);
7531 if (PyErr_Occurred()) SWIG_fail;
7532 }
8edf1c75 7533 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
7534 return resultobj;
7535 fail:
7536 return NULL;
7537}
7538
7539
7540static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7541 PyObject *resultobj;
7542 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7543 int arg2 ;
7544 PyObject * obj0 = 0 ;
8edf1c75 7545 PyObject * obj1 = 0 ;
d14a1e28
RD
7546 char *kwnames[] = {
7547 (char *) "self",(char *) "align", NULL
7548 };
7549
8edf1c75 7550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 7551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7552 {
7553 arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1);
7554 if (PyErr_Occurred()) SWIG_fail;
7555 }
d14a1e28
RD
7556 {
7557 PyThreadState* __tstate = wxPyBeginAllowThreads();
7558 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7559
7560 wxPyEndAllowThreads(__tstate);
7561 if (PyErr_Occurred()) SWIG_fail;
7562 }
7563 Py_INCREF(Py_None); resultobj = Py_None;
7564 return resultobj;
7565 fail:
7566 return NULL;
7567}
7568
7569
7570static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7571 PyObject *resultobj;
7572 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7573 int result;
7574 PyObject * obj0 = 0 ;
7575 char *kwnames[] = {
7576 (char *) "self", NULL
7577 };
7578
7579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7581 {
7582 PyThreadState* __tstate = wxPyBeginAllowThreads();
7583 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7584
7585 wxPyEndAllowThreads(__tstate);
7586 if (PyErr_Occurred()) SWIG_fail;
7587 }
8edf1c75 7588 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
7589 return resultobj;
7590 fail:
7591 return NULL;
7592}
7593
7594
7595static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7596 PyObject *obj;
7597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7598 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7599 Py_INCREF(obj);
7600 return Py_BuildValue((char *)"");
7601}
7602static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7603 PyObject *resultobj;
423f194a 7604 int arg1 = (int) 0 ;
d14a1e28 7605 wxCalculateLayoutEvent *result;
8edf1c75 7606 PyObject * obj0 = 0 ;
d14a1e28
RD
7607 char *kwnames[] = {
7608 (char *) "id", NULL
7609 };
7610
8edf1c75
RD
7611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_CalculateLayoutEvent",kwnames,&obj0)) goto fail;
7612 if (obj0) {
7613 {
7614 arg1 = (int) SWIG_PyObj_AsInt(obj0);
7615 if (PyErr_Occurred()) SWIG_fail;
7616 }
7617 }
d14a1e28
RD
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7626 return resultobj;
7627 fail:
7628 return NULL;
7629}
7630
7631
7632static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7633 PyObject *resultobj;
7634 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7635 int arg2 ;
7636 PyObject * obj0 = 0 ;
8edf1c75 7637 PyObject * obj1 = 0 ;
d14a1e28
RD
7638 char *kwnames[] = {
7639 (char *) "self",(char *) "flags", NULL
7640 };
7641
8edf1c75 7642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 7643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7644 {
7645 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7646 if (PyErr_Occurred()) SWIG_fail;
7647 }
d14a1e28
RD
7648 {
7649 PyThreadState* __tstate = wxPyBeginAllowThreads();
7650 (arg1)->SetFlags(arg2);
7651
7652 wxPyEndAllowThreads(__tstate);
7653 if (PyErr_Occurred()) SWIG_fail;
7654 }
7655 Py_INCREF(Py_None); resultobj = Py_None;
7656 return resultobj;
7657 fail:
7658 return NULL;
7659}
7660
7661
7662static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7663 PyObject *resultobj;
7664 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7665 int result;
7666 PyObject * obj0 = 0 ;
7667 char *kwnames[] = {
7668 (char *) "self", NULL
7669 };
7670
7671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7673 {
7674 PyThreadState* __tstate = wxPyBeginAllowThreads();
7675 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7676
7677 wxPyEndAllowThreads(__tstate);
7678 if (PyErr_Occurred()) SWIG_fail;
7679 }
8edf1c75 7680 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
7681 return resultobj;
7682 fail:
7683 return NULL;
7684}
7685
7686
7687static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7690 wxRect *arg2 = 0 ;
7691 wxRect temp2 ;
7692 PyObject * obj0 = 0 ;
7693 PyObject * obj1 = 0 ;
7694 char *kwnames[] = {
7695 (char *) "self",(char *) "rect", NULL
7696 };
7697
7698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7700 {
7701 arg2 = &temp2;
7702 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7703 }
7704 {
7705 PyThreadState* __tstate = wxPyBeginAllowThreads();
7706 (arg1)->SetRect((wxRect const &)*arg2);
7707
7708 wxPyEndAllowThreads(__tstate);
7709 if (PyErr_Occurred()) SWIG_fail;
7710 }
7711 Py_INCREF(Py_None); resultobj = Py_None;
7712 return resultobj;
7713 fail:
7714 return NULL;
7715}
7716
7717
7718static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7719 PyObject *resultobj;
7720 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7721 wxRect result;
7722 PyObject * obj0 = 0 ;
7723 char *kwnames[] = {
7724 (char *) "self", NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 {
7737 wxRect * resultptr;
7738 resultptr = new wxRect((wxRect &) result);
7739 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7740 }
7741 return resultobj;
7742 fail:
7743 return NULL;
7744}
7745
7746
7747static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7748 PyObject *obj;
7749 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7750 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7751 Py_INCREF(obj);
7752 return Py_BuildValue((char *)"");
7753}
7754static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7755 PyObject *resultobj;
7756 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 7757 int arg2 ;
d14a1e28
RD
7758 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7759 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7760 wxSize const &arg4_defvalue = wxDefaultSize ;
7761 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7762 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7763 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7764 wxString *arg6 = (wxString *) &arg6_defvalue ;
7765 wxSashLayoutWindow *result;
7766 wxPoint temp3 ;
7767 wxSize temp4 ;
423f194a 7768 bool temp6 = False ;
d14a1e28 7769 PyObject * obj0 = 0 ;
8edf1c75 7770 PyObject * obj1 = 0 ;
d14a1e28
RD
7771 PyObject * obj2 = 0 ;
7772 PyObject * obj3 = 0 ;
8edf1c75 7773 PyObject * obj4 = 0 ;
d14a1e28
RD
7774 PyObject * obj5 = 0 ;
7775 char *kwnames[] = {
7776 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7777 };
7778
8edf1c75 7779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_SashLayoutWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 7780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7781 {
7782 arg2 = (int) SWIG_PyObj_AsInt(obj1);
7783 if (PyErr_Occurred()) SWIG_fail;
7784 }
d14a1e28
RD
7785 if (obj2) {
7786 {
7787 arg3 = &temp3;
7788 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7789 }
7790 }
7791 if (obj3) {
7792 {
7793 arg4 = &temp4;
7794 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7795 }
7796 }
8edf1c75
RD
7797 if (obj4) {
7798 {
7799 arg5 = (long) SWIG_PyObj_AsLong(obj4);
7800 if (PyErr_Occurred()) SWIG_fail;
7801 }
7802 }
d14a1e28
RD
7803 if (obj5) {
7804 {
7805 arg6 = wxString_in_helper(obj5);
7806 if (arg6 == NULL) SWIG_fail;
423f194a 7807 temp6 = True;
d14a1e28
RD
7808 }
7809 }
7810 {
7811 PyThreadState* __tstate = wxPyBeginAllowThreads();
7812 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7813
7814 wxPyEndAllowThreads(__tstate);
7815 if (PyErr_Occurred()) SWIG_fail;
7816 }
7817 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7818 {
7819 if (temp6)
7820 delete arg6;
7821 }
7822 return resultobj;
7823 fail:
7824 {
7825 if (temp6)
7826 delete arg6;
7827 }
7828 return NULL;
7829}
7830
7831
7832static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7833 PyObject *resultobj;
7834 wxSashLayoutWindow *result;
7835 char *kwnames[] = {
7836 NULL
7837 };
7838
7839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7840 {
7841 PyThreadState* __tstate = wxPyBeginAllowThreads();
7842 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7843
7844 wxPyEndAllowThreads(__tstate);
7845 if (PyErr_Occurred()) SWIG_fail;
7846 }
7847 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7848 return resultobj;
7849 fail:
7850 return NULL;
7851}
7852
7853
7854static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7855 PyObject *resultobj;
7856 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7857 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 7858 int arg3 ;
d14a1e28
RD
7859 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7860 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7861 wxSize const &arg5_defvalue = wxDefaultSize ;
7862 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7863 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7864 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7865 wxString *arg7 = (wxString *) &arg7_defvalue ;
7866 bool result;
7867 wxPoint temp4 ;
7868 wxSize temp5 ;
423f194a 7869 bool temp7 = False ;
d14a1e28
RD
7870 PyObject * obj0 = 0 ;
7871 PyObject * obj1 = 0 ;
8edf1c75 7872 PyObject * obj2 = 0 ;
d14a1e28
RD
7873 PyObject * obj3 = 0 ;
7874 PyObject * obj4 = 0 ;
8edf1c75 7875 PyObject * obj5 = 0 ;
d14a1e28
RD
7876 PyObject * obj6 = 0 ;
7877 char *kwnames[] = {
7878 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7879 };
7880
8edf1c75 7881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
7882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7883 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7884 {
7885 arg3 = (int) SWIG_PyObj_AsInt(obj2);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
d14a1e28
RD
7888 if (obj3) {
7889 {
7890 arg4 = &temp4;
7891 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7892 }
7893 }
7894 if (obj4) {
7895 {
7896 arg5 = &temp5;
7897 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7898 }
7899 }
8edf1c75
RD
7900 if (obj5) {
7901 {
7902 arg6 = (long) SWIG_PyObj_AsLong(obj5);
7903 if (PyErr_Occurred()) SWIG_fail;
7904 }
7905 }
d14a1e28
RD
7906 if (obj6) {
7907 {
7908 arg7 = wxString_in_helper(obj6);
7909 if (arg7 == NULL) SWIG_fail;
423f194a 7910 temp7 = True;
d14a1e28
RD
7911 }
7912 }
7913 {
7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7915 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7916
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
4e760a36 7920 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
7921 {
7922 if (temp7)
7923 delete arg7;
7924 }
7925 return resultobj;
7926 fail:
7927 {
7928 if (temp7)
7929 delete arg7;
7930 }
7931 return NULL;
7932}
7933
7934
7935static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7936 PyObject *resultobj;
7937 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7938 int result;
7939 PyObject * obj0 = 0 ;
7940 char *kwnames[] = {
7941 (char *) "self", NULL
7942 };
7943
7944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (int)(arg1)->GetAlignment();
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
8edf1c75 7953 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
7954 return resultobj;
7955 fail:
7956 return NULL;
7957}
7958
7959
7960static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7963 int result;
7964 PyObject * obj0 = 0 ;
7965 char *kwnames[] = {
7966 (char *) "self", NULL
7967 };
7968
7969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7971 {
7972 PyThreadState* __tstate = wxPyBeginAllowThreads();
7973 result = (int)(arg1)->GetOrientation();
7974
7975 wxPyEndAllowThreads(__tstate);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 }
8edf1c75 7978 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
7979 return resultobj;
7980 fail:
7981 return NULL;
7982}
7983
7984
7985static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7986 PyObject *resultobj;
7987 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7988 int arg2 ;
7989 PyObject * obj0 = 0 ;
8edf1c75 7990 PyObject * obj1 = 0 ;
d14a1e28
RD
7991 char *kwnames[] = {
7992 (char *) "self",(char *) "alignment", NULL
7993 };
7994
8edf1c75 7995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 7996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
7997 {
7998 arg2 = (wxLayoutAlignment) SWIG_PyObj_AsInt(obj1);
7999 if (PyErr_Occurred()) SWIG_fail;
8000 }
d14a1e28
RD
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
8004
8005 wxPyEndAllowThreads(__tstate);
8006 if (PyErr_Occurred()) SWIG_fail;
8007 }
8008 Py_INCREF(Py_None); resultobj = Py_None;
8009 return resultobj;
8010 fail:
8011 return NULL;
8012}
8013
8014
8015static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
8016 PyObject *resultobj;
8017 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8018 wxSize *arg2 = 0 ;
8019 wxSize temp2 ;
8020 PyObject * obj0 = 0 ;
8021 PyObject * obj1 = 0 ;
8022 char *kwnames[] = {
8023 (char *) "self",(char *) "size", NULL
8024 };
8025
8026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
8027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8028 {
8029 arg2 = &temp2;
8030 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
8031 }
8032 {
8033 PyThreadState* __tstate = wxPyBeginAllowThreads();
8034 (arg1)->SetDefaultSize((wxSize const &)*arg2);
8035
8036 wxPyEndAllowThreads(__tstate);
8037 if (PyErr_Occurred()) SWIG_fail;
8038 }
8039 Py_INCREF(Py_None); resultobj = Py_None;
8040 return resultobj;
8041 fail:
8042 return NULL;
8043}
8044
8045
8046static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
8047 PyObject *resultobj;
8048 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
8049 int arg2 ;
8050 PyObject * obj0 = 0 ;
8edf1c75 8051 PyObject * obj1 = 0 ;
d14a1e28
RD
8052 char *kwnames[] = {
8053 (char *) "self",(char *) "orientation", NULL
8054 };
8055
8edf1c75 8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 8057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8058 {
8059 arg2 = (wxLayoutOrientation) SWIG_PyObj_AsInt(obj1);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
d14a1e28
RD
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
8065
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 Py_INCREF(Py_None); resultobj = Py_None;
8070 return resultobj;
8071 fail:
8072 return NULL;
8073}
8074
8075
8076static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
8077 PyObject *obj;
8078 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8079 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
8080 Py_INCREF(obj);
8081 return Py_BuildValue((char *)"");
8082}
8083static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8084 PyObject *resultobj;
8085 wxLayoutAlgorithm *result;
8086 char *kwnames[] = {
8087 NULL
8088 };
8089
8090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
8091 {
8092 PyThreadState* __tstate = wxPyBeginAllowThreads();
8093 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
8094
8095 wxPyEndAllowThreads(__tstate);
8096 if (PyErr_Occurred()) SWIG_fail;
8097 }
8098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
8099 return resultobj;
8100 fail:
8101 return NULL;
8102}
8103
8104
8105static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
8106 PyObject *resultobj;
8107 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8108 PyObject * obj0 = 0 ;
8109 char *kwnames[] = {
8110 (char *) "self", NULL
8111 };
8112
8113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
8114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8115 {
8116 PyThreadState* __tstate = wxPyBeginAllowThreads();
8117 delete arg1;
8118
8119 wxPyEndAllowThreads(__tstate);
8120 if (PyErr_Occurred()) SWIG_fail;
8121 }
8122 Py_INCREF(Py_None); resultobj = Py_None;
8123 return resultobj;
8124 fail:
8125 return NULL;
8126}
8127
8128
8129static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8130 PyObject *resultobj;
8131 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8132 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
8133 wxRect *arg3 = (wxRect *) NULL ;
8134 bool result;
8135 PyObject * obj0 = 0 ;
8136 PyObject * obj1 = 0 ;
8137 PyObject * obj2 = 0 ;
8138 char *kwnames[] = {
8139 (char *) "self",(char *) "frame",(char *) "rect", NULL
8140 };
8141
8142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8144 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8145 if (obj2) {
8146 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8147 }
8148 {
8149 PyThreadState* __tstate = wxPyBeginAllowThreads();
8150 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
8151
8152 wxPyEndAllowThreads(__tstate);
8153 if (PyErr_Occurred()) SWIG_fail;
8154 }
4e760a36 8155 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8156 return resultobj;
8157 fail:
8158 return NULL;
8159}
8160
8161
8162static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
8163 PyObject *resultobj;
8164 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8165 wxFrame *arg2 = (wxFrame *) 0 ;
8166 wxWindow *arg3 = (wxWindow *) NULL ;
8167 bool result;
8168 PyObject * obj0 = 0 ;
8169 PyObject * obj1 = 0 ;
8170 PyObject * obj2 = 0 ;
8171 char *kwnames[] = {
8172 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
8173 };
8174
8175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
8176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8177 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8178 if (obj2) {
8179 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8180 }
8181 {
8182 PyThreadState* __tstate = wxPyBeginAllowThreads();
8183 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
8184
8185 wxPyEndAllowThreads(__tstate);
8186 if (PyErr_Occurred()) SWIG_fail;
8187 }
4e760a36 8188 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8189 return resultobj;
8190 fail:
8191 return NULL;
8192}
8193
8194
8195static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8196 PyObject *resultobj;
8197 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
8198 wxWindow *arg2 = (wxWindow *) 0 ;
8199 wxWindow *arg3 = (wxWindow *) NULL ;
8200 bool result;
8201 PyObject * obj0 = 0 ;
8202 PyObject * obj1 = 0 ;
8203 PyObject * obj2 = 0 ;
8204 char *kwnames[] = {
8205 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
8206 };
8207
8208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
8209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8210 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8211 if (obj2) {
8212 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8213 }
8214 {
8215 PyThreadState* __tstate = wxPyBeginAllowThreads();
8216 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
8217
8218 wxPyEndAllowThreads(__tstate);
8219 if (PyErr_Occurred()) SWIG_fail;
8220 }
4e760a36 8221 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8222 return resultobj;
8223 fail:
8224 return NULL;
8225}
8226
8227
8228static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
8229 PyObject *obj;
8230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8231 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
8232 Py_INCREF(obj);
8233 return Py_BuildValue((char *)"");
8234}
8235static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8236 PyObject *resultobj;
8237 wxWindow *arg1 = (wxWindow *) 0 ;
8238 int arg2 = (int) wxBORDER_NONE ;
8239 wxPopupWindow *result;
8240 PyObject * obj0 = 0 ;
8edf1c75 8241 PyObject * obj1 = 0 ;
d14a1e28
RD
8242 char *kwnames[] = {
8243 (char *) "parent",(char *) "flags", NULL
8244 };
8245
8edf1c75 8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupWindow",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 8247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8248 if (obj1) {
8249 {
8250 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 }
8253 }
d14a1e28
RD
8254 {
8255 PyThreadState* __tstate = wxPyBeginAllowThreads();
8256 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
8257
8258 wxPyEndAllowThreads(__tstate);
8259 if (PyErr_Occurred()) SWIG_fail;
8260 }
8261 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
8262 return resultobj;
8263 fail:
8264 return NULL;
8265}
8266
8267
8268static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8269 PyObject *resultobj;
8270 wxPopupWindow *result;
8271 char *kwnames[] = {
8272 NULL
8273 };
8274
8275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
8276 {
8277 PyThreadState* __tstate = wxPyBeginAllowThreads();
8278 result = (wxPopupWindow *)new wxPopupWindow();
8279
8280 wxPyEndAllowThreads(__tstate);
8281 if (PyErr_Occurred()) SWIG_fail;
8282 }
8283 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
8284 return resultobj;
8285 fail:
8286 return NULL;
8287}
8288
8289
8290static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8291 PyObject *resultobj;
8292 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8293 wxWindow *arg2 = (wxWindow *) 0 ;
8294 int arg3 = (int) wxBORDER_NONE ;
8295 bool result;
8296 PyObject * obj0 = 0 ;
8297 PyObject * obj1 = 0 ;
8edf1c75 8298 PyObject * obj2 = 0 ;
d14a1e28
RD
8299 char *kwnames[] = {
8300 (char *) "self",(char *) "parent",(char *) "flags", NULL
8301 };
8302
8edf1c75 8303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:PopupWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
8304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8305 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8306 if (obj2) {
8307 {
8308 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8309 if (PyErr_Occurred()) SWIG_fail;
8310 }
8311 }
d14a1e28
RD
8312 {
8313 PyThreadState* __tstate = wxPyBeginAllowThreads();
8314 result = (bool)(arg1)->Create(arg2,arg3);
8315
8316 wxPyEndAllowThreads(__tstate);
8317 if (PyErr_Occurred()) SWIG_fail;
8318 }
4e760a36 8319 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8320 return resultobj;
8321 fail:
8322 return NULL;
8323}
8324
8325
8326static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
8327 PyObject *resultobj;
8328 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
8329 wxPoint *arg2 = 0 ;
8330 wxSize *arg3 = 0 ;
8331 wxPoint temp2 ;
8332 wxSize temp3 ;
8333 PyObject * obj0 = 0 ;
8334 PyObject * obj1 = 0 ;
8335 PyObject * obj2 = 0 ;
8336 char *kwnames[] = {
8337 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
8338 };
8339
8340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
8341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8342 {
8343 arg2 = &temp2;
8344 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8345 }
8346 {
8347 arg3 = &temp3;
8348 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
8349 }
8350 {
8351 PyThreadState* __tstate = wxPyBeginAllowThreads();
8352 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
8353
8354 wxPyEndAllowThreads(__tstate);
8355 if (PyErr_Occurred()) SWIG_fail;
8356 }
8357 Py_INCREF(Py_None); resultobj = Py_None;
8358 return resultobj;
8359 fail:
8360 return NULL;
8361}
8362
8363
8364static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
8365 PyObject *obj;
8366 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8367 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
8368 Py_INCREF(obj);
8369 return Py_BuildValue((char *)"");
8370}
8371static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8372 PyObject *resultobj;
8373 wxWindow *arg1 = (wxWindow *) 0 ;
8374 int arg2 = (int) wxBORDER_NONE ;
8375 wxPyPopupTransientWindow *result;
8376 PyObject * obj0 = 0 ;
8edf1c75 8377 PyObject * obj1 = 0 ;
d14a1e28
RD
8378 char *kwnames[] = {
8379 (char *) "parent",(char *) "style", NULL
8380 };
8381
8edf1c75 8382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PopupTransientWindow",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 8383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8384 if (obj1) {
8385 {
8386 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8387 if (PyErr_Occurred()) SWIG_fail;
8388 }
8389 }
d14a1e28
RD
8390 {
8391 PyThreadState* __tstate = wxPyBeginAllowThreads();
8392 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
8393
8394 wxPyEndAllowThreads(__tstate);
8395 if (PyErr_Occurred()) SWIG_fail;
8396 }
8397 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8398 return resultobj;
8399 fail:
8400 return NULL;
8401}
8402
8403
8404static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8405 PyObject *resultobj;
8406 wxPyPopupTransientWindow *result;
8407 char *kwnames[] = {
8408 NULL
8409 };
8410
8411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
8412 {
8413 PyThreadState* __tstate = wxPyBeginAllowThreads();
8414 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
8415
8416 wxPyEndAllowThreads(__tstate);
8417 if (PyErr_Occurred()) SWIG_fail;
8418 }
8419 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
8420 return resultobj;
8421 fail:
8422 return NULL;
8423}
8424
8425
8426static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8427 PyObject *resultobj;
8428 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8429 PyObject *arg2 = (PyObject *) 0 ;
8430 PyObject *arg3 = (PyObject *) 0 ;
8431 PyObject * obj0 = 0 ;
8432 PyObject * obj1 = 0 ;
8433 PyObject * obj2 = 0 ;
8434 char *kwnames[] = {
8435 (char *) "self",(char *) "self",(char *) "_class", NULL
8436 };
8437
8438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8440 arg2 = obj1;
8441 arg3 = obj2;
8442 {
8443 PyThreadState* __tstate = wxPyBeginAllowThreads();
8444 (arg1)->_setCallbackInfo(arg2,arg3);
8445
8446 wxPyEndAllowThreads(__tstate);
8447 if (PyErr_Occurred()) SWIG_fail;
8448 }
8449 Py_INCREF(Py_None); resultobj = Py_None;
8450 return resultobj;
8451 fail:
8452 return NULL;
8453}
8454
8455
8456static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
8457 PyObject *resultobj;
8458 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8459 wxWindow *arg2 = (wxWindow *) NULL ;
8460 PyObject * obj0 = 0 ;
8461 PyObject * obj1 = 0 ;
8462 char *kwnames[] = {
8463 (char *) "self",(char *) "focus", NULL
8464 };
8465
8466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
8467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8468 if (obj1) {
8469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8470 }
8471 {
8472 PyThreadState* __tstate = wxPyBeginAllowThreads();
8473 (arg1)->Popup(arg2);
8474
8475 wxPyEndAllowThreads(__tstate);
8476 if (PyErr_Occurred()) SWIG_fail;
8477 }
8478 Py_INCREF(Py_None); resultobj = Py_None;
8479 return resultobj;
8480 fail:
8481 return NULL;
8482}
8483
8484
8485static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
8486 PyObject *resultobj;
8487 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
8488 PyObject * obj0 = 0 ;
8489 char *kwnames[] = {
8490 (char *) "self", NULL
8491 };
8492
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
8494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8495 {
8496 PyThreadState* __tstate = wxPyBeginAllowThreads();
8497 (arg1)->Dismiss();
8498
8499 wxPyEndAllowThreads(__tstate);
8500 if (PyErr_Occurred()) SWIG_fail;
8501 }
8502 Py_INCREF(Py_None); resultobj = Py_None;
8503 return resultobj;
8504 fail:
8505 return NULL;
8506}
8507
8508
8509static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
8510 PyObject *obj;
8511 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8512 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
8513 Py_INCREF(obj);
8514 return Py_BuildValue((char *)"");
8515}
8516static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8517 PyObject *resultobj;
8518 wxWindow *arg1 = (wxWindow *) 0 ;
8a0b029b 8519 wxString *arg2 = 0 ;
423f194a 8520 int arg3 = (int) 100 ;
d14a1e28
RD
8521 wxRect *arg4 = (wxRect *) NULL ;
8522 wxTipWindow *result;
8a0b029b 8523 bool temp2 = False ;
d14a1e28
RD
8524 PyObject * obj0 = 0 ;
8525 PyObject * obj1 = 0 ;
8edf1c75 8526 PyObject * obj2 = 0 ;
d14a1e28
RD
8527 PyObject * obj3 = 0 ;
8528 char *kwnames[] = {
8529 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
8530 };
8531
8edf1c75 8532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OO:new_TipWindow",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28 8533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8a0b029b
RD
8534 {
8535 arg2 = wxString_in_helper(obj1);
8536 if (arg2 == NULL) SWIG_fail;
8537 temp2 = True;
8538 }
8edf1c75
RD
8539 if (obj2) {
8540 {
8541 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8542 if (PyErr_Occurred()) SWIG_fail;
8543 }
8544 }
d14a1e28
RD
8545 if (obj3) {
8546 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8547 }
8548 {
8549 PyThreadState* __tstate = wxPyBeginAllowThreads();
8a0b029b 8550 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
8551
8552 wxPyEndAllowThreads(__tstate);
8553 if (PyErr_Occurred()) SWIG_fail;
8554 }
8555 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
8a0b029b
RD
8556 {
8557 if (temp2)
8558 delete arg2;
8559 }
d14a1e28
RD
8560 return resultobj;
8561 fail:
8a0b029b
RD
8562 {
8563 if (temp2)
8564 delete arg2;
8565 }
d14a1e28
RD
8566 return NULL;
8567}
8568
8569
8570static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
8571 PyObject *resultobj;
8572 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8573 wxRect *arg2 = 0 ;
8574 wxRect temp2 ;
8575 PyObject * obj0 = 0 ;
8576 PyObject * obj1 = 0 ;
8577 char *kwnames[] = {
8578 (char *) "self",(char *) "rectBound", NULL
8579 };
8580
8581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
8582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8583 {
8584 arg2 = &temp2;
8585 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
8586 }
8587 {
8588 PyThreadState* __tstate = wxPyBeginAllowThreads();
8589 (arg1)->SetBoundingRect((wxRect const &)*arg2);
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_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
8602 PyObject *resultobj;
8603 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
8604 PyObject * obj0 = 0 ;
8605 char *kwnames[] = {
8606 (char *) "self", NULL
8607 };
8608
8609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8611 {
8612 PyThreadState* __tstate = wxPyBeginAllowThreads();
8613 (arg1)->Close();
8614
8615 wxPyEndAllowThreads(__tstate);
8616 if (PyErr_Occurred()) SWIG_fail;
8617 }
8618 Py_INCREF(Py_None); resultobj = Py_None;
8619 return resultobj;
8620 fail:
8621 return NULL;
8622}
8623
8624
8625static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
8626 PyObject *obj;
8627 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8628 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8629 Py_INCREF(obj);
8630 return Py_BuildValue((char *)"");
8631}
8632static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8633 PyObject *resultobj;
8634 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 8635 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
8636 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8637 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8638 wxSize const &arg4_defvalue = wxDefaultSize ;
8639 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8640 long arg5 = (long) 0 ;
8641 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8642 wxString *arg6 = (wxString *) &arg6_defvalue ;
8643 wxPyVScrolledWindow *result;
8644 wxPoint temp3 ;
8645 wxSize temp4 ;
423f194a 8646 bool temp6 = False ;
d14a1e28 8647 PyObject * obj0 = 0 ;
8edf1c75 8648 PyObject * obj1 = 0 ;
d14a1e28
RD
8649 PyObject * obj2 = 0 ;
8650 PyObject * obj3 = 0 ;
8edf1c75 8651 PyObject * obj4 = 0 ;
d14a1e28
RD
8652 PyObject * obj5 = 0 ;
8653 char *kwnames[] = {
8654 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8655 };
8656
8edf1c75 8657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VScrolledWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 8658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8659 if (obj1) {
8660 {
8661 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8662 if (PyErr_Occurred()) SWIG_fail;
8663 }
8664 }
d14a1e28
RD
8665 if (obj2) {
8666 {
8667 arg3 = &temp3;
8668 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8669 }
8670 }
8671 if (obj3) {
8672 {
8673 arg4 = &temp4;
8674 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8675 }
8676 }
8edf1c75
RD
8677 if (obj4) {
8678 {
8679 arg5 = (long) SWIG_PyObj_AsLong(obj4);
8680 if (PyErr_Occurred()) SWIG_fail;
8681 }
8682 }
d14a1e28
RD
8683 if (obj5) {
8684 {
8685 arg6 = wxString_in_helper(obj5);
8686 if (arg6 == NULL) SWIG_fail;
423f194a 8687 temp6 = True;
d14a1e28
RD
8688 }
8689 }
8690 {
8691 PyThreadState* __tstate = wxPyBeginAllowThreads();
8692 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8693
8694 wxPyEndAllowThreads(__tstate);
8695 if (PyErr_Occurred()) SWIG_fail;
8696 }
8697 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8698 {
8699 if (temp6)
8700 delete arg6;
8701 }
8702 return resultobj;
8703 fail:
8704 {
8705 if (temp6)
8706 delete arg6;
8707 }
8708 return NULL;
8709}
8710
8711
8712static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8713 PyObject *resultobj;
8714 wxPyVScrolledWindow *result;
8715 char *kwnames[] = {
8716 NULL
8717 };
8718
8719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8720 {
8721 PyThreadState* __tstate = wxPyBeginAllowThreads();
8722 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8723
8724 wxPyEndAllowThreads(__tstate);
8725 if (PyErr_Occurred()) SWIG_fail;
8726 }
8727 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8728 return resultobj;
8729 fail:
8730 return NULL;
8731}
8732
8733
8734static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8735 PyObject *resultobj;
8736 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8737 PyObject *arg2 = (PyObject *) 0 ;
8738 PyObject *arg3 = (PyObject *) 0 ;
8739 PyObject * obj0 = 0 ;
8740 PyObject * obj1 = 0 ;
8741 PyObject * obj2 = 0 ;
8742 char *kwnames[] = {
8743 (char *) "self",(char *) "self",(char *) "_class", NULL
8744 };
8745
8746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8748 arg2 = obj1;
8749 arg3 = obj2;
8750 {
8751 PyThreadState* __tstate = wxPyBeginAllowThreads();
8752 (arg1)->_setCallbackInfo(arg2,arg3);
8753
8754 wxPyEndAllowThreads(__tstate);
8755 if (PyErr_Occurred()) SWIG_fail;
8756 }
8757 Py_INCREF(Py_None); resultobj = Py_None;
8758 return resultobj;
8759 fail:
8760 return NULL;
8761}
8762
8763
8764static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8765 PyObject *resultobj;
8766 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8767 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 8768 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
8769 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8770 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8771 wxSize const &arg5_defvalue = wxDefaultSize ;
8772 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8773 long arg6 = (long) 0 ;
8774 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8775 wxString *arg7 = (wxString *) &arg7_defvalue ;
8776 bool result;
8777 wxPoint temp4 ;
8778 wxSize temp5 ;
423f194a 8779 bool temp7 = False ;
d14a1e28
RD
8780 PyObject * obj0 = 0 ;
8781 PyObject * obj1 = 0 ;
8edf1c75 8782 PyObject * obj2 = 0 ;
d14a1e28
RD
8783 PyObject * obj3 = 0 ;
8784 PyObject * obj4 = 0 ;
8edf1c75 8785 PyObject * obj5 = 0 ;
d14a1e28
RD
8786 PyObject * obj6 = 0 ;
8787 char *kwnames[] = {
8788 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8789 };
8790
8edf1c75 8791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
8792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8793 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8794 if (obj2) {
8795 {
8796 arg3 = (int) SWIG_PyObj_AsInt(obj2);
8797 if (PyErr_Occurred()) SWIG_fail;
8798 }
8799 }
d14a1e28
RD
8800 if (obj3) {
8801 {
8802 arg4 = &temp4;
8803 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8804 }
8805 }
8806 if (obj4) {
8807 {
8808 arg5 = &temp5;
8809 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8810 }
8811 }
8edf1c75
RD
8812 if (obj5) {
8813 {
8814 arg6 = (long) SWIG_PyObj_AsLong(obj5);
8815 if (PyErr_Occurred()) SWIG_fail;
8816 }
8817 }
d14a1e28
RD
8818 if (obj6) {
8819 {
8820 arg7 = wxString_in_helper(obj6);
8821 if (arg7 == NULL) SWIG_fail;
423f194a 8822 temp7 = True;
d14a1e28
RD
8823 }
8824 }
8825 {
8826 PyThreadState* __tstate = wxPyBeginAllowThreads();
8827 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8828
8829 wxPyEndAllowThreads(__tstate);
8830 if (PyErr_Occurred()) SWIG_fail;
8831 }
4e760a36 8832 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8833 {
8834 if (temp7)
8835 delete arg7;
8836 }
8837 return resultobj;
8838 fail:
8839 {
8840 if (temp7)
8841 delete arg7;
8842 }
8843 return NULL;
8844}
8845
8846
8847static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8848 PyObject *resultobj;
8849 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8850 size_t arg2 ;
8851 PyObject * obj0 = 0 ;
8852 PyObject * obj1 = 0 ;
8853 char *kwnames[] = {
8854 (char *) "self",(char *) "count", NULL
8855 };
8856
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 8859 {
8edf1c75 8860 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
83448d71
RD
8861 if (PyErr_Occurred()) SWIG_fail;
8862 }
d14a1e28
RD
8863 {
8864 PyThreadState* __tstate = wxPyBeginAllowThreads();
8865 (arg1)->SetLineCount(arg2);
8866
8867 wxPyEndAllowThreads(__tstate);
8868 if (PyErr_Occurred()) SWIG_fail;
8869 }
8870 Py_INCREF(Py_None); resultobj = Py_None;
8871 return resultobj;
8872 fail:
8873 return NULL;
8874}
8875
8876
8877static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8878 PyObject *resultobj;
8879 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8880 size_t arg2 ;
8881 bool result;
8882 PyObject * obj0 = 0 ;
8883 PyObject * obj1 = 0 ;
8884 char *kwnames[] = {
8885 (char *) "self",(char *) "line", NULL
8886 };
8887
8888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 8890 {
8edf1c75 8891 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
83448d71
RD
8892 if (PyErr_Occurred()) SWIG_fail;
8893 }
d14a1e28
RD
8894 {
8895 PyThreadState* __tstate = wxPyBeginAllowThreads();
8896 result = (bool)(arg1)->ScrollToLine(arg2);
8897
8898 wxPyEndAllowThreads(__tstate);
8899 if (PyErr_Occurred()) SWIG_fail;
8900 }
4e760a36 8901 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8902 return resultobj;
8903 fail:
8904 return NULL;
8905}
8906
8907
8908static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8909 PyObject *resultobj;
8910 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8911 int arg2 ;
8912 bool result;
8913 PyObject * obj0 = 0 ;
8edf1c75 8914 PyObject * obj1 = 0 ;
d14a1e28
RD
8915 char *kwnames[] = {
8916 (char *) "self",(char *) "lines", NULL
8917 };
8918
8edf1c75 8919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollLines",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 8920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8921 {
8922 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8923 if (PyErr_Occurred()) SWIG_fail;
8924 }
d14a1e28
RD
8925 {
8926 PyThreadState* __tstate = wxPyBeginAllowThreads();
8927 result = (bool)(arg1)->ScrollLines(arg2);
8928
8929 wxPyEndAllowThreads(__tstate);
8930 if (PyErr_Occurred()) SWIG_fail;
8931 }
4e760a36 8932 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8933 return resultobj;
8934 fail:
8935 return NULL;
8936}
8937
8938
8939static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8940 PyObject *resultobj;
8941 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8942 int arg2 ;
8943 bool result;
8944 PyObject * obj0 = 0 ;
8edf1c75 8945 PyObject * obj1 = 0 ;
d14a1e28
RD
8946 char *kwnames[] = {
8947 (char *) "self",(char *) "pages", NULL
8948 };
8949
8edf1c75 8950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollPages",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 8951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
8952 {
8953 arg2 = (int) SWIG_PyObj_AsInt(obj1);
8954 if (PyErr_Occurred()) SWIG_fail;
8955 }
d14a1e28
RD
8956 {
8957 PyThreadState* __tstate = wxPyBeginAllowThreads();
8958 result = (bool)(arg1)->ScrollPages(arg2);
8959
8960 wxPyEndAllowThreads(__tstate);
8961 if (PyErr_Occurred()) SWIG_fail;
8962 }
4e760a36 8963 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
8964 return resultobj;
8965 fail:
8966 return NULL;
8967}
8968
8969
8970static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8971 PyObject *resultobj;
8972 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8973 size_t arg2 ;
8974 PyObject * obj0 = 0 ;
8975 PyObject * obj1 = 0 ;
8976 char *kwnames[] = {
8977 (char *) "self",(char *) "line", NULL
8978 };
8979
8980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 8982 {
8edf1c75 8983 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
83448d71
RD
8984 if (PyErr_Occurred()) SWIG_fail;
8985 }
d14a1e28
RD
8986 {
8987 PyThreadState* __tstate = wxPyBeginAllowThreads();
8988 (arg1)->RefreshLine(arg2);
8989
8990 wxPyEndAllowThreads(__tstate);
8991 if (PyErr_Occurred()) SWIG_fail;
8992 }
8993 Py_INCREF(Py_None); resultobj = Py_None;
8994 return resultobj;
8995 fail:
8996 return NULL;
8997}
8998
8999
9000static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
9001 PyObject *resultobj;
9002 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9003 size_t arg2 ;
9004 size_t arg3 ;
9005 PyObject * obj0 = 0 ;
9006 PyObject * obj1 = 0 ;
9007 PyObject * obj2 = 0 ;
9008 char *kwnames[] = {
9009 (char *) "self",(char *) "from",(char *) "to", NULL
9010 };
9011
9012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
9013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 9014 {
8edf1c75 9015 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
83448d71
RD
9016 if (PyErr_Occurred()) SWIG_fail;
9017 }
9018 {
8edf1c75 9019 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
83448d71
RD
9020 if (PyErr_Occurred()) SWIG_fail;
9021 }
d14a1e28
RD
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 (arg1)->RefreshLines(arg2,arg3);
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 Py_INCREF(Py_None); resultobj = Py_None;
9030 return resultobj;
9031 fail:
9032 return NULL;
9033}
9034
9035
9036static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
423f194a
RD
9039 int arg2 ;
9040 int arg3 ;
d14a1e28
RD
9041 int result;
9042 PyObject * obj0 = 0 ;
8edf1c75
RD
9043 PyObject * obj1 = 0 ;
9044 PyObject * obj2 = 0 ;
d14a1e28
RD
9045 char *kwnames[] = {
9046 (char *) "self",(char *) "x",(char *) "y", NULL
9047 };
9048
8edf1c75 9049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_HitTestXT",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 9050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9051 {
9052 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 {
9056 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9057 if (PyErr_Occurred()) SWIG_fail;
9058 }
d14a1e28
RD
9059 {
9060 PyThreadState* __tstate = wxPyBeginAllowThreads();
9061 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
9062
9063 wxPyEndAllowThreads(__tstate);
9064 if (PyErr_Occurred()) SWIG_fail;
9065 }
8edf1c75 9066 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9067 return resultobj;
9068 fail:
9069 return NULL;
9070}
9071
9072
9073static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
9074 PyObject *resultobj;
9075 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9076 wxPoint *arg2 = 0 ;
9077 int result;
9078 wxPoint temp2 ;
9079 PyObject * obj0 = 0 ;
9080 PyObject * obj1 = 0 ;
9081 char *kwnames[] = {
9082 (char *) "self",(char *) "pt", NULL
9083 };
9084
9085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
9086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9087 {
9088 arg2 = &temp2;
9089 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9090 }
9091 {
9092 PyThreadState* __tstate = wxPyBeginAllowThreads();
9093 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
9094
9095 wxPyEndAllowThreads(__tstate);
9096 if (PyErr_Occurred()) SWIG_fail;
9097 }
8edf1c75 9098 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9099 return resultobj;
9100 fail:
9101 return NULL;
9102}
9103
9104
9105static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9106 PyObject *resultobj;
9107 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9108 PyObject * obj0 = 0 ;
9109 char *kwnames[] = {
9110 (char *) "self", NULL
9111 };
9112
9113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
9114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9115 {
9116 PyThreadState* __tstate = wxPyBeginAllowThreads();
9117 (arg1)->RefreshAll();
9118
9119 wxPyEndAllowThreads(__tstate);
9120 if (PyErr_Occurred()) SWIG_fail;
9121 }
9122 Py_INCREF(Py_None); resultobj = Py_None;
9123 return resultobj;
9124 fail:
9125 return NULL;
9126}
9127
9128
9129static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9130 PyObject *resultobj;
9131 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9132 size_t result;
9133 PyObject * obj0 = 0 ;
9134 char *kwnames[] = {
9135 (char *) "self", NULL
9136 };
9137
9138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
9139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9140 {
9141 PyThreadState* __tstate = wxPyBeginAllowThreads();
9142 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
9143
9144 wxPyEndAllowThreads(__tstate);
9145 if (PyErr_Occurred()) SWIG_fail;
9146 }
8edf1c75 9147 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9148 return resultobj;
9149 fail:
9150 return NULL;
9151}
9152
9153
9154static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9155 PyObject *resultobj;
9156 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9157 size_t result;
9158 PyObject * obj0 = 0 ;
9159 char *kwnames[] = {
9160 (char *) "self", NULL
9161 };
9162
9163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
9164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9165 {
9166 PyThreadState* __tstate = wxPyBeginAllowThreads();
9167 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
9168
9169 wxPyEndAllowThreads(__tstate);
9170 if (PyErr_Occurred()) SWIG_fail;
9171 }
8edf1c75 9172 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9173 return resultobj;
9174 fail:
9175 return NULL;
9176}
9177
9178
9179static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
9180 PyObject *resultobj;
9181 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9182 size_t result;
9183 PyObject * obj0 = 0 ;
9184 char *kwnames[] = {
9185 (char *) "self", NULL
9186 };
9187
9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
9189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
8edf1c75 9197 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9198 return resultobj;
9199 fail:
9200 return NULL;
9201}
9202
9203
9204static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
9205 PyObject *resultobj;
9206 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
9207 size_t arg2 ;
9208 bool result;
9209 PyObject * obj0 = 0 ;
9210 PyObject * obj1 = 0 ;
9211 char *kwnames[] = {
9212 (char *) "self",(char *) "line", NULL
9213 };
9214
9215 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
9216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 9217 {
8edf1c75 9218 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
83448d71
RD
9219 if (PyErr_Occurred()) SWIG_fail;
9220 }
d14a1e28
RD
9221 {
9222 PyThreadState* __tstate = wxPyBeginAllowThreads();
9223 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
9224
9225 wxPyEndAllowThreads(__tstate);
9226 if (PyErr_Occurred()) SWIG_fail;
9227 }
4e760a36 9228 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9229 return resultobj;
9230 fail:
9231 return NULL;
9232}
9233
9234
9235static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
9236 PyObject *obj;
9237 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9238 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
9239 Py_INCREF(obj);
9240 return Py_BuildValue((char *)"");
9241}
8edf1c75 9242static int _wrap_VListBoxNameStr_set(PyObject *) {
d03fd34d
RD
9243 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
9244 return 1;
9245}
9246
9247
9248static PyObject *_wrap_VListBoxNameStr_get() {
9249 PyObject *pyobj;
9250
9251 {
9252#if wxUSE_UNICODE
9253 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9254#else
9255 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
9256#endif
9257 }
9258 return pyobj;
9259}
9260
9261
d14a1e28
RD
9262static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9263 PyObject *resultobj;
9264 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 9265 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
9266 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9267 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9268 wxSize const &arg4_defvalue = wxDefaultSize ;
9269 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9270 long arg5 = (long) 0 ;
9271 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9272 wxString *arg6 = (wxString *) &arg6_defvalue ;
9273 wxPyVListBox *result;
9274 wxPoint temp3 ;
9275 wxSize temp4 ;
423f194a 9276 bool temp6 = False ;
d14a1e28 9277 PyObject * obj0 = 0 ;
8edf1c75 9278 PyObject * obj1 = 0 ;
d14a1e28
RD
9279 PyObject * obj2 = 0 ;
9280 PyObject * obj3 = 0 ;
8edf1c75 9281 PyObject * obj4 = 0 ;
d14a1e28
RD
9282 PyObject * obj5 = 0 ;
9283 char *kwnames[] = {
9284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9285 };
9286
8edf1c75 9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_VListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 9288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9289 if (obj1) {
9290 {
9291 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9292 if (PyErr_Occurred()) SWIG_fail;
9293 }
9294 }
d14a1e28
RD
9295 if (obj2) {
9296 {
9297 arg3 = &temp3;
9298 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9299 }
9300 }
9301 if (obj3) {
9302 {
9303 arg4 = &temp4;
9304 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9305 }
9306 }
8edf1c75
RD
9307 if (obj4) {
9308 {
9309 arg5 = (long) SWIG_PyObj_AsLong(obj4);
9310 if (PyErr_Occurred()) SWIG_fail;
9311 }
9312 }
d14a1e28
RD
9313 if (obj5) {
9314 {
9315 arg6 = wxString_in_helper(obj5);
9316 if (arg6 == NULL) SWIG_fail;
423f194a 9317 temp6 = True;
d14a1e28
RD
9318 }
9319 }
9320 {
9321 PyThreadState* __tstate = wxPyBeginAllowThreads();
9322 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9323
9324 wxPyEndAllowThreads(__tstate);
9325 if (PyErr_Occurred()) SWIG_fail;
9326 }
9327 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
9328 {
9329 if (temp6)
9330 delete arg6;
9331 }
9332 return resultobj;
9333 fail:
9334 {
9335 if (temp6)
9336 delete arg6;
9337 }
9338 return NULL;
9339}
9340
9341
9342static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9343 PyObject *resultobj;
9344 wxPyVListBox *result;
9345 char *kwnames[] = {
9346 NULL
9347 };
9348
9349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
9350 {
9351 PyThreadState* __tstate = wxPyBeginAllowThreads();
9352 result = (wxPyVListBox *)new wxPyVListBox();
9353
9354 wxPyEndAllowThreads(__tstate);
9355 if (PyErr_Occurred()) SWIG_fail;
9356 }
9357 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
9358 return resultobj;
9359 fail:
9360 return NULL;
9361}
9362
9363
9364static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9365 PyObject *resultobj;
9366 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9367 PyObject *arg2 = (PyObject *) 0 ;
9368 PyObject *arg3 = (PyObject *) 0 ;
9369 PyObject * obj0 = 0 ;
9370 PyObject * obj1 = 0 ;
9371 PyObject * obj2 = 0 ;
9372 char *kwnames[] = {
9373 (char *) "self",(char *) "self",(char *) "_class", NULL
9374 };
9375
9376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9378 arg2 = obj1;
9379 arg3 = obj2;
9380 {
9381 PyThreadState* __tstate = wxPyBeginAllowThreads();
9382 (arg1)->_setCallbackInfo(arg2,arg3);
9383
9384 wxPyEndAllowThreads(__tstate);
9385 if (PyErr_Occurred()) SWIG_fail;
9386 }
9387 Py_INCREF(Py_None); resultobj = Py_None;
9388 return resultobj;
9389 fail:
9390 return NULL;
9391}
9392
9393
9394static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9395 PyObject *resultobj;
9396 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9397 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 9398 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
9399 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9400 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9401 wxSize const &arg5_defvalue = wxDefaultSize ;
9402 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9403 long arg6 = (long) 0 ;
9404 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9405 wxString *arg7 = (wxString *) &arg7_defvalue ;
9406 bool result;
9407 wxPoint temp4 ;
9408 wxSize temp5 ;
423f194a 9409 bool temp7 = False ;
d14a1e28
RD
9410 PyObject * obj0 = 0 ;
9411 PyObject * obj1 = 0 ;
8edf1c75 9412 PyObject * obj2 = 0 ;
d14a1e28
RD
9413 PyObject * obj3 = 0 ;
9414 PyObject * obj4 = 0 ;
8edf1c75 9415 PyObject * obj5 = 0 ;
d14a1e28
RD
9416 PyObject * obj6 = 0 ;
9417 char *kwnames[] = {
9418 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9419 };
9420
8edf1c75 9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:VListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
9422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9424 if (obj2) {
9425 {
9426 arg3 = (int) SWIG_PyObj_AsInt(obj2);
9427 if (PyErr_Occurred()) SWIG_fail;
9428 }
9429 }
d14a1e28
RD
9430 if (obj3) {
9431 {
9432 arg4 = &temp4;
9433 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9434 }
9435 }
9436 if (obj4) {
9437 {
9438 arg5 = &temp5;
9439 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9440 }
9441 }
8edf1c75
RD
9442 if (obj5) {
9443 {
9444 arg6 = (long) SWIG_PyObj_AsLong(obj5);
9445 if (PyErr_Occurred()) SWIG_fail;
9446 }
9447 }
d14a1e28
RD
9448 if (obj6) {
9449 {
9450 arg7 = wxString_in_helper(obj6);
9451 if (arg7 == NULL) SWIG_fail;
423f194a 9452 temp7 = True;
d14a1e28
RD
9453 }
9454 }
9455 {
9456 PyThreadState* __tstate = wxPyBeginAllowThreads();
9457 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9458
9459 wxPyEndAllowThreads(__tstate);
9460 if (PyErr_Occurred()) SWIG_fail;
9461 }
4e760a36 9462 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9463 {
9464 if (temp7)
9465 delete arg7;
9466 }
9467 return resultobj;
9468 fail:
9469 {
9470 if (temp7)
9471 delete arg7;
9472 }
9473 return NULL;
9474}
9475
9476
9477static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9478 PyObject *resultobj;
9479 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9480 size_t result;
9481 PyObject * obj0 = 0 ;
9482 char *kwnames[] = {
9483 (char *) "self", NULL
9484 };
9485
9486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
9487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9488 {
9489 PyThreadState* __tstate = wxPyBeginAllowThreads();
9490 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
9491
9492 wxPyEndAllowThreads(__tstate);
9493 if (PyErr_Occurred()) SWIG_fail;
9494 }
8edf1c75 9495 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9496 return resultobj;
9497 fail:
9498 return NULL;
9499}
9500
9501
9502static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9503 PyObject *resultobj;
9504 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9505 bool result;
9506 PyObject * obj0 = 0 ;
9507 char *kwnames[] = {
9508 (char *) "self", NULL
9509 };
9510
9511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
9512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9513 {
9514 PyThreadState* __tstate = wxPyBeginAllowThreads();
9515 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
9516
9517 wxPyEndAllowThreads(__tstate);
9518 if (PyErr_Occurred()) SWIG_fail;
9519 }
4e760a36 9520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9521 return resultobj;
9522 fail:
9523 return NULL;
9524}
9525
9526
9527static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9528 PyObject *resultobj;
9529 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9530 int result;
9531 PyObject * obj0 = 0 ;
9532 char *kwnames[] = {
9533 (char *) "self", NULL
9534 };
9535
9536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
9537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9538 {
9539 PyThreadState* __tstate = wxPyBeginAllowThreads();
9540 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
9541
9542 wxPyEndAllowThreads(__tstate);
9543 if (PyErr_Occurred()) SWIG_fail;
9544 }
8edf1c75 9545 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9546 return resultobj;
9547 fail:
9548 return NULL;
9549}
9550
9551
9552static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
9553 PyObject *resultobj;
9554 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9555 size_t arg2 ;
9556 bool result;
9557 PyObject * obj0 = 0 ;
9558 PyObject * obj1 = 0 ;
9559 char *kwnames[] = {
9560 (char *) "self",(char *) "item", NULL
9561 };
9562
9563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
9564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 9565 {
8edf1c75 9566 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
83448d71
RD
9567 if (PyErr_Occurred()) SWIG_fail;
9568 }
d14a1e28
RD
9569 {
9570 PyThreadState* __tstate = wxPyBeginAllowThreads();
9571 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
9572
9573 wxPyEndAllowThreads(__tstate);
9574 if (PyErr_Occurred()) SWIG_fail;
9575 }
4e760a36 9576 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9577 return resultobj;
9578 fail:
9579 return NULL;
9580}
9581
9582
9583static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9584 PyObject *resultobj;
9585 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9586 size_t arg2 ;
9587 bool result;
9588 PyObject * obj0 = 0 ;
9589 PyObject * obj1 = 0 ;
9590 char *kwnames[] = {
9591 (char *) "self",(char *) "item", NULL
9592 };
9593
9594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
9595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 9596 {
8edf1c75 9597 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
83448d71
RD
9598 if (PyErr_Occurred()) SWIG_fail;
9599 }
d14a1e28
RD
9600 {
9601 PyThreadState* __tstate = wxPyBeginAllowThreads();
9602 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
9603
9604 wxPyEndAllowThreads(__tstate);
9605 if (PyErr_Occurred()) SWIG_fail;
9606 }
4e760a36 9607 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9608 return resultobj;
9609 fail:
9610 return NULL;
9611}
9612
9613
9614static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9615 PyObject *resultobj;
9616 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9617 size_t result;
9618 PyObject * obj0 = 0 ;
9619 char *kwnames[] = {
9620 (char *) "self", NULL
9621 };
9622
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
9624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9625 {
9626 PyThreadState* __tstate = wxPyBeginAllowThreads();
9627 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
9628
9629 wxPyEndAllowThreads(__tstate);
9630 if (PyErr_Occurred()) SWIG_fail;
9631 }
8edf1c75 9632 resultobj = SWIG_PyObj_FromUnsignedLong((unsigned long)result);
d14a1e28
RD
9633 return resultobj;
9634 fail:
9635 return NULL;
9636}
9637
9638
9639static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9640 PyObject *resultobj;
9641 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9642 unsigned long *arg2 = 0 ;
9643 int result;
9644 PyObject * obj0 = 0 ;
9645 PyObject * obj1 = 0 ;
9646 char *kwnames[] = {
9647 (char *) "self",(char *) "cookie", NULL
9648 };
9649
9650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
9651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9652 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9653 if (arg2 == NULL) {
9654 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9655 }
9656 {
9657 PyThreadState* __tstate = wxPyBeginAllowThreads();
9658 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
9659
9660 wxPyEndAllowThreads(__tstate);
9661 if (PyErr_Occurred()) SWIG_fail;
9662 }
8edf1c75 9663 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9664 return resultobj;
9665 fail:
9666 return NULL;
9667}
9668
9669
9670static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
9671 PyObject *resultobj;
9672 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9673 unsigned long *arg2 = 0 ;
9674 int result;
9675 PyObject * obj0 = 0 ;
9676 PyObject * obj1 = 0 ;
9677 char *kwnames[] = {
9678 (char *) "self",(char *) "cookie", NULL
9679 };
9680
9681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
9682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9683 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9684 if (arg2 == NULL) {
9685 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9686 }
9687 {
9688 PyThreadState* __tstate = wxPyBeginAllowThreads();
9689 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
9690
9691 wxPyEndAllowThreads(__tstate);
9692 if (PyErr_Occurred()) SWIG_fail;
9693 }
8edf1c75 9694 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
9695 return resultobj;
9696 fail:
9697 return NULL;
9698}
9699
9700
9701static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9702 PyObject *resultobj;
9703 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9704 wxPoint result;
9705 PyObject * obj0 = 0 ;
9706 char *kwnames[] = {
9707 (char *) "self", NULL
9708 };
9709
9710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
9711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 result = ((wxPyVListBox const *)arg1)->GetMargins();
9715
9716 wxPyEndAllowThreads(__tstate);
9717 if (PyErr_Occurred()) SWIG_fail;
9718 }
9719 {
9720 wxPoint * resultptr;
9721 resultptr = new wxPoint((wxPoint &) result);
9722 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9723 }
9724 return resultobj;
9725 fail:
9726 return NULL;
9727}
9728
9729
9730static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9731 PyObject *resultobj;
9732 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9733 wxColour *result;
9734 PyObject * obj0 = 0 ;
9735 char *kwnames[] = {
9736 (char *) "self", NULL
9737 };
9738
9739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9741 {
9742 PyThreadState* __tstate = wxPyBeginAllowThreads();
9743 {
9744 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9745 result = (wxColour *) &_result_ref;
9746 }
9747
9748 wxPyEndAllowThreads(__tstate);
9749 if (PyErr_Occurred()) SWIG_fail;
9750 }
9751 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
9752 return resultobj;
9753 fail:
9754 return NULL;
9755}
9756
9757
9758static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9759 PyObject *resultobj;
9760 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9761 size_t arg2 ;
9762 PyObject * obj0 = 0 ;
9763 PyObject * obj1 = 0 ;
9764 char *kwnames[] = {
9765 (char *) "self",(char *) "count", NULL
9766 };
9767
9768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 9770 {
8edf1c75 9771 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
83448d71
RD
9772 if (PyErr_Occurred()) SWIG_fail;
9773 }
d14a1e28
RD
9774 {
9775 PyThreadState* __tstate = wxPyBeginAllowThreads();
9776 (arg1)->SetItemCount(arg2);
9777
9778 wxPyEndAllowThreads(__tstate);
9779 if (PyErr_Occurred()) SWIG_fail;
9780 }
9781 Py_INCREF(Py_None); resultobj = Py_None;
9782 return resultobj;
9783 fail:
9784 return NULL;
9785}
9786
9787
9788static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9789 PyObject *resultobj;
9790 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9791 PyObject * obj0 = 0 ;
9792 char *kwnames[] = {
9793 (char *) "self", NULL
9794 };
9795
9796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9798 {
9799 PyThreadState* __tstate = wxPyBeginAllowThreads();
9800 (arg1)->Clear();
9801
9802 wxPyEndAllowThreads(__tstate);
9803 if (PyErr_Occurred()) SWIG_fail;
9804 }
9805 Py_INCREF(Py_None); resultobj = Py_None;
9806 return resultobj;
9807 fail:
9808 return NULL;
9809}
9810
9811
9812static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9813 PyObject *resultobj;
9814 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9815 int arg2 ;
9816 PyObject * obj0 = 0 ;
8edf1c75 9817 PyObject * obj1 = 0 ;
d14a1e28
RD
9818 char *kwnames[] = {
9819 (char *) "self",(char *) "selection", NULL
9820 };
9821
8edf1c75 9822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelection",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 9823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
9824 {
9825 arg2 = (int) SWIG_PyObj_AsInt(obj1);
9826 if (PyErr_Occurred()) SWIG_fail;
9827 }
d14a1e28
RD
9828 {
9829 PyThreadState* __tstate = wxPyBeginAllowThreads();
9830 (arg1)->SetSelection(arg2);
9831
9832 wxPyEndAllowThreads(__tstate);
9833 if (PyErr_Occurred()) SWIG_fail;
9834 }
9835 Py_INCREF(Py_None); resultobj = Py_None;
9836 return resultobj;
9837 fail:
9838 return NULL;
9839}
9840
9841
9842static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9843 PyObject *resultobj;
9844 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9845 size_t arg2 ;
423f194a 9846 bool arg3 = (bool) True ;
d14a1e28
RD
9847 bool result;
9848 PyObject * obj0 = 0 ;
9849 PyObject * obj1 = 0 ;
9850 PyObject * obj2 = 0 ;
9851 char *kwnames[] = {
9852 (char *) "self",(char *) "item",(char *) "select", NULL
9853 };
9854
9855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 9857 {
8edf1c75 9858 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
d14a1e28
RD
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
83448d71
RD
9861 if (obj2) {
9862 {
8edf1c75 9863 arg3 = (bool) SWIG_PyObj_AsBool(obj2);
83448d71
RD
9864 if (PyErr_Occurred()) SWIG_fail;
9865 }
9866 }
d14a1e28
RD
9867 {
9868 PyThreadState* __tstate = wxPyBeginAllowThreads();
9869 result = (bool)(arg1)->Select(arg2,arg3);
9870
9871 wxPyEndAllowThreads(__tstate);
9872 if (PyErr_Occurred()) SWIG_fail;
9873 }
4e760a36 9874 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9875 return resultobj;
9876 fail:
9877 return NULL;
9878}
9879
9880
9881static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9882 PyObject *resultobj;
9883 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9884 size_t arg2 ;
9885 size_t arg3 ;
9886 bool result;
9887 PyObject * obj0 = 0 ;
9888 PyObject * obj1 = 0 ;
9889 PyObject * obj2 = 0 ;
9890 char *kwnames[] = {
9891 (char *) "self",(char *) "from",(char *) "to", NULL
9892 };
9893
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 9896 {
8edf1c75 9897 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
83448d71
RD
9898 if (PyErr_Occurred()) SWIG_fail;
9899 }
9900 {
8edf1c75 9901 arg3 = (size_t) SWIG_PyObj_AsUnsignedLong(obj2);
83448d71
RD
9902 if (PyErr_Occurred()) SWIG_fail;
9903 }
d14a1e28
RD
9904 {
9905 PyThreadState* __tstate = wxPyBeginAllowThreads();
9906 result = (bool)(arg1)->SelectRange(arg2,arg3);
9907
9908 wxPyEndAllowThreads(__tstate);
9909 if (PyErr_Occurred()) SWIG_fail;
9910 }
4e760a36 9911 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9912 return resultobj;
9913 fail:
9914 return NULL;
9915}
9916
9917
9918static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9919 PyObject *resultobj;
9920 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9921 size_t arg2 ;
9922 PyObject * obj0 = 0 ;
9923 PyObject * obj1 = 0 ;
9924 char *kwnames[] = {
9925 (char *) "self",(char *) "item", NULL
9926 };
9927
9928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 9930 {
8edf1c75 9931 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
83448d71
RD
9932 if (PyErr_Occurred()) SWIG_fail;
9933 }
d14a1e28
RD
9934 {
9935 PyThreadState* __tstate = wxPyBeginAllowThreads();
9936 (arg1)->Toggle(arg2);
9937
9938 wxPyEndAllowThreads(__tstate);
9939 if (PyErr_Occurred()) SWIG_fail;
9940 }
9941 Py_INCREF(Py_None); resultobj = Py_None;
9942 return resultobj;
9943 fail:
9944 return NULL;
9945}
9946
9947
9948static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9949 PyObject *resultobj;
9950 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9951 bool result;
9952 PyObject * obj0 = 0 ;
9953 char *kwnames[] = {
9954 (char *) "self", NULL
9955 };
9956
9957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9959 {
9960 PyThreadState* __tstate = wxPyBeginAllowThreads();
9961 result = (bool)(arg1)->SelectAll();
9962
9963 wxPyEndAllowThreads(__tstate);
9964 if (PyErr_Occurred()) SWIG_fail;
9965 }
4e760a36 9966 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9967 return resultobj;
9968 fail:
9969 return NULL;
9970}
9971
9972
9973static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9974 PyObject *resultobj;
9975 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9976 bool result;
9977 PyObject * obj0 = 0 ;
9978 char *kwnames[] = {
9979 (char *) "self", NULL
9980 };
9981
9982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9984 {
9985 PyThreadState* __tstate = wxPyBeginAllowThreads();
9986 result = (bool)(arg1)->DeselectAll();
9987
9988 wxPyEndAllowThreads(__tstate);
9989 if (PyErr_Occurred()) SWIG_fail;
9990 }
4e760a36 9991 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
9992 return resultobj;
9993 fail:
9994 return NULL;
9995}
9996
9997
9998static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9999 PyObject *resultobj;
10000 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10001 wxPoint *arg2 = 0 ;
10002 wxPoint temp2 ;
10003 PyObject * obj0 = 0 ;
10004 PyObject * obj1 = 0 ;
10005 char *kwnames[] = {
10006 (char *) "self",(char *) "pt", NULL
10007 };
10008
10009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
10010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10011 {
10012 arg2 = &temp2;
10013 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
10014 }
10015 {
10016 PyThreadState* __tstate = wxPyBeginAllowThreads();
10017 (arg1)->SetMargins((wxPoint const &)*arg2);
10018
10019 wxPyEndAllowThreads(__tstate);
10020 if (PyErr_Occurred()) SWIG_fail;
10021 }
10022 Py_INCREF(Py_None); resultobj = Py_None;
10023 return resultobj;
10024 fail:
10025 return NULL;
10026}
10027
10028
10029static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
10030 PyObject *resultobj;
10031 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
423f194a
RD
10032 int arg2 ;
10033 int arg3 ;
d14a1e28 10034 PyObject * obj0 = 0 ;
8edf1c75
RD
10035 PyObject * obj1 = 0 ;
10036 PyObject * obj2 = 0 ;
d14a1e28
RD
10037 char *kwnames[] = {
10038 (char *) "self",(char *) "x",(char *) "y", NULL
10039 };
10040
8edf1c75 10041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SetMarginsXY",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 10042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10043 {
10044 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10045 if (PyErr_Occurred()) SWIG_fail;
10046 }
10047 {
10048 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10049 if (PyErr_Occurred()) SWIG_fail;
10050 }
d14a1e28
RD
10051 {
10052 PyThreadState* __tstate = wxPyBeginAllowThreads();
10053 (arg1)->SetMargins(arg2,arg3);
10054
10055 wxPyEndAllowThreads(__tstate);
10056 if (PyErr_Occurred()) SWIG_fail;
10057 }
10058 Py_INCREF(Py_None); resultobj = Py_None;
10059 return resultobj;
10060 fail:
10061 return NULL;
10062}
10063
10064
10065static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
10066 PyObject *resultobj;
10067 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
10068 wxColour *arg2 = 0 ;
10069 wxColour temp2 ;
10070 PyObject * obj0 = 0 ;
10071 PyObject * obj1 = 0 ;
10072 char *kwnames[] = {
10073 (char *) "self",(char *) "col", NULL
10074 };
10075
10076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
10077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10078 {
10079 arg2 = &temp2;
10080 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10081 }
10082 {
10083 PyThreadState* __tstate = wxPyBeginAllowThreads();
10084 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
10085
10086 wxPyEndAllowThreads(__tstate);
10087 if (PyErr_Occurred()) SWIG_fail;
10088 }
10089 Py_INCREF(Py_None); resultobj = Py_None;
10090 return resultobj;
10091 fail:
10092 return NULL;
10093}
10094
10095
10096static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
10097 PyObject *obj;
10098 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10099 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
10100 Py_INCREF(obj);
10101 return Py_BuildValue((char *)"");
10102}
10103static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10104 PyObject *resultobj;
10105 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 10106 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
10107 wxPoint const &arg3_defvalue = wxDefaultPosition ;
10108 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
10109 wxSize const &arg4_defvalue = wxDefaultSize ;
10110 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
10111 long arg5 = (long) 0 ;
10112 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
10113 wxString *arg6 = (wxString *) &arg6_defvalue ;
10114 wxPyHtmlListBox *result;
10115 wxPoint temp3 ;
10116 wxSize temp4 ;
423f194a 10117 bool temp6 = False ;
d14a1e28 10118 PyObject * obj0 = 0 ;
8edf1c75 10119 PyObject * obj1 = 0 ;
d14a1e28
RD
10120 PyObject * obj2 = 0 ;
10121 PyObject * obj3 = 0 ;
8edf1c75 10122 PyObject * obj4 = 0 ;
d14a1e28
RD
10123 PyObject * obj5 = 0 ;
10124 char *kwnames[] = {
10125 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10126 };
10127
8edf1c75 10128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOO:new_HtmlListBox",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 10129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10130 if (obj1) {
10131 {
10132 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10133 if (PyErr_Occurred()) SWIG_fail;
10134 }
10135 }
d14a1e28
RD
10136 if (obj2) {
10137 {
10138 arg3 = &temp3;
10139 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
10140 }
10141 }
10142 if (obj3) {
10143 {
10144 arg4 = &temp4;
10145 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
10146 }
10147 }
8edf1c75
RD
10148 if (obj4) {
10149 {
10150 arg5 = (long) SWIG_PyObj_AsLong(obj4);
10151 if (PyErr_Occurred()) SWIG_fail;
10152 }
10153 }
d14a1e28
RD
10154 if (obj5) {
10155 {
10156 arg6 = wxString_in_helper(obj5);
10157 if (arg6 == NULL) SWIG_fail;
423f194a 10158 temp6 = True;
d14a1e28
RD
10159 }
10160 }
10161 {
10162 PyThreadState* __tstate = wxPyBeginAllowThreads();
10163 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
10164
10165 wxPyEndAllowThreads(__tstate);
10166 if (PyErr_Occurred()) SWIG_fail;
10167 }
10168 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
10169 {
10170 if (temp6)
10171 delete arg6;
10172 }
10173 return resultobj;
10174 fail:
10175 {
10176 if (temp6)
10177 delete arg6;
10178 }
10179 return NULL;
10180}
10181
10182
10183static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
10184 PyObject *resultobj;
10185 wxPyHtmlListBox *result;
10186 char *kwnames[] = {
10187 NULL
10188 };
10189
10190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
10191 {
10192 PyThreadState* __tstate = wxPyBeginAllowThreads();
10193 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
10194
10195 wxPyEndAllowThreads(__tstate);
10196 if (PyErr_Occurred()) SWIG_fail;
10197 }
10198 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
10199 return resultobj;
10200 fail:
10201 return NULL;
10202}
10203
10204
10205static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
10206 PyObject *resultobj;
10207 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10208 PyObject *arg2 = (PyObject *) 0 ;
10209 PyObject *arg3 = (PyObject *) 0 ;
10210 PyObject * obj0 = 0 ;
10211 PyObject * obj1 = 0 ;
10212 PyObject * obj2 = 0 ;
10213 char *kwnames[] = {
10214 (char *) "self",(char *) "self",(char *) "_class", NULL
10215 };
10216
10217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
10218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10219 arg2 = obj1;
10220 arg3 = obj2;
10221 {
10222 PyThreadState* __tstate = wxPyBeginAllowThreads();
10223 (arg1)->_setCallbackInfo(arg2,arg3);
10224
10225 wxPyEndAllowThreads(__tstate);
10226 if (PyErr_Occurred()) SWIG_fail;
10227 }
10228 Py_INCREF(Py_None); resultobj = Py_None;
10229 return resultobj;
10230 fail:
10231 return NULL;
10232}
10233
10234
10235static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
10236 PyObject *resultobj;
10237 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10238 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 10239 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
10240 wxPoint const &arg4_defvalue = wxDefaultPosition ;
10241 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
10242 wxSize const &arg5_defvalue = wxDefaultSize ;
10243 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
10244 long arg6 = (long) 0 ;
10245 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
10246 wxString *arg7 = (wxString *) &arg7_defvalue ;
10247 bool result;
10248 wxPoint temp4 ;
10249 wxSize temp5 ;
423f194a 10250 bool temp7 = False ;
d14a1e28
RD
10251 PyObject * obj0 = 0 ;
10252 PyObject * obj1 = 0 ;
8edf1c75 10253 PyObject * obj2 = 0 ;
d14a1e28
RD
10254 PyObject * obj3 = 0 ;
10255 PyObject * obj4 = 0 ;
8edf1c75 10256 PyObject * obj5 = 0 ;
d14a1e28
RD
10257 PyObject * obj6 = 0 ;
10258 char *kwnames[] = {
10259 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10260 };
10261
8edf1c75 10262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
10263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10265 if (obj2) {
10266 {
10267 arg3 = (int) SWIG_PyObj_AsInt(obj2);
10268 if (PyErr_Occurred()) SWIG_fail;
10269 }
10270 }
d14a1e28
RD
10271 if (obj3) {
10272 {
10273 arg4 = &temp4;
10274 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
10275 }
10276 }
10277 if (obj4) {
10278 {
10279 arg5 = &temp5;
10280 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
10281 }
10282 }
8edf1c75
RD
10283 if (obj5) {
10284 {
10285 arg6 = (long) SWIG_PyObj_AsLong(obj5);
10286 if (PyErr_Occurred()) SWIG_fail;
10287 }
10288 }
d14a1e28
RD
10289 if (obj6) {
10290 {
10291 arg7 = wxString_in_helper(obj6);
10292 if (arg7 == NULL) SWIG_fail;
423f194a 10293 temp7 = True;
d14a1e28
RD
10294 }
10295 }
10296 {
10297 PyThreadState* __tstate = wxPyBeginAllowThreads();
10298 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
10299
10300 wxPyEndAllowThreads(__tstate);
10301 if (PyErr_Occurred()) SWIG_fail;
10302 }
4e760a36 10303 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10304 {
10305 if (temp7)
10306 delete arg7;
10307 }
10308 return resultobj;
10309 fail:
10310 {
10311 if (temp7)
10312 delete arg7;
10313 }
10314 return NULL;
10315}
10316
10317
10318static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
10319 PyObject *resultobj;
10320 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10321 PyObject * obj0 = 0 ;
10322 char *kwnames[] = {
10323 (char *) "self", NULL
10324 };
10325
10326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
10327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10328 {
10329 PyThreadState* __tstate = wxPyBeginAllowThreads();
10330 (arg1)->RefreshAll();
10331
10332 wxPyEndAllowThreads(__tstate);
10333 if (PyErr_Occurred()) SWIG_fail;
10334 }
10335 Py_INCREF(Py_None); resultobj = Py_None;
10336 return resultobj;
10337 fail:
10338 return NULL;
10339}
10340
10341
10342static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
10343 PyObject *resultobj;
10344 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
10345 size_t arg2 ;
10346 PyObject * obj0 = 0 ;
10347 PyObject * obj1 = 0 ;
10348 char *kwnames[] = {
10349 (char *) "self",(char *) "count", NULL
10350 };
10351
10352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
10353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 10354 {
8edf1c75 10355 arg2 = (size_t) SWIG_PyObj_AsUnsignedLong(obj1);
83448d71
RD
10356 if (PyErr_Occurred()) SWIG_fail;
10357 }
d14a1e28
RD
10358 {
10359 PyThreadState* __tstate = wxPyBeginAllowThreads();
10360 (arg1)->SetItemCount(arg2);
10361
10362 wxPyEndAllowThreads(__tstate);
10363 if (PyErr_Occurred()) SWIG_fail;
10364 }
10365 Py_INCREF(Py_None); resultobj = Py_None;
10366 return resultobj;
10367 fail:
10368 return NULL;
10369}
10370
10371
10372static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
10373 PyObject *obj;
10374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10375 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
10376 Py_INCREF(obj);
10377 return Py_BuildValue((char *)"");
10378}
10379static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10380 PyObject *resultobj;
10381 wxTaskBarIcon *result;
10382 char *kwnames[] = {
10383 NULL
10384 };
10385
10386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
10387 {
10388 PyThreadState* __tstate = wxPyBeginAllowThreads();
10389 result = (wxTaskBarIcon *)new wxTaskBarIcon();
10390
10391 wxPyEndAllowThreads(__tstate);
10392 if (PyErr_Occurred()) SWIG_fail;
10393 }
10394 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
10395 return resultobj;
10396 fail:
10397 return NULL;
10398}
10399
10400
10401static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10402 PyObject *resultobj;
10403 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10404 PyObject * obj0 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
10410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 delete arg1;
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 Py_INCREF(Py_None); resultobj = Py_None;
10419 return resultobj;
10420 fail:
10421 return NULL;
10422}
10423
10424
10425static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj;
10427 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10428 bool result;
10429 PyObject * obj0 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "self", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
10435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
10438 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
10439
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
4e760a36 10443 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10444 return resultobj;
10445 fail:
10446 return NULL;
10447}
10448
10449
10450static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj;
10452 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10453 bool result;
10454 PyObject * obj0 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "self", NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
10460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
10464
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
4e760a36 10468 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10469 return resultobj;
10470 fail:
10471 return NULL;
10472}
10473
10474
10475static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10476 PyObject *resultobj;
10477 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10478 wxIcon *arg2 = 0 ;
10479 wxString const &arg3_defvalue = wxPyEmptyString ;
10480 wxString *arg3 = (wxString *) &arg3_defvalue ;
10481 bool result;
423f194a 10482 bool temp3 = False ;
d14a1e28
RD
10483 PyObject * obj0 = 0 ;
10484 PyObject * obj1 = 0 ;
10485 PyObject * obj2 = 0 ;
10486 char *kwnames[] = {
10487 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
10488 };
10489
10490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
10491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10493 if (arg2 == NULL) {
10494 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
10495 }
10496 if (obj2) {
10497 {
10498 arg3 = wxString_in_helper(obj2);
10499 if (arg3 == NULL) SWIG_fail;
423f194a 10500 temp3 = True;
d14a1e28
RD
10501 }
10502 }
10503 {
10504 PyThreadState* __tstate = wxPyBeginAllowThreads();
10505 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
10506
10507 wxPyEndAllowThreads(__tstate);
10508 if (PyErr_Occurred()) SWIG_fail;
10509 }
4e760a36 10510 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10511 {
10512 if (temp3)
10513 delete arg3;
10514 }
10515 return resultobj;
10516 fail:
10517 {
10518 if (temp3)
10519 delete arg3;
10520 }
10521 return NULL;
10522}
10523
10524
10525static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
10526 PyObject *resultobj;
10527 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10528 bool result;
10529 PyObject * obj0 = 0 ;
10530 char *kwnames[] = {
10531 (char *) "self", NULL
10532 };
10533
10534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
10535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10536 {
10537 PyThreadState* __tstate = wxPyBeginAllowThreads();
10538 result = (bool)(arg1)->RemoveIcon();
10539
10540 wxPyEndAllowThreads(__tstate);
10541 if (PyErr_Occurred()) SWIG_fail;
10542 }
4e760a36 10543 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10544 return resultobj;
10545 fail:
10546 return NULL;
10547}
10548
10549
10550static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj;
10552 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
10553 wxMenu *arg2 = (wxMenu *) 0 ;
10554 bool result;
10555 PyObject * obj0 = 0 ;
10556 PyObject * obj1 = 0 ;
10557 char *kwnames[] = {
10558 (char *) "self",(char *) "menu", NULL
10559 };
10560
10561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
10562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10564 {
10565 PyThreadState* __tstate = wxPyBeginAllowThreads();
10566 result = (bool)(arg1)->PopupMenu(arg2);
10567
10568 wxPyEndAllowThreads(__tstate);
10569 if (PyErr_Occurred()) SWIG_fail;
10570 }
4e760a36 10571 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10572 return resultobj;
10573 fail:
10574 return NULL;
10575}
10576
10577
10578static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
10579 PyObject *obj;
10580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10581 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
10582 Py_INCREF(obj);
10583 return Py_BuildValue((char *)"");
10584}
10585static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
10586 PyObject *resultobj;
10587 wxEventType arg1 ;
10588 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
10589 wxTaskBarIconEvent *result;
8edf1c75 10590 PyObject * obj0 = 0 ;
d14a1e28
RD
10591 PyObject * obj1 = 0 ;
10592 char *kwnames[] = {
10593 (char *) "evtType",(char *) "tbIcon", NULL
10594 };
10595
8edf1c75
RD
10596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_TaskBarIconEvent",kwnames,&obj0,&obj1)) goto fail;
10597 {
10598 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
10599 if (PyErr_Occurred()) SWIG_fail;
10600 }
d14a1e28
RD
10601 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10602 {
10603 PyThreadState* __tstate = wxPyBeginAllowThreads();
10604 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
10605
10606 wxPyEndAllowThreads(__tstate);
10607 if (PyErr_Occurred()) SWIG_fail;
10608 }
10609 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
10610 return resultobj;
10611 fail:
10612 return NULL;
10613}
10614
10615
10616static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
10617 PyObject *obj;
10618 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10619 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
10620 Py_INCREF(obj);
10621 return Py_BuildValue((char *)"");
10622}
8edf1c75 10623static int _wrap_FileSelectorPromptStr_set(PyObject *) {
d03fd34d
RD
10624 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
10625 return 1;
10626}
10627
10628
10629static PyObject *_wrap_FileSelectorPromptStr_get() {
10630 PyObject *pyobj;
10631
10632 {
10633#if wxUSE_UNICODE
10634 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10635#else
10636 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
10637#endif
10638 }
10639 return pyobj;
10640}
10641
10642
8edf1c75 10643static int _wrap_DirSelectorPromptStr_set(PyObject *) {
d03fd34d
RD
10644 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
10645 return 1;
10646}
10647
10648
10649static PyObject *_wrap_DirSelectorPromptStr_get() {
10650 PyObject *pyobj;
10651
10652 {
10653#if wxUSE_UNICODE
10654 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10655#else
10656 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
10657#endif
10658 }
10659 return pyobj;
10660}
10661
10662
8edf1c75 10663static int _wrap_DirDialogNameStr_set(PyObject *) {
d03fd34d
RD
10664 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
10665 return 1;
10666}
10667
10668
10669static PyObject *_wrap_DirDialogNameStr_get() {
10670 PyObject *pyobj;
10671
10672 {
10673#if wxUSE_UNICODE
10674 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10675#else
10676 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
10677#endif
10678 }
10679 return pyobj;
10680}
10681
10682
8edf1c75 10683static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *) {
d03fd34d
RD
10684 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
10685 return 1;
10686}
10687
10688
10689static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
10690 PyObject *pyobj;
10691
10692 {
10693#if wxUSE_UNICODE
10694 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10695#else
10696 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
10697#endif
10698 }
10699 return pyobj;
10700}
10701
10702
8edf1c75 10703static int _wrap_GetTextFromUserPromptStr_set(PyObject *) {
d03fd34d
RD
10704 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
10705 return 1;
10706}
10707
10708
10709static PyObject *_wrap_GetTextFromUserPromptStr_get() {
10710 PyObject *pyobj;
10711
10712 {
10713#if wxUSE_UNICODE
10714 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10715#else
10716 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
10717#endif
10718 }
10719 return pyobj;
10720}
10721
10722
8edf1c75 10723static int _wrap_MessageBoxCaptionStr_set(PyObject *) {
d03fd34d
RD
10724 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
10725 return 1;
10726}
10727
10728
10729static PyObject *_wrap_MessageBoxCaptionStr_get() {
10730 PyObject *pyobj;
10731
10732 {
10733#if wxUSE_UNICODE
10734 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10735#else
10736 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
10737#endif
10738 }
10739 return pyobj;
10740}
10741
10742
d14a1e28
RD
10743static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10744 PyObject *resultobj;
10745 wxColourData *result;
10746 char *kwnames[] = {
10747 NULL
10748 };
10749
10750 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
10751 {
10752 PyThreadState* __tstate = wxPyBeginAllowThreads();
10753 result = (wxColourData *)new wxColourData();
10754
10755 wxPyEndAllowThreads(__tstate);
10756 if (PyErr_Occurred()) SWIG_fail;
10757 }
10758 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
10759 return resultobj;
10760 fail:
10761 return NULL;
10762}
10763
10764
10765static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10766 PyObject *resultobj;
10767 wxColourData *arg1 = (wxColourData *) 0 ;
10768 PyObject * obj0 = 0 ;
10769 char *kwnames[] = {
10770 (char *) "self", NULL
10771 };
10772
10773 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
10774 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10775 {
10776 PyThreadState* __tstate = wxPyBeginAllowThreads();
10777 delete arg1;
10778
10779 wxPyEndAllowThreads(__tstate);
10780 if (PyErr_Occurred()) SWIG_fail;
10781 }
10782 Py_INCREF(Py_None); resultobj = Py_None;
10783 return resultobj;
10784 fail:
10785 return NULL;
10786}
10787
10788
10789static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10790 PyObject *resultobj;
10791 wxColourData *arg1 = (wxColourData *) 0 ;
10792 bool result;
10793 PyObject * obj0 = 0 ;
10794 char *kwnames[] = {
10795 (char *) "self", NULL
10796 };
10797
10798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
10799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10800 {
10801 PyThreadState* __tstate = wxPyBeginAllowThreads();
10802 result = (bool)(arg1)->GetChooseFull();
10803
10804 wxPyEndAllowThreads(__tstate);
10805 if (PyErr_Occurred()) SWIG_fail;
10806 }
4e760a36 10807 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
10808 return resultobj;
10809 fail:
10810 return NULL;
10811}
10812
10813
10814static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10815 PyObject *resultobj;
10816 wxColourData *arg1 = (wxColourData *) 0 ;
10817 wxColour result;
10818 PyObject * obj0 = 0 ;
10819 char *kwnames[] = {
10820 (char *) "self", NULL
10821 };
10822
10823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
10824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10825 {
10826 PyThreadState* __tstate = wxPyBeginAllowThreads();
10827 result = (arg1)->GetColour();
10828
10829 wxPyEndAllowThreads(__tstate);
10830 if (PyErr_Occurred()) SWIG_fail;
10831 }
10832 {
10833 wxColour * resultptr;
10834 resultptr = new wxColour((wxColour &) result);
10835 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10836 }
10837 return resultobj;
10838 fail:
10839 return NULL;
10840}
10841
10842
10843static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10844 PyObject *resultobj;
10845 wxColourData *arg1 = (wxColourData *) 0 ;
10846 int arg2 ;
10847 wxColour result;
10848 PyObject * obj0 = 0 ;
8edf1c75 10849 PyObject * obj1 = 0 ;
d14a1e28
RD
10850 char *kwnames[] = {
10851 (char *) "self",(char *) "i", NULL
10852 };
10853
8edf1c75 10854 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_GetCustomColour",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10856 {
10857 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10858 if (PyErr_Occurred()) SWIG_fail;
10859 }
d14a1e28
RD
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 result = (arg1)->GetCustomColour(arg2);
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 {
10868 wxColour * resultptr;
10869 resultptr = new wxColour((wxColour &) result);
10870 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
10871 }
10872 return resultobj;
10873 fail:
10874 return NULL;
10875}
10876
10877
10878static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
10879 PyObject *resultobj;
10880 wxColourData *arg1 = (wxColourData *) 0 ;
10881 int arg2 ;
10882 PyObject * obj0 = 0 ;
8edf1c75 10883 PyObject * obj1 = 0 ;
d14a1e28
RD
10884 char *kwnames[] = {
10885 (char *) "self",(char *) "flag", NULL
10886 };
10887
8edf1c75 10888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetChooseFull",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 10889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10890 {
10891 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10892 if (PyErr_Occurred()) SWIG_fail;
10893 }
d14a1e28
RD
10894 {
10895 PyThreadState* __tstate = wxPyBeginAllowThreads();
10896 (arg1)->SetChooseFull(arg2);
10897
10898 wxPyEndAllowThreads(__tstate);
10899 if (PyErr_Occurred()) SWIG_fail;
10900 }
10901 Py_INCREF(Py_None); resultobj = Py_None;
10902 return resultobj;
10903 fail:
10904 return NULL;
10905}
10906
10907
10908static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10909 PyObject *resultobj;
10910 wxColourData *arg1 = (wxColourData *) 0 ;
10911 wxColour *arg2 = 0 ;
10912 wxColour temp2 ;
10913 PyObject * obj0 = 0 ;
10914 PyObject * obj1 = 0 ;
10915 char *kwnames[] = {
10916 (char *) "self",(char *) "colour", NULL
10917 };
10918
10919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10921 {
10922 arg2 = &temp2;
10923 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10924 }
10925 {
10926 PyThreadState* __tstate = wxPyBeginAllowThreads();
10927 (arg1)->SetColour((wxColour const &)*arg2);
10928
10929 wxPyEndAllowThreads(__tstate);
10930 if (PyErr_Occurred()) SWIG_fail;
10931 }
10932 Py_INCREF(Py_None); resultobj = Py_None;
10933 return resultobj;
10934 fail:
10935 return NULL;
10936}
10937
10938
10939static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10940 PyObject *resultobj;
10941 wxColourData *arg1 = (wxColourData *) 0 ;
10942 int arg2 ;
10943 wxColour *arg3 = 0 ;
10944 wxColour temp3 ;
10945 PyObject * obj0 = 0 ;
8edf1c75 10946 PyObject * obj1 = 0 ;
d14a1e28
RD
10947 PyObject * obj2 = 0 ;
10948 char *kwnames[] = {
10949 (char *) "self",(char *) "i",(char *) "colour", NULL
10950 };
10951
8edf1c75 10952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ColourData_SetCustomColour",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 10953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
10954 {
10955 arg2 = (int) SWIG_PyObj_AsInt(obj1);
10956 if (PyErr_Occurred()) SWIG_fail;
10957 }
d14a1e28
RD
10958 {
10959 arg3 = &temp3;
10960 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10961 }
10962 {
10963 PyThreadState* __tstate = wxPyBeginAllowThreads();
10964 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10965
10966 wxPyEndAllowThreads(__tstate);
10967 if (PyErr_Occurred()) SWIG_fail;
10968 }
10969 Py_INCREF(Py_None); resultobj = Py_None;
10970 return resultobj;
10971 fail:
10972 return NULL;
10973}
10974
10975
10976static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10977 PyObject *obj;
10978 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10979 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10980 Py_INCREF(obj);
10981 return Py_BuildValue((char *)"");
10982}
10983static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10984 PyObject *resultobj;
10985 wxWindow *arg1 = (wxWindow *) 0 ;
10986 wxColourData *arg2 = (wxColourData *) NULL ;
10987 wxColourDialog *result;
10988 PyObject * obj0 = 0 ;
10989 PyObject * obj1 = 0 ;
10990 char *kwnames[] = {
10991 (char *) "parent",(char *) "data", NULL
10992 };
10993
10994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10996 if (obj1) {
10997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10998 }
10999 {
11000 PyThreadState* __tstate = wxPyBeginAllowThreads();
11001 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
11002
11003 wxPyEndAllowThreads(__tstate);
11004 if (PyErr_Occurred()) SWIG_fail;
11005 }
11006 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
11007 return resultobj;
11008 fail:
11009 return NULL;
11010}
11011
11012
11013static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
11014 PyObject *resultobj;
11015 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11016 wxColourData *result;
11017 PyObject * obj0 = 0 ;
11018 char *kwnames[] = {
11019 (char *) "self", NULL
11020 };
11021
11022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
11023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11024 {
11025 PyThreadState* __tstate = wxPyBeginAllowThreads();
11026 {
11027 wxColourData &_result_ref = (arg1)->GetColourData();
11028 result = (wxColourData *) &_result_ref;
11029 }
11030
11031 wxPyEndAllowThreads(__tstate);
11032 if (PyErr_Occurred()) SWIG_fail;
11033 }
11034 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
11035 return resultobj;
11036 fail:
11037 return NULL;
11038}
11039
11040
11041static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11042 PyObject *resultobj;
11043 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
11044 int result;
11045 PyObject * obj0 = 0 ;
11046 char *kwnames[] = {
11047 (char *) "self", NULL
11048 };
11049
11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
11051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11052 {
11053 PyThreadState* __tstate = wxPyBeginAllowThreads();
11054 result = (int)(arg1)->ShowModal();
11055
11056 wxPyEndAllowThreads(__tstate);
11057 if (PyErr_Occurred()) SWIG_fail;
11058 }
8edf1c75 11059 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
11060 return resultobj;
11061 fail:
11062 return NULL;
11063}
11064
11065
11066static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
11067 PyObject *obj;
11068 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11069 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
11070 Py_INCREF(obj);
11071 return Py_BuildValue((char *)"");
11072}
11073static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11074 PyObject *resultobj;
11075 wxWindow *arg1 = (wxWindow *) 0 ;
11076 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
11077 wxString *arg2 = (wxString *) &arg2_defvalue ;
11078 wxString const &arg3_defvalue = wxPyEmptyString ;
11079 wxString *arg3 = (wxString *) &arg3_defvalue ;
11080 long arg4 = (long) 0 ;
11081 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11082 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11083 wxSize const &arg6_defvalue = wxDefaultSize ;
11084 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
11085 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
11086 wxString *arg7 = (wxString *) &arg7_defvalue ;
11087 wxDirDialog *result;
423f194a
RD
11088 bool temp2 = False ;
11089 bool temp3 = False ;
d14a1e28
RD
11090 wxPoint temp5 ;
11091 wxSize temp6 ;
423f194a 11092 bool temp7 = False ;
d14a1e28
RD
11093 PyObject * obj0 = 0 ;
11094 PyObject * obj1 = 0 ;
11095 PyObject * obj2 = 0 ;
8edf1c75 11096 PyObject * obj3 = 0 ;
d14a1e28
RD
11097 PyObject * obj4 = 0 ;
11098 PyObject * obj5 = 0 ;
11099 PyObject * obj6 = 0 ;
11100 char *kwnames[] = {
11101 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
11102 };
11103
8edf1c75 11104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
11105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11106 if (obj1) {
11107 {
11108 arg2 = wxString_in_helper(obj1);
11109 if (arg2 == NULL) SWIG_fail;
423f194a 11110 temp2 = True;
d14a1e28
RD
11111 }
11112 }
11113 if (obj2) {
11114 {
11115 arg3 = wxString_in_helper(obj2);
11116 if (arg3 == NULL) SWIG_fail;
423f194a 11117 temp3 = True;
d14a1e28
RD
11118 }
11119 }
8edf1c75
RD
11120 if (obj3) {
11121 {
11122 arg4 = (long) SWIG_PyObj_AsLong(obj3);
11123 if (PyErr_Occurred()) SWIG_fail;
11124 }
11125 }
d14a1e28
RD
11126 if (obj4) {
11127 {
11128 arg5 = &temp5;
11129 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11130 }
11131 }
11132 if (obj5) {
11133 {
11134 arg6 = &temp6;
11135 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
11136 }
11137 }
11138 if (obj6) {
11139 {
11140 arg7 = wxString_in_helper(obj6);
11141 if (arg7 == NULL) SWIG_fail;
423f194a 11142 temp7 = True;
d14a1e28
RD
11143 }
11144 }
11145 {
11146 PyThreadState* __tstate = wxPyBeginAllowThreads();
11147 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
11148
11149 wxPyEndAllowThreads(__tstate);
11150 if (PyErr_Occurred()) SWIG_fail;
11151 }
11152 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
11153 {
11154 if (temp2)
11155 delete arg2;
11156 }
11157 {
11158 if (temp3)
11159 delete arg3;
11160 }
11161 {
11162 if (temp7)
11163 delete arg7;
11164 }
11165 return resultobj;
11166 fail:
11167 {
11168 if (temp2)
11169 delete arg2;
11170 }
11171 {
11172 if (temp3)
11173 delete arg3;
11174 }
11175 {
11176 if (temp7)
11177 delete arg7;
11178 }
11179 return NULL;
11180}
11181
11182
11183static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11184 PyObject *resultobj;
11185 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11186 wxString result;
11187 PyObject * obj0 = 0 ;
11188 char *kwnames[] = {
11189 (char *) "self", NULL
11190 };
11191
11192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
11193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11194 {
11195 PyThreadState* __tstate = wxPyBeginAllowThreads();
11196 result = (arg1)->GetPath();
11197
11198 wxPyEndAllowThreads(__tstate);
11199 if (PyErr_Occurred()) SWIG_fail;
11200 }
11201 {
11202#if wxUSE_UNICODE
11203 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11204#else
11205 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11206#endif
11207 }
11208 return resultobj;
11209 fail:
11210 return NULL;
11211}
11212
11213
11214static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11215 PyObject *resultobj;
11216 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11217 wxString result;
11218 PyObject * obj0 = 0 ;
11219 char *kwnames[] = {
11220 (char *) "self", NULL
11221 };
11222
11223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
11224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11225 {
11226 PyThreadState* __tstate = wxPyBeginAllowThreads();
11227 result = (arg1)->GetMessage();
11228
11229 wxPyEndAllowThreads(__tstate);
11230 if (PyErr_Occurred()) SWIG_fail;
11231 }
11232 {
11233#if wxUSE_UNICODE
11234 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11235#else
11236 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11237#endif
11238 }
11239 return resultobj;
11240 fail:
11241 return NULL;
11242}
11243
11244
11245static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11246 PyObject *resultobj;
11247 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11248 long result;
11249 PyObject * obj0 = 0 ;
11250 char *kwnames[] = {
11251 (char *) "self", NULL
11252 };
11253
11254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
11255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11256 {
11257 PyThreadState* __tstate = wxPyBeginAllowThreads();
11258 result = (long)(arg1)->GetStyle();
11259
11260 wxPyEndAllowThreads(__tstate);
11261 if (PyErr_Occurred()) SWIG_fail;
11262 }
8edf1c75 11263 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
11264 return resultobj;
11265 fail:
11266 return NULL;
11267}
11268
11269
11270static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11271 PyObject *resultobj;
11272 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11273 wxString *arg2 = 0 ;
423f194a 11274 bool temp2 = False ;
d14a1e28
RD
11275 PyObject * obj0 = 0 ;
11276 PyObject * obj1 = 0 ;
11277 char *kwnames[] = {
11278 (char *) "self",(char *) "message", NULL
11279 };
11280
11281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11283 {
11284 arg2 = wxString_in_helper(obj1);
11285 if (arg2 == NULL) SWIG_fail;
423f194a 11286 temp2 = True;
d14a1e28
RD
11287 }
11288 {
11289 PyThreadState* __tstate = wxPyBeginAllowThreads();
11290 (arg1)->SetMessage((wxString const &)*arg2);
11291
11292 wxPyEndAllowThreads(__tstate);
11293 if (PyErr_Occurred()) SWIG_fail;
11294 }
11295 Py_INCREF(Py_None); resultobj = Py_None;
11296 {
11297 if (temp2)
11298 delete arg2;
11299 }
11300 return resultobj;
11301 fail:
11302 {
11303 if (temp2)
11304 delete arg2;
11305 }
11306 return NULL;
11307}
11308
11309
11310static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11311 PyObject *resultobj;
11312 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11313 wxString *arg2 = 0 ;
423f194a 11314 bool temp2 = False ;
d14a1e28
RD
11315 PyObject * obj0 = 0 ;
11316 PyObject * obj1 = 0 ;
11317 char *kwnames[] = {
11318 (char *) "self",(char *) "path", NULL
11319 };
11320
11321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11323 {
11324 arg2 = wxString_in_helper(obj1);
11325 if (arg2 == NULL) SWIG_fail;
423f194a 11326 temp2 = True;
d14a1e28
RD
11327 }
11328 {
11329 PyThreadState* __tstate = wxPyBeginAllowThreads();
11330 (arg1)->SetPath((wxString const &)*arg2);
11331
11332 wxPyEndAllowThreads(__tstate);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 Py_INCREF(Py_None); resultobj = Py_None;
11336 {
11337 if (temp2)
11338 delete arg2;
11339 }
11340 return resultobj;
11341 fail:
11342 {
11343 if (temp2)
11344 delete arg2;
11345 }
11346 return NULL;
11347}
11348
11349
11350static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11351 PyObject *resultobj;
11352 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
11353 int result;
11354 PyObject * obj0 = 0 ;
11355 char *kwnames[] = {
11356 (char *) "self", NULL
11357 };
11358
11359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
11360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 result = (int)(arg1)->ShowModal();
11364
11365 wxPyEndAllowThreads(__tstate);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 }
8edf1c75 11368 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
11369 return resultobj;
11370 fail:
11371 return NULL;
11372}
11373
11374
11375static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
11376 PyObject *obj;
11377 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11378 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
11379 Py_INCREF(obj);
11380 return Py_BuildValue((char *)"");
11381}
11382static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11383 PyObject *resultobj;
11384 wxWindow *arg1 = (wxWindow *) 0 ;
11385 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
11386 wxString *arg2 = (wxString *) &arg2_defvalue ;
11387 wxString const &arg3_defvalue = wxPyEmptyString ;
11388 wxString *arg3 = (wxString *) &arg3_defvalue ;
11389 wxString const &arg4_defvalue = wxPyEmptyString ;
11390 wxString *arg4 = (wxString *) &arg4_defvalue ;
11391 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
11392 wxString *arg5 = (wxString *) &arg5_defvalue ;
11393 long arg6 = (long) 0 ;
11394 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11395 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11396 wxFileDialog *result;
423f194a
RD
11397 bool temp2 = False ;
11398 bool temp3 = False ;
11399 bool temp4 = False ;
11400 bool temp5 = False ;
d14a1e28
RD
11401 wxPoint temp7 ;
11402 PyObject * obj0 = 0 ;
11403 PyObject * obj1 = 0 ;
11404 PyObject * obj2 = 0 ;
11405 PyObject * obj3 = 0 ;
11406 PyObject * obj4 = 0 ;
8edf1c75 11407 PyObject * obj5 = 0 ;
d14a1e28
RD
11408 PyObject * obj6 = 0 ;
11409 char *kwnames[] = {
11410 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
11411 };
11412
8edf1c75 11413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOOO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
11414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11415 if (obj1) {
11416 {
11417 arg2 = wxString_in_helper(obj1);
11418 if (arg2 == NULL) SWIG_fail;
423f194a 11419 temp2 = True;
d14a1e28
RD
11420 }
11421 }
11422 if (obj2) {
11423 {
11424 arg3 = wxString_in_helper(obj2);
11425 if (arg3 == NULL) SWIG_fail;
423f194a 11426 temp3 = True;
d14a1e28
RD
11427 }
11428 }
11429 if (obj3) {
11430 {
11431 arg4 = wxString_in_helper(obj3);
11432 if (arg4 == NULL) SWIG_fail;
423f194a 11433 temp4 = True;
d14a1e28
RD
11434 }
11435 }
11436 if (obj4) {
11437 {
11438 arg5 = wxString_in_helper(obj4);
11439 if (arg5 == NULL) SWIG_fail;
423f194a 11440 temp5 = True;
d14a1e28
RD
11441 }
11442 }
8edf1c75
RD
11443 if (obj5) {
11444 {
11445 arg6 = (long) SWIG_PyObj_AsLong(obj5);
11446 if (PyErr_Occurred()) SWIG_fail;
11447 }
11448 }
d14a1e28
RD
11449 if (obj6) {
11450 {
11451 arg7 = &temp7;
11452 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11453 }
11454 }
11455 {
11456 PyThreadState* __tstate = wxPyBeginAllowThreads();
11457 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
11458
11459 wxPyEndAllowThreads(__tstate);
11460 if (PyErr_Occurred()) SWIG_fail;
11461 }
11462 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
11463 {
11464 if (temp2)
11465 delete arg2;
11466 }
11467 {
11468 if (temp3)
11469 delete arg3;
11470 }
11471 {
11472 if (temp4)
11473 delete arg4;
11474 }
11475 {
11476 if (temp5)
11477 delete arg5;
11478 }
11479 return resultobj;
11480 fail:
11481 {
11482 if (temp2)
11483 delete arg2;
11484 }
11485 {
11486 if (temp3)
11487 delete arg3;
11488 }
11489 {
11490 if (temp4)
11491 delete arg4;
11492 }
11493 {
11494 if (temp5)
11495 delete arg5;
11496 }
11497 return NULL;
11498}
11499
11500
11501static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11502 PyObject *resultobj;
11503 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11504 wxString *arg2 = 0 ;
423f194a 11505 bool temp2 = False ;
d14a1e28
RD
11506 PyObject * obj0 = 0 ;
11507 PyObject * obj1 = 0 ;
11508 char *kwnames[] = {
11509 (char *) "self",(char *) "message", NULL
11510 };
11511
11512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
11513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11514 {
11515 arg2 = wxString_in_helper(obj1);
11516 if (arg2 == NULL) SWIG_fail;
423f194a 11517 temp2 = True;
d14a1e28
RD
11518 }
11519 {
11520 PyThreadState* __tstate = wxPyBeginAllowThreads();
11521 (arg1)->SetMessage((wxString const &)*arg2);
11522
11523 wxPyEndAllowThreads(__tstate);
11524 if (PyErr_Occurred()) SWIG_fail;
11525 }
11526 Py_INCREF(Py_None); resultobj = Py_None;
11527 {
11528 if (temp2)
11529 delete arg2;
11530 }
11531 return resultobj;
11532 fail:
11533 {
11534 if (temp2)
11535 delete arg2;
11536 }
11537 return NULL;
11538}
11539
11540
11541static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11542 PyObject *resultobj;
11543 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11544 wxString *arg2 = 0 ;
423f194a 11545 bool temp2 = False ;
d14a1e28
RD
11546 PyObject * obj0 = 0 ;
11547 PyObject * obj1 = 0 ;
11548 char *kwnames[] = {
11549 (char *) "self",(char *) "path", NULL
11550 };
11551
11552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
11553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11554 {
11555 arg2 = wxString_in_helper(obj1);
11556 if (arg2 == NULL) SWIG_fail;
423f194a 11557 temp2 = True;
d14a1e28
RD
11558 }
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 (arg1)->SetPath((wxString const &)*arg2);
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 Py_INCREF(Py_None); resultobj = Py_None;
11567 {
11568 if (temp2)
11569 delete arg2;
11570 }
11571 return resultobj;
11572 fail:
11573 {
11574 if (temp2)
11575 delete arg2;
11576 }
11577 return NULL;
11578}
11579
11580
11581static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11582 PyObject *resultobj;
11583 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11584 wxString *arg2 = 0 ;
423f194a 11585 bool temp2 = False ;
d14a1e28
RD
11586 PyObject * obj0 = 0 ;
11587 PyObject * obj1 = 0 ;
11588 char *kwnames[] = {
11589 (char *) "self",(char *) "dir", NULL
11590 };
11591
11592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
11593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11594 {
11595 arg2 = wxString_in_helper(obj1);
11596 if (arg2 == NULL) SWIG_fail;
423f194a 11597 temp2 = True;
d14a1e28
RD
11598 }
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 (arg1)->SetDirectory((wxString const &)*arg2);
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 Py_INCREF(Py_None); resultobj = Py_None;
11607 {
11608 if (temp2)
11609 delete arg2;
11610 }
11611 return resultobj;
11612 fail:
11613 {
11614 if (temp2)
11615 delete arg2;
11616 }
11617 return NULL;
11618}
11619
11620
11621static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11622 PyObject *resultobj;
11623 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11624 wxString *arg2 = 0 ;
423f194a 11625 bool temp2 = False ;
d14a1e28
RD
11626 PyObject * obj0 = 0 ;
11627 PyObject * obj1 = 0 ;
11628 char *kwnames[] = {
11629 (char *) "self",(char *) "name", NULL
11630 };
11631
11632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
11633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11634 {
11635 arg2 = wxString_in_helper(obj1);
11636 if (arg2 == NULL) SWIG_fail;
423f194a 11637 temp2 = True;
d14a1e28
RD
11638 }
11639 {
11640 PyThreadState* __tstate = wxPyBeginAllowThreads();
11641 (arg1)->SetFilename((wxString const &)*arg2);
11642
11643 wxPyEndAllowThreads(__tstate);
11644 if (PyErr_Occurred()) SWIG_fail;
11645 }
11646 Py_INCREF(Py_None); resultobj = Py_None;
11647 {
11648 if (temp2)
11649 delete arg2;
11650 }
11651 return resultobj;
11652 fail:
11653 {
11654 if (temp2)
11655 delete arg2;
11656 }
11657 return NULL;
11658}
11659
11660
11661static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11662 PyObject *resultobj;
11663 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11664 wxString *arg2 = 0 ;
423f194a 11665 bool temp2 = False ;
d14a1e28
RD
11666 PyObject * obj0 = 0 ;
11667 PyObject * obj1 = 0 ;
11668 char *kwnames[] = {
11669 (char *) "self",(char *) "wildCard", NULL
11670 };
11671
11672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
11673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11674 {
11675 arg2 = wxString_in_helper(obj1);
11676 if (arg2 == NULL) SWIG_fail;
423f194a 11677 temp2 = True;
d14a1e28
RD
11678 }
11679 {
11680 PyThreadState* __tstate = wxPyBeginAllowThreads();
11681 (arg1)->SetWildcard((wxString const &)*arg2);
11682
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 Py_INCREF(Py_None); resultobj = Py_None;
11687 {
11688 if (temp2)
11689 delete arg2;
11690 }
11691 return resultobj;
11692 fail:
11693 {
11694 if (temp2)
11695 delete arg2;
11696 }
11697 return NULL;
11698}
11699
11700
11701static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11702 PyObject *resultobj;
11703 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11704 long arg2 ;
11705 PyObject * obj0 = 0 ;
8edf1c75 11706 PyObject * obj1 = 0 ;
d14a1e28
RD
11707 char *kwnames[] = {
11708 (char *) "self",(char *) "style", NULL
11709 };
11710
8edf1c75 11711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetStyle",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 11712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11713 {
11714 arg2 = (long) SWIG_PyObj_AsLong(obj1);
11715 if (PyErr_Occurred()) SWIG_fail;
11716 }
d14a1e28
RD
11717 {
11718 PyThreadState* __tstate = wxPyBeginAllowThreads();
11719 (arg1)->SetStyle(arg2);
11720
11721 wxPyEndAllowThreads(__tstate);
11722 if (PyErr_Occurred()) SWIG_fail;
11723 }
11724 Py_INCREF(Py_None); resultobj = Py_None;
11725 return resultobj;
11726 fail:
11727 return NULL;
11728}
11729
11730
11731static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11732 PyObject *resultobj;
11733 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11734 int arg2 ;
11735 PyObject * obj0 = 0 ;
8edf1c75 11736 PyObject * obj1 = 0 ;
d14a1e28
RD
11737 char *kwnames[] = {
11738 (char *) "self",(char *) "filterIndex", NULL
11739 };
11740
8edf1c75 11741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilterIndex",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 11742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
11743 {
11744 arg2 = (int) SWIG_PyObj_AsInt(obj1);
11745 if (PyErr_Occurred()) SWIG_fail;
11746 }
d14a1e28
RD
11747 {
11748 PyThreadState* __tstate = wxPyBeginAllowThreads();
11749 (arg1)->SetFilterIndex(arg2);
11750
11751 wxPyEndAllowThreads(__tstate);
11752 if (PyErr_Occurred()) SWIG_fail;
11753 }
11754 Py_INCREF(Py_None); resultobj = Py_None;
11755 return resultobj;
11756 fail:
11757 return NULL;
11758}
11759
11760
11761static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
11762 PyObject *resultobj;
11763 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11764 wxString result;
11765 PyObject * obj0 = 0 ;
11766 char *kwnames[] = {
11767 (char *) "self", NULL
11768 };
11769
11770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
11771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11772 {
11773 PyThreadState* __tstate = wxPyBeginAllowThreads();
11774 result = ((wxFileDialog const *)arg1)->GetMessage();
11775
11776 wxPyEndAllowThreads(__tstate);
11777 if (PyErr_Occurred()) SWIG_fail;
11778 }
11779 {
11780#if wxUSE_UNICODE
11781 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11782#else
11783 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11784#endif
11785 }
11786 return resultobj;
11787 fail:
11788 return NULL;
11789}
11790
11791
11792static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
11793 PyObject *resultobj;
11794 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11795 wxString result;
11796 PyObject * obj0 = 0 ;
11797 char *kwnames[] = {
11798 (char *) "self", NULL
11799 };
11800
11801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
11802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11803 {
11804 PyThreadState* __tstate = wxPyBeginAllowThreads();
11805 result = ((wxFileDialog const *)arg1)->GetPath();
11806
11807 wxPyEndAllowThreads(__tstate);
11808 if (PyErr_Occurred()) SWIG_fail;
11809 }
11810 {
11811#if wxUSE_UNICODE
11812 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11813#else
11814 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11815#endif
11816 }
11817 return resultobj;
11818 fail:
11819 return NULL;
11820}
11821
11822
11823static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj;
11825 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11826 wxString result;
11827 PyObject * obj0 = 0 ;
11828 char *kwnames[] = {
11829 (char *) "self", NULL
11830 };
11831
11832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
11833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11834 {
11835 PyThreadState* __tstate = wxPyBeginAllowThreads();
11836 result = ((wxFileDialog const *)arg1)->GetDirectory();
11837
11838 wxPyEndAllowThreads(__tstate);
11839 if (PyErr_Occurred()) SWIG_fail;
11840 }
11841 {
11842#if wxUSE_UNICODE
11843 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11844#else
11845 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11846#endif
11847 }
11848 return resultobj;
11849 fail:
11850 return NULL;
11851}
11852
11853
11854static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
11855 PyObject *resultobj;
11856 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11857 wxString result;
11858 PyObject * obj0 = 0 ;
11859 char *kwnames[] = {
11860 (char *) "self", NULL
11861 };
11862
11863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
11864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 result = ((wxFileDialog const *)arg1)->GetFilename();
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 {
11873#if wxUSE_UNICODE
11874 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11875#else
11876 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11877#endif
11878 }
11879 return resultobj;
11880 fail:
11881 return NULL;
11882}
11883
11884
11885static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
11886 PyObject *resultobj;
11887 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11888 wxString result;
11889 PyObject * obj0 = 0 ;
11890 char *kwnames[] = {
11891 (char *) "self", NULL
11892 };
11893
11894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
11895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11896 {
11897 PyThreadState* __tstate = wxPyBeginAllowThreads();
11898 result = ((wxFileDialog const *)arg1)->GetWildcard();
11899
11900 wxPyEndAllowThreads(__tstate);
11901 if (PyErr_Occurred()) SWIG_fail;
11902 }
11903 {
11904#if wxUSE_UNICODE
11905 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11906#else
11907 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11908#endif
11909 }
11910 return resultobj;
11911 fail:
11912 return NULL;
11913}
11914
11915
11916static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
11917 PyObject *resultobj;
11918 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11919 long result;
11920 PyObject * obj0 = 0 ;
11921 char *kwnames[] = {
11922 (char *) "self", NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
11926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11927 {
11928 PyThreadState* __tstate = wxPyBeginAllowThreads();
11929 result = (long)((wxFileDialog const *)arg1)->GetStyle();
11930
11931 wxPyEndAllowThreads(__tstate);
11932 if (PyErr_Occurred()) SWIG_fail;
11933 }
8edf1c75 11934 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
11935 return resultobj;
11936 fail:
11937 return NULL;
11938}
11939
11940
11941static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
11942 PyObject *resultobj;
11943 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11944 int result;
11945 PyObject * obj0 = 0 ;
11946 char *kwnames[] = {
11947 (char *) "self", NULL
11948 };
11949
11950 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11951 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11955
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
8edf1c75 11959 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
11960 return resultobj;
11961 fail:
11962 return NULL;
11963}
11964
11965
11966static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11967 PyObject *resultobj;
11968 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11969 PyObject *result;
11970 PyObject * obj0 = 0 ;
11971 char *kwnames[] = {
11972 (char *) "self", NULL
11973 };
11974
11975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 resultobj = result;
11985 return resultobj;
11986 fail:
11987 return NULL;
11988}
11989
11990
11991static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11992 PyObject *resultobj;
11993 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11994 PyObject *result;
11995 PyObject * obj0 = 0 ;
11996 char *kwnames[] = {
11997 (char *) "self", NULL
11998 };
11999
12000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
12001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12002 {
12003 PyThreadState* __tstate = wxPyBeginAllowThreads();
12004 result = (PyObject *)wxFileDialog_GetPaths(arg1);
12005
12006 wxPyEndAllowThreads(__tstate);
12007 if (PyErr_Occurred()) SWIG_fail;
12008 }
12009 resultobj = result;
12010 return resultobj;
12011 fail:
12012 return NULL;
12013}
12014
12015
12016static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
12017 PyObject *obj;
12018 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12019 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
12020 Py_INCREF(obj);
12021 return Py_BuildValue((char *)"");
12022}
12023static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12024 PyObject *resultobj;
12025 wxWindow *arg1 = (wxWindow *) 0 ;
12026 wxString *arg2 = 0 ;
12027 wxString *arg3 = 0 ;
4e760a36 12028 int arg4 = (int) 0 ;
d14a1e28
RD
12029 wxString *arg5 = (wxString *) 0 ;
12030 long arg6 = (long) wxCHOICEDLG_STYLE ;
12031 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12032 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12033 wxMultiChoiceDialog *result;
423f194a
RD
12034 bool temp2 = False ;
12035 bool temp3 = False ;
4e760a36 12036 wxPoint temp6 ;
d14a1e28
RD
12037 PyObject * obj0 = 0 ;
12038 PyObject * obj1 = 0 ;
12039 PyObject * obj2 = 0 ;
8edf1c75 12040 PyObject * obj3 = 0 ;
d14a1e28 12041 PyObject * obj4 = 0 ;
8edf1c75 12042 PyObject * obj5 = 0 ;
d14a1e28 12043 char *kwnames[] = {
4e760a36 12044 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
d14a1e28
RD
12045 };
12046
4e760a36 12047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
12048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12049 {
12050 arg2 = wxString_in_helper(obj1);
12051 if (arg2 == NULL) SWIG_fail;
423f194a 12052 temp2 = True;
d14a1e28
RD
12053 }
12054 {
12055 arg3 = wxString_in_helper(obj2);
12056 if (arg3 == NULL) SWIG_fail;
423f194a 12057 temp3 = True;
d14a1e28 12058 }
4e760a36
RD
12059 if (obj3) {
12060 {
12061 arg4 = PyList_Size(obj3);
12062 arg5 = wxString_LIST_helper(obj3);
12063 if (arg5 == NULL) SWIG_fail;
12064 }
f775c30d 12065 }
4e760a36 12066 if (obj4) {
8edf1c75 12067 {
4e760a36 12068 arg6 = (long) SWIG_PyObj_AsLong(obj4);
8edf1c75
RD
12069 if (PyErr_Occurred()) SWIG_fail;
12070 }
12071 }
4e760a36 12072 if (obj5) {
d14a1e28 12073 {
4e760a36
RD
12074 arg7 = &temp6;
12075 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
d14a1e28
RD
12076 }
12077 }
12078 {
12079 PyThreadState* __tstate = wxPyBeginAllowThreads();
12080 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12081
12082 wxPyEndAllowThreads(__tstate);
12083 if (PyErr_Occurred()) SWIG_fail;
12084 }
12085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
12086 {
12087 if (temp2)
12088 delete arg2;
12089 }
12090 {
12091 if (temp3)
12092 delete arg3;
12093 }
f775c30d 12094 {
4e760a36 12095 if (arg5) delete [] arg5;
f775c30d 12096 }
d14a1e28
RD
12097 return resultobj;
12098 fail:
12099 {
12100 if (temp2)
12101 delete arg2;
12102 }
12103 {
12104 if (temp3)
12105 delete arg3;
12106 }
f775c30d 12107 {
4e760a36 12108 if (arg5) delete [] arg5;
f775c30d 12109 }
d14a1e28
RD
12110 return NULL;
12111}
12112
12113
12114static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12115 PyObject *resultobj;
12116 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12117 wxArrayInt *arg2 = 0 ;
db914595 12118 bool temp2 = False ;
d14a1e28
RD
12119 PyObject * obj0 = 0 ;
12120 PyObject * obj1 = 0 ;
12121 char *kwnames[] = {
12122 (char *) "self",(char *) "selections", NULL
12123 };
12124
12125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
12126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12127 {
12128 if (! PySequence_Check(obj1)) {
12129 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
12130 SWIG_fail;
12131 }
12132 arg2 = new wxArrayInt;
db914595 12133 temp2 = True;
d14a1e28
RD
12134 int i, len=PySequence_Length(obj1);
12135 for (i=0; i<len; i++) {
12136 PyObject* item = PySequence_GetItem(obj1, i);
12137 PyObject* number = PyNumber_Int(item);
12138 arg2->Add(PyInt_AS_LONG(number));
12139 Py_DECREF(item);
12140 Py_DECREF(number);
12141 }
12142 }
12143 {
12144 PyThreadState* __tstate = wxPyBeginAllowThreads();
12145 (arg1)->SetSelections((wxArrayInt const &)*arg2);
12146
12147 wxPyEndAllowThreads(__tstate);
12148 if (PyErr_Occurred()) SWIG_fail;
12149 }
12150 Py_INCREF(Py_None); resultobj = Py_None;
12151 {
db914595 12152 if (temp2) delete arg2;
d14a1e28
RD
12153 }
12154 return resultobj;
12155 fail:
12156 {
db914595 12157 if (temp2) delete arg2;
d14a1e28
RD
12158 }
12159 return NULL;
12160}
12161
12162
12163static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
12164 PyObject *resultobj;
12165 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
12166 PyObject *result;
12167 PyObject * obj0 = 0 ;
12168 char *kwnames[] = {
12169 (char *) "self", NULL
12170 };
12171
12172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
12173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12174 {
12175 PyThreadState* __tstate = wxPyBeginAllowThreads();
12176 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
12177
12178 wxPyEndAllowThreads(__tstate);
12179 if (PyErr_Occurred()) SWIG_fail;
12180 }
12181 resultobj = result;
12182 return resultobj;
12183 fail:
12184 return NULL;
12185}
12186
12187
12188static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12189 PyObject *obj;
12190 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12191 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
12192 Py_INCREF(obj);
12193 return Py_BuildValue((char *)"");
12194}
12195static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12196 PyObject *resultobj;
12197 wxWindow *arg1 = (wxWindow *) 0 ;
12198 wxString *arg2 = 0 ;
12199 wxString *arg3 = 0 ;
12200 int arg4 ;
12201 wxString *arg5 = (wxString *) 0 ;
12202 long arg6 = (long) wxCHOICEDLG_STYLE ;
12203 wxPoint const &arg7_defvalue = wxDefaultPosition ;
12204 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
12205 wxSingleChoiceDialog *result;
423f194a
RD
12206 bool temp2 = False ;
12207 bool temp3 = False ;
d14a1e28
RD
12208 wxPoint temp6 ;
12209 PyObject * obj0 = 0 ;
12210 PyObject * obj1 = 0 ;
12211 PyObject * obj2 = 0 ;
12212 PyObject * obj3 = 0 ;
8edf1c75 12213 PyObject * obj4 = 0 ;
d14a1e28
RD
12214 PyObject * obj5 = 0 ;
12215 char *kwnames[] = {
12216 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
12217 };
12218
8edf1c75 12219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
12220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12221 {
12222 arg2 = wxString_in_helper(obj1);
12223 if (arg2 == NULL) SWIG_fail;
423f194a 12224 temp2 = True;
d14a1e28
RD
12225 }
12226 {
12227 arg3 = wxString_in_helper(obj2);
12228 if (arg3 == NULL) SWIG_fail;
423f194a 12229 temp3 = True;
d14a1e28
RD
12230 }
12231 {
12232 arg4 = PyList_Size(obj3);
12233 arg5 = wxString_LIST_helper(obj3);
12234 if (arg5 == NULL) SWIG_fail;
12235 }
8edf1c75
RD
12236 if (obj4) {
12237 {
12238 arg6 = (long) SWIG_PyObj_AsLong(obj4);
12239 if (PyErr_Occurred()) SWIG_fail;
12240 }
12241 }
d14a1e28
RD
12242 if (obj5) {
12243 {
12244 arg7 = &temp6;
12245 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
12246 }
12247 }
12248 {
12249 PyThreadState* __tstate = wxPyBeginAllowThreads();
12250 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
12251
12252 wxPyEndAllowThreads(__tstate);
12253 if (PyErr_Occurred()) SWIG_fail;
12254 }
12255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
12256 {
12257 if (temp2)
12258 delete arg2;
12259 }
12260 {
12261 if (temp3)
12262 delete arg3;
12263 }
12264 {
12265 if (arg5) delete [] arg5;
12266 }
12267 return resultobj;
12268 fail:
12269 {
12270 if (temp2)
12271 delete arg2;
12272 }
12273 {
12274 if (temp3)
12275 delete arg3;
12276 }
12277 {
12278 if (arg5) delete [] arg5;
12279 }
12280 return NULL;
12281}
12282
12283
12284static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12285 PyObject *resultobj;
12286 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12287 int result;
12288 PyObject * obj0 = 0 ;
12289 char *kwnames[] = {
12290 (char *) "self", NULL
12291 };
12292
12293 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
12294 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12295 {
12296 PyThreadState* __tstate = wxPyBeginAllowThreads();
12297 result = (int)(arg1)->GetSelection();
12298
12299 wxPyEndAllowThreads(__tstate);
12300 if (PyErr_Occurred()) SWIG_fail;
12301 }
8edf1c75 12302 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12303 return resultobj;
12304 fail:
12305 return NULL;
12306}
12307
12308
12309static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12310 PyObject *resultobj;
12311 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12312 wxString result;
12313 PyObject * obj0 = 0 ;
12314 char *kwnames[] = {
12315 (char *) "self", NULL
12316 };
12317
12318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
12319 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12320 {
12321 PyThreadState* __tstate = wxPyBeginAllowThreads();
12322 result = (arg1)->GetStringSelection();
12323
12324 wxPyEndAllowThreads(__tstate);
12325 if (PyErr_Occurred()) SWIG_fail;
12326 }
12327 {
12328#if wxUSE_UNICODE
12329 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12330#else
12331 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12332#endif
12333 }
12334 return resultobj;
12335 fail:
12336 return NULL;
12337}
12338
12339
12340static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
12341 PyObject *resultobj;
12342 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12343 int arg2 ;
12344 PyObject * obj0 = 0 ;
8edf1c75 12345 PyObject * obj1 = 0 ;
d14a1e28
RD
12346 char *kwnames[] = {
12347 (char *) "self",(char *) "sel", NULL
12348 };
12349
8edf1c75 12350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 12351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
12352 {
12353 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12354 if (PyErr_Occurred()) SWIG_fail;
12355 }
d14a1e28
RD
12356 {
12357 PyThreadState* __tstate = wxPyBeginAllowThreads();
12358 (arg1)->SetSelection(arg2);
12359
12360 wxPyEndAllowThreads(__tstate);
12361 if (PyErr_Occurred()) SWIG_fail;
12362 }
12363 Py_INCREF(Py_None); resultobj = Py_None;
12364 return resultobj;
12365 fail:
12366 return NULL;
12367}
12368
12369
12370static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12371 PyObject *resultobj;
12372 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
12373 int result;
12374 PyObject * obj0 = 0 ;
12375 char *kwnames[] = {
12376 (char *) "self", NULL
12377 };
12378
12379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
12380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12381 {
12382 PyThreadState* __tstate = wxPyBeginAllowThreads();
12383 result = (int)(arg1)->ShowModal();
12384
12385 wxPyEndAllowThreads(__tstate);
12386 if (PyErr_Occurred()) SWIG_fail;
12387 }
8edf1c75 12388 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12389 return resultobj;
12390 fail:
12391 return NULL;
12392}
12393
12394
12395static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
12396 PyObject *obj;
12397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12398 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
12399 Py_INCREF(obj);
12400 return Py_BuildValue((char *)"");
12401}
12402static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12403 PyObject *resultobj;
12404 wxWindow *arg1 = (wxWindow *) 0 ;
12405 wxString *arg2 = 0 ;
12406 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
12407 wxString *arg3 = (wxString *) &arg3_defvalue ;
12408 wxString const &arg4_defvalue = wxPyEmptyString ;
12409 wxString *arg4 = (wxString *) &arg4_defvalue ;
12410 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
12411 wxPoint const &arg6_defvalue = wxDefaultPosition ;
12412 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
12413 wxTextEntryDialog *result;
423f194a
RD
12414 bool temp2 = False ;
12415 bool temp3 = False ;
12416 bool temp4 = False ;
d14a1e28
RD
12417 wxPoint temp6 ;
12418 PyObject * obj0 = 0 ;
12419 PyObject * obj1 = 0 ;
12420 PyObject * obj2 = 0 ;
12421 PyObject * obj3 = 0 ;
8edf1c75 12422 PyObject * obj4 = 0 ;
d14a1e28
RD
12423 PyObject * obj5 = 0 ;
12424 char *kwnames[] = {
12425 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
12426 };
12427
8edf1c75 12428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
12429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12430 {
12431 arg2 = wxString_in_helper(obj1);
12432 if (arg2 == NULL) SWIG_fail;
423f194a 12433 temp2 = True;
d14a1e28
RD
12434 }
12435 if (obj2) {
12436 {
12437 arg3 = wxString_in_helper(obj2);
12438 if (arg3 == NULL) SWIG_fail;
423f194a 12439 temp3 = True;
d14a1e28
RD
12440 }
12441 }
12442 if (obj3) {
12443 {
12444 arg4 = wxString_in_helper(obj3);
12445 if (arg4 == NULL) SWIG_fail;
423f194a 12446 temp4 = True;
d14a1e28
RD
12447 }
12448 }
8edf1c75
RD
12449 if (obj4) {
12450 {
12451 arg5 = (long) SWIG_PyObj_AsLong(obj4);
12452 if (PyErr_Occurred()) SWIG_fail;
12453 }
12454 }
d14a1e28
RD
12455 if (obj5) {
12456 {
12457 arg6 = &temp6;
12458 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
12459 }
12460 }
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
12464
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
12469 {
12470 if (temp2)
12471 delete arg2;
12472 }
12473 {
12474 if (temp3)
12475 delete arg3;
12476 }
12477 {
12478 if (temp4)
12479 delete arg4;
12480 }
12481 return resultobj;
12482 fail:
12483 {
12484 if (temp2)
12485 delete arg2;
12486 }
12487 {
12488 if (temp3)
12489 delete arg3;
12490 }
12491 {
12492 if (temp4)
12493 delete arg4;
12494 }
12495 return NULL;
12496}
12497
12498
12499static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj;
12501 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12502 wxString result;
12503 PyObject * obj0 = 0 ;
12504 char *kwnames[] = {
12505 (char *) "self", NULL
12506 };
12507
12508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
12509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12510 {
12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
12512 result = (arg1)->GetValue();
12513
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
12517 {
12518#if wxUSE_UNICODE
12519 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12520#else
12521 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12522#endif
12523 }
12524 return resultobj;
12525 fail:
12526 return NULL;
12527}
12528
12529
12530static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
12531 PyObject *resultobj;
12532 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12533 wxString *arg2 = 0 ;
423f194a 12534 bool temp2 = False ;
d14a1e28
RD
12535 PyObject * obj0 = 0 ;
12536 PyObject * obj1 = 0 ;
12537 char *kwnames[] = {
12538 (char *) "self",(char *) "value", NULL
12539 };
12540
12541 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
12542 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12543 {
12544 arg2 = wxString_in_helper(obj1);
12545 if (arg2 == NULL) SWIG_fail;
423f194a 12546 temp2 = True;
d14a1e28
RD
12547 }
12548 {
12549 PyThreadState* __tstate = wxPyBeginAllowThreads();
12550 (arg1)->SetValue((wxString const &)*arg2);
12551
12552 wxPyEndAllowThreads(__tstate);
12553 if (PyErr_Occurred()) SWIG_fail;
12554 }
12555 Py_INCREF(Py_None); resultobj = Py_None;
12556 {
12557 if (temp2)
12558 delete arg2;
12559 }
12560 return resultobj;
12561 fail:
12562 {
12563 if (temp2)
12564 delete arg2;
12565 }
12566 return NULL;
12567}
12568
12569
12570static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12571 PyObject *resultobj;
12572 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
12573 int result;
12574 PyObject * obj0 = 0 ;
12575 char *kwnames[] = {
12576 (char *) "self", NULL
12577 };
12578
12579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
12580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12581 {
12582 PyThreadState* __tstate = wxPyBeginAllowThreads();
12583 result = (int)(arg1)->ShowModal();
12584
12585 wxPyEndAllowThreads(__tstate);
12586 if (PyErr_Occurred()) SWIG_fail;
12587 }
8edf1c75 12588 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
12589 return resultobj;
12590 fail:
12591 return NULL;
12592}
12593
12594
12595static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
12596 PyObject *obj;
12597 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12598 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
12599 Py_INCREF(obj);
12600 return Py_BuildValue((char *)"");
12601}
12602static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12603 PyObject *resultobj;
12604 wxFontData *result;
12605 char *kwnames[] = {
12606 NULL
12607 };
12608
12609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
12610 {
12611 PyThreadState* __tstate = wxPyBeginAllowThreads();
12612 result = (wxFontData *)new wxFontData();
12613
12614 wxPyEndAllowThreads(__tstate);
12615 if (PyErr_Occurred()) SWIG_fail;
12616 }
12617 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
12618 return resultobj;
12619 fail:
12620 return NULL;
12621}
12622
12623
12624static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12625 PyObject *resultobj;
12626 wxFontData *arg1 = (wxFontData *) 0 ;
12627 PyObject * obj0 = 0 ;
12628 char *kwnames[] = {
12629 (char *) "self", NULL
12630 };
12631
12632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
12633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12634 {
12635 PyThreadState* __tstate = wxPyBeginAllowThreads();
12636 delete arg1;
12637
12638 wxPyEndAllowThreads(__tstate);
12639 if (PyErr_Occurred()) SWIG_fail;
12640 }
12641 Py_INCREF(Py_None); resultobj = Py_None;
12642 return resultobj;
12643 fail:
12644 return NULL;
12645}
12646
12647
12648static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12649 PyObject *resultobj;
12650 wxFontData *arg1 = (wxFontData *) 0 ;
12651 bool arg2 ;
12652 PyObject * obj0 = 0 ;
12653 PyObject * obj1 = 0 ;
12654 char *kwnames[] = {
12655 (char *) "self",(char *) "enable", NULL
12656 };
12657
12658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
12659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 12660 {
8edf1c75 12661 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
12662 if (PyErr_Occurred()) SWIG_fail;
12663 }
d14a1e28
RD
12664 {
12665 PyThreadState* __tstate = wxPyBeginAllowThreads();
12666 (arg1)->EnableEffects(arg2);
12667
12668 wxPyEndAllowThreads(__tstate);
12669 if (PyErr_Occurred()) SWIG_fail;
12670 }
12671 Py_INCREF(Py_None); resultobj = Py_None;
12672 return resultobj;
12673 fail:
12674 return NULL;
12675}
12676
12677
12678static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12679 PyObject *resultobj;
12680 wxFontData *arg1 = (wxFontData *) 0 ;
12681 bool result;
12682 PyObject * obj0 = 0 ;
12683 char *kwnames[] = {
12684 (char *) "self", NULL
12685 };
12686
12687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
12688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12689 {
12690 PyThreadState* __tstate = wxPyBeginAllowThreads();
12691 result = (bool)(arg1)->GetAllowSymbols();
12692
12693 wxPyEndAllowThreads(__tstate);
12694 if (PyErr_Occurred()) SWIG_fail;
12695 }
4e760a36 12696 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12697 return resultobj;
12698 fail:
12699 return NULL;
12700}
12701
12702
12703static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12704 PyObject *resultobj;
12705 wxFontData *arg1 = (wxFontData *) 0 ;
12706 wxColour result;
12707 PyObject * obj0 = 0 ;
12708 char *kwnames[] = {
12709 (char *) "self", NULL
12710 };
12711
12712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
12713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12714 {
12715 PyThreadState* __tstate = wxPyBeginAllowThreads();
12716 result = (arg1)->GetColour();
12717
12718 wxPyEndAllowThreads(__tstate);
12719 if (PyErr_Occurred()) SWIG_fail;
12720 }
12721 {
12722 wxColour * resultptr;
12723 resultptr = new wxColour((wxColour &) result);
12724 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
12725 }
12726 return resultobj;
12727 fail:
12728 return NULL;
12729}
12730
12731
12732static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12733 PyObject *resultobj;
12734 wxFontData *arg1 = (wxFontData *) 0 ;
12735 wxFont result;
12736 PyObject * obj0 = 0 ;
12737 char *kwnames[] = {
12738 (char *) "self", NULL
12739 };
12740
12741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
12742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12743 {
12744 PyThreadState* __tstate = wxPyBeginAllowThreads();
12745 result = (arg1)->GetChosenFont();
12746
12747 wxPyEndAllowThreads(__tstate);
12748 if (PyErr_Occurred()) SWIG_fail;
12749 }
12750 {
12751 wxFont * resultptr;
12752 resultptr = new wxFont((wxFont &) result);
12753 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
12754 }
12755 return resultobj;
12756 fail:
12757 return NULL;
12758}
12759
12760
12761static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
12762 PyObject *resultobj;
12763 wxFontData *arg1 = (wxFontData *) 0 ;
12764 bool result;
12765 PyObject * obj0 = 0 ;
12766 char *kwnames[] = {
12767 (char *) "self", NULL
12768 };
12769
12770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
12771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12772 {
12773 PyThreadState* __tstate = wxPyBeginAllowThreads();
12774 result = (bool)(arg1)->GetEnableEffects();
12775
12776 wxPyEndAllowThreads(__tstate);
12777 if (PyErr_Occurred()) SWIG_fail;
12778 }
4e760a36 12779 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12780 return resultobj;
12781 fail:
12782 return NULL;
12783}
12784
12785
12786static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12787 PyObject *resultobj;
12788 wxFontData *arg1 = (wxFontData *) 0 ;
12789 wxFont result;
12790 PyObject * obj0 = 0 ;
12791 char *kwnames[] = {
12792 (char *) "self", NULL
12793 };
12794
12795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
12796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12797 {
12798 PyThreadState* __tstate = wxPyBeginAllowThreads();
12799 result = (arg1)->GetInitialFont();
12800
12801 wxPyEndAllowThreads(__tstate);
12802 if (PyErr_Occurred()) SWIG_fail;
12803 }
12804 {
12805 wxFont * resultptr;
12806 resultptr = new wxFont((wxFont &) result);
12807 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
12808 }
12809 return resultobj;
12810 fail:
12811 return NULL;
12812}
12813
12814
12815static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12816 PyObject *resultobj;
12817 wxFontData *arg1 = (wxFontData *) 0 ;
12818 bool result;
12819 PyObject * obj0 = 0 ;
12820 char *kwnames[] = {
12821 (char *) "self", NULL
12822 };
12823
12824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
12825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12826 {
12827 PyThreadState* __tstate = wxPyBeginAllowThreads();
12828 result = (bool)(arg1)->GetShowHelp();
12829
12830 wxPyEndAllowThreads(__tstate);
12831 if (PyErr_Occurred()) SWIG_fail;
12832 }
4e760a36 12833 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
12834 return resultobj;
12835 fail:
12836 return NULL;
12837}
12838
12839
12840static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
12841 PyObject *resultobj;
12842 wxFontData *arg1 = (wxFontData *) 0 ;
12843 bool arg2 ;
12844 PyObject * obj0 = 0 ;
12845 PyObject * obj1 = 0 ;
12846 char *kwnames[] = {
12847 (char *) "self",(char *) "allowSymbols", NULL
12848 };
12849
12850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
12851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 12852 {
8edf1c75 12853 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
12854 if (PyErr_Occurred()) SWIG_fail;
12855 }
d14a1e28
RD
12856 {
12857 PyThreadState* __tstate = wxPyBeginAllowThreads();
12858 (arg1)->SetAllowSymbols(arg2);
12859
12860 wxPyEndAllowThreads(__tstate);
12861 if (PyErr_Occurred()) SWIG_fail;
12862 }
12863 Py_INCREF(Py_None); resultobj = Py_None;
12864 return resultobj;
12865 fail:
12866 return NULL;
12867}
12868
12869
12870static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12871 PyObject *resultobj;
12872 wxFontData *arg1 = (wxFontData *) 0 ;
12873 wxFont *arg2 = 0 ;
12874 PyObject * obj0 = 0 ;
12875 PyObject * obj1 = 0 ;
12876 char *kwnames[] = {
12877 (char *) "self",(char *) "font", NULL
12878 };
12879
12880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
12881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12882 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12883 if (arg2 == NULL) {
12884 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12885 }
12886 {
12887 PyThreadState* __tstate = wxPyBeginAllowThreads();
12888 (arg1)->SetChosenFont((wxFont const &)*arg2);
12889
12890 wxPyEndAllowThreads(__tstate);
12891 if (PyErr_Occurred()) SWIG_fail;
12892 }
12893 Py_INCREF(Py_None); resultobj = Py_None;
12894 return resultobj;
12895 fail:
12896 return NULL;
12897}
12898
12899
12900static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
12901 PyObject *resultobj;
12902 wxFontData *arg1 = (wxFontData *) 0 ;
12903 wxColour *arg2 = 0 ;
12904 wxColour temp2 ;
12905 PyObject * obj0 = 0 ;
12906 PyObject * obj1 = 0 ;
12907 char *kwnames[] = {
12908 (char *) "self",(char *) "colour", NULL
12909 };
12910
12911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
12912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12913 {
12914 arg2 = &temp2;
12915 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
12916 }
12917 {
12918 PyThreadState* __tstate = wxPyBeginAllowThreads();
12919 (arg1)->SetColour((wxColour const &)*arg2);
12920
12921 wxPyEndAllowThreads(__tstate);
12922 if (PyErr_Occurred()) SWIG_fail;
12923 }
12924 Py_INCREF(Py_None); resultobj = Py_None;
12925 return resultobj;
12926 fail:
12927 return NULL;
12928}
12929
12930
12931static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
12932 PyObject *resultobj;
12933 wxFontData *arg1 = (wxFontData *) 0 ;
12934 wxFont *arg2 = 0 ;
12935 PyObject * obj0 = 0 ;
12936 PyObject * obj1 = 0 ;
12937 char *kwnames[] = {
12938 (char *) "self",(char *) "font", NULL
12939 };
12940
12941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
12942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12943 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12944 if (arg2 == NULL) {
12945 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12946 }
12947 {
12948 PyThreadState* __tstate = wxPyBeginAllowThreads();
12949 (arg1)->SetInitialFont((wxFont const &)*arg2);
12950
12951 wxPyEndAllowThreads(__tstate);
12952 if (PyErr_Occurred()) SWIG_fail;
12953 }
12954 Py_INCREF(Py_None); resultobj = Py_None;
12955 return resultobj;
12956 fail:
12957 return NULL;
12958}
12959
12960
12961static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
12962 PyObject *resultobj;
12963 wxFontData *arg1 = (wxFontData *) 0 ;
12964 int arg2 ;
12965 int arg3 ;
12966 PyObject * obj0 = 0 ;
8edf1c75
RD
12967 PyObject * obj1 = 0 ;
12968 PyObject * obj2 = 0 ;
d14a1e28
RD
12969 char *kwnames[] = {
12970 (char *) "self",(char *) "min",(char *) "max", NULL
12971 };
12972
8edf1c75 12973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:FontData_SetRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 12974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
12975 {
12976 arg2 = (int) SWIG_PyObj_AsInt(obj1);
12977 if (PyErr_Occurred()) SWIG_fail;
12978 }
12979 {
12980 arg3 = (int) SWIG_PyObj_AsInt(obj2);
12981 if (PyErr_Occurred()) SWIG_fail;
12982 }
d14a1e28
RD
12983 {
12984 PyThreadState* __tstate = wxPyBeginAllowThreads();
12985 (arg1)->SetRange(arg2,arg3);
12986
12987 wxPyEndAllowThreads(__tstate);
12988 if (PyErr_Occurred()) SWIG_fail;
12989 }
12990 Py_INCREF(Py_None); resultobj = Py_None;
12991 return resultobj;
12992 fail:
12993 return NULL;
12994}
12995
12996
12997static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12998 PyObject *resultobj;
12999 wxFontData *arg1 = (wxFontData *) 0 ;
13000 bool arg2 ;
13001 PyObject * obj0 = 0 ;
13002 PyObject * obj1 = 0 ;
13003 char *kwnames[] = {
13004 (char *) "self",(char *) "showHelp", NULL
13005 };
13006
13007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
13008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 13009 {
8edf1c75 13010 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
13011 if (PyErr_Occurred()) SWIG_fail;
13012 }
d14a1e28
RD
13013 {
13014 PyThreadState* __tstate = wxPyBeginAllowThreads();
13015 (arg1)->SetShowHelp(arg2);
13016
13017 wxPyEndAllowThreads(__tstate);
13018 if (PyErr_Occurred()) SWIG_fail;
13019 }
13020 Py_INCREF(Py_None); resultobj = Py_None;
13021 return resultobj;
13022 fail:
13023 return NULL;
13024}
13025
13026
13027static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
13028 PyObject *obj;
13029 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13030 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
13031 Py_INCREF(obj);
13032 return Py_BuildValue((char *)"");
13033}
13034static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13035 PyObject *resultobj;
13036 wxWindow *arg1 = (wxWindow *) 0 ;
13037 wxFontData *arg2 = 0 ;
13038 wxFontDialog *result;
13039 PyObject * obj0 = 0 ;
13040 PyObject * obj1 = 0 ;
13041 char *kwnames[] = {
13042 (char *) "parent",(char *) "data", NULL
13043 };
13044
13045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
13046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13047 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13048 if (arg2 == NULL) {
13049 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
13050 }
13051 {
13052 PyThreadState* __tstate = wxPyBeginAllowThreads();
13053 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
13054
13055 wxPyEndAllowThreads(__tstate);
13056 if (PyErr_Occurred()) SWIG_fail;
13057 }
13058 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
13059 return resultobj;
13060 fail:
13061 return NULL;
13062}
13063
13064
13065static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
13066 PyObject *resultobj;
13067 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13068 wxFontData *result;
13069 PyObject * obj0 = 0 ;
13070 char *kwnames[] = {
13071 (char *) "self", NULL
13072 };
13073
13074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
13075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13076 {
13077 PyThreadState* __tstate = wxPyBeginAllowThreads();
13078 {
13079 wxFontData &_result_ref = (arg1)->GetFontData();
13080 result = (wxFontData *) &_result_ref;
13081 }
13082
13083 wxPyEndAllowThreads(__tstate);
13084 if (PyErr_Occurred()) SWIG_fail;
13085 }
13086 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
13087 return resultobj;
13088 fail:
13089 return NULL;
13090}
13091
13092
13093static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
13094 PyObject *resultobj;
13095 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
13096 int result;
13097 PyObject * obj0 = 0 ;
13098 char *kwnames[] = {
13099 (char *) "self", NULL
13100 };
13101
13102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
13103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13104 {
13105 PyThreadState* __tstate = wxPyBeginAllowThreads();
13106 result = (int)(arg1)->ShowModal();
13107
13108 wxPyEndAllowThreads(__tstate);
13109 if (PyErr_Occurred()) SWIG_fail;
13110 }
8edf1c75 13111 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
13112 return resultobj;
13113 fail:
13114 return NULL;
13115}
13116
13117
13118static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
13119 PyObject *obj;
13120 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13121 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
13122 Py_INCREF(obj);
13123 return Py_BuildValue((char *)"");
13124}
13125static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj;
13127 wxWindow *arg1 = (wxWindow *) 0 ;
13128 wxString *arg2 = 0 ;
13129 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
13130 wxString *arg3 = (wxString *) &arg3_defvalue ;
13131 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
13132 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13133 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13134 wxMessageDialog *result;
423f194a
RD
13135 bool temp2 = False ;
13136 bool temp3 = False ;
d14a1e28
RD
13137 wxPoint temp5 ;
13138 PyObject * obj0 = 0 ;
13139 PyObject * obj1 = 0 ;
13140 PyObject * obj2 = 0 ;
8edf1c75 13141 PyObject * obj3 = 0 ;
d14a1e28
RD
13142 PyObject * obj4 = 0 ;
13143 char *kwnames[] = {
13144 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
13145 };
13146
8edf1c75 13147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
13148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13149 {
13150 arg2 = wxString_in_helper(obj1);
13151 if (arg2 == NULL) SWIG_fail;
423f194a 13152 temp2 = True;
d14a1e28
RD
13153 }
13154 if (obj2) {
13155 {
13156 arg3 = wxString_in_helper(obj2);
13157 if (arg3 == NULL) SWIG_fail;
423f194a 13158 temp3 = True;
d14a1e28
RD
13159 }
13160 }
8edf1c75
RD
13161 if (obj3) {
13162 {
13163 arg4 = (long) SWIG_PyObj_AsLong(obj3);
13164 if (PyErr_Occurred()) SWIG_fail;
13165 }
13166 }
d14a1e28
RD
13167 if (obj4) {
13168 {
13169 arg5 = &temp5;
13170 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13171 }
13172 }
13173 {
13174 PyThreadState* __tstate = wxPyBeginAllowThreads();
13175 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
13176
13177 wxPyEndAllowThreads(__tstate);
13178 if (PyErr_Occurred()) SWIG_fail;
13179 }
13180 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
13181 {
13182 if (temp2)
13183 delete arg2;
13184 }
13185 {
13186 if (temp3)
13187 delete arg3;
13188 }
13189 return resultobj;
13190 fail:
13191 {
13192 if (temp2)
13193 delete arg2;
13194 }
13195 {
13196 if (temp3)
13197 delete arg3;
13198 }
13199 return NULL;
13200}
13201
13202
13203static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
13204 PyObject *resultobj;
13205 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
13206 int result;
13207 PyObject * obj0 = 0 ;
13208 char *kwnames[] = {
13209 (char *) "self", NULL
13210 };
13211
13212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
13213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13214 {
13215 PyThreadState* __tstate = wxPyBeginAllowThreads();
13216 result = (int)(arg1)->ShowModal();
13217
13218 wxPyEndAllowThreads(__tstate);
13219 if (PyErr_Occurred()) SWIG_fail;
13220 }
8edf1c75 13221 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
13222 return resultobj;
13223 fail:
13224 return NULL;
13225}
13226
13227
13228static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
13229 PyObject *obj;
13230 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13231 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
13232 Py_INCREF(obj);
13233 return Py_BuildValue((char *)"");
13234}
13235static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13236 PyObject *resultobj;
13237 wxString *arg1 = 0 ;
13238 wxString *arg2 = 0 ;
13239 int arg3 = (int) 100 ;
13240 wxWindow *arg4 = (wxWindow *) NULL ;
13241 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
13242 wxProgressDialog *result;
423f194a
RD
13243 bool temp1 = False ;
13244 bool temp2 = False ;
d14a1e28
RD
13245 PyObject * obj0 = 0 ;
13246 PyObject * obj1 = 0 ;
8edf1c75 13247 PyObject * obj2 = 0 ;
d14a1e28 13248 PyObject * obj3 = 0 ;
8edf1c75 13249 PyObject * obj4 = 0 ;
d14a1e28
RD
13250 char *kwnames[] = {
13251 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
13252 };
13253
8edf1c75 13254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOO:new_ProgressDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
13255 {
13256 arg1 = wxString_in_helper(obj0);
13257 if (arg1 == NULL) SWIG_fail;
423f194a 13258 temp1 = True;
d14a1e28
RD
13259 }
13260 {
13261 arg2 = wxString_in_helper(obj1);
13262 if (arg2 == NULL) SWIG_fail;
423f194a 13263 temp2 = True;
d14a1e28 13264 }
8edf1c75
RD
13265 if (obj2) {
13266 {
13267 arg3 = (int) SWIG_PyObj_AsInt(obj2);
13268 if (PyErr_Occurred()) SWIG_fail;
13269 }
13270 }
d14a1e28
RD
13271 if (obj3) {
13272 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13273 }
8edf1c75
RD
13274 if (obj4) {
13275 {
13276 arg5 = (int) SWIG_PyObj_AsInt(obj4);
13277 if (PyErr_Occurred()) SWIG_fail;
13278 }
13279 }
d14a1e28
RD
13280 {
13281 PyThreadState* __tstate = wxPyBeginAllowThreads();
13282 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
13283
13284 wxPyEndAllowThreads(__tstate);
13285 if (PyErr_Occurred()) SWIG_fail;
13286 }
13287 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
13288 {
13289 if (temp1)
13290 delete arg1;
13291 }
13292 {
13293 if (temp2)
13294 delete arg2;
13295 }
13296 return resultobj;
13297 fail:
13298 {
13299 if (temp1)
13300 delete arg1;
13301 }
13302 {
13303 if (temp2)
13304 delete arg2;
13305 }
13306 return NULL;
13307}
13308
13309
13310static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
13311 PyObject *resultobj;
13312 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13313 int arg2 ;
13314 wxString const &arg3_defvalue = wxPyEmptyString ;
13315 wxString *arg3 = (wxString *) &arg3_defvalue ;
13316 bool result;
423f194a 13317 bool temp3 = False ;
d14a1e28 13318 PyObject * obj0 = 0 ;
8edf1c75 13319 PyObject * obj1 = 0 ;
d14a1e28
RD
13320 PyObject * obj2 = 0 ;
13321 char *kwnames[] = {
13322 (char *) "self",(char *) "value",(char *) "newmsg", NULL
13323 };
13324
8edf1c75 13325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:ProgressDialog_Update",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 13326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
13327 {
13328 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13329 if (PyErr_Occurred()) SWIG_fail;
13330 }
d14a1e28
RD
13331 if (obj2) {
13332 {
13333 arg3 = wxString_in_helper(obj2);
13334 if (arg3 == NULL) SWIG_fail;
423f194a 13335 temp3 = True;
d14a1e28
RD
13336 }
13337 }
13338 {
13339 PyThreadState* __tstate = wxPyBeginAllowThreads();
13340 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
13341
13342 wxPyEndAllowThreads(__tstate);
13343 if (PyErr_Occurred()) SWIG_fail;
13344 }
4e760a36 13345 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
13346 {
13347 if (temp3)
13348 delete arg3;
13349 }
13350 return resultobj;
13351 fail:
13352 {
13353 if (temp3)
13354 delete arg3;
13355 }
13356 return NULL;
13357}
13358
13359
13360static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
13361 PyObject *resultobj;
13362 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
13363 PyObject * obj0 = 0 ;
13364 char *kwnames[] = {
13365 (char *) "self", NULL
13366 };
13367
13368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
13369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13370 {
13371 PyThreadState* __tstate = wxPyBeginAllowThreads();
13372 (arg1)->Resume();
13373
13374 wxPyEndAllowThreads(__tstate);
13375 if (PyErr_Occurred()) SWIG_fail;
13376 }
13377 Py_INCREF(Py_None); resultobj = Py_None;
13378 return resultobj;
13379 fail:
13380 return NULL;
13381}
13382
13383
13384static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
13385 PyObject *obj;
13386 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13387 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
13388 Py_INCREF(obj);
13389 return Py_BuildValue((char *)"");
13390}
13391static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
13392 PyObject *resultobj;
13393 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
13394 int arg2 = (int) 0 ;
13395 wxFindDialogEvent *result;
8edf1c75
RD
13396 PyObject * obj0 = 0 ;
13397 PyObject * obj1 = 0 ;
d14a1e28
RD
13398 char *kwnames[] = {
13399 (char *) "commandType",(char *) "id", NULL
13400 };
13401
8edf1c75
RD
13402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|OO:new_FindDialogEvent",kwnames,&obj0,&obj1)) goto fail;
13403 if (obj0) {
13404 {
13405 arg1 = (wxEventType) SWIG_PyObj_AsInt(obj0);
13406 if (PyErr_Occurred()) SWIG_fail;
13407 }
13408 }
13409 if (obj1) {
13410 {
13411 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13412 if (PyErr_Occurred()) SWIG_fail;
13413 }
13414 }
d14a1e28
RD
13415 {
13416 PyThreadState* __tstate = wxPyBeginAllowThreads();
13417 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
13418
13419 wxPyEndAllowThreads(__tstate);
13420 if (PyErr_Occurred()) SWIG_fail;
13421 }
13422 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
13423 return resultobj;
13424 fail:
13425 return NULL;
13426}
13427
13428
13429static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13430 PyObject *resultobj;
13431 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13432 int result;
13433 PyObject * obj0 = 0 ;
13434 char *kwnames[] = {
13435 (char *) "self", NULL
13436 };
13437
13438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
13439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13440 {
13441 PyThreadState* __tstate = wxPyBeginAllowThreads();
13442 result = (int)(arg1)->GetFlags();
13443
13444 wxPyEndAllowThreads(__tstate);
13445 if (PyErr_Occurred()) SWIG_fail;
13446 }
8edf1c75 13447 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
13448 return resultobj;
13449 fail:
13450 return NULL;
13451}
13452
13453
13454static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13455 PyObject *resultobj;
13456 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
f0983263 13457 wxString *result;
d14a1e28
RD
13458 PyObject * obj0 = 0 ;
13459 char *kwnames[] = {
13460 (char *) "self", NULL
13461 };
13462
13463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
13464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13465 {
13466 PyThreadState* __tstate = wxPyBeginAllowThreads();
f0983263
RD
13467 {
13468 wxString const &_result_ref = (arg1)->GetFindString();
13469 result = (wxString *) &_result_ref;
13470 }
d14a1e28
RD
13471
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 {
13476#if wxUSE_UNICODE
f0983263 13477 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 13478#else
f0983263 13479 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
13480#endif
13481 }
13482 return resultobj;
13483 fail:
13484 return NULL;
13485}
13486
13487
13488static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13489 PyObject *resultobj;
13490 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13491 wxString *result;
13492 PyObject * obj0 = 0 ;
13493 char *kwnames[] = {
13494 (char *) "self", NULL
13495 };
13496
13497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
13498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 {
13502 wxString const &_result_ref = (arg1)->GetReplaceString();
13503 result = (wxString *) &_result_ref;
13504 }
13505
13506 wxPyEndAllowThreads(__tstate);
13507 if (PyErr_Occurred()) SWIG_fail;
13508 }
f0983263
RD
13509 {
13510#if wxUSE_UNICODE
13511 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13512#else
13513 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13514#endif
13515 }
d14a1e28
RD
13516 return resultobj;
13517 fail:
13518 return NULL;
13519}
13520
13521
13522static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13523 PyObject *resultobj;
13524 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13525 wxFindReplaceDialog *result;
13526 PyObject * obj0 = 0 ;
13527 char *kwnames[] = {
13528 (char *) "self", NULL
13529 };
13530
13531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
13532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13533 {
13534 PyThreadState* __tstate = wxPyBeginAllowThreads();
13535 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
13536
13537 wxPyEndAllowThreads(__tstate);
13538 if (PyErr_Occurred()) SWIG_fail;
13539 }
13540 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
13541 return resultobj;
13542 fail:
13543 return NULL;
13544}
13545
13546
13547static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13548 PyObject *resultobj;
13549 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13550 int arg2 ;
13551 PyObject * obj0 = 0 ;
8edf1c75 13552 PyObject * obj1 = 0 ;
d14a1e28
RD
13553 char *kwnames[] = {
13554 (char *) "self",(char *) "flags", NULL
13555 };
13556
8edf1c75 13557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFlags",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 13558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
13559 {
13560 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13561 if (PyErr_Occurred()) SWIG_fail;
13562 }
d14a1e28
RD
13563 {
13564 PyThreadState* __tstate = wxPyBeginAllowThreads();
13565 (arg1)->SetFlags(arg2);
13566
13567 wxPyEndAllowThreads(__tstate);
13568 if (PyErr_Occurred()) SWIG_fail;
13569 }
13570 Py_INCREF(Py_None); resultobj = Py_None;
13571 return resultobj;
13572 fail:
13573 return NULL;
13574}
13575
13576
13577static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13578 PyObject *resultobj;
13579 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13580 wxString *arg2 = 0 ;
423f194a 13581 bool temp2 = False ;
d14a1e28
RD
13582 PyObject * obj0 = 0 ;
13583 PyObject * obj1 = 0 ;
13584 char *kwnames[] = {
13585 (char *) "self",(char *) "str", NULL
13586 };
13587
13588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13590 {
13591 arg2 = wxString_in_helper(obj1);
13592 if (arg2 == NULL) SWIG_fail;
423f194a 13593 temp2 = True;
d14a1e28
RD
13594 }
13595 {
13596 PyThreadState* __tstate = wxPyBeginAllowThreads();
13597 (arg1)->SetFindString((wxString const &)*arg2);
13598
13599 wxPyEndAllowThreads(__tstate);
13600 if (PyErr_Occurred()) SWIG_fail;
13601 }
13602 Py_INCREF(Py_None); resultobj = Py_None;
13603 {
13604 if (temp2)
13605 delete arg2;
13606 }
13607 return resultobj;
13608 fail:
13609 {
13610 if (temp2)
13611 delete arg2;
13612 }
13613 return NULL;
13614}
13615
13616
13617static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13618 PyObject *resultobj;
13619 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
13620 wxString *arg2 = 0 ;
423f194a 13621 bool temp2 = False ;
d14a1e28
RD
13622 PyObject * obj0 = 0 ;
13623 PyObject * obj1 = 0 ;
13624 char *kwnames[] = {
13625 (char *) "self",(char *) "str", NULL
13626 };
13627
13628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13630 {
13631 arg2 = wxString_in_helper(obj1);
13632 if (arg2 == NULL) SWIG_fail;
423f194a 13633 temp2 = True;
d14a1e28
RD
13634 }
13635 {
13636 PyThreadState* __tstate = wxPyBeginAllowThreads();
13637 (arg1)->SetReplaceString((wxString const &)*arg2);
13638
13639 wxPyEndAllowThreads(__tstate);
13640 if (PyErr_Occurred()) SWIG_fail;
13641 }
13642 Py_INCREF(Py_None); resultobj = Py_None;
13643 {
13644 if (temp2)
13645 delete arg2;
13646 }
13647 return resultobj;
13648 fail:
13649 {
13650 if (temp2)
13651 delete arg2;
13652 }
13653 return NULL;
13654}
13655
13656
13657static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
13658 PyObject *obj;
13659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13660 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
13661 Py_INCREF(obj);
13662 return Py_BuildValue((char *)"");
13663}
13664static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13665 PyObject *resultobj;
13666 int arg1 = (int) 0 ;
13667 wxFindReplaceData *result;
8edf1c75 13668 PyObject * obj0 = 0 ;
d14a1e28
RD
13669 char *kwnames[] = {
13670 (char *) "flags", NULL
13671 };
13672
8edf1c75
RD
13673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_FindReplaceData",kwnames,&obj0)) goto fail;
13674 if (obj0) {
13675 {
13676 arg1 = (int) SWIG_PyObj_AsInt(obj0);
13677 if (PyErr_Occurred()) SWIG_fail;
13678 }
13679 }
d14a1e28
RD
13680 {
13681 PyThreadState* __tstate = wxPyBeginAllowThreads();
13682 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
13683
13684 wxPyEndAllowThreads(__tstate);
13685 if (PyErr_Occurred()) SWIG_fail;
13686 }
13687 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
13688 return resultobj;
13689 fail:
13690 return NULL;
13691}
13692
13693
13694static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
13695 PyObject *resultobj;
13696 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13697 PyObject * obj0 = 0 ;
13698 char *kwnames[] = {
13699 (char *) "self", NULL
13700 };
13701
13702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
13703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13704 {
13705 PyThreadState* __tstate = wxPyBeginAllowThreads();
13706 delete arg1;
13707
13708 wxPyEndAllowThreads(__tstate);
13709 if (PyErr_Occurred()) SWIG_fail;
13710 }
13711 Py_INCREF(Py_None); resultobj = Py_None;
13712 return resultobj;
13713 fail:
13714 return NULL;
13715}
13716
13717
13718static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13719 PyObject *resultobj;
13720 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13721 wxString *result;
13722 PyObject * obj0 = 0 ;
13723 char *kwnames[] = {
13724 (char *) "self", NULL
13725 };
13726
13727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
13728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13729 {
13730 PyThreadState* __tstate = wxPyBeginAllowThreads();
13731 {
13732 wxString const &_result_ref = (arg1)->GetFindString();
13733 result = (wxString *) &_result_ref;
13734 }
13735
13736 wxPyEndAllowThreads(__tstate);
13737 if (PyErr_Occurred()) SWIG_fail;
13738 }
f0983263
RD
13739 {
13740#if wxUSE_UNICODE
13741 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13742#else
13743 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13744#endif
13745 }
d14a1e28
RD
13746 return resultobj;
13747 fail:
13748 return NULL;
13749}
13750
13751
13752static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13753 PyObject *resultobj;
13754 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13755 wxString *result;
13756 PyObject * obj0 = 0 ;
13757 char *kwnames[] = {
13758 (char *) "self", NULL
13759 };
13760
13761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
13762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13763 {
13764 PyThreadState* __tstate = wxPyBeginAllowThreads();
13765 {
13766 wxString const &_result_ref = (arg1)->GetReplaceString();
13767 result = (wxString *) &_result_ref;
13768 }
13769
13770 wxPyEndAllowThreads(__tstate);
13771 if (PyErr_Occurred()) SWIG_fail;
13772 }
f0983263
RD
13773 {
13774#if wxUSE_UNICODE
13775 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
13776#else
13777 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
13778#endif
13779 }
d14a1e28
RD
13780 return resultobj;
13781 fail:
13782 return NULL;
13783}
13784
13785
13786static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13787 PyObject *resultobj;
13788 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13789 int result;
13790 PyObject * obj0 = 0 ;
13791 char *kwnames[] = {
13792 (char *) "self", NULL
13793 };
13794
13795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
13796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13797 {
13798 PyThreadState* __tstate = wxPyBeginAllowThreads();
13799 result = (int)(arg1)->GetFlags();
13800
13801 wxPyEndAllowThreads(__tstate);
13802 if (PyErr_Occurred()) SWIG_fail;
13803 }
8edf1c75 13804 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
13805 return resultobj;
13806 fail:
13807 return NULL;
13808}
13809
13810
13811static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
13812 PyObject *resultobj;
13813 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13814 int arg2 ;
13815 PyObject * obj0 = 0 ;
8edf1c75 13816 PyObject * obj1 = 0 ;
d14a1e28
RD
13817 char *kwnames[] = {
13818 (char *) "self",(char *) "flags", NULL
13819 };
13820
8edf1c75 13821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFlags",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 13822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
13823 {
13824 arg2 = (int) SWIG_PyObj_AsInt(obj1);
13825 if (PyErr_Occurred()) SWIG_fail;
13826 }
d14a1e28
RD
13827 {
13828 PyThreadState* __tstate = wxPyBeginAllowThreads();
13829 (arg1)->SetFlags(arg2);
13830
13831 wxPyEndAllowThreads(__tstate);
13832 if (PyErr_Occurred()) SWIG_fail;
13833 }
13834 Py_INCREF(Py_None); resultobj = Py_None;
13835 return resultobj;
13836 fail:
13837 return NULL;
13838}
13839
13840
13841static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
13842 PyObject *resultobj;
13843 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13844 wxString *arg2 = 0 ;
423f194a 13845 bool temp2 = False ;
d14a1e28
RD
13846 PyObject * obj0 = 0 ;
13847 PyObject * obj1 = 0 ;
13848 char *kwnames[] = {
13849 (char *) "self",(char *) "str", NULL
13850 };
13851
13852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
13853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13854 {
13855 arg2 = wxString_in_helper(obj1);
13856 if (arg2 == NULL) SWIG_fail;
423f194a 13857 temp2 = True;
d14a1e28
RD
13858 }
13859 {
13860 PyThreadState* __tstate = wxPyBeginAllowThreads();
13861 (arg1)->SetFindString((wxString const &)*arg2);
13862
13863 wxPyEndAllowThreads(__tstate);
13864 if (PyErr_Occurred()) SWIG_fail;
13865 }
13866 Py_INCREF(Py_None); resultobj = Py_None;
13867 {
13868 if (temp2)
13869 delete arg2;
13870 }
13871 return resultobj;
13872 fail:
13873 {
13874 if (temp2)
13875 delete arg2;
13876 }
13877 return NULL;
13878}
13879
13880
13881static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
13882 PyObject *resultobj;
13883 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
13884 wxString *arg2 = 0 ;
423f194a 13885 bool temp2 = False ;
d14a1e28
RD
13886 PyObject * obj0 = 0 ;
13887 PyObject * obj1 = 0 ;
13888 char *kwnames[] = {
13889 (char *) "self",(char *) "str", NULL
13890 };
13891
13892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
13893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13894 {
13895 arg2 = wxString_in_helper(obj1);
13896 if (arg2 == NULL) SWIG_fail;
423f194a 13897 temp2 = True;
d14a1e28
RD
13898 }
13899 {
13900 PyThreadState* __tstate = wxPyBeginAllowThreads();
13901 (arg1)->SetReplaceString((wxString const &)*arg2);
13902
13903 wxPyEndAllowThreads(__tstate);
13904 if (PyErr_Occurred()) SWIG_fail;
13905 }
13906 Py_INCREF(Py_None); resultobj = Py_None;
13907 {
13908 if (temp2)
13909 delete arg2;
13910 }
13911 return resultobj;
13912 fail:
13913 {
13914 if (temp2)
13915 delete arg2;
13916 }
13917 return NULL;
13918}
13919
13920
13921static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
13922 PyObject *obj;
13923 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13924 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
13925 Py_INCREF(obj);
13926 return Py_BuildValue((char *)"");
13927}
13928static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13929 PyObject *resultobj;
13930 wxWindow *arg1 = (wxWindow *) 0 ;
13931 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
13932 wxString *arg3 = 0 ;
13933 int arg4 = (int) 0 ;
13934 wxFindReplaceDialog *result;
423f194a 13935 bool temp3 = False ;
d14a1e28
RD
13936 PyObject * obj0 = 0 ;
13937 PyObject * obj1 = 0 ;
13938 PyObject * obj2 = 0 ;
8edf1c75 13939 PyObject * obj3 = 0 ;
d14a1e28
RD
13940 char *kwnames[] = {
13941 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
13942 };
13943
8edf1c75 13944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
13945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13946 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13947 {
13948 arg3 = wxString_in_helper(obj2);
13949 if (arg3 == NULL) SWIG_fail;
423f194a 13950 temp3 = True;
d14a1e28 13951 }
8edf1c75
RD
13952 if (obj3) {
13953 {
13954 arg4 = (int) SWIG_PyObj_AsInt(obj3);
13955 if (PyErr_Occurred()) SWIG_fail;
13956 }
13957 }
d14a1e28
RD
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
13961
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
13965 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13966 {
13967 if (temp3)
13968 delete arg3;
13969 }
13970 return resultobj;
13971 fail:
13972 {
13973 if (temp3)
13974 delete arg3;
13975 }
13976 return NULL;
13977}
13978
13979
13980static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13981 PyObject *resultobj;
13982 wxFindReplaceDialog *result;
13983 char *kwnames[] = {
13984 NULL
13985 };
13986
13987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
13991
13992 wxPyEndAllowThreads(__tstate);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
13996 return resultobj;
13997 fail:
13998 return NULL;
13999}
14000
14001
14002static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14003 PyObject *resultobj;
14004 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14005 wxWindow *arg2 = (wxWindow *) 0 ;
14006 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
14007 wxString *arg4 = 0 ;
14008 int arg5 = (int) 0 ;
14009 bool result;
423f194a 14010 bool temp4 = False ;
d14a1e28
RD
14011 PyObject * obj0 = 0 ;
14012 PyObject * obj1 = 0 ;
14013 PyObject * obj2 = 0 ;
14014 PyObject * obj3 = 0 ;
8edf1c75 14015 PyObject * obj4 = 0 ;
d14a1e28
RD
14016 char *kwnames[] = {
14017 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
14018 };
14019
8edf1c75 14020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28
RD
14021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14022 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14023 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14024 {
14025 arg4 = wxString_in_helper(obj3);
14026 if (arg4 == NULL) SWIG_fail;
423f194a 14027 temp4 = True;
d14a1e28 14028 }
8edf1c75
RD
14029 if (obj4) {
14030 {
14031 arg5 = (int) SWIG_PyObj_AsInt(obj4);
14032 if (PyErr_Occurred()) SWIG_fail;
14033 }
14034 }
d14a1e28
RD
14035 {
14036 PyThreadState* __tstate = wxPyBeginAllowThreads();
14037 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
14038
14039 wxPyEndAllowThreads(__tstate);
14040 if (PyErr_Occurred()) SWIG_fail;
14041 }
4e760a36 14042 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14043 {
14044 if (temp4)
14045 delete arg4;
14046 }
14047 return resultobj;
14048 fail:
14049 {
14050 if (temp4)
14051 delete arg4;
14052 }
14053 return NULL;
14054}
14055
14056
14057static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14058 PyObject *resultobj;
14059 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14060 wxFindReplaceData *result;
14061 PyObject * obj0 = 0 ;
14062 char *kwnames[] = {
14063 (char *) "self", NULL
14064 };
14065
14066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
14067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14068 {
14069 PyThreadState* __tstate = wxPyBeginAllowThreads();
14070 result = (wxFindReplaceData *)(arg1)->GetData();
14071
14072 wxPyEndAllowThreads(__tstate);
14073 if (PyErr_Occurred()) SWIG_fail;
14074 }
14075 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
14076 return resultobj;
14077 fail:
14078 return NULL;
14079}
14080
14081
14082static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
14083 PyObject *resultobj;
14084 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
14085 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
14086 PyObject * obj0 = 0 ;
14087 PyObject * obj1 = 0 ;
14088 char *kwnames[] = {
14089 (char *) "self",(char *) "data", NULL
14090 };
14091
14092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
14093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14094 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14095 {
14096 PyThreadState* __tstate = wxPyBeginAllowThreads();
14097 (arg1)->SetData(arg2);
14098
14099 wxPyEndAllowThreads(__tstate);
14100 if (PyErr_Occurred()) SWIG_fail;
14101 }
14102 Py_INCREF(Py_None); resultobj = Py_None;
14103 return resultobj;
14104 fail:
14105 return NULL;
14106}
14107
14108
14109static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
14110 PyObject *obj;
14111 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14112 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
14113 Py_INCREF(obj);
14114 return Py_BuildValue((char *)"");
14115}
14116static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14117 PyObject *resultobj;
14118 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 14119 int arg2 ;
d14a1e28
RD
14120 wxString *arg3 = 0 ;
14121 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14122 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14123 wxSize const &arg5_defvalue = wxDefaultSize ;
14124 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14125 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14126 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14127 wxString *arg7 = (wxString *) &arg7_defvalue ;
14128 wxMDIParentFrame *result;
423f194a 14129 bool temp3 = False ;
d14a1e28
RD
14130 wxPoint temp4 ;
14131 wxSize temp5 ;
423f194a 14132 bool temp7 = False ;
d14a1e28 14133 PyObject * obj0 = 0 ;
8edf1c75 14134 PyObject * obj1 = 0 ;
d14a1e28
RD
14135 PyObject * obj2 = 0 ;
14136 PyObject * obj3 = 0 ;
14137 PyObject * obj4 = 0 ;
8edf1c75 14138 PyObject * obj5 = 0 ;
d14a1e28
RD
14139 PyObject * obj6 = 0 ;
14140 char *kwnames[] = {
14141 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14142 };
14143
8edf1c75 14144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIParentFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28 14145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14146 {
14147 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14148 if (PyErr_Occurred()) SWIG_fail;
14149 }
d14a1e28
RD
14150 {
14151 arg3 = wxString_in_helper(obj2);
14152 if (arg3 == NULL) SWIG_fail;
423f194a 14153 temp3 = True;
d14a1e28
RD
14154 }
14155 if (obj3) {
14156 {
14157 arg4 = &temp4;
14158 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14159 }
14160 }
14161 if (obj4) {
14162 {
14163 arg5 = &temp5;
14164 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14165 }
14166 }
8edf1c75
RD
14167 if (obj5) {
14168 {
14169 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14170 if (PyErr_Occurred()) SWIG_fail;
14171 }
14172 }
d14a1e28
RD
14173 if (obj6) {
14174 {
14175 arg7 = wxString_in_helper(obj6);
14176 if (arg7 == NULL) SWIG_fail;
423f194a 14177 temp7 = True;
d14a1e28
RD
14178 }
14179 }
14180 {
14181 PyThreadState* __tstate = wxPyBeginAllowThreads();
14182 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14183
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
14188 {
14189 if (temp3)
14190 delete arg3;
14191 }
14192 {
14193 if (temp7)
14194 delete arg7;
14195 }
14196 return resultobj;
14197 fail:
14198 {
14199 if (temp3)
14200 delete arg3;
14201 }
14202 {
14203 if (temp7)
14204 delete arg7;
14205 }
14206 return NULL;
14207}
14208
14209
14210static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14211 PyObject *resultobj;
14212 wxMDIParentFrame *result;
14213 char *kwnames[] = {
14214 NULL
14215 };
14216
14217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
14218 {
14219 PyThreadState* __tstate = wxPyBeginAllowThreads();
14220 result = (wxMDIParentFrame *)new wxMDIParentFrame();
14221
14222 wxPyEndAllowThreads(__tstate);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
14226 return resultobj;
14227 fail:
14228 return NULL;
14229}
14230
14231
14232static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14233 PyObject *resultobj;
14234 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14235 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 14236 int arg3 ;
d14a1e28
RD
14237 wxString *arg4 = 0 ;
14238 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14239 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14240 wxSize const &arg6_defvalue = wxDefaultSize ;
14241 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14242 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
14243 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14244 wxString *arg8 = (wxString *) &arg8_defvalue ;
14245 bool result;
423f194a 14246 bool temp4 = False ;
d14a1e28
RD
14247 wxPoint temp5 ;
14248 wxSize temp6 ;
423f194a 14249 bool temp8 = False ;
d14a1e28
RD
14250 PyObject * obj0 = 0 ;
14251 PyObject * obj1 = 0 ;
8edf1c75 14252 PyObject * obj2 = 0 ;
d14a1e28
RD
14253 PyObject * obj3 = 0 ;
14254 PyObject * obj4 = 0 ;
14255 PyObject * obj5 = 0 ;
8edf1c75 14256 PyObject * obj6 = 0 ;
d14a1e28
RD
14257 PyObject * obj7 = 0 ;
14258 char *kwnames[] = {
14259 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14260 };
14261
8edf1c75 14262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
14263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14264 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14265 {
14266 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
14267 if (PyErr_Occurred()) SWIG_fail;
14268 }
d14a1e28
RD
14269 {
14270 arg4 = wxString_in_helper(obj3);
14271 if (arg4 == NULL) SWIG_fail;
423f194a 14272 temp4 = True;
d14a1e28
RD
14273 }
14274 if (obj4) {
14275 {
14276 arg5 = &temp5;
14277 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14278 }
14279 }
14280 if (obj5) {
14281 {
14282 arg6 = &temp6;
14283 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14284 }
14285 }
8edf1c75
RD
14286 if (obj6) {
14287 {
14288 arg7 = (long) SWIG_PyObj_AsLong(obj6);
14289 if (PyErr_Occurred()) SWIG_fail;
14290 }
14291 }
d14a1e28
RD
14292 if (obj7) {
14293 {
14294 arg8 = wxString_in_helper(obj7);
14295 if (arg8 == NULL) SWIG_fail;
423f194a 14296 temp8 = True;
d14a1e28
RD
14297 }
14298 }
14299 {
14300 PyThreadState* __tstate = wxPyBeginAllowThreads();
14301 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14302
14303 wxPyEndAllowThreads(__tstate);
14304 if (PyErr_Occurred()) SWIG_fail;
14305 }
4e760a36 14306 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14307 {
14308 if (temp4)
14309 delete arg4;
14310 }
14311 {
14312 if (temp8)
14313 delete arg8;
14314 }
14315 return resultobj;
14316 fail:
14317 {
14318 if (temp4)
14319 delete arg4;
14320 }
14321 {
14322 if (temp8)
14323 delete arg8;
14324 }
14325 return NULL;
14326}
14327
14328
14329static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
14330 PyObject *resultobj;
14331 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14332 PyObject * obj0 = 0 ;
14333 char *kwnames[] = {
14334 (char *) "self", NULL
14335 };
14336
14337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
14338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14339 {
14340 PyThreadState* __tstate = wxPyBeginAllowThreads();
14341 (arg1)->ActivateNext();
14342
14343 wxPyEndAllowThreads(__tstate);
14344 if (PyErr_Occurred()) SWIG_fail;
14345 }
14346 Py_INCREF(Py_None); resultobj = Py_None;
14347 return resultobj;
14348 fail:
14349 return NULL;
14350}
14351
14352
14353static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
14354 PyObject *resultobj;
14355 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14356 PyObject * obj0 = 0 ;
14357 char *kwnames[] = {
14358 (char *) "self", NULL
14359 };
14360
14361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
14362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14363 {
14364 PyThreadState* __tstate = wxPyBeginAllowThreads();
14365 (arg1)->ActivatePrevious();
14366
14367 wxPyEndAllowThreads(__tstate);
14368 if (PyErr_Occurred()) SWIG_fail;
14369 }
14370 Py_INCREF(Py_None); resultobj = Py_None;
14371 return resultobj;
14372 fail:
14373 return NULL;
14374}
14375
14376
14377static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
14378 PyObject *resultobj;
14379 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14380 PyObject * obj0 = 0 ;
14381 char *kwnames[] = {
14382 (char *) "self", NULL
14383 };
14384
14385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
14386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14387 {
14388 PyThreadState* __tstate = wxPyBeginAllowThreads();
14389 (arg1)->ArrangeIcons();
14390
14391 wxPyEndAllowThreads(__tstate);
14392 if (PyErr_Occurred()) SWIG_fail;
14393 }
14394 Py_INCREF(Py_None); resultobj = Py_None;
14395 return resultobj;
14396 fail:
14397 return NULL;
14398}
14399
14400
14401static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
14402 PyObject *resultobj;
14403 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14404 PyObject * obj0 = 0 ;
14405 char *kwnames[] = {
14406 (char *) "self", NULL
14407 };
14408
14409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
14410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14411 {
14412 PyThreadState* __tstate = wxPyBeginAllowThreads();
14413 (arg1)->Cascade();
14414
14415 wxPyEndAllowThreads(__tstate);
14416 if (PyErr_Occurred()) SWIG_fail;
14417 }
14418 Py_INCREF(Py_None); resultobj = Py_None;
14419 return resultobj;
14420 fail:
14421 return NULL;
14422}
14423
14424
14425static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14426 PyObject *resultobj;
14427 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14428 wxMDIChildFrame *result;
14429 PyObject * obj0 = 0 ;
14430 char *kwnames[] = {
14431 (char *) "self", NULL
14432 };
14433
14434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
14435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14436 {
14437 PyThreadState* __tstate = wxPyBeginAllowThreads();
14438 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
14439
14440 wxPyEndAllowThreads(__tstate);
14441 if (PyErr_Occurred()) SWIG_fail;
14442 }
14443 {
14444 resultobj = wxPyMake_wxObject(result);
14445 }
14446 return resultobj;
14447 fail:
14448 return NULL;
14449}
14450
14451
14452static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14453 PyObject *resultobj;
14454 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14455 wxMDIClientWindow *result;
14456 PyObject * obj0 = 0 ;
14457 char *kwnames[] = {
14458 (char *) "self", NULL
14459 };
14460
14461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
14462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14463 {
14464 PyThreadState* __tstate = wxPyBeginAllowThreads();
14465 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
14466
14467 wxPyEndAllowThreads(__tstate);
14468 if (PyErr_Occurred()) SWIG_fail;
14469 }
14470 {
14471 resultobj = wxPyMake_wxObject(result);
14472 }
14473 return resultobj;
14474 fail:
14475 return NULL;
14476}
14477
14478
14479static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14480 PyObject *resultobj;
14481 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14482 wxWindow *result;
14483 PyObject * obj0 = 0 ;
14484 char *kwnames[] = {
14485 (char *) "self", NULL
14486 };
14487
14488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
14489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14490 {
14491 PyThreadState* __tstate = wxPyBeginAllowThreads();
14492 result = (wxWindow *)(arg1)->GetToolBar();
14493
14494 wxPyEndAllowThreads(__tstate);
14495 if (PyErr_Occurred()) SWIG_fail;
14496 }
14497 {
14498 resultobj = wxPyMake_wxObject(result);
14499 }
14500 return resultobj;
14501 fail:
14502 return NULL;
14503}
14504
14505
14506static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14507 PyObject *resultobj;
14508 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14509 wxMenu *result;
14510 PyObject * obj0 = 0 ;
14511 char *kwnames[] = {
14512 (char *) "self", NULL
14513 };
14514
14515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
14516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14517 {
14518 PyThreadState* __tstate = wxPyBeginAllowThreads();
14519 result = (wxMenu *)(arg1)->GetWindowMenu();
14520
14521 wxPyEndAllowThreads(__tstate);
14522 if (PyErr_Occurred()) SWIG_fail;
14523 }
14524 {
14525 resultobj = wxPyMake_wxObject(result);
14526 }
14527 return resultobj;
14528 fail:
14529 return NULL;
14530}
14531
14532
14533static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
14534 PyObject *resultobj;
14535 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14536 wxMenu *arg2 = (wxMenu *) 0 ;
14537 PyObject * obj0 = 0 ;
14538 PyObject * obj1 = 0 ;
14539 char *kwnames[] = {
14540 (char *) "self",(char *) "menu", NULL
14541 };
14542
14543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
14544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14545 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14546 {
14547 PyThreadState* __tstate = wxPyBeginAllowThreads();
14548 (arg1)->SetWindowMenu(arg2);
14549
14550 wxPyEndAllowThreads(__tstate);
14551 if (PyErr_Occurred()) SWIG_fail;
14552 }
14553 Py_INCREF(Py_None); resultobj = Py_None;
14554 return resultobj;
14555 fail:
14556 return NULL;
14557}
14558
14559
14560static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
14561 PyObject *resultobj;
14562 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14563 wxToolBar *arg2 = (wxToolBar *) 0 ;
14564 PyObject * obj0 = 0 ;
14565 PyObject * obj1 = 0 ;
14566 char *kwnames[] = {
14567 (char *) "self",(char *) "toolbar", NULL
14568 };
14569
14570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
14571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14572 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14573 {
14574 PyThreadState* __tstate = wxPyBeginAllowThreads();
14575 (arg1)->SetToolBar(arg2);
14576
14577 wxPyEndAllowThreads(__tstate);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
14580 Py_INCREF(Py_None); resultobj = Py_None;
14581 return resultobj;
14582 fail:
14583 return NULL;
14584}
14585
14586
14587static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
14588 PyObject *resultobj;
14589 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14590 PyObject * obj0 = 0 ;
14591 char *kwnames[] = {
14592 (char *) "self", NULL
14593 };
14594
14595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
14596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14597 {
14598 PyThreadState* __tstate = wxPyBeginAllowThreads();
14599 (arg1)->Tile();
14600
14601 wxPyEndAllowThreads(__tstate);
14602 if (PyErr_Occurred()) SWIG_fail;
14603 }
14604 Py_INCREF(Py_None); resultobj = Py_None;
14605 return resultobj;
14606 fail:
14607 return NULL;
14608}
14609
14610
14611static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
14612 PyObject *obj;
14613 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14614 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
14615 Py_INCREF(obj);
14616 return Py_BuildValue((char *)"");
14617}
14618static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14619 PyObject *resultobj;
14620 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
423f194a 14621 int arg2 ;
d14a1e28
RD
14622 wxString *arg3 = 0 ;
14623 wxPoint const &arg4_defvalue = wxDefaultPosition ;
14624 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
14625 wxSize const &arg5_defvalue = wxDefaultSize ;
14626 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
14627 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
14628 wxString const &arg7_defvalue = wxPyFrameNameStr ;
14629 wxString *arg7 = (wxString *) &arg7_defvalue ;
14630 wxMDIChildFrame *result;
423f194a 14631 bool temp3 = False ;
d14a1e28
RD
14632 wxPoint temp4 ;
14633 wxSize temp5 ;
423f194a 14634 bool temp7 = False ;
d14a1e28 14635 PyObject * obj0 = 0 ;
8edf1c75 14636 PyObject * obj1 = 0 ;
d14a1e28
RD
14637 PyObject * obj2 = 0 ;
14638 PyObject * obj3 = 0 ;
14639 PyObject * obj4 = 0 ;
8edf1c75 14640 PyObject * obj5 = 0 ;
d14a1e28
RD
14641 PyObject * obj6 = 0 ;
14642 char *kwnames[] = {
14643 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14644 };
14645
8edf1c75 14646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_MDIChildFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28 14647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14648 {
14649 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
14650 if (PyErr_Occurred()) SWIG_fail;
14651 }
d14a1e28
RD
14652 {
14653 arg3 = wxString_in_helper(obj2);
14654 if (arg3 == NULL) SWIG_fail;
423f194a 14655 temp3 = True;
d14a1e28
RD
14656 }
14657 if (obj3) {
14658 {
14659 arg4 = &temp4;
14660 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
14661 }
14662 }
14663 if (obj4) {
14664 {
14665 arg5 = &temp5;
14666 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
14667 }
14668 }
8edf1c75
RD
14669 if (obj5) {
14670 {
14671 arg6 = (long) SWIG_PyObj_AsLong(obj5);
14672 if (PyErr_Occurred()) SWIG_fail;
14673 }
14674 }
d14a1e28
RD
14675 if (obj6) {
14676 {
14677 arg7 = wxString_in_helper(obj6);
14678 if (arg7 == NULL) SWIG_fail;
423f194a 14679 temp7 = True;
d14a1e28
RD
14680 }
14681 }
14682 {
14683 PyThreadState* __tstate = wxPyBeginAllowThreads();
14684 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
14685
14686 wxPyEndAllowThreads(__tstate);
14687 if (PyErr_Occurred()) SWIG_fail;
14688 }
14689 {
14690 resultobj = wxPyMake_wxObject(result);
14691 }
14692 {
14693 if (temp3)
14694 delete arg3;
14695 }
14696 {
14697 if (temp7)
14698 delete arg7;
14699 }
14700 return resultobj;
14701 fail:
14702 {
14703 if (temp3)
14704 delete arg3;
14705 }
14706 {
14707 if (temp7)
14708 delete arg7;
14709 }
14710 return NULL;
14711}
14712
14713
14714static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
14715 PyObject *resultobj;
14716 wxMDIChildFrame *result;
14717 char *kwnames[] = {
14718 NULL
14719 };
14720
14721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
14722 {
14723 PyThreadState* __tstate = wxPyBeginAllowThreads();
14724 result = (wxMDIChildFrame *)new wxMDIChildFrame();
14725
14726 wxPyEndAllowThreads(__tstate);
14727 if (PyErr_Occurred()) SWIG_fail;
14728 }
14729 {
14730 resultobj = wxPyMake_wxObject(result);
14731 }
14732 return resultobj;
14733 fail:
14734 return NULL;
14735}
14736
14737
14738static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14739 PyObject *resultobj;
14740 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14741 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
423f194a 14742 int arg3 ;
d14a1e28
RD
14743 wxString *arg4 = 0 ;
14744 wxPoint const &arg5_defvalue = wxDefaultPosition ;
14745 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
14746 wxSize const &arg6_defvalue = wxDefaultSize ;
14747 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
14748 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
14749 wxString const &arg8_defvalue = wxPyFrameNameStr ;
14750 wxString *arg8 = (wxString *) &arg8_defvalue ;
14751 bool result;
423f194a 14752 bool temp4 = False ;
d14a1e28
RD
14753 wxPoint temp5 ;
14754 wxSize temp6 ;
423f194a 14755 bool temp8 = False ;
d14a1e28
RD
14756 PyObject * obj0 = 0 ;
14757 PyObject * obj1 = 0 ;
8edf1c75 14758 PyObject * obj2 = 0 ;
d14a1e28
RD
14759 PyObject * obj3 = 0 ;
14760 PyObject * obj4 = 0 ;
14761 PyObject * obj5 = 0 ;
8edf1c75 14762 PyObject * obj6 = 0 ;
d14a1e28
RD
14763 PyObject * obj7 = 0 ;
14764 char *kwnames[] = {
14765 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14766 };
14767
8edf1c75 14768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|OOOO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7)) goto fail;
d14a1e28
RD
14769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14770 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14771 {
14772 arg3 = (int const) SWIG_PyObj_AsInt(obj2);
14773 if (PyErr_Occurred()) SWIG_fail;
14774 }
d14a1e28
RD
14775 {
14776 arg4 = wxString_in_helper(obj3);
14777 if (arg4 == NULL) SWIG_fail;
423f194a 14778 temp4 = True;
d14a1e28
RD
14779 }
14780 if (obj4) {
14781 {
14782 arg5 = &temp5;
14783 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
14784 }
14785 }
14786 if (obj5) {
14787 {
14788 arg6 = &temp6;
14789 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
14790 }
14791 }
8edf1c75
RD
14792 if (obj6) {
14793 {
14794 arg7 = (long) SWIG_PyObj_AsLong(obj6);
14795 if (PyErr_Occurred()) SWIG_fail;
14796 }
14797 }
d14a1e28
RD
14798 if (obj7) {
14799 {
14800 arg8 = wxString_in_helper(obj7);
14801 if (arg8 == NULL) SWIG_fail;
423f194a 14802 temp8 = True;
d14a1e28
RD
14803 }
14804 }
14805 {
14806 PyThreadState* __tstate = wxPyBeginAllowThreads();
14807 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
14808
14809 wxPyEndAllowThreads(__tstate);
14810 if (PyErr_Occurred()) SWIG_fail;
14811 }
4e760a36 14812 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
14813 {
14814 if (temp4)
14815 delete arg4;
14816 }
14817 {
14818 if (temp8)
14819 delete arg8;
14820 }
14821 return resultobj;
14822 fail:
14823 {
14824 if (temp4)
14825 delete arg4;
14826 }
14827 {
14828 if (temp8)
14829 delete arg8;
14830 }
14831 return NULL;
14832}
14833
14834
14835static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
14836 PyObject *resultobj;
14837 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14838 PyObject * obj0 = 0 ;
14839 char *kwnames[] = {
14840 (char *) "self", NULL
14841 };
14842
14843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
14844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14845 {
14846 PyThreadState* __tstate = wxPyBeginAllowThreads();
14847 (arg1)->Activate();
14848
14849 wxPyEndAllowThreads(__tstate);
14850 if (PyErr_Occurred()) SWIG_fail;
14851 }
14852 Py_INCREF(Py_None); resultobj = Py_None;
14853 return resultobj;
14854 fail:
14855 return NULL;
14856}
14857
14858
14859static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
14860 PyObject *resultobj;
14861 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14862 bool arg2 ;
14863 PyObject * obj0 = 0 ;
14864 PyObject * obj1 = 0 ;
14865 char *kwnames[] = {
14866 (char *) "self",(char *) "maximize", NULL
14867 };
14868
14869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
14870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 14871 {
8edf1c75 14872 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
14873 if (PyErr_Occurred()) SWIG_fail;
14874 }
d14a1e28
RD
14875 {
14876 PyThreadState* __tstate = wxPyBeginAllowThreads();
14877 (arg1)->Maximize(arg2);
14878
14879 wxPyEndAllowThreads(__tstate);
14880 if (PyErr_Occurred()) SWIG_fail;
14881 }
14882 Py_INCREF(Py_None); resultobj = Py_None;
14883 return resultobj;
14884 fail:
14885 return NULL;
14886}
14887
14888
14889static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
14890 PyObject *resultobj;
14891 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
14892 PyObject * obj0 = 0 ;
14893 char *kwnames[] = {
14894 (char *) "self", NULL
14895 };
14896
14897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
14898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14899 {
14900 PyThreadState* __tstate = wxPyBeginAllowThreads();
14901 (arg1)->Restore();
14902
14903 wxPyEndAllowThreads(__tstate);
14904 if (PyErr_Occurred()) SWIG_fail;
14905 }
14906 Py_INCREF(Py_None); resultobj = Py_None;
14907 return resultobj;
14908 fail:
14909 return NULL;
14910}
14911
14912
14913static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
14914 PyObject *obj;
14915 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14916 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
14917 Py_INCREF(obj);
14918 return Py_BuildValue((char *)"");
14919}
14920static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14921 PyObject *resultobj;
14922 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
14923 long arg2 = (long) 0 ;
14924 wxMDIClientWindow *result;
14925 PyObject * obj0 = 0 ;
8edf1c75 14926 PyObject * obj1 = 0 ;
d14a1e28
RD
14927 char *kwnames[] = {
14928 (char *) "parent",(char *) "style", NULL
14929 };
14930
8edf1c75 14931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_MDIClientWindow",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 14932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14933 if (obj1) {
14934 {
14935 arg2 = (long) SWIG_PyObj_AsLong(obj1);
14936 if (PyErr_Occurred()) SWIG_fail;
14937 }
14938 }
d14a1e28
RD
14939 {
14940 PyThreadState* __tstate = wxPyBeginAllowThreads();
14941 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
14942
14943 wxPyEndAllowThreads(__tstate);
14944 if (PyErr_Occurred()) SWIG_fail;
14945 }
14946 {
14947 resultobj = wxPyMake_wxObject(result);
14948 }
14949 return resultobj;
14950 fail:
14951 return NULL;
14952}
14953
14954
14955static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14956 PyObject *resultobj;
14957 wxMDIClientWindow *result;
14958 char *kwnames[] = {
14959 NULL
14960 };
14961
14962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
14963 {
14964 PyThreadState* __tstate = wxPyBeginAllowThreads();
14965 result = (wxMDIClientWindow *)new wxMDIClientWindow();
14966
14967 wxPyEndAllowThreads(__tstate);
14968 if (PyErr_Occurred()) SWIG_fail;
14969 }
14970 {
14971 resultobj = wxPyMake_wxObject(result);
14972 }
14973 return resultobj;
14974 fail:
14975 return NULL;
14976}
14977
14978
14979static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
14980 PyObject *resultobj;
14981 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
14982 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
14983 long arg3 = (long) 0 ;
14984 bool result;
14985 PyObject * obj0 = 0 ;
14986 PyObject * obj1 = 0 ;
8edf1c75 14987 PyObject * obj2 = 0 ;
d14a1e28
RD
14988 char *kwnames[] = {
14989 (char *) "self",(char *) "parent",(char *) "style", NULL
14990 };
14991
8edf1c75 14992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:MDIClientWindow_Create",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28
RD
14993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14994 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
14995 if (obj2) {
14996 {
14997 arg3 = (long) SWIG_PyObj_AsLong(obj2);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 }
d14a1e28
RD
15001 {
15002 PyThreadState* __tstate = wxPyBeginAllowThreads();
15003 result = (bool)(arg1)->Create(arg2,arg3);
15004
15005 wxPyEndAllowThreads(__tstate);
15006 if (PyErr_Occurred()) SWIG_fail;
15007 }
4e760a36 15008 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15009 return resultobj;
15010 fail:
15011 return NULL;
15012}
15013
15014
15015static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
15016 PyObject *obj;
15017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15018 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
15019 Py_INCREF(obj);
15020 return Py_BuildValue((char *)"");
15021}
15022static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15023 PyObject *resultobj;
15024 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 15025 int arg2 ;
d14a1e28
RD
15026 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15027 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15028 wxSize const &arg4_defvalue = wxDefaultSize ;
15029 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15030 long arg5 = (long) 0 ;
15031 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15032 wxString *arg6 = (wxString *) &arg6_defvalue ;
15033 wxPyWindow *result;
15034 wxPoint temp3 ;
15035 wxSize temp4 ;
423f194a 15036 bool temp6 = False ;
d14a1e28 15037 PyObject * obj0 = 0 ;
8edf1c75 15038 PyObject * obj1 = 0 ;
d14a1e28
RD
15039 PyObject * obj2 = 0 ;
15040 PyObject * obj3 = 0 ;
8edf1c75 15041 PyObject * obj4 = 0 ;
d14a1e28
RD
15042 PyObject * obj5 = 0 ;
15043 char *kwnames[] = {
15044 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15045 };
15046
8edf1c75 15047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 15048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15049 {
15050 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
15051 if (PyErr_Occurred()) SWIG_fail;
15052 }
d14a1e28
RD
15053 if (obj2) {
15054 {
15055 arg3 = &temp3;
15056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15057 }
15058 }
15059 if (obj3) {
15060 {
15061 arg4 = &temp4;
15062 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15063 }
15064 }
8edf1c75
RD
15065 if (obj4) {
15066 {
15067 arg5 = (long) SWIG_PyObj_AsLong(obj4);
15068 if (PyErr_Occurred()) SWIG_fail;
15069 }
15070 }
d14a1e28
RD
15071 if (obj5) {
15072 {
15073 arg6 = wxString_in_helper(obj5);
15074 if (arg6 == NULL) SWIG_fail;
423f194a 15075 temp6 = True;
d14a1e28
RD
15076 }
15077 }
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15081
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
15086 {
15087 if (temp6)
15088 delete arg6;
15089 }
15090 return resultobj;
15091 fail:
15092 {
15093 if (temp6)
15094 delete arg6;
15095 }
15096 return NULL;
15097}
15098
15099
15100static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15101 PyObject *resultobj;
15102 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15103 PyObject *arg2 = (PyObject *) 0 ;
15104 PyObject *arg3 = (PyObject *) 0 ;
15105 PyObject * obj0 = 0 ;
15106 PyObject * obj1 = 0 ;
15107 PyObject * obj2 = 0 ;
15108 char *kwnames[] = {
15109 (char *) "self",(char *) "self",(char *) "_class", NULL
15110 };
15111
15112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15114 arg2 = obj1;
15115 arg3 = obj2;
15116 {
15117 PyThreadState* __tstate = wxPyBeginAllowThreads();
15118 (arg1)->_setCallbackInfo(arg2,arg3);
15119
15120 wxPyEndAllowThreads(__tstate);
15121 if (PyErr_Occurred()) SWIG_fail;
15122 }
15123 Py_INCREF(Py_None); resultobj = Py_None;
15124 return resultobj;
15125 fail:
15126 return NULL;
15127}
15128
15129
15130static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15131 PyObject *resultobj;
15132 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15133 int arg2 ;
15134 int arg3 ;
15135 int arg4 ;
15136 int arg5 ;
15137 PyObject * obj0 = 0 ;
8edf1c75
RD
15138 PyObject * obj1 = 0 ;
15139 PyObject * obj2 = 0 ;
15140 PyObject * obj3 = 0 ;
15141 PyObject * obj4 = 0 ;
d14a1e28
RD
15142 char *kwnames[] = {
15143 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15144 };
15145
8edf1c75 15146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyWindow_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 15147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15148 {
15149 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15150 if (PyErr_Occurred()) SWIG_fail;
15151 }
15152 {
15153 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15154 if (PyErr_Occurred()) SWIG_fail;
15155 }
15156 {
15157 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15158 if (PyErr_Occurred()) SWIG_fail;
15159 }
15160 {
15161 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15162 if (PyErr_Occurred()) SWIG_fail;
15163 }
d14a1e28
RD
15164 {
15165 PyThreadState* __tstate = wxPyBeginAllowThreads();
15166 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15167
15168 wxPyEndAllowThreads(__tstate);
15169 if (PyErr_Occurred()) SWIG_fail;
15170 }
15171 Py_INCREF(Py_None); resultobj = Py_None;
15172 return resultobj;
15173 fail:
15174 return NULL;
15175}
15176
15177
15178static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15179 PyObject *resultobj;
15180 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15181 int arg2 ;
15182 int arg3 ;
15183 int arg4 ;
15184 int arg5 ;
15185 int arg6 = (int) wxSIZE_AUTO ;
15186 PyObject * obj0 = 0 ;
8edf1c75
RD
15187 PyObject * obj1 = 0 ;
15188 PyObject * obj2 = 0 ;
15189 PyObject * obj3 = 0 ;
15190 PyObject * obj4 = 0 ;
15191 PyObject * obj5 = 0 ;
d14a1e28
RD
15192 char *kwnames[] = {
15193 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15194 };
15195
8edf1c75 15196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyWindow_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 15197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15198 {
15199 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15200 if (PyErr_Occurred()) SWIG_fail;
15201 }
15202 {
15203 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
15206 {
15207 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15208 if (PyErr_Occurred()) SWIG_fail;
15209 }
15210 {
15211 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15212 if (PyErr_Occurred()) SWIG_fail;
15213 }
15214 if (obj5) {
15215 {
15216 arg6 = (int) SWIG_PyObj_AsInt(obj5);
15217 if (PyErr_Occurred()) SWIG_fail;
15218 }
15219 }
d14a1e28
RD
15220 {
15221 PyThreadState* __tstate = wxPyBeginAllowThreads();
15222 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15223
15224 wxPyEndAllowThreads(__tstate);
15225 if (PyErr_Occurred()) SWIG_fail;
15226 }
15227 Py_INCREF(Py_None); resultobj = Py_None;
15228 return resultobj;
15229 fail:
15230 return NULL;
15231}
15232
15233
15234static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15235 PyObject *resultobj;
15236 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15237 int arg2 ;
15238 int arg3 ;
15239 PyObject * obj0 = 0 ;
8edf1c75
RD
15240 PyObject * obj1 = 0 ;
15241 PyObject * obj2 = 0 ;
d14a1e28
RD
15242 char *kwnames[] = {
15243 (char *) "self",(char *) "width",(char *) "height", NULL
15244 };
15245
8edf1c75 15246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 15247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15248 {
15249 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15250 if (PyErr_Occurred()) SWIG_fail;
15251 }
15252 {
15253 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15254 if (PyErr_Occurred()) SWIG_fail;
15255 }
d14a1e28
RD
15256 {
15257 PyThreadState* __tstate = wxPyBeginAllowThreads();
15258 (arg1)->base_DoSetClientSize(arg2,arg3);
15259
15260 wxPyEndAllowThreads(__tstate);
15261 if (PyErr_Occurred()) SWIG_fail;
15262 }
15263 Py_INCREF(Py_None); resultobj = Py_None;
15264 return resultobj;
15265 fail:
15266 return NULL;
15267}
15268
15269
15270static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15271 PyObject *resultobj;
15272 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15273 int arg2 ;
15274 int arg3 ;
15275 PyObject * obj0 = 0 ;
8edf1c75
RD
15276 PyObject * obj1 = 0 ;
15277 PyObject * obj2 = 0 ;
d14a1e28
RD
15278 char *kwnames[] = {
15279 (char *) "self",(char *) "x",(char *) "y", NULL
15280 };
15281
8edf1c75 15282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 15283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15284 {
15285 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15286 if (PyErr_Occurred()) SWIG_fail;
15287 }
15288 {
15289 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15290 if (PyErr_Occurred()) SWIG_fail;
15291 }
d14a1e28
RD
15292 {
15293 PyThreadState* __tstate = wxPyBeginAllowThreads();
15294 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15295
15296 wxPyEndAllowThreads(__tstate);
15297 if (PyErr_Occurred()) SWIG_fail;
15298 }
15299 Py_INCREF(Py_None); resultobj = Py_None;
15300 return resultobj;
15301 fail:
15302 return NULL;
15303}
15304
15305
15306static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15307 PyObject *resultobj;
15308 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15309 int *arg2 = (int *) 0 ;
15310 int *arg3 = (int *) 0 ;
15311 int temp2 ;
15312 int temp3 ;
15313 PyObject * obj0 = 0 ;
15314 char *kwnames[] = {
15315 (char *) "self", NULL
15316 };
15317
15318 arg2 = &temp2;
15319 arg3 = &temp3;
15320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
15321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15322 {
15323 PyThreadState* __tstate = wxPyBeginAllowThreads();
15324 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
15325
15326 wxPyEndAllowThreads(__tstate);
15327 if (PyErr_Occurred()) SWIG_fail;
15328 }
15329 Py_INCREF(Py_None); resultobj = Py_None;
15330 {
15331 PyObject *o = PyInt_FromLong((long) (*arg2));
15332 resultobj = t_output_helper(resultobj,o);
15333 }
15334 {
15335 PyObject *o = PyInt_FromLong((long) (*arg3));
15336 resultobj = t_output_helper(resultobj,o);
15337 }
15338 return resultobj;
15339 fail:
15340 return NULL;
15341}
15342
15343
15344static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15345 PyObject *resultobj;
15346 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15347 int *arg2 = (int *) 0 ;
15348 int *arg3 = (int *) 0 ;
15349 int temp2 ;
15350 int temp3 ;
15351 PyObject * obj0 = 0 ;
15352 char *kwnames[] = {
15353 (char *) "self", NULL
15354 };
15355
15356 arg2 = &temp2;
15357 arg3 = &temp3;
15358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
15359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15360 {
15361 PyThreadState* __tstate = wxPyBeginAllowThreads();
15362 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
15363
15364 wxPyEndAllowThreads(__tstate);
15365 if (PyErr_Occurred()) SWIG_fail;
15366 }
15367 Py_INCREF(Py_None); resultobj = Py_None;
15368 {
15369 PyObject *o = PyInt_FromLong((long) (*arg2));
15370 resultobj = t_output_helper(resultobj,o);
15371 }
15372 {
15373 PyObject *o = PyInt_FromLong((long) (*arg3));
15374 resultobj = t_output_helper(resultobj,o);
15375 }
15376 return resultobj;
15377 fail:
15378 return NULL;
15379}
15380
15381
15382static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
15383 PyObject *resultobj;
15384 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15385 int *arg2 = (int *) 0 ;
15386 int *arg3 = (int *) 0 ;
15387 int temp2 ;
15388 int temp3 ;
15389 PyObject * obj0 = 0 ;
15390 char *kwnames[] = {
15391 (char *) "self", NULL
15392 };
15393
15394 arg2 = &temp2;
15395 arg3 = &temp3;
15396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
15397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15398 {
15399 PyThreadState* __tstate = wxPyBeginAllowThreads();
15400 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
15401
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 Py_INCREF(Py_None); resultobj = Py_None;
15406 {
15407 PyObject *o = PyInt_FromLong((long) (*arg2));
15408 resultobj = t_output_helper(resultobj,o);
15409 }
15410 {
15411 PyObject *o = PyInt_FromLong((long) (*arg3));
15412 resultobj = t_output_helper(resultobj,o);
15413 }
15414 return resultobj;
15415 fail:
15416 return NULL;
15417}
15418
15419
15420static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15421 PyObject *resultobj;
15422 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15423 wxSize result;
15424 PyObject * obj0 = 0 ;
15425 char *kwnames[] = {
15426 (char *) "self", NULL
15427 };
15428
15429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
15430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15431 {
15432 PyThreadState* __tstate = wxPyBeginAllowThreads();
15433 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
15434
15435 wxPyEndAllowThreads(__tstate);
15436 if (PyErr_Occurred()) SWIG_fail;
15437 }
15438 {
15439 wxSize * resultptr;
15440 resultptr = new wxSize((wxSize &) result);
15441 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15442 }
15443 return resultobj;
15444 fail:
15445 return NULL;
15446}
15447
15448
15449static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15450 PyObject *resultobj;
15451 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15452 wxSize result;
15453 PyObject * obj0 = 0 ;
15454 char *kwnames[] = {
15455 (char *) "self", NULL
15456 };
15457
15458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
15459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15460 {
15461 PyThreadState* __tstate = wxPyBeginAllowThreads();
15462 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
15463
15464 wxPyEndAllowThreads(__tstate);
15465 if (PyErr_Occurred()) SWIG_fail;
15466 }
15467 {
15468 wxSize * resultptr;
15469 resultptr = new wxSize((wxSize &) result);
15470 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15471 }
15472 return resultobj;
15473 fail:
15474 return NULL;
15475}
15476
15477
15478static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
15479 PyObject *resultobj;
15480 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15481 PyObject * obj0 = 0 ;
15482 char *kwnames[] = {
15483 (char *) "self", NULL
15484 };
15485
15486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
15487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15488 {
15489 PyThreadState* __tstate = wxPyBeginAllowThreads();
15490 (arg1)->base_InitDialog();
15491
15492 wxPyEndAllowThreads(__tstate);
15493 if (PyErr_Occurred()) SWIG_fail;
15494 }
15495 Py_INCREF(Py_None); resultobj = Py_None;
15496 return resultobj;
15497 fail:
15498 return NULL;
15499}
15500
15501
15502static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15503 PyObject *resultobj;
15504 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15505 bool result;
15506 PyObject * obj0 = 0 ;
15507 char *kwnames[] = {
15508 (char *) "self", NULL
15509 };
15510
15511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
15512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15513 {
15514 PyThreadState* __tstate = wxPyBeginAllowThreads();
15515 result = (bool)(arg1)->base_TransferDataToWindow();
15516
15517 wxPyEndAllowThreads(__tstate);
15518 if (PyErr_Occurred()) SWIG_fail;
15519 }
4e760a36 15520 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15521 return resultobj;
15522 fail:
15523 return NULL;
15524}
15525
15526
15527static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15528 PyObject *resultobj;
15529 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15530 bool result;
15531 PyObject * obj0 = 0 ;
15532 char *kwnames[] = {
15533 (char *) "self", NULL
15534 };
15535
15536 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
15537 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15538 {
15539 PyThreadState* __tstate = wxPyBeginAllowThreads();
15540 result = (bool)(arg1)->base_TransferDataFromWindow();
15541
15542 wxPyEndAllowThreads(__tstate);
15543 if (PyErr_Occurred()) SWIG_fail;
15544 }
4e760a36 15545 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15546 return resultobj;
15547 fail:
15548 return NULL;
15549}
15550
15551
15552static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
15553 PyObject *resultobj;
15554 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15555 bool result;
15556 PyObject * obj0 = 0 ;
15557 char *kwnames[] = {
15558 (char *) "self", NULL
15559 };
15560
15561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
15562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15563 {
15564 PyThreadState* __tstate = wxPyBeginAllowThreads();
15565 result = (bool)(arg1)->base_Validate();
15566
15567 wxPyEndAllowThreads(__tstate);
15568 if (PyErr_Occurred()) SWIG_fail;
15569 }
4e760a36 15570 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15571 return resultobj;
15572 fail:
15573 return NULL;
15574}
15575
15576
15577static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
15578 PyObject *resultobj;
15579 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15580 bool result;
15581 PyObject * obj0 = 0 ;
15582 char *kwnames[] = {
15583 (char *) "self", NULL
15584 };
15585
15586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
15587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15588 {
15589 PyThreadState* __tstate = wxPyBeginAllowThreads();
15590 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
15591
15592 wxPyEndAllowThreads(__tstate);
15593 if (PyErr_Occurred()) SWIG_fail;
15594 }
4e760a36 15595 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15596 return resultobj;
15597 fail:
15598 return NULL;
15599}
15600
15601
15602static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
15603 PyObject *resultobj;
15604 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15605 bool result;
15606 PyObject * obj0 = 0 ;
15607 char *kwnames[] = {
15608 (char *) "self", NULL
15609 };
15610
15611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
15612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15613 {
15614 PyThreadState* __tstate = wxPyBeginAllowThreads();
15615 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
15616
15617 wxPyEndAllowThreads(__tstate);
15618 if (PyErr_Occurred()) SWIG_fail;
15619 }
4e760a36 15620 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
15621 return resultobj;
15622 fail:
15623 return NULL;
15624}
15625
15626
15627static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15628 PyObject *resultobj;
15629 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15630 wxSize result;
15631 PyObject * obj0 = 0 ;
15632 char *kwnames[] = {
15633 (char *) "self", NULL
15634 };
15635
15636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
15637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15638 {
15639 PyThreadState* __tstate = wxPyBeginAllowThreads();
15640 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
15641
15642 wxPyEndAllowThreads(__tstate);
15643 if (PyErr_Occurred()) SWIG_fail;
15644 }
15645 {
15646 wxSize * resultptr;
15647 resultptr = new wxSize((wxSize &) result);
15648 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15649 }
15650 return resultobj;
15651 fail:
15652 return NULL;
15653}
15654
15655
15656static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15657 PyObject *resultobj;
15658 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15659 wxWindow *arg2 = (wxWindow *) 0 ;
15660 PyObject * obj0 = 0 ;
15661 PyObject * obj1 = 0 ;
15662 char *kwnames[] = {
15663 (char *) "self",(char *) "child", NULL
15664 };
15665
15666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15668 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15669 {
15670 PyThreadState* __tstate = wxPyBeginAllowThreads();
15671 (arg1)->base_AddChild(arg2);
15672
15673 wxPyEndAllowThreads(__tstate);
15674 if (PyErr_Occurred()) SWIG_fail;
15675 }
15676 Py_INCREF(Py_None); resultobj = Py_None;
15677 return resultobj;
15678 fail:
15679 return NULL;
15680}
15681
15682
15683static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15684 PyObject *resultobj;
15685 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
15686 wxWindow *arg2 = (wxWindow *) 0 ;
15687 PyObject * obj0 = 0 ;
15688 PyObject * obj1 = 0 ;
15689 char *kwnames[] = {
15690 (char *) "self",(char *) "child", NULL
15691 };
15692
15693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15695 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15696 {
15697 PyThreadState* __tstate = wxPyBeginAllowThreads();
15698 (arg1)->base_RemoveChild(arg2);
15699
15700 wxPyEndAllowThreads(__tstate);
15701 if (PyErr_Occurred()) SWIG_fail;
15702 }
15703 Py_INCREF(Py_None); resultobj = Py_None;
15704 return resultobj;
15705 fail:
15706 return NULL;
15707}
15708
15709
15710static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
15711 PyObject *obj;
15712 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15713 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
15714 Py_INCREF(obj);
15715 return Py_BuildValue((char *)"");
15716}
15717static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj;
15719 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 15720 int arg2 ;
d14a1e28
RD
15721 wxPoint const &arg3_defvalue = wxDefaultPosition ;
15722 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
15723 wxSize const &arg4_defvalue = wxDefaultSize ;
15724 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
15725 long arg5 = (long) 0 ;
15726 wxString const &arg6_defvalue = wxPyPanelNameStr ;
15727 wxString *arg6 = (wxString *) &arg6_defvalue ;
15728 wxPyPanel *result;
15729 wxPoint temp3 ;
15730 wxSize temp4 ;
423f194a 15731 bool temp6 = False ;
d14a1e28 15732 PyObject * obj0 = 0 ;
8edf1c75 15733 PyObject * obj1 = 0 ;
d14a1e28
RD
15734 PyObject * obj2 = 0 ;
15735 PyObject * obj3 = 0 ;
8edf1c75 15736 PyObject * obj4 = 0 ;
d14a1e28
RD
15737 PyObject * obj5 = 0 ;
15738 char *kwnames[] = {
15739 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15740 };
15741
8edf1c75 15742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PyPanel",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 15743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15744 {
15745 arg2 = (int const) SWIG_PyObj_AsInt(obj1);
15746 if (PyErr_Occurred()) SWIG_fail;
15747 }
d14a1e28
RD
15748 if (obj2) {
15749 {
15750 arg3 = &temp3;
15751 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
15752 }
15753 }
15754 if (obj3) {
15755 {
15756 arg4 = &temp4;
15757 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
15758 }
15759 }
8edf1c75
RD
15760 if (obj4) {
15761 {
15762 arg5 = (long) SWIG_PyObj_AsLong(obj4);
15763 if (PyErr_Occurred()) SWIG_fail;
15764 }
15765 }
d14a1e28
RD
15766 if (obj5) {
15767 {
15768 arg6 = wxString_in_helper(obj5);
15769 if (arg6 == NULL) SWIG_fail;
423f194a 15770 temp6 = True;
d14a1e28
RD
15771 }
15772 }
15773 {
15774 PyThreadState* __tstate = wxPyBeginAllowThreads();
15775 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
15776
15777 wxPyEndAllowThreads(__tstate);
15778 if (PyErr_Occurred()) SWIG_fail;
15779 }
15780 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
15781 {
15782 if (temp6)
15783 delete arg6;
15784 }
15785 return resultobj;
15786 fail:
15787 {
15788 if (temp6)
15789 delete arg6;
15790 }
15791 return NULL;
15792}
15793
15794
15795static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
15796 PyObject *resultobj;
15797 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15798 PyObject *arg2 = (PyObject *) 0 ;
15799 PyObject *arg3 = (PyObject *) 0 ;
15800 PyObject * obj0 = 0 ;
15801 PyObject * obj1 = 0 ;
15802 PyObject * obj2 = 0 ;
15803 char *kwnames[] = {
15804 (char *) "self",(char *) "self",(char *) "_class", NULL
15805 };
15806
15807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
15808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15809 arg2 = obj1;
15810 arg3 = obj2;
15811 {
15812 PyThreadState* __tstate = wxPyBeginAllowThreads();
15813 (arg1)->_setCallbackInfo(arg2,arg3);
15814
15815 wxPyEndAllowThreads(__tstate);
15816 if (PyErr_Occurred()) SWIG_fail;
15817 }
15818 Py_INCREF(Py_None); resultobj = Py_None;
15819 return resultobj;
15820 fail:
15821 return NULL;
15822}
15823
15824
15825static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
15826 PyObject *resultobj;
15827 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15828 int arg2 ;
15829 int arg3 ;
15830 int arg4 ;
15831 int arg5 ;
15832 PyObject * obj0 = 0 ;
8edf1c75
RD
15833 PyObject * obj1 = 0 ;
15834 PyObject * obj2 = 0 ;
15835 PyObject * obj3 = 0 ;
15836 PyObject * obj4 = 0 ;
d14a1e28
RD
15837 char *kwnames[] = {
15838 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
15839 };
15840
8edf1c75 15841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO:PyPanel_base_DoMoveWindow",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4)) goto fail;
d14a1e28 15842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15843 {
15844 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15845 if (PyErr_Occurred()) SWIG_fail;
15846 }
15847 {
15848 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15849 if (PyErr_Occurred()) SWIG_fail;
15850 }
15851 {
15852 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15853 if (PyErr_Occurred()) SWIG_fail;
15854 }
15855 {
15856 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 }
d14a1e28
RD
15859 {
15860 PyThreadState* __tstate = wxPyBeginAllowThreads();
15861 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
15862
15863 wxPyEndAllowThreads(__tstate);
15864 if (PyErr_Occurred()) SWIG_fail;
15865 }
15866 Py_INCREF(Py_None); resultobj = Py_None;
15867 return resultobj;
15868 fail:
15869 return NULL;
15870}
15871
15872
15873static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15874 PyObject *resultobj;
15875 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15876 int arg2 ;
15877 int arg3 ;
15878 int arg4 ;
15879 int arg5 ;
15880 int arg6 = (int) wxSIZE_AUTO ;
15881 PyObject * obj0 = 0 ;
8edf1c75
RD
15882 PyObject * obj1 = 0 ;
15883 PyObject * obj2 = 0 ;
15884 PyObject * obj3 = 0 ;
15885 PyObject * obj4 = 0 ;
15886 PyObject * obj5 = 0 ;
d14a1e28
RD
15887 char *kwnames[] = {
15888 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
15889 };
15890
8edf1c75 15891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOOO|O:PyPanel_base_DoSetSize",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28 15892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15893 {
15894 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15895 if (PyErr_Occurred()) SWIG_fail;
15896 }
15897 {
15898 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15899 if (PyErr_Occurred()) SWIG_fail;
15900 }
15901 {
15902 arg4 = (int) SWIG_PyObj_AsInt(obj3);
15903 if (PyErr_Occurred()) SWIG_fail;
15904 }
15905 {
15906 arg5 = (int) SWIG_PyObj_AsInt(obj4);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
15909 if (obj5) {
15910 {
15911 arg6 = (int) SWIG_PyObj_AsInt(obj5);
15912 if (PyErr_Occurred()) SWIG_fail;
15913 }
15914 }
d14a1e28
RD
15915 {
15916 PyThreadState* __tstate = wxPyBeginAllowThreads();
15917 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
15918
15919 wxPyEndAllowThreads(__tstate);
15920 if (PyErr_Occurred()) SWIG_fail;
15921 }
15922 Py_INCREF(Py_None); resultobj = Py_None;
15923 return resultobj;
15924 fail:
15925 return NULL;
15926}
15927
15928
15929static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15930 PyObject *resultobj;
15931 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15932 int arg2 ;
15933 int arg3 ;
15934 PyObject * obj0 = 0 ;
8edf1c75
RD
15935 PyObject * obj1 = 0 ;
15936 PyObject * obj2 = 0 ;
d14a1e28
RD
15937 char *kwnames[] = {
15938 (char *) "self",(char *) "width",(char *) "height", NULL
15939 };
15940
8edf1c75 15941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetClientSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 15942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15943 {
15944 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15945 if (PyErr_Occurred()) SWIG_fail;
15946 }
15947 {
15948 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15949 if (PyErr_Occurred()) SWIG_fail;
15950 }
d14a1e28
RD
15951 {
15952 PyThreadState* __tstate = wxPyBeginAllowThreads();
15953 (arg1)->base_DoSetClientSize(arg2,arg3);
15954
15955 wxPyEndAllowThreads(__tstate);
15956 if (PyErr_Occurred()) SWIG_fail;
15957 }
15958 Py_INCREF(Py_None); resultobj = Py_None;
15959 return resultobj;
15960 fail:
15961 return NULL;
15962}
15963
15964
15965static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15966 PyObject *resultobj;
15967 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15968 int arg2 ;
15969 int arg3 ;
15970 PyObject * obj0 = 0 ;
8edf1c75
RD
15971 PyObject * obj1 = 0 ;
15972 PyObject * obj2 = 0 ;
d14a1e28
RD
15973 char *kwnames[] = {
15974 (char *) "self",(char *) "x",(char *) "y", NULL
15975 };
15976
8edf1c75 15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 15978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
15979 {
15980 arg2 = (int) SWIG_PyObj_AsInt(obj1);
15981 if (PyErr_Occurred()) SWIG_fail;
15982 }
15983 {
15984 arg3 = (int) SWIG_PyObj_AsInt(obj2);
15985 if (PyErr_Occurred()) SWIG_fail;
15986 }
d14a1e28
RD
15987 {
15988 PyThreadState* __tstate = wxPyBeginAllowThreads();
15989 (arg1)->base_DoSetVirtualSize(arg2,arg3);
15990
15991 wxPyEndAllowThreads(__tstate);
15992 if (PyErr_Occurred()) SWIG_fail;
15993 }
15994 Py_INCREF(Py_None); resultobj = Py_None;
15995 return resultobj;
15996 fail:
15997 return NULL;
15998}
15999
16000
16001static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16002 PyObject *resultobj;
16003 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16004 int *arg2 = (int *) 0 ;
16005 int *arg3 = (int *) 0 ;
16006 int temp2 ;
16007 int temp3 ;
16008 PyObject * obj0 = 0 ;
16009 char *kwnames[] = {
16010 (char *) "self", NULL
16011 };
16012
16013 arg2 = &temp2;
16014 arg3 = &temp3;
16015 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
16016 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16017 {
16018 PyThreadState* __tstate = wxPyBeginAllowThreads();
16019 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
16020
16021 wxPyEndAllowThreads(__tstate);
16022 if (PyErr_Occurred()) SWIG_fail;
16023 }
16024 Py_INCREF(Py_None); resultobj = Py_None;
16025 {
16026 PyObject *o = PyInt_FromLong((long) (*arg2));
16027 resultobj = t_output_helper(resultobj,o);
16028 }
16029 {
16030 PyObject *o = PyInt_FromLong((long) (*arg3));
16031 resultobj = t_output_helper(resultobj,o);
16032 }
16033 return resultobj;
16034 fail:
16035 return NULL;
16036}
16037
16038
16039static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16040 PyObject *resultobj;
16041 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16042 int *arg2 = (int *) 0 ;
16043 int *arg3 = (int *) 0 ;
16044 int temp2 ;
16045 int temp3 ;
16046 PyObject * obj0 = 0 ;
16047 char *kwnames[] = {
16048 (char *) "self", NULL
16049 };
16050
16051 arg2 = &temp2;
16052 arg3 = &temp3;
16053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
16054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16055 {
16056 PyThreadState* __tstate = wxPyBeginAllowThreads();
16057 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
16058
16059 wxPyEndAllowThreads(__tstate);
16060 if (PyErr_Occurred()) SWIG_fail;
16061 }
16062 Py_INCREF(Py_None); resultobj = Py_None;
16063 {
16064 PyObject *o = PyInt_FromLong((long) (*arg2));
16065 resultobj = t_output_helper(resultobj,o);
16066 }
16067 {
16068 PyObject *o = PyInt_FromLong((long) (*arg3));
16069 resultobj = t_output_helper(resultobj,o);
16070 }
16071 return resultobj;
16072 fail:
16073 return NULL;
16074}
16075
16076
16077static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
16078 PyObject *resultobj;
16079 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16080 int *arg2 = (int *) 0 ;
16081 int *arg3 = (int *) 0 ;
16082 int temp2 ;
16083 int temp3 ;
16084 PyObject * obj0 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self", NULL
16087 };
16088
16089 arg2 = &temp2;
16090 arg3 = &temp3;
16091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
16092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16093 {
16094 PyThreadState* __tstate = wxPyBeginAllowThreads();
16095 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
16096
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 Py_INCREF(Py_None); resultobj = Py_None;
16101 {
16102 PyObject *o = PyInt_FromLong((long) (*arg2));
16103 resultobj = t_output_helper(resultobj,o);
16104 }
16105 {
16106 PyObject *o = PyInt_FromLong((long) (*arg3));
16107 resultobj = t_output_helper(resultobj,o);
16108 }
16109 return resultobj;
16110 fail:
16111 return NULL;
16112}
16113
16114
16115static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16116 PyObject *resultobj;
16117 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16118 wxSize result;
16119 PyObject * obj0 = 0 ;
16120 char *kwnames[] = {
16121 (char *) "self", NULL
16122 };
16123
16124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
16125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16126 {
16127 PyThreadState* __tstate = wxPyBeginAllowThreads();
16128 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
16129
16130 wxPyEndAllowThreads(__tstate);
16131 if (PyErr_Occurred()) SWIG_fail;
16132 }
16133 {
16134 wxSize * resultptr;
16135 resultptr = new wxSize((wxSize &) result);
16136 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16137 }
16138 return resultobj;
16139 fail:
16140 return NULL;
16141}
16142
16143
16144static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj;
16146 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16147 wxSize result;
16148 PyObject * obj0 = 0 ;
16149 char *kwnames[] = {
16150 (char *) "self", NULL
16151 };
16152
16153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
16154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16155 {
16156 PyThreadState* __tstate = wxPyBeginAllowThreads();
16157 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
16158
16159 wxPyEndAllowThreads(__tstate);
16160 if (PyErr_Occurred()) SWIG_fail;
16161 }
16162 {
16163 wxSize * resultptr;
16164 resultptr = new wxSize((wxSize &) result);
16165 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16166 }
16167 return resultobj;
16168 fail:
16169 return NULL;
16170}
16171
16172
16173static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16174 PyObject *resultobj;
16175 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16176 PyObject * obj0 = 0 ;
16177 char *kwnames[] = {
16178 (char *) "self", NULL
16179 };
16180
16181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
16182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16183 {
16184 PyThreadState* __tstate = wxPyBeginAllowThreads();
16185 (arg1)->base_InitDialog();
16186
16187 wxPyEndAllowThreads(__tstate);
16188 if (PyErr_Occurred()) SWIG_fail;
16189 }
16190 Py_INCREF(Py_None); resultobj = Py_None;
16191 return resultobj;
16192 fail:
16193 return NULL;
16194}
16195
16196
16197static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16198 PyObject *resultobj;
16199 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16200 bool result;
16201 PyObject * obj0 = 0 ;
16202 char *kwnames[] = {
16203 (char *) "self", NULL
16204 };
16205
16206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
16207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16208 {
16209 PyThreadState* __tstate = wxPyBeginAllowThreads();
16210 result = (bool)(arg1)->base_TransferDataToWindow();
16211
16212 wxPyEndAllowThreads(__tstate);
16213 if (PyErr_Occurred()) SWIG_fail;
16214 }
4e760a36 16215 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16216 return resultobj;
16217 fail:
16218 return NULL;
16219}
16220
16221
16222static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
16223 PyObject *resultobj;
16224 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16225 bool result;
16226 PyObject * obj0 = 0 ;
16227 char *kwnames[] = {
16228 (char *) "self", NULL
16229 };
16230
16231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
16232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16233 {
16234 PyThreadState* __tstate = wxPyBeginAllowThreads();
16235 result = (bool)(arg1)->base_TransferDataFromWindow();
16236
16237 wxPyEndAllowThreads(__tstate);
16238 if (PyErr_Occurred()) SWIG_fail;
16239 }
4e760a36 16240 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16241 return resultobj;
16242 fail:
16243 return NULL;
16244}
16245
16246
16247static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
16248 PyObject *resultobj;
16249 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16250 bool result;
16251 PyObject * obj0 = 0 ;
16252 char *kwnames[] = {
16253 (char *) "self", NULL
16254 };
16255
16256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
16257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16258 {
16259 PyThreadState* __tstate = wxPyBeginAllowThreads();
16260 result = (bool)(arg1)->base_Validate();
16261
16262 wxPyEndAllowThreads(__tstate);
16263 if (PyErr_Occurred()) SWIG_fail;
16264 }
4e760a36 16265 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16266 return resultobj;
16267 fail:
16268 return NULL;
16269}
16270
16271
16272static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
16273 PyObject *resultobj;
16274 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16275 bool result;
16276 PyObject * obj0 = 0 ;
16277 char *kwnames[] = {
16278 (char *) "self", NULL
16279 };
16280
16281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
16282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16283 {
16284 PyThreadState* __tstate = wxPyBeginAllowThreads();
16285 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
16286
16287 wxPyEndAllowThreads(__tstate);
16288 if (PyErr_Occurred()) SWIG_fail;
16289 }
4e760a36 16290 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16291 return resultobj;
16292 fail:
16293 return NULL;
16294}
16295
16296
16297static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
16298 PyObject *resultobj;
16299 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16300 bool result;
16301 PyObject * obj0 = 0 ;
16302 char *kwnames[] = {
16303 (char *) "self", NULL
16304 };
16305
16306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
16307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16308 {
16309 PyThreadState* __tstate = wxPyBeginAllowThreads();
16310 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
16311
16312 wxPyEndAllowThreads(__tstate);
16313 if (PyErr_Occurred()) SWIG_fail;
16314 }
4e760a36 16315 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16316 return resultobj;
16317 fail:
16318 return NULL;
16319}
16320
16321
16322static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16323 PyObject *resultobj;
16324 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16325 wxSize result;
16326 PyObject * obj0 = 0 ;
16327 char *kwnames[] = {
16328 (char *) "self", NULL
16329 };
16330
16331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
16332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16333 {
16334 PyThreadState* __tstate = wxPyBeginAllowThreads();
16335 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
16336
16337 wxPyEndAllowThreads(__tstate);
16338 if (PyErr_Occurred()) SWIG_fail;
16339 }
16340 {
16341 wxSize * resultptr;
16342 resultptr = new wxSize((wxSize &) result);
16343 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16344 }
16345 return resultobj;
16346 fail:
16347 return NULL;
16348}
16349
16350
16351static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16352 PyObject *resultobj;
16353 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16354 wxWindow *arg2 = (wxWindow *) 0 ;
16355 PyObject * obj0 = 0 ;
16356 PyObject * obj1 = 0 ;
16357 char *kwnames[] = {
16358 (char *) "self",(char *) "child", NULL
16359 };
16360
16361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
16362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16363 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16364 {
16365 PyThreadState* __tstate = wxPyBeginAllowThreads();
16366 (arg1)->base_AddChild(arg2);
16367
16368 wxPyEndAllowThreads(__tstate);
16369 if (PyErr_Occurred()) SWIG_fail;
16370 }
16371 Py_INCREF(Py_None); resultobj = Py_None;
16372 return resultobj;
16373 fail:
16374 return NULL;
16375}
16376
16377
16378static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
16379 PyObject *resultobj;
16380 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
16381 wxWindow *arg2 = (wxWindow *) 0 ;
16382 PyObject * obj0 = 0 ;
16383 PyObject * obj1 = 0 ;
16384 char *kwnames[] = {
16385 (char *) "self",(char *) "child", NULL
16386 };
16387
16388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
16389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16390 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16391 {
16392 PyThreadState* __tstate = wxPyBeginAllowThreads();
16393 (arg1)->base_RemoveChild(arg2);
16394
16395 wxPyEndAllowThreads(__tstate);
16396 if (PyErr_Occurred()) SWIG_fail;
16397 }
16398 Py_INCREF(Py_None); resultobj = Py_None;
16399 return resultobj;
16400 fail:
16401 return NULL;
16402}
16403
16404
16405static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
16406 PyObject *obj;
16407 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16408 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
16409 Py_INCREF(obj);
16410 return Py_BuildValue((char *)"");
16411}
8edf1c75 16412static int _wrap_PrintoutTitleStr_set(PyObject *) {
d03fd34d
RD
16413 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
16414 return 1;
16415}
16416
16417
16418static PyObject *_wrap_PrintoutTitleStr_get() {
16419 PyObject *pyobj;
16420
16421 {
16422#if wxUSE_UNICODE
16423 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16424#else
16425 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
16426#endif
16427 }
16428 return pyobj;
16429}
16430
16431
8edf1c75 16432static int _wrap_PreviewCanvasNameStr_set(PyObject *) {
d03fd34d
RD
16433 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
16434 return 1;
16435}
16436
16437
16438static PyObject *_wrap_PreviewCanvasNameStr_get() {
16439 PyObject *pyobj;
16440
16441 {
16442#if wxUSE_UNICODE
16443 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16444#else
16445 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
16446#endif
16447 }
16448 return pyobj;
16449}
16450
16451
d14a1e28
RD
16452static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16453 PyObject *resultobj;
16454 wxPrintData *result;
16455 char *kwnames[] = {
16456 NULL
16457 };
16458
16459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
16460 {
16461 PyThreadState* __tstate = wxPyBeginAllowThreads();
16462 result = (wxPrintData *)new wxPrintData();
16463
16464 wxPyEndAllowThreads(__tstate);
16465 if (PyErr_Occurred()) SWIG_fail;
16466 }
16467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
16468 return resultobj;
16469 fail:
16470 return NULL;
16471}
16472
16473
16474static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16475 PyObject *resultobj;
16476 wxPrintData *arg1 = (wxPrintData *) 0 ;
16477 PyObject * obj0 = 0 ;
16478 char *kwnames[] = {
16479 (char *) "self", NULL
16480 };
16481
16482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
16483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16484 {
16485 PyThreadState* __tstate = wxPyBeginAllowThreads();
16486 delete arg1;
16487
16488 wxPyEndAllowThreads(__tstate);
16489 if (PyErr_Occurred()) SWIG_fail;
16490 }
16491 Py_INCREF(Py_None); resultobj = Py_None;
16492 return resultobj;
16493 fail:
16494 return NULL;
16495}
16496
16497
16498static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16499 PyObject *resultobj;
16500 wxPrintData *arg1 = (wxPrintData *) 0 ;
16501 int result;
16502 PyObject * obj0 = 0 ;
16503 char *kwnames[] = {
16504 (char *) "self", NULL
16505 };
16506
16507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
16508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16509 {
16510 PyThreadState* __tstate = wxPyBeginAllowThreads();
16511 result = (int)(arg1)->GetNoCopies();
16512
16513 wxPyEndAllowThreads(__tstate);
16514 if (PyErr_Occurred()) SWIG_fail;
16515 }
8edf1c75 16516 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16517 return resultobj;
16518 fail:
16519 return NULL;
16520}
16521
16522
16523static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16524 PyObject *resultobj;
16525 wxPrintData *arg1 = (wxPrintData *) 0 ;
16526 bool result;
16527 PyObject * obj0 = 0 ;
16528 char *kwnames[] = {
16529 (char *) "self", NULL
16530 };
16531
16532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
16533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16534 {
16535 PyThreadState* __tstate = wxPyBeginAllowThreads();
16536 result = (bool)(arg1)->GetCollate();
16537
16538 wxPyEndAllowThreads(__tstate);
16539 if (PyErr_Occurred()) SWIG_fail;
16540 }
4e760a36 16541 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16542 return resultobj;
16543 fail:
16544 return NULL;
16545}
16546
16547
16548static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16549 PyObject *resultobj;
16550 wxPrintData *arg1 = (wxPrintData *) 0 ;
16551 int result;
16552 PyObject * obj0 = 0 ;
16553 char *kwnames[] = {
16554 (char *) "self", NULL
16555 };
16556
16557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
16558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16559 {
16560 PyThreadState* __tstate = wxPyBeginAllowThreads();
16561 result = (int)(arg1)->GetOrientation();
16562
16563 wxPyEndAllowThreads(__tstate);
16564 if (PyErr_Occurred()) SWIG_fail;
16565 }
8edf1c75 16566 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16567 return resultobj;
16568 fail:
16569 return NULL;
16570}
16571
16572
16573static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16574 PyObject *resultobj;
16575 wxPrintData *arg1 = (wxPrintData *) 0 ;
16576 bool result;
16577 PyObject * obj0 = 0 ;
16578 char *kwnames[] = {
16579 (char *) "self", NULL
16580 };
16581
16582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
16583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16584 {
16585 PyThreadState* __tstate = wxPyBeginAllowThreads();
16586 result = (bool)(arg1)->Ok();
16587
16588 wxPyEndAllowThreads(__tstate);
16589 if (PyErr_Occurred()) SWIG_fail;
16590 }
4e760a36 16591 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16592 return resultobj;
16593 fail:
16594 return NULL;
16595}
16596
16597
16598static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16599 PyObject *resultobj;
16600 wxPrintData *arg1 = (wxPrintData *) 0 ;
16601 wxString *result;
16602 PyObject * obj0 = 0 ;
16603 char *kwnames[] = {
16604 (char *) "self", NULL
16605 };
16606
16607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
16608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16609 {
16610 PyThreadState* __tstate = wxPyBeginAllowThreads();
16611 {
16612 wxString const &_result_ref = (arg1)->GetPrinterName();
16613 result = (wxString *) &_result_ref;
16614 }
16615
16616 wxPyEndAllowThreads(__tstate);
16617 if (PyErr_Occurred()) SWIG_fail;
16618 }
f0983263
RD
16619 {
16620#if wxUSE_UNICODE
16621 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
16622#else
16623 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
16624#endif
16625 }
d14a1e28
RD
16626 return resultobj;
16627 fail:
16628 return NULL;
16629}
16630
16631
16632static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16633 PyObject *resultobj;
16634 wxPrintData *arg1 = (wxPrintData *) 0 ;
16635 bool result;
16636 PyObject * obj0 = 0 ;
16637 char *kwnames[] = {
16638 (char *) "self", NULL
16639 };
16640
16641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
16642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16643 {
16644 PyThreadState* __tstate = wxPyBeginAllowThreads();
16645 result = (bool)(arg1)->GetColour();
16646
16647 wxPyEndAllowThreads(__tstate);
16648 if (PyErr_Occurred()) SWIG_fail;
16649 }
4e760a36 16650 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
16651 return resultobj;
16652 fail:
16653 return NULL;
16654}
16655
16656
16657static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16658 PyObject *resultobj;
16659 wxPrintData *arg1 = (wxPrintData *) 0 ;
16660 int result;
16661 PyObject * obj0 = 0 ;
16662 char *kwnames[] = {
16663 (char *) "self", NULL
16664 };
16665
16666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
16667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 result = (int)(arg1)->GetDuplex();
16671
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
8edf1c75 16675 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16676 return resultobj;
16677 fail:
16678 return NULL;
16679}
16680
16681
16682static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16683 PyObject *resultobj;
16684 wxPrintData *arg1 = (wxPrintData *) 0 ;
16685 int result;
16686 PyObject * obj0 = 0 ;
16687 char *kwnames[] = {
16688 (char *) "self", NULL
16689 };
16690
16691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
16692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16693 {
16694 PyThreadState* __tstate = wxPyBeginAllowThreads();
16695 result = (int)(arg1)->GetPaperId();
16696
16697 wxPyEndAllowThreads(__tstate);
16698 if (PyErr_Occurred()) SWIG_fail;
16699 }
8edf1c75 16700 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16701 return resultobj;
16702 fail:
16703 return NULL;
16704}
16705
16706
16707static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16708 PyObject *resultobj;
16709 wxPrintData *arg1 = (wxPrintData *) 0 ;
16710 wxSize *result;
16711 PyObject * obj0 = 0 ;
16712 char *kwnames[] = {
16713 (char *) "self", NULL
16714 };
16715
16716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
16717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16718 {
16719 PyThreadState* __tstate = wxPyBeginAllowThreads();
16720 {
16721 wxSize const &_result_ref = (arg1)->GetPaperSize();
16722 result = (wxSize *) &_result_ref;
16723 }
16724
16725 wxPyEndAllowThreads(__tstate);
16726 if (PyErr_Occurred()) SWIG_fail;
16727 }
16728 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
16729 return resultobj;
16730 fail:
16731 return NULL;
16732}
16733
16734
16735static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
16736 PyObject *resultobj;
16737 wxPrintData *arg1 = (wxPrintData *) 0 ;
d03fd34d 16738 int result;
d14a1e28
RD
16739 PyObject * obj0 = 0 ;
16740 char *kwnames[] = {
16741 (char *) "self", NULL
16742 };
16743
16744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
16745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16746 {
16747 PyThreadState* __tstate = wxPyBeginAllowThreads();
d03fd34d 16748 result = (int)(arg1)->GetQuality();
d14a1e28
RD
16749
16750 wxPyEndAllowThreads(__tstate);
16751 if (PyErr_Occurred()) SWIG_fail;
16752 }
8edf1c75 16753 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
16754 return resultobj;
16755 fail:
16756 return NULL;
16757}
16758
16759
16760static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
16761 PyObject *resultobj;
16762 wxPrintData *arg1 = (wxPrintData *) 0 ;
16763 int arg2 ;
16764 PyObject * obj0 = 0 ;
8edf1c75 16765 PyObject * obj1 = 0 ;
d14a1e28
RD
16766 char *kwnames[] = {
16767 (char *) "self",(char *) "v", NULL
16768 };
16769
8edf1c75 16770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 16771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
16772 {
16773 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16774 if (PyErr_Occurred()) SWIG_fail;
16775 }
d14a1e28
RD
16776 {
16777 PyThreadState* __tstate = wxPyBeginAllowThreads();
16778 (arg1)->SetNoCopies(arg2);
16779
16780 wxPyEndAllowThreads(__tstate);
16781 if (PyErr_Occurred()) SWIG_fail;
16782 }
16783 Py_INCREF(Py_None); resultobj = Py_None;
16784 return resultobj;
16785 fail:
16786 return NULL;
16787}
16788
16789
16790static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
16791 PyObject *resultobj;
16792 wxPrintData *arg1 = (wxPrintData *) 0 ;
16793 bool arg2 ;
16794 PyObject * obj0 = 0 ;
16795 PyObject * obj1 = 0 ;
16796 char *kwnames[] = {
16797 (char *) "self",(char *) "flag", NULL
16798 };
16799
16800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
16801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 16802 {
8edf1c75 16803 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
16804 if (PyErr_Occurred()) SWIG_fail;
16805 }
d14a1e28
RD
16806 {
16807 PyThreadState* __tstate = wxPyBeginAllowThreads();
16808 (arg1)->SetCollate(arg2);
16809
16810 wxPyEndAllowThreads(__tstate);
16811 if (PyErr_Occurred()) SWIG_fail;
16812 }
16813 Py_INCREF(Py_None); resultobj = Py_None;
16814 return resultobj;
16815 fail:
16816 return NULL;
16817}
16818
16819
16820static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16821 PyObject *resultobj;
16822 wxPrintData *arg1 = (wxPrintData *) 0 ;
16823 int arg2 ;
16824 PyObject * obj0 = 0 ;
8edf1c75 16825 PyObject * obj1 = 0 ;
d14a1e28
RD
16826 char *kwnames[] = {
16827 (char *) "self",(char *) "orient", NULL
16828 };
16829
8edf1c75 16830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOrientation",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 16831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
16832 {
16833 arg2 = (int) SWIG_PyObj_AsInt(obj1);
16834 if (PyErr_Occurred()) SWIG_fail;
16835 }
d14a1e28
RD
16836 {
16837 PyThreadState* __tstate = wxPyBeginAllowThreads();
16838 (arg1)->SetOrientation(arg2);
16839
16840 wxPyEndAllowThreads(__tstate);
16841 if (PyErr_Occurred()) SWIG_fail;
16842 }
16843 Py_INCREF(Py_None); resultobj = Py_None;
16844 return resultobj;
16845 fail:
16846 return NULL;
16847}
16848
16849
16850static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
16851 PyObject *resultobj;
16852 wxPrintData *arg1 = (wxPrintData *) 0 ;
16853 wxString *arg2 = 0 ;
423f194a 16854 bool temp2 = False ;
d14a1e28
RD
16855 PyObject * obj0 = 0 ;
16856 PyObject * obj1 = 0 ;
16857 char *kwnames[] = {
16858 (char *) "self",(char *) "name", NULL
16859 };
16860
16861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
16862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16863 {
16864 arg2 = wxString_in_helper(obj1);
16865 if (arg2 == NULL) SWIG_fail;
423f194a 16866 temp2 = True;
d14a1e28
RD
16867 }
16868 {
16869 PyThreadState* __tstate = wxPyBeginAllowThreads();
16870 (arg1)->SetPrinterName((wxString const &)*arg2);
16871
16872 wxPyEndAllowThreads(__tstate);
16873 if (PyErr_Occurred()) SWIG_fail;
16874 }
16875 Py_INCREF(Py_None); resultobj = Py_None;
16876 {
16877 if (temp2)
16878 delete arg2;
16879 }
16880 return resultobj;
16881 fail:
16882 {
16883 if (temp2)
16884 delete arg2;
16885 }
16886 return NULL;
16887}
16888
16889
16890static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj;
16892 wxPrintData *arg1 = (wxPrintData *) 0 ;
16893 bool arg2 ;
16894 PyObject * obj0 = 0 ;
16895 PyObject * obj1 = 0 ;
16896 char *kwnames[] = {
16897 (char *) "self",(char *) "colour", NULL
16898 };
16899
16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
16901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 16902 {
8edf1c75 16903 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
16904 if (PyErr_Occurred()) SWIG_fail;
16905 }
d14a1e28
RD
16906 {
16907 PyThreadState* __tstate = wxPyBeginAllowThreads();
16908 (arg1)->SetColour(arg2);
16909
16910 wxPyEndAllowThreads(__tstate);
16911 if (PyErr_Occurred()) SWIG_fail;
16912 }
16913 Py_INCREF(Py_None); resultobj = Py_None;
16914 return resultobj;
16915 fail:
16916 return NULL;
16917}
16918
16919
16920static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
16921 PyObject *resultobj;
16922 wxPrintData *arg1 = (wxPrintData *) 0 ;
16923 int arg2 ;
16924 PyObject * obj0 = 0 ;
8edf1c75 16925 PyObject * obj1 = 0 ;
d14a1e28
RD
16926 char *kwnames[] = {
16927 (char *) "self",(char *) "duplex", NULL
16928 };
16929
8edf1c75 16930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetDuplex",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 16931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
16932 {
16933 arg2 = (wxDuplexMode) SWIG_PyObj_AsInt(obj1);
16934 if (PyErr_Occurred()) SWIG_fail;
16935 }
d14a1e28
RD
16936 {
16937 PyThreadState* __tstate = wxPyBeginAllowThreads();
16938 (arg1)->SetDuplex((wxDuplexMode )arg2);
16939
16940 wxPyEndAllowThreads(__tstate);
16941 if (PyErr_Occurred()) SWIG_fail;
16942 }
16943 Py_INCREF(Py_None); resultobj = Py_None;
16944 return resultobj;
16945 fail:
16946 return NULL;
16947}
16948
16949
16950static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16951 PyObject *resultobj;
16952 wxPrintData *arg1 = (wxPrintData *) 0 ;
16953 int arg2 ;
16954 PyObject * obj0 = 0 ;
8edf1c75 16955 PyObject * obj1 = 0 ;
d14a1e28
RD
16956 char *kwnames[] = {
16957 (char *) "self",(char *) "sizeId", NULL
16958 };
16959
8edf1c75 16960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 16961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
16962 {
16963 arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1);
16964 if (PyErr_Occurred()) SWIG_fail;
16965 }
d14a1e28
RD
16966 {
16967 PyThreadState* __tstate = wxPyBeginAllowThreads();
16968 (arg1)->SetPaperId((wxPaperSize )arg2);
16969
16970 wxPyEndAllowThreads(__tstate);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 Py_INCREF(Py_None); resultobj = Py_None;
16974 return resultobj;
16975 fail:
16976 return NULL;
16977}
16978
16979
16980static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16981 PyObject *resultobj;
16982 wxPrintData *arg1 = (wxPrintData *) 0 ;
16983 wxSize *arg2 = 0 ;
16984 wxSize temp2 ;
16985 PyObject * obj0 = 0 ;
16986 PyObject * obj1 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self",(char *) "sz", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16993 {
16994 arg2 = &temp2;
16995 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16996 }
16997 {
16998 PyThreadState* __tstate = wxPyBeginAllowThreads();
16999 (arg1)->SetPaperSize((wxSize const &)*arg2);
17000
17001 wxPyEndAllowThreads(__tstate);
17002 if (PyErr_Occurred()) SWIG_fail;
17003 }
17004 Py_INCREF(Py_None); resultobj = Py_None;
17005 return resultobj;
17006 fail:
17007 return NULL;
17008}
17009
17010
17011static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
17012 PyObject *resultobj;
17013 wxPrintData *arg1 = (wxPrintData *) 0 ;
d03fd34d 17014 int arg2 ;
d14a1e28 17015 PyObject * obj0 = 0 ;
8edf1c75 17016 PyObject * obj1 = 0 ;
d14a1e28
RD
17017 char *kwnames[] = {
17018 (char *) "self",(char *) "quality", NULL
17019 };
17020
8edf1c75 17021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17023 {
17024 arg2 = (int) SWIG_PyObj_AsInt(obj1);
17025 if (PyErr_Occurred()) SWIG_fail;
17026 }
d14a1e28
RD
17027 {
17028 PyThreadState* __tstate = wxPyBeginAllowThreads();
17029 (arg1)->SetQuality(arg2);
17030
17031 wxPyEndAllowThreads(__tstate);
17032 if (PyErr_Occurred()) SWIG_fail;
17033 }
17034 Py_INCREF(Py_None); resultobj = Py_None;
17035 return resultobj;
17036 fail:
17037 return NULL;
17038}
17039
17040
17041static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17042 PyObject *resultobj;
17043 wxPrintData *arg1 = (wxPrintData *) 0 ;
17044 wxString *result;
17045 PyObject * obj0 = 0 ;
17046 char *kwnames[] = {
17047 (char *) "self", NULL
17048 };
17049
17050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
17051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17052 {
17053 PyThreadState* __tstate = wxPyBeginAllowThreads();
17054 {
17055 wxString const &_result_ref = (arg1)->GetPrinterCommand();
17056 result = (wxString *) &_result_ref;
17057 }
17058
17059 wxPyEndAllowThreads(__tstate);
17060 if (PyErr_Occurred()) SWIG_fail;
17061 }
f0983263
RD
17062 {
17063#if wxUSE_UNICODE
17064 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17065#else
17066 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17067#endif
17068 }
d14a1e28
RD
17069 return resultobj;
17070 fail:
17071 return NULL;
17072}
17073
17074
17075static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
17076 PyObject *resultobj;
17077 wxPrintData *arg1 = (wxPrintData *) 0 ;
17078 wxString *result;
17079 PyObject * obj0 = 0 ;
17080 char *kwnames[] = {
17081 (char *) "self", NULL
17082 };
17083
17084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
17085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17086 {
17087 PyThreadState* __tstate = wxPyBeginAllowThreads();
17088 {
17089 wxString const &_result_ref = (arg1)->GetPrinterOptions();
17090 result = (wxString *) &_result_ref;
17091 }
17092
17093 wxPyEndAllowThreads(__tstate);
17094 if (PyErr_Occurred()) SWIG_fail;
17095 }
f0983263
RD
17096 {
17097#if wxUSE_UNICODE
17098 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17099#else
17100 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17101#endif
17102 }
d14a1e28
RD
17103 return resultobj;
17104 fail:
17105 return NULL;
17106}
17107
17108
17109static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17110 PyObject *resultobj;
17111 wxPrintData *arg1 = (wxPrintData *) 0 ;
17112 wxString *result;
17113 PyObject * obj0 = 0 ;
17114 char *kwnames[] = {
17115 (char *) "self", NULL
17116 };
17117
17118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
17119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17120 {
17121 PyThreadState* __tstate = wxPyBeginAllowThreads();
17122 {
17123 wxString const &_result_ref = (arg1)->GetPreviewCommand();
17124 result = (wxString *) &_result_ref;
17125 }
17126
17127 wxPyEndAllowThreads(__tstate);
17128 if (PyErr_Occurred()) SWIG_fail;
17129 }
f0983263
RD
17130 {
17131#if wxUSE_UNICODE
17132 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17133#else
17134 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17135#endif
17136 }
d14a1e28
RD
17137 return resultobj;
17138 fail:
17139 return NULL;
17140}
17141
17142
17143static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17144 PyObject *resultobj;
17145 wxPrintData *arg1 = (wxPrintData *) 0 ;
17146 wxString *result;
17147 PyObject * obj0 = 0 ;
17148 char *kwnames[] = {
17149 (char *) "self", NULL
17150 };
17151
17152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
17153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17154 {
17155 PyThreadState* __tstate = wxPyBeginAllowThreads();
17156 {
17157 wxString const &_result_ref = (arg1)->GetFilename();
17158 result = (wxString *) &_result_ref;
17159 }
17160
17161 wxPyEndAllowThreads(__tstate);
17162 if (PyErr_Occurred()) SWIG_fail;
17163 }
f0983263
RD
17164 {
17165#if wxUSE_UNICODE
17166 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17167#else
17168 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17169#endif
17170 }
d14a1e28
RD
17171 return resultobj;
17172 fail:
17173 return NULL;
17174}
17175
17176
17177static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17178 PyObject *resultobj;
17179 wxPrintData *arg1 = (wxPrintData *) 0 ;
17180 wxString *result;
17181 PyObject * obj0 = 0 ;
17182 char *kwnames[] = {
17183 (char *) "self", NULL
17184 };
17185
17186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
17187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17188 {
17189 PyThreadState* __tstate = wxPyBeginAllowThreads();
17190 {
17191 wxString const &_result_ref = (arg1)->GetFontMetricPath();
17192 result = (wxString *) &_result_ref;
17193 }
17194
17195 wxPyEndAllowThreads(__tstate);
17196 if (PyErr_Occurred()) SWIG_fail;
17197 }
f0983263
RD
17198 {
17199#if wxUSE_UNICODE
17200 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
17201#else
17202 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
17203#endif
17204 }
d14a1e28
RD
17205 return resultobj;
17206 fail:
17207 return NULL;
17208}
17209
17210
17211static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17212 PyObject *resultobj;
17213 wxPrintData *arg1 = (wxPrintData *) 0 ;
17214 double result;
17215 PyObject * obj0 = 0 ;
17216 char *kwnames[] = {
17217 (char *) "self", NULL
17218 };
17219
17220 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
17221 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17222 {
17223 PyThreadState* __tstate = wxPyBeginAllowThreads();
17224 result = (double)(arg1)->GetPrinterScaleX();
17225
17226 wxPyEndAllowThreads(__tstate);
17227 if (PyErr_Occurred()) SWIG_fail;
17228 }
8edf1c75 17229 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
17230 return resultobj;
17231 fail:
17232 return NULL;
17233}
17234
17235
17236static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17237 PyObject *resultobj;
17238 wxPrintData *arg1 = (wxPrintData *) 0 ;
17239 double result;
17240 PyObject * obj0 = 0 ;
17241 char *kwnames[] = {
17242 (char *) "self", NULL
17243 };
17244
17245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
17246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17247 {
17248 PyThreadState* __tstate = wxPyBeginAllowThreads();
17249 result = (double)(arg1)->GetPrinterScaleY();
17250
17251 wxPyEndAllowThreads(__tstate);
17252 if (PyErr_Occurred()) SWIG_fail;
17253 }
8edf1c75 17254 resultobj = SWIG_PyObj_FromDouble((double)result);
d14a1e28
RD
17255 return resultobj;
17256 fail:
17257 return NULL;
17258}
17259
17260
17261static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17262 PyObject *resultobj;
17263 wxPrintData *arg1 = (wxPrintData *) 0 ;
17264 long result;
17265 PyObject * obj0 = 0 ;
17266 char *kwnames[] = {
17267 (char *) "self", NULL
17268 };
17269
17270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
17271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17272 {
17273 PyThreadState* __tstate = wxPyBeginAllowThreads();
17274 result = (long)(arg1)->GetPrinterTranslateX();
17275
17276 wxPyEndAllowThreads(__tstate);
17277 if (PyErr_Occurred()) SWIG_fail;
17278 }
8edf1c75 17279 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
17280 return resultobj;
17281 fail:
17282 return NULL;
17283}
17284
17285
17286static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17287 PyObject *resultobj;
17288 wxPrintData *arg1 = (wxPrintData *) 0 ;
17289 long result;
17290 PyObject * obj0 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
17296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17297 {
17298 PyThreadState* __tstate = wxPyBeginAllowThreads();
17299 result = (long)(arg1)->GetPrinterTranslateY();
17300
17301 wxPyEndAllowThreads(__tstate);
17302 if (PyErr_Occurred()) SWIG_fail;
17303 }
8edf1c75 17304 resultobj = SWIG_PyObj_FromLong((long)result);
d14a1e28
RD
17305 return resultobj;
17306 fail:
17307 return NULL;
17308}
17309
17310
17311static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17312 PyObject *resultobj;
17313 wxPrintData *arg1 = (wxPrintData *) 0 ;
17314 int result;
17315 PyObject * obj0 = 0 ;
17316 char *kwnames[] = {
17317 (char *) "self", NULL
17318 };
17319
17320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
17321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17322 {
17323 PyThreadState* __tstate = wxPyBeginAllowThreads();
17324 result = (int)(arg1)->GetPrintMode();
17325
17326 wxPyEndAllowThreads(__tstate);
17327 if (PyErr_Occurred()) SWIG_fail;
17328 }
8edf1c75 17329 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
17330 return resultobj;
17331 fail:
17332 return NULL;
17333}
17334
17335
17336static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17337 PyObject *resultobj;
17338 wxPrintData *arg1 = (wxPrintData *) 0 ;
17339 wxString *arg2 = 0 ;
423f194a 17340 bool temp2 = False ;
d14a1e28
RD
17341 PyObject * obj0 = 0 ;
17342 PyObject * obj1 = 0 ;
17343 char *kwnames[] = {
17344 (char *) "self",(char *) "command", NULL
17345 };
17346
17347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
17348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17349 {
17350 arg2 = wxString_in_helper(obj1);
17351 if (arg2 == NULL) SWIG_fail;
423f194a 17352 temp2 = True;
d14a1e28
RD
17353 }
17354 {
17355 PyThreadState* __tstate = wxPyBeginAllowThreads();
17356 (arg1)->SetPrinterCommand((wxString const &)*arg2);
17357
17358 wxPyEndAllowThreads(__tstate);
17359 if (PyErr_Occurred()) SWIG_fail;
17360 }
17361 Py_INCREF(Py_None); resultobj = Py_None;
17362 {
17363 if (temp2)
17364 delete arg2;
17365 }
17366 return resultobj;
17367 fail:
17368 {
17369 if (temp2)
17370 delete arg2;
17371 }
17372 return NULL;
17373}
17374
17375
17376static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
17377 PyObject *resultobj;
17378 wxPrintData *arg1 = (wxPrintData *) 0 ;
17379 wxString *arg2 = 0 ;
423f194a 17380 bool temp2 = False ;
d14a1e28
RD
17381 PyObject * obj0 = 0 ;
17382 PyObject * obj1 = 0 ;
17383 char *kwnames[] = {
17384 (char *) "self",(char *) "options", NULL
17385 };
17386
17387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
17388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17389 {
17390 arg2 = wxString_in_helper(obj1);
17391 if (arg2 == NULL) SWIG_fail;
423f194a 17392 temp2 = True;
d14a1e28
RD
17393 }
17394 {
17395 PyThreadState* __tstate = wxPyBeginAllowThreads();
17396 (arg1)->SetPrinterOptions((wxString const &)*arg2);
17397
17398 wxPyEndAllowThreads(__tstate);
17399 if (PyErr_Occurred()) SWIG_fail;
17400 }
17401 Py_INCREF(Py_None); resultobj = Py_None;
17402 {
17403 if (temp2)
17404 delete arg2;
17405 }
17406 return resultobj;
17407 fail:
17408 {
17409 if (temp2)
17410 delete arg2;
17411 }
17412 return NULL;
17413}
17414
17415
17416static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
17417 PyObject *resultobj;
17418 wxPrintData *arg1 = (wxPrintData *) 0 ;
17419 wxString *arg2 = 0 ;
423f194a 17420 bool temp2 = False ;
d14a1e28
RD
17421 PyObject * obj0 = 0 ;
17422 PyObject * obj1 = 0 ;
17423 char *kwnames[] = {
17424 (char *) "self",(char *) "command", NULL
17425 };
17426
17427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
17428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17429 {
17430 arg2 = wxString_in_helper(obj1);
17431 if (arg2 == NULL) SWIG_fail;
423f194a 17432 temp2 = True;
d14a1e28
RD
17433 }
17434 {
17435 PyThreadState* __tstate = wxPyBeginAllowThreads();
17436 (arg1)->SetPreviewCommand((wxString const &)*arg2);
17437
17438 wxPyEndAllowThreads(__tstate);
17439 if (PyErr_Occurred()) SWIG_fail;
17440 }
17441 Py_INCREF(Py_None); resultobj = Py_None;
17442 {
17443 if (temp2)
17444 delete arg2;
17445 }
17446 return resultobj;
17447 fail:
17448 {
17449 if (temp2)
17450 delete arg2;
17451 }
17452 return NULL;
17453}
17454
17455
17456static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
17457 PyObject *resultobj;
17458 wxPrintData *arg1 = (wxPrintData *) 0 ;
17459 wxString *arg2 = 0 ;
423f194a 17460 bool temp2 = False ;
d14a1e28
RD
17461 PyObject * obj0 = 0 ;
17462 PyObject * obj1 = 0 ;
17463 char *kwnames[] = {
17464 (char *) "self",(char *) "filename", NULL
17465 };
17466
17467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
17468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17469 {
17470 arg2 = wxString_in_helper(obj1);
17471 if (arg2 == NULL) SWIG_fail;
423f194a 17472 temp2 = True;
d14a1e28
RD
17473 }
17474 {
17475 PyThreadState* __tstate = wxPyBeginAllowThreads();
17476 (arg1)->SetFilename((wxString const &)*arg2);
17477
17478 wxPyEndAllowThreads(__tstate);
17479 if (PyErr_Occurred()) SWIG_fail;
17480 }
17481 Py_INCREF(Py_None); resultobj = Py_None;
17482 {
17483 if (temp2)
17484 delete arg2;
17485 }
17486 return resultobj;
17487 fail:
17488 {
17489 if (temp2)
17490 delete arg2;
17491 }
17492 return NULL;
17493}
17494
17495
17496static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
17497 PyObject *resultobj;
17498 wxPrintData *arg1 = (wxPrintData *) 0 ;
17499 wxString *arg2 = 0 ;
423f194a 17500 bool temp2 = False ;
d14a1e28
RD
17501 PyObject * obj0 = 0 ;
17502 PyObject * obj1 = 0 ;
17503 char *kwnames[] = {
17504 (char *) "self",(char *) "path", NULL
17505 };
17506
17507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
17508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17509 {
17510 arg2 = wxString_in_helper(obj1);
17511 if (arg2 == NULL) SWIG_fail;
423f194a 17512 temp2 = True;
d14a1e28
RD
17513 }
17514 {
17515 PyThreadState* __tstate = wxPyBeginAllowThreads();
17516 (arg1)->SetFontMetricPath((wxString const &)*arg2);
17517
17518 wxPyEndAllowThreads(__tstate);
17519 if (PyErr_Occurred()) SWIG_fail;
17520 }
17521 Py_INCREF(Py_None); resultobj = Py_None;
17522 {
17523 if (temp2)
17524 delete arg2;
17525 }
17526 return resultobj;
17527 fail:
17528 {
17529 if (temp2)
17530 delete arg2;
17531 }
17532 return NULL;
17533}
17534
17535
17536static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
17537 PyObject *resultobj;
17538 wxPrintData *arg1 = (wxPrintData *) 0 ;
17539 double arg2 ;
17540 PyObject * obj0 = 0 ;
8edf1c75 17541 PyObject * obj1 = 0 ;
d14a1e28
RD
17542 char *kwnames[] = {
17543 (char *) "self",(char *) "x", NULL
17544 };
17545
8edf1c75 17546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleX",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17548 {
17549 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17550 if (PyErr_Occurred()) SWIG_fail;
17551 }
d14a1e28
RD
17552 {
17553 PyThreadState* __tstate = wxPyBeginAllowThreads();
17554 (arg1)->SetPrinterScaleX(arg2);
17555
17556 wxPyEndAllowThreads(__tstate);
17557 if (PyErr_Occurred()) SWIG_fail;
17558 }
17559 Py_INCREF(Py_None); resultobj = Py_None;
17560 return resultobj;
17561 fail:
17562 return NULL;
17563}
17564
17565
17566static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
17567 PyObject *resultobj;
17568 wxPrintData *arg1 = (wxPrintData *) 0 ;
17569 double arg2 ;
17570 PyObject * obj0 = 0 ;
8edf1c75 17571 PyObject * obj1 = 0 ;
d14a1e28
RD
17572 char *kwnames[] = {
17573 (char *) "self",(char *) "y", NULL
17574 };
17575
8edf1c75 17576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterScaleY",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17578 {
17579 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17580 if (PyErr_Occurred()) SWIG_fail;
17581 }
d14a1e28
RD
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 (arg1)->SetPrinterScaleY(arg2);
17585
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
17589 Py_INCREF(Py_None); resultobj = Py_None;
17590 return resultobj;
17591 fail:
17592 return NULL;
17593}
17594
17595
17596static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
17597 PyObject *resultobj;
17598 wxPrintData *arg1 = (wxPrintData *) 0 ;
17599 double arg2 ;
17600 double arg3 ;
17601 PyObject * obj0 = 0 ;
8edf1c75
RD
17602 PyObject * obj1 = 0 ;
17603 PyObject * obj2 = 0 ;
d14a1e28
RD
17604 char *kwnames[] = {
17605 (char *) "self",(char *) "x",(char *) "y", NULL
17606 };
17607
8edf1c75 17608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterScaling",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 17609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17610 {
17611 arg2 = (double) SWIG_PyObj_AsDouble(obj1);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 {
17615 arg3 = (double) SWIG_PyObj_AsDouble(obj2);
17616 if (PyErr_Occurred()) SWIG_fail;
17617 }
d14a1e28
RD
17618 {
17619 PyThreadState* __tstate = wxPyBeginAllowThreads();
17620 (arg1)->SetPrinterScaling(arg2,arg3);
17621
17622 wxPyEndAllowThreads(__tstate);
17623 if (PyErr_Occurred()) SWIG_fail;
17624 }
17625 Py_INCREF(Py_None); resultobj = Py_None;
17626 return resultobj;
17627 fail:
17628 return NULL;
17629}
17630
17631
17632static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
17633 PyObject *resultobj;
17634 wxPrintData *arg1 = (wxPrintData *) 0 ;
17635 long arg2 ;
17636 PyObject * obj0 = 0 ;
8edf1c75 17637 PyObject * obj1 = 0 ;
d14a1e28
RD
17638 char *kwnames[] = {
17639 (char *) "self",(char *) "x", NULL
17640 };
17641
8edf1c75 17642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateX",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17644 {
17645 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17646 if (PyErr_Occurred()) SWIG_fail;
17647 }
d14a1e28
RD
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 (arg1)->SetPrinterTranslateX(arg2);
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 Py_INCREF(Py_None); resultobj = Py_None;
17656 return resultobj;
17657 fail:
17658 return NULL;
17659}
17660
17661
17662static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxPrintData *arg1 = (wxPrintData *) 0 ;
17665 long arg2 ;
17666 PyObject * obj0 = 0 ;
8edf1c75 17667 PyObject * obj1 = 0 ;
d14a1e28
RD
17668 char *kwnames[] = {
17669 (char *) "self",(char *) "y", NULL
17670 };
17671
8edf1c75 17672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterTranslateY",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17674 {
17675 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17676 if (PyErr_Occurred()) SWIG_fail;
17677 }
d14a1e28
RD
17678 {
17679 PyThreadState* __tstate = wxPyBeginAllowThreads();
17680 (arg1)->SetPrinterTranslateY(arg2);
17681
17682 wxPyEndAllowThreads(__tstate);
17683 if (PyErr_Occurred()) SWIG_fail;
17684 }
17685 Py_INCREF(Py_None); resultobj = Py_None;
17686 return resultobj;
17687 fail:
17688 return NULL;
17689}
17690
17691
17692static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
17693 PyObject *resultobj;
17694 wxPrintData *arg1 = (wxPrintData *) 0 ;
17695 long arg2 ;
17696 long arg3 ;
17697 PyObject * obj0 = 0 ;
8edf1c75
RD
17698 PyObject * obj1 = 0 ;
17699 PyObject * obj2 = 0 ;
d14a1e28
RD
17700 char *kwnames[] = {
17701 (char *) "self",(char *) "x",(char *) "y", NULL
17702 };
17703
8edf1c75 17704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintData_SetPrinterTranslation",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 17705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17706 {
17707 arg2 = (long) SWIG_PyObj_AsLong(obj1);
17708 if (PyErr_Occurred()) SWIG_fail;
17709 }
17710 {
17711 arg3 = (long) SWIG_PyObj_AsLong(obj2);
17712 if (PyErr_Occurred()) SWIG_fail;
17713 }
d14a1e28
RD
17714 {
17715 PyThreadState* __tstate = wxPyBeginAllowThreads();
17716 (arg1)->SetPrinterTranslation(arg2,arg3);
17717
17718 wxPyEndAllowThreads(__tstate);
17719 if (PyErr_Occurred()) SWIG_fail;
17720 }
17721 Py_INCREF(Py_None); resultobj = Py_None;
17722 return resultobj;
17723 fail:
17724 return NULL;
17725}
17726
17727
17728static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
17729 PyObject *resultobj;
17730 wxPrintData *arg1 = (wxPrintData *) 0 ;
17731 int arg2 ;
17732 PyObject * obj0 = 0 ;
8edf1c75 17733 PyObject * obj1 = 0 ;
d14a1e28
RD
17734 char *kwnames[] = {
17735 (char *) "self",(char *) "printMode", NULL
17736 };
17737
8edf1c75 17738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrintMode",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 17739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
17740 {
17741 arg2 = (wxPrintMode) SWIG_PyObj_AsInt(obj1);
17742 if (PyErr_Occurred()) SWIG_fail;
17743 }
d14a1e28
RD
17744 {
17745 PyThreadState* __tstate = wxPyBeginAllowThreads();
17746 (arg1)->SetPrintMode((wxPrintMode )arg2);
17747
17748 wxPyEndAllowThreads(__tstate);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 Py_INCREF(Py_None); resultobj = Py_None;
17752 return resultobj;
17753 fail:
17754 return NULL;
17755}
17756
17757
db914595
RD
17758static PyObject *_wrap_PrintData_GetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
17759 PyObject *resultobj;
17760 wxPrintData *arg1 = (wxPrintData *) 0 ;
17761 wxOutputStream *result;
17762 PyObject * obj0 = 0 ;
17763 char *kwnames[] = {
17764 (char *) "self", NULL
17765 };
17766
17767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOutputStream",kwnames,&obj0)) goto fail;
17768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17769 {
17770 PyThreadState* __tstate = wxPyBeginAllowThreads();
17771 result = (wxOutputStream *)(arg1)->GetOutputStream();
17772
17773 wxPyEndAllowThreads(__tstate);
17774 if (PyErr_Occurred()) SWIG_fail;
17775 }
17776 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxOutputStream, 0);
17777 return resultobj;
17778 fail:
17779 return NULL;
17780}
17781
17782
17783static PyObject *_wrap_PrintData_SetOutputStream(PyObject *self, PyObject *args, PyObject *kwargs) {
17784 PyObject *resultobj;
17785 wxPrintData *arg1 = (wxPrintData *) 0 ;
17786 wxOutputStream *arg2 = (wxOutputStream *) 0 ;
17787 PyObject * obj0 = 0 ;
17788 PyObject * obj1 = 0 ;
17789 char *kwnames[] = {
17790 (char *) "self",(char *) "outputstream", NULL
17791 };
17792
17793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetOutputStream",kwnames,&obj0,&obj1)) goto fail;
17794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17795 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxOutputStream,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17796 {
17797 PyThreadState* __tstate = wxPyBeginAllowThreads();
17798 (arg1)->SetOutputStream(arg2);
17799
17800 wxPyEndAllowThreads(__tstate);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
17803 Py_INCREF(Py_None); resultobj = Py_None;
17804 return resultobj;
17805 fail:
17806 return NULL;
17807}
17808
17809
d14a1e28
RD
17810static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
17811 PyObject *obj;
17812 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17813 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
17814 Py_INCREF(obj);
17815 return Py_BuildValue((char *)"");
17816}
17817static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17818 PyObject *resultobj;
17819 wxPageSetupDialogData *result;
17820 char *kwnames[] = {
17821 NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
17825 {
17826 PyThreadState* __tstate = wxPyBeginAllowThreads();
17827 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
17828
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
17833 return resultobj;
17834 fail:
17835 return NULL;
17836}
17837
17838
17839static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17840 PyObject *resultobj;
17841 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17842 PyObject * obj0 = 0 ;
17843 char *kwnames[] = {
17844 (char *) "self", NULL
17845 };
17846
17847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
17848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17849 {
17850 PyThreadState* __tstate = wxPyBeginAllowThreads();
17851 delete arg1;
17852
17853 wxPyEndAllowThreads(__tstate);
17854 if (PyErr_Occurred()) SWIG_fail;
17855 }
17856 Py_INCREF(Py_None); resultobj = Py_None;
17857 return resultobj;
17858 fail:
17859 return NULL;
17860}
17861
17862
17863static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17864 PyObject *resultobj;
17865 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17866 bool arg2 ;
17867 PyObject * obj0 = 0 ;
17868 PyObject * obj1 = 0 ;
17869 char *kwnames[] = {
17870 (char *) "self",(char *) "flag", NULL
17871 };
17872
17873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 17875 {
8edf1c75 17876 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
17877 if (PyErr_Occurred()) SWIG_fail;
17878 }
d14a1e28
RD
17879 {
17880 PyThreadState* __tstate = wxPyBeginAllowThreads();
17881 (arg1)->EnableHelp(arg2);
17882
17883 wxPyEndAllowThreads(__tstate);
17884 if (PyErr_Occurred()) SWIG_fail;
17885 }
17886 Py_INCREF(Py_None); resultobj = Py_None;
17887 return resultobj;
17888 fail:
17889 return NULL;
17890}
17891
17892
17893static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
17894 PyObject *resultobj;
17895 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17896 bool arg2 ;
17897 PyObject * obj0 = 0 ;
17898 PyObject * obj1 = 0 ;
17899 char *kwnames[] = {
17900 (char *) "self",(char *) "flag", NULL
17901 };
17902
17903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
17904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 17905 {
8edf1c75 17906 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
17907 if (PyErr_Occurred()) SWIG_fail;
17908 }
d14a1e28
RD
17909 {
17910 PyThreadState* __tstate = wxPyBeginAllowThreads();
17911 (arg1)->EnableMargins(arg2);
17912
17913 wxPyEndAllowThreads(__tstate);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 }
17916 Py_INCREF(Py_None); resultobj = Py_None;
17917 return resultobj;
17918 fail:
17919 return NULL;
17920}
17921
17922
17923static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
17924 PyObject *resultobj;
17925 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17926 bool arg2 ;
17927 PyObject * obj0 = 0 ;
17928 PyObject * obj1 = 0 ;
17929 char *kwnames[] = {
17930 (char *) "self",(char *) "flag", NULL
17931 };
17932
17933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
17934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 17935 {
8edf1c75 17936 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
17937 if (PyErr_Occurred()) SWIG_fail;
17938 }
d14a1e28
RD
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 (arg1)->EnableOrientation(arg2);
17942
17943 wxPyEndAllowThreads(__tstate);
17944 if (PyErr_Occurred()) SWIG_fail;
17945 }
17946 Py_INCREF(Py_None); resultobj = Py_None;
17947 return resultobj;
17948 fail:
17949 return NULL;
17950}
17951
17952
17953static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
17954 PyObject *resultobj;
17955 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17956 bool arg2 ;
17957 PyObject * obj0 = 0 ;
17958 PyObject * obj1 = 0 ;
17959 char *kwnames[] = {
17960 (char *) "self",(char *) "flag", NULL
17961 };
17962
17963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
17964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 17965 {
8edf1c75 17966 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
17967 if (PyErr_Occurred()) SWIG_fail;
17968 }
d14a1e28
RD
17969 {
17970 PyThreadState* __tstate = wxPyBeginAllowThreads();
17971 (arg1)->EnablePaper(arg2);
17972
17973 wxPyEndAllowThreads(__tstate);
17974 if (PyErr_Occurred()) SWIG_fail;
17975 }
17976 Py_INCREF(Py_None); resultobj = Py_None;
17977 return resultobj;
17978 fail:
17979 return NULL;
17980}
17981
17982
17983static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
17984 PyObject *resultobj;
17985 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17986 bool arg2 ;
17987 PyObject * obj0 = 0 ;
17988 PyObject * obj1 = 0 ;
17989 char *kwnames[] = {
17990 (char *) "self",(char *) "flag", NULL
17991 };
17992
17993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
17994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 17995 {
8edf1c75 17996 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
17997 if (PyErr_Occurred()) SWIG_fail;
17998 }
d14a1e28
RD
17999 {
18000 PyThreadState* __tstate = wxPyBeginAllowThreads();
18001 (arg1)->EnablePrinter(arg2);
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 Py_INCREF(Py_None); resultobj = Py_None;
18007 return resultobj;
18008 fail:
18009 return NULL;
18010}
18011
18012
18013static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18014 PyObject *resultobj;
18015 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18016 bool result;
18017 PyObject * obj0 = 0 ;
18018 char *kwnames[] = {
18019 (char *) "self", NULL
18020 };
18021
18022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
18023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18024 {
18025 PyThreadState* __tstate = wxPyBeginAllowThreads();
18026 result = (bool)(arg1)->GetDefaultMinMargins();
18027
18028 wxPyEndAllowThreads(__tstate);
18029 if (PyErr_Occurred()) SWIG_fail;
18030 }
4e760a36 18031 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18032 return resultobj;
18033 fail:
18034 return NULL;
18035}
18036
18037
18038static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18039 PyObject *resultobj;
18040 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18041 bool result;
18042 PyObject * obj0 = 0 ;
18043 char *kwnames[] = {
18044 (char *) "self", NULL
18045 };
18046
18047 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
18048 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18049 {
18050 PyThreadState* __tstate = wxPyBeginAllowThreads();
18051 result = (bool)(arg1)->GetEnableMargins();
18052
18053 wxPyEndAllowThreads(__tstate);
18054 if (PyErr_Occurred()) SWIG_fail;
18055 }
4e760a36 18056 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18057 return resultobj;
18058 fail:
18059 return NULL;
18060}
18061
18062
18063static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
18064 PyObject *resultobj;
18065 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18066 bool result;
18067 PyObject * obj0 = 0 ;
18068 char *kwnames[] = {
18069 (char *) "self", NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
18073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18074 {
18075 PyThreadState* __tstate = wxPyBeginAllowThreads();
18076 result = (bool)(arg1)->GetEnableOrientation();
18077
18078 wxPyEndAllowThreads(__tstate);
18079 if (PyErr_Occurred()) SWIG_fail;
18080 }
4e760a36 18081 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18082 return resultobj;
18083 fail:
18084 return NULL;
18085}
18086
18087
18088static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
18089 PyObject *resultobj;
18090 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18091 bool result;
18092 PyObject * obj0 = 0 ;
18093 char *kwnames[] = {
18094 (char *) "self", NULL
18095 };
18096
18097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
18098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 result = (bool)(arg1)->GetEnablePaper();
18102
18103 wxPyEndAllowThreads(__tstate);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
4e760a36 18106 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18107 return resultobj;
18108 fail:
18109 return NULL;
18110}
18111
18112
18113static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18114 PyObject *resultobj;
18115 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18116 bool result;
18117 PyObject * obj0 = 0 ;
18118 char *kwnames[] = {
18119 (char *) "self", NULL
18120 };
18121
18122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
18123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18124 {
18125 PyThreadState* __tstate = wxPyBeginAllowThreads();
18126 result = (bool)(arg1)->GetEnablePrinter();
18127
18128 wxPyEndAllowThreads(__tstate);
18129 if (PyErr_Occurred()) SWIG_fail;
18130 }
4e760a36 18131 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18132 return resultobj;
18133 fail:
18134 return NULL;
18135}
18136
18137
18138static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18139 PyObject *resultobj;
18140 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18141 bool result;
18142 PyObject * obj0 = 0 ;
18143 char *kwnames[] = {
18144 (char *) "self", NULL
18145 };
18146
18147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18149 {
18150 PyThreadState* __tstate = wxPyBeginAllowThreads();
18151 result = (bool)(arg1)->GetEnableHelp();
18152
18153 wxPyEndAllowThreads(__tstate);
18154 if (PyErr_Occurred()) SWIG_fail;
18155 }
4e760a36 18156 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18157 return resultobj;
18158 fail:
18159 return NULL;
18160}
18161
18162
18163static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18164 PyObject *resultobj;
18165 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18166 bool result;
18167 PyObject * obj0 = 0 ;
18168 char *kwnames[] = {
18169 (char *) "self", NULL
18170 };
18171
18172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
18173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18174 {
18175 PyThreadState* __tstate = wxPyBeginAllowThreads();
18176 result = (bool)(arg1)->GetDefaultInfo();
18177
18178 wxPyEndAllowThreads(__tstate);
18179 if (PyErr_Occurred()) SWIG_fail;
18180 }
4e760a36 18181 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18182 return resultobj;
18183 fail:
18184 return NULL;
18185}
18186
18187
18188static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18189 PyObject *resultobj;
18190 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18191 wxPoint result;
18192 PyObject * obj0 = 0 ;
18193 char *kwnames[] = {
18194 (char *) "self", NULL
18195 };
18196
18197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
18198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18199 {
18200 PyThreadState* __tstate = wxPyBeginAllowThreads();
18201 result = (arg1)->GetMarginTopLeft();
18202
18203 wxPyEndAllowThreads(__tstate);
18204 if (PyErr_Occurred()) SWIG_fail;
18205 }
18206 {
18207 wxPoint * resultptr;
18208 resultptr = new wxPoint((wxPoint &) result);
18209 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18210 }
18211 return resultobj;
18212 fail:
18213 return NULL;
18214}
18215
18216
18217static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18218 PyObject *resultobj;
18219 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18220 wxPoint result;
18221 PyObject * obj0 = 0 ;
18222 char *kwnames[] = {
18223 (char *) "self", NULL
18224 };
18225
18226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
18227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18228 {
18229 PyThreadState* __tstate = wxPyBeginAllowThreads();
18230 result = (arg1)->GetMarginBottomRight();
18231
18232 wxPyEndAllowThreads(__tstate);
18233 if (PyErr_Occurred()) SWIG_fail;
18234 }
18235 {
18236 wxPoint * resultptr;
18237 resultptr = new wxPoint((wxPoint &) result);
18238 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18239 }
18240 return resultobj;
18241 fail:
18242 return NULL;
18243}
18244
18245
18246static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18247 PyObject *resultobj;
18248 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18249 wxPoint result;
18250 PyObject * obj0 = 0 ;
18251 char *kwnames[] = {
18252 (char *) "self", NULL
18253 };
18254
18255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
18256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18257 {
18258 PyThreadState* __tstate = wxPyBeginAllowThreads();
18259 result = (arg1)->GetMinMarginTopLeft();
18260
18261 wxPyEndAllowThreads(__tstate);
18262 if (PyErr_Occurred()) SWIG_fail;
18263 }
18264 {
18265 wxPoint * resultptr;
18266 resultptr = new wxPoint((wxPoint &) result);
18267 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18268 }
18269 return resultobj;
18270 fail:
18271 return NULL;
18272}
18273
18274
18275static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18276 PyObject *resultobj;
18277 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18278 wxPoint result;
18279 PyObject * obj0 = 0 ;
18280 char *kwnames[] = {
18281 (char *) "self", NULL
18282 };
18283
18284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
18285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18286 {
18287 PyThreadState* __tstate = wxPyBeginAllowThreads();
18288 result = (arg1)->GetMinMarginBottomRight();
18289
18290 wxPyEndAllowThreads(__tstate);
18291 if (PyErr_Occurred()) SWIG_fail;
18292 }
18293 {
18294 wxPoint * resultptr;
18295 resultptr = new wxPoint((wxPoint &) result);
18296 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
18297 }
18298 return resultobj;
18299 fail:
18300 return NULL;
18301}
18302
18303
18304static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18305 PyObject *resultobj;
18306 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18307 int result;
18308 PyObject * obj0 = 0 ;
18309 char *kwnames[] = {
18310 (char *) "self", NULL
18311 };
18312
18313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
18314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18315 {
18316 PyThreadState* __tstate = wxPyBeginAllowThreads();
18317 result = (int)(arg1)->GetPaperId();
18318
18319 wxPyEndAllowThreads(__tstate);
18320 if (PyErr_Occurred()) SWIG_fail;
18321 }
8edf1c75 18322 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
18323 return resultobj;
18324 fail:
18325 return NULL;
18326}
18327
18328
18329static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18330 PyObject *resultobj;
18331 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18332 wxSize result;
18333 PyObject * obj0 = 0 ;
18334 char *kwnames[] = {
18335 (char *) "self", NULL
18336 };
18337
18338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
18339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 result = (arg1)->GetPaperSize();
18343
18344 wxPyEndAllowThreads(__tstate);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 {
18348 wxSize * resultptr;
18349 resultptr = new wxSize((wxSize &) result);
18350 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
18351 }
18352 return resultobj;
18353 fail:
18354 return NULL;
18355}
18356
18357
18358static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18359 PyObject *resultobj;
18360 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18361 wxPrintData *result;
18362 PyObject * obj0 = 0 ;
18363 char *kwnames[] = {
18364 (char *) "self", NULL
18365 };
18366
18367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 {
18372 wxPrintData &_result_ref = (arg1)->GetPrintData();
18373 result = (wxPrintData *) &_result_ref;
18374 }
18375
18376 wxPyEndAllowThreads(__tstate);
18377 if (PyErr_Occurred()) SWIG_fail;
18378 }
18379 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
18380 return resultobj;
18381 fail:
18382 return NULL;
18383}
18384
18385
18386static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18387 PyObject *resultobj;
18388 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18389 bool result;
18390 PyObject * obj0 = 0 ;
18391 char *kwnames[] = {
18392 (char *) "self", NULL
18393 };
18394
18395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
18396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18397 {
18398 PyThreadState* __tstate = wxPyBeginAllowThreads();
18399 result = (bool)(arg1)->Ok();
18400
18401 wxPyEndAllowThreads(__tstate);
18402 if (PyErr_Occurred()) SWIG_fail;
18403 }
4e760a36 18404 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18405 return resultobj;
18406 fail:
18407 return NULL;
18408}
18409
18410
18411static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18412 PyObject *resultobj;
18413 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18414 bool arg2 ;
18415 PyObject * obj0 = 0 ;
18416 PyObject * obj1 = 0 ;
18417 char *kwnames[] = {
18418 (char *) "self",(char *) "flag", NULL
18419 };
18420
18421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
18422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 18423 {
8edf1c75 18424 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
18425 if (PyErr_Occurred()) SWIG_fail;
18426 }
d14a1e28
RD
18427 {
18428 PyThreadState* __tstate = wxPyBeginAllowThreads();
18429 (arg1)->SetDefaultInfo(arg2);
18430
18431 wxPyEndAllowThreads(__tstate);
18432 if (PyErr_Occurred()) SWIG_fail;
18433 }
18434 Py_INCREF(Py_None); resultobj = Py_None;
18435 return resultobj;
18436 fail:
18437 return NULL;
18438}
18439
18440
18441static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
18442 PyObject *resultobj;
18443 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18444 bool arg2 ;
18445 PyObject * obj0 = 0 ;
18446 PyObject * obj1 = 0 ;
18447 char *kwnames[] = {
18448 (char *) "self",(char *) "flag", NULL
18449 };
18450
18451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
18452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 18453 {
8edf1c75 18454 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
18455 if (PyErr_Occurred()) SWIG_fail;
18456 }
d14a1e28
RD
18457 {
18458 PyThreadState* __tstate = wxPyBeginAllowThreads();
18459 (arg1)->SetDefaultMinMargins(arg2);
18460
18461 wxPyEndAllowThreads(__tstate);
18462 if (PyErr_Occurred()) SWIG_fail;
18463 }
18464 Py_INCREF(Py_None); resultobj = Py_None;
18465 return resultobj;
18466 fail:
18467 return NULL;
18468}
18469
18470
18471static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18472 PyObject *resultobj;
18473 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18474 wxPoint *arg2 = 0 ;
18475 wxPoint temp2 ;
18476 PyObject * obj0 = 0 ;
18477 PyObject * obj1 = 0 ;
18478 char *kwnames[] = {
18479 (char *) "self",(char *) "pt", NULL
18480 };
18481
18482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18484 {
18485 arg2 = &temp2;
18486 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18487 }
18488 {
18489 PyThreadState* __tstate = wxPyBeginAllowThreads();
18490 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
18491
18492 wxPyEndAllowThreads(__tstate);
18493 if (PyErr_Occurred()) SWIG_fail;
18494 }
18495 Py_INCREF(Py_None); resultobj = Py_None;
18496 return resultobj;
18497 fail:
18498 return NULL;
18499}
18500
18501
18502static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18503 PyObject *resultobj;
18504 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18505 wxPoint *arg2 = 0 ;
18506 wxPoint temp2 ;
18507 PyObject * obj0 = 0 ;
18508 PyObject * obj1 = 0 ;
18509 char *kwnames[] = {
18510 (char *) "self",(char *) "pt", NULL
18511 };
18512
18513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18515 {
18516 arg2 = &temp2;
18517 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18518 }
18519 {
18520 PyThreadState* __tstate = wxPyBeginAllowThreads();
18521 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
18522
18523 wxPyEndAllowThreads(__tstate);
18524 if (PyErr_Occurred()) SWIG_fail;
18525 }
18526 Py_INCREF(Py_None); resultobj = Py_None;
18527 return resultobj;
18528 fail:
18529 return NULL;
18530}
18531
18532
18533static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
18534 PyObject *resultobj;
18535 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18536 wxPoint *arg2 = 0 ;
18537 wxPoint temp2 ;
18538 PyObject * obj0 = 0 ;
18539 PyObject * obj1 = 0 ;
18540 char *kwnames[] = {
18541 (char *) "self",(char *) "pt", NULL
18542 };
18543
18544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
18545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18546 {
18547 arg2 = &temp2;
18548 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18549 }
18550 {
18551 PyThreadState* __tstate = wxPyBeginAllowThreads();
18552 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
18553
18554 wxPyEndAllowThreads(__tstate);
18555 if (PyErr_Occurred()) SWIG_fail;
18556 }
18557 Py_INCREF(Py_None); resultobj = Py_None;
18558 return resultobj;
18559 fail:
18560 return NULL;
18561}
18562
18563
18564static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
18565 PyObject *resultobj;
18566 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18567 wxPoint *arg2 = 0 ;
18568 wxPoint temp2 ;
18569 PyObject * obj0 = 0 ;
18570 PyObject * obj1 = 0 ;
18571 char *kwnames[] = {
18572 (char *) "self",(char *) "pt", NULL
18573 };
18574
18575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
18576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18577 {
18578 arg2 = &temp2;
18579 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
18580 }
18581 {
18582 PyThreadState* __tstate = wxPyBeginAllowThreads();
18583 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
18584
18585 wxPyEndAllowThreads(__tstate);
18586 if (PyErr_Occurred()) SWIG_fail;
18587 }
18588 Py_INCREF(Py_None); resultobj = Py_None;
18589 return resultobj;
18590 fail:
18591 return NULL;
18592}
18593
18594
18595static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
18596 PyObject *resultobj;
18597 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18598 int arg2 ;
18599 PyObject * obj0 = 0 ;
8edf1c75 18600 PyObject * obj1 = 0 ;
d14a1e28
RD
18601 char *kwnames[] = {
18602 (char *) "self",(char *) "id", NULL
18603 };
18604
8edf1c75 18605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 18606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
18607 {
18608 arg2 = (wxPaperSize) SWIG_PyObj_AsInt(obj1);
18609 if (PyErr_Occurred()) SWIG_fail;
18610 }
d14a1e28
RD
18611 {
18612 PyThreadState* __tstate = wxPyBeginAllowThreads();
18613 (arg1)->SetPaperId((wxPaperSize )arg2);
18614
18615 wxPyEndAllowThreads(__tstate);
18616 if (PyErr_Occurred()) SWIG_fail;
18617 }
18618 Py_INCREF(Py_None); resultobj = Py_None;
18619 return resultobj;
18620 fail:
18621 return NULL;
18622}
18623
18624
18625static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
18626 PyObject *resultobj;
18627 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18628 wxSize *arg2 = 0 ;
18629 wxSize temp2 ;
18630 PyObject * obj0 = 0 ;
18631 PyObject * obj1 = 0 ;
18632 char *kwnames[] = {
18633 (char *) "self",(char *) "size", NULL
18634 };
18635
18636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
18637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18638 {
18639 arg2 = &temp2;
18640 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
18641 }
18642 {
18643 PyThreadState* __tstate = wxPyBeginAllowThreads();
18644 (arg1)->SetPaperSize((wxSize const &)*arg2);
18645
18646 wxPyEndAllowThreads(__tstate);
18647 if (PyErr_Occurred()) SWIG_fail;
18648 }
18649 Py_INCREF(Py_None); resultobj = Py_None;
18650 return resultobj;
18651 fail:
18652 return NULL;
18653}
18654
18655
18656static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18657 PyObject *resultobj;
18658 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
18659 wxPrintData *arg2 = 0 ;
18660 PyObject * obj0 = 0 ;
18661 PyObject * obj1 = 0 ;
18662 char *kwnames[] = {
18663 (char *) "self",(char *) "printData", NULL
18664 };
18665
18666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18668 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18669 if (arg2 == NULL) {
18670 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18671 }
18672 {
18673 PyThreadState* __tstate = wxPyBeginAllowThreads();
18674 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18675
18676 wxPyEndAllowThreads(__tstate);
18677 if (PyErr_Occurred()) SWIG_fail;
18678 }
18679 Py_INCREF(Py_None); resultobj = Py_None;
18680 return resultobj;
18681 fail:
18682 return NULL;
18683}
18684
18685
18686static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
18687 PyObject *obj;
18688 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18689 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
18690 Py_INCREF(obj);
18691 return Py_BuildValue((char *)"");
18692}
18693static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18694 PyObject *resultobj;
18695 wxWindow *arg1 = (wxWindow *) 0 ;
18696 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
18697 wxPageSetupDialog *result;
18698 PyObject * obj0 = 0 ;
18699 PyObject * obj1 = 0 ;
18700 char *kwnames[] = {
18701 (char *) "parent",(char *) "data", NULL
18702 };
18703
18704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
18705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18706 if (obj1) {
18707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18708 }
18709 {
18710 PyThreadState* __tstate = wxPyBeginAllowThreads();
18711 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
18712
18713 wxPyEndAllowThreads(__tstate);
18714 if (PyErr_Occurred()) SWIG_fail;
18715 }
18716 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
18717 return resultobj;
18718 fail:
18719 return NULL;
18720}
18721
18722
18723static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
18724 PyObject *resultobj;
18725 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18726 wxPageSetupDialogData *result;
18727 PyObject * obj0 = 0 ;
18728 char *kwnames[] = {
18729 (char *) "self", NULL
18730 };
18731
18732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
18733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18734 {
18735 PyThreadState* __tstate = wxPyBeginAllowThreads();
18736 {
18737 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
18738 result = (wxPageSetupDialogData *) &_result_ref;
18739 }
18740
18741 wxPyEndAllowThreads(__tstate);
18742 if (PyErr_Occurred()) SWIG_fail;
18743 }
18744 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
18745 return resultobj;
18746 fail:
18747 return NULL;
18748}
18749
18750
18751static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18752 PyObject *resultobj;
18753 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
18754 int result;
18755 PyObject * obj0 = 0 ;
18756 char *kwnames[] = {
18757 (char *) "self", NULL
18758 };
18759
18760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
18761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18762 {
18763 PyThreadState* __tstate = wxPyBeginAllowThreads();
18764 result = (int)(arg1)->ShowModal();
18765
18766 wxPyEndAllowThreads(__tstate);
18767 if (PyErr_Occurred()) SWIG_fail;
18768 }
8edf1c75 18769 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
18770 return resultobj;
18771 fail:
18772 return NULL;
18773}
18774
18775
18776static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
18777 PyObject *obj;
18778 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18779 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
18780 Py_INCREF(obj);
18781 return Py_BuildValue((char *)"");
18782}
18783static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18784 PyObject *resultobj;
18785 wxPrintDialogData *result;
18786 char *kwnames[] = {
18787 NULL
18788 };
18789
18790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
18791 {
18792 PyThreadState* __tstate = wxPyBeginAllowThreads();
18793 result = (wxPrintDialogData *)new wxPrintDialogData();
18794
18795 wxPyEndAllowThreads(__tstate);
18796 if (PyErr_Occurred()) SWIG_fail;
18797 }
18798 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
18799 return resultobj;
18800 fail:
18801 return NULL;
18802}
18803
18804
18805static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18806 PyObject *resultobj;
18807 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18808 PyObject * obj0 = 0 ;
18809 char *kwnames[] = {
18810 (char *) "self", NULL
18811 };
18812
18813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
18814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18815 {
18816 PyThreadState* __tstate = wxPyBeginAllowThreads();
18817 delete arg1;
18818
18819 wxPyEndAllowThreads(__tstate);
18820 if (PyErr_Occurred()) SWIG_fail;
18821 }
18822 Py_INCREF(Py_None); resultobj = Py_None;
18823 return resultobj;
18824 fail:
18825 return NULL;
18826}
18827
18828
18829static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18830 PyObject *resultobj;
18831 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18832 int result;
18833 PyObject * obj0 = 0 ;
18834 char *kwnames[] = {
18835 (char *) "self", NULL
18836 };
18837
18838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
18839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18840 {
18841 PyThreadState* __tstate = wxPyBeginAllowThreads();
18842 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
18843
18844 wxPyEndAllowThreads(__tstate);
18845 if (PyErr_Occurred()) SWIG_fail;
18846 }
8edf1c75 18847 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
18848 return resultobj;
18849 fail:
18850 return NULL;
18851}
18852
18853
18854static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj;
18856 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18857 int result;
18858 PyObject * obj0 = 0 ;
18859 char *kwnames[] = {
18860 (char *) "self", NULL
18861 };
18862
18863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
18864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18865 {
18866 PyThreadState* __tstate = wxPyBeginAllowThreads();
18867 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
18868
18869 wxPyEndAllowThreads(__tstate);
18870 if (PyErr_Occurred()) SWIG_fail;
18871 }
8edf1c75 18872 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
18873 return resultobj;
18874 fail:
18875 return NULL;
18876}
18877
18878
18879static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18880 PyObject *resultobj;
18881 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18882 int result;
18883 PyObject * obj0 = 0 ;
18884 char *kwnames[] = {
18885 (char *) "self", NULL
18886 };
18887
18888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
18889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18890 {
18891 PyThreadState* __tstate = wxPyBeginAllowThreads();
18892 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
18893
18894 wxPyEndAllowThreads(__tstate);
18895 if (PyErr_Occurred()) SWIG_fail;
18896 }
8edf1c75 18897 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
18898 return resultobj;
18899 fail:
18900 return NULL;
18901}
18902
18903
18904static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18905 PyObject *resultobj;
18906 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18907 int result;
18908 PyObject * obj0 = 0 ;
18909 char *kwnames[] = {
18910 (char *) "self", NULL
18911 };
18912
18913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
18914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18915 {
18916 PyThreadState* __tstate = wxPyBeginAllowThreads();
18917 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
18918
18919 wxPyEndAllowThreads(__tstate);
18920 if (PyErr_Occurred()) SWIG_fail;
18921 }
8edf1c75 18922 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
18923 return resultobj;
18924 fail:
18925 return NULL;
18926}
18927
18928
18929static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
18930 PyObject *resultobj;
18931 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18932 int result;
18933 PyObject * obj0 = 0 ;
18934 char *kwnames[] = {
18935 (char *) "self", NULL
18936 };
18937
18938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
18939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18940 {
18941 PyThreadState* __tstate = wxPyBeginAllowThreads();
18942 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
18943
18944 wxPyEndAllowThreads(__tstate);
18945 if (PyErr_Occurred()) SWIG_fail;
18946 }
8edf1c75 18947 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
18948 return resultobj;
18949 fail:
18950 return NULL;
18951}
18952
18953
18954static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
18955 PyObject *resultobj;
18956 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18957 bool result;
18958 PyObject * obj0 = 0 ;
18959 char *kwnames[] = {
18960 (char *) "self", NULL
18961 };
18962
18963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
18964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18965 {
18966 PyThreadState* __tstate = wxPyBeginAllowThreads();
18967 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
18968
18969 wxPyEndAllowThreads(__tstate);
18970 if (PyErr_Occurred()) SWIG_fail;
18971 }
4e760a36 18972 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18973 return resultobj;
18974 fail:
18975 return NULL;
18976}
18977
18978
18979static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
18980 PyObject *resultobj;
18981 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18982 bool result;
18983 PyObject * obj0 = 0 ;
18984 char *kwnames[] = {
18985 (char *) "self", NULL
18986 };
18987
18988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
18989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18990 {
18991 PyThreadState* __tstate = wxPyBeginAllowThreads();
18992 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
18993
18994 wxPyEndAllowThreads(__tstate);
18995 if (PyErr_Occurred()) SWIG_fail;
18996 }
4e760a36 18997 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
18998 return resultobj;
18999 fail:
19000 return NULL;
19001}
19002
19003
19004static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
19005 PyObject *resultobj;
19006 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19007 bool result;
19008 PyObject * obj0 = 0 ;
19009 char *kwnames[] = {
19010 (char *) "self", NULL
19011 };
19012
19013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
19014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19015 {
19016 PyThreadState* __tstate = wxPyBeginAllowThreads();
19017 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
19018
19019 wxPyEndAllowThreads(__tstate);
19020 if (PyErr_Occurred()) SWIG_fail;
19021 }
4e760a36 19022 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19023 return resultobj;
19024 fail:
19025 return NULL;
19026}
19027
19028
19029static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19030 PyObject *resultobj;
19031 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19032 bool result;
19033 PyObject * obj0 = 0 ;
19034 char *kwnames[] = {
19035 (char *) "self", NULL
19036 };
19037
19038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
19039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19040 {
19041 PyThreadState* __tstate = wxPyBeginAllowThreads();
19042 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
19043
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
4e760a36 19047 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19048 return resultobj;
19049 fail:
19050 return NULL;
19051}
19052
19053
19054static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19057 bool result;
19058 PyObject * obj0 = 0 ;
19059 char *kwnames[] = {
19060 (char *) "self", NULL
19061 };
19062
19063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
19064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19065 {
19066 PyThreadState* __tstate = wxPyBeginAllowThreads();
19067 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
19068
19069 wxPyEndAllowThreads(__tstate);
19070 if (PyErr_Occurred()) SWIG_fail;
19071 }
4e760a36 19072 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19073 return resultobj;
19074 fail:
19075 return NULL;
19076}
19077
19078
19079static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19080 PyObject *resultobj;
19081 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19082 int arg2 ;
19083 PyObject * obj0 = 0 ;
8edf1c75 19084 PyObject * obj1 = 0 ;
d14a1e28
RD
19085 char *kwnames[] = {
19086 (char *) "self",(char *) "v", NULL
19087 };
19088
8edf1c75 19089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetFromPage",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 19090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19091 {
19092 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
d14a1e28
RD
19095 {
19096 PyThreadState* __tstate = wxPyBeginAllowThreads();
19097 (arg1)->SetFromPage(arg2);
19098
19099 wxPyEndAllowThreads(__tstate);
19100 if (PyErr_Occurred()) SWIG_fail;
19101 }
19102 Py_INCREF(Py_None); resultobj = Py_None;
19103 return resultobj;
19104 fail:
19105 return NULL;
19106}
19107
19108
19109static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19110 PyObject *resultobj;
19111 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19112 int arg2 ;
19113 PyObject * obj0 = 0 ;
8edf1c75 19114 PyObject * obj1 = 0 ;
d14a1e28
RD
19115 char *kwnames[] = {
19116 (char *) "self",(char *) "v", NULL
19117 };
19118
8edf1c75 19119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetToPage",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 19120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19121 {
19122 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19123 if (PyErr_Occurred()) SWIG_fail;
19124 }
d14a1e28
RD
19125 {
19126 PyThreadState* __tstate = wxPyBeginAllowThreads();
19127 (arg1)->SetToPage(arg2);
19128
19129 wxPyEndAllowThreads(__tstate);
19130 if (PyErr_Occurred()) SWIG_fail;
19131 }
19132 Py_INCREF(Py_None); resultobj = Py_None;
19133 return resultobj;
19134 fail:
19135 return NULL;
19136}
19137
19138
19139static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19140 PyObject *resultobj;
19141 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19142 int arg2 ;
19143 PyObject * obj0 = 0 ;
8edf1c75 19144 PyObject * obj1 = 0 ;
d14a1e28
RD
19145 char *kwnames[] = {
19146 (char *) "self",(char *) "v", NULL
19147 };
19148
8edf1c75 19149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMinPage",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 19150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19151 {
19152 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19153 if (PyErr_Occurred()) SWIG_fail;
19154 }
d14a1e28
RD
19155 {
19156 PyThreadState* __tstate = wxPyBeginAllowThreads();
19157 (arg1)->SetMinPage(arg2);
19158
19159 wxPyEndAllowThreads(__tstate);
19160 if (PyErr_Occurred()) SWIG_fail;
19161 }
19162 Py_INCREF(Py_None); resultobj = Py_None;
19163 return resultobj;
19164 fail:
19165 return NULL;
19166}
19167
19168
19169static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19170 PyObject *resultobj;
19171 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19172 int arg2 ;
19173 PyObject * obj0 = 0 ;
8edf1c75 19174 PyObject * obj1 = 0 ;
d14a1e28
RD
19175 char *kwnames[] = {
19176 (char *) "self",(char *) "v", NULL
19177 };
19178
8edf1c75 19179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetMaxPage",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 19180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19181 {
19182 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19183 if (PyErr_Occurred()) SWIG_fail;
19184 }
d14a1e28
RD
19185 {
19186 PyThreadState* __tstate = wxPyBeginAllowThreads();
19187 (arg1)->SetMaxPage(arg2);
19188
19189 wxPyEndAllowThreads(__tstate);
19190 if (PyErr_Occurred()) SWIG_fail;
19191 }
19192 Py_INCREF(Py_None); resultobj = Py_None;
19193 return resultobj;
19194 fail:
19195 return NULL;
19196}
19197
19198
19199static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
19200 PyObject *resultobj;
19201 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19202 int arg2 ;
19203 PyObject * obj0 = 0 ;
8edf1c75 19204 PyObject * obj1 = 0 ;
d14a1e28
RD
19205 char *kwnames[] = {
19206 (char *) "self",(char *) "v", NULL
19207 };
19208
8edf1c75 19209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetNoCopies",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 19210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19211 {
19212 arg2 = (int) SWIG_PyObj_AsInt(obj1);
19213 if (PyErr_Occurred()) SWIG_fail;
19214 }
d14a1e28
RD
19215 {
19216 PyThreadState* __tstate = wxPyBeginAllowThreads();
19217 (arg1)->SetNoCopies(arg2);
19218
19219 wxPyEndAllowThreads(__tstate);
19220 if (PyErr_Occurred()) SWIG_fail;
19221 }
19222 Py_INCREF(Py_None); resultobj = Py_None;
19223 return resultobj;
19224 fail:
19225 return NULL;
19226}
19227
19228
19229static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
19230 PyObject *resultobj;
19231 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19232 bool arg2 ;
19233 PyObject * obj0 = 0 ;
19234 PyObject * obj1 = 0 ;
19235 char *kwnames[] = {
19236 (char *) "self",(char *) "flag", NULL
19237 };
19238
19239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
19240 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 19241 {
8edf1c75 19242 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
19243 if (PyErr_Occurred()) SWIG_fail;
19244 }
d14a1e28
RD
19245 {
19246 PyThreadState* __tstate = wxPyBeginAllowThreads();
19247 (arg1)->SetAllPages(arg2);
19248
19249 wxPyEndAllowThreads(__tstate);
19250 if (PyErr_Occurred()) SWIG_fail;
19251 }
19252 Py_INCREF(Py_None); resultobj = Py_None;
19253 return resultobj;
19254 fail:
19255 return NULL;
19256}
19257
19258
19259static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19260 PyObject *resultobj;
19261 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19262 bool arg2 ;
19263 PyObject * obj0 = 0 ;
19264 PyObject * obj1 = 0 ;
19265 char *kwnames[] = {
19266 (char *) "self",(char *) "flag", NULL
19267 };
19268
19269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
19270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 19271 {
8edf1c75 19272 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
d14a1e28
RD
19275 {
19276 PyThreadState* __tstate = wxPyBeginAllowThreads();
19277 (arg1)->SetSelection(arg2);
19278
19279 wxPyEndAllowThreads(__tstate);
19280 if (PyErr_Occurred()) SWIG_fail;
19281 }
19282 Py_INCREF(Py_None); resultobj = Py_None;
19283 return resultobj;
19284 fail:
19285 return NULL;
19286}
19287
19288
19289static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
19290 PyObject *resultobj;
19291 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19292 bool arg2 ;
19293 PyObject * obj0 = 0 ;
19294 PyObject * obj1 = 0 ;
19295 char *kwnames[] = {
19296 (char *) "self",(char *) "flag", NULL
19297 };
19298
19299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
19300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 19301 {
8edf1c75 19302 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
19303 if (PyErr_Occurred()) SWIG_fail;
19304 }
d14a1e28
RD
19305 {
19306 PyThreadState* __tstate = wxPyBeginAllowThreads();
19307 (arg1)->SetCollate(arg2);
19308
19309 wxPyEndAllowThreads(__tstate);
19310 if (PyErr_Occurred()) SWIG_fail;
19311 }
19312 Py_INCREF(Py_None); resultobj = Py_None;
19313 return resultobj;
19314 fail:
19315 return NULL;
19316}
19317
19318
19319static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19320 PyObject *resultobj;
19321 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19322 bool arg2 ;
19323 PyObject * obj0 = 0 ;
19324 PyObject * obj1 = 0 ;
19325 char *kwnames[] = {
19326 (char *) "self",(char *) "flag", NULL
19327 };
19328
19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
19330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 19331 {
8edf1c75 19332 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
19333 if (PyErr_Occurred()) SWIG_fail;
19334 }
d14a1e28
RD
19335 {
19336 PyThreadState* __tstate = wxPyBeginAllowThreads();
19337 (arg1)->SetPrintToFile(arg2);
19338
19339 wxPyEndAllowThreads(__tstate);
19340 if (PyErr_Occurred()) SWIG_fail;
19341 }
19342 Py_INCREF(Py_None); resultobj = Py_None;
19343 return resultobj;
19344 fail:
19345 return NULL;
19346}
19347
19348
19349static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19350 PyObject *resultobj;
19351 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19352 bool arg2 ;
19353 PyObject * obj0 = 0 ;
19354 PyObject * obj1 = 0 ;
19355 char *kwnames[] = {
19356 (char *) "self",(char *) "flag", NULL
19357 };
19358
19359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
19360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 19361 {
8edf1c75 19362 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
19363 if (PyErr_Occurred()) SWIG_fail;
19364 }
d14a1e28
RD
19365 {
19366 PyThreadState* __tstate = wxPyBeginAllowThreads();
19367 (arg1)->SetSetupDialog(arg2);
19368
19369 wxPyEndAllowThreads(__tstate);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 }
19372 Py_INCREF(Py_None); resultobj = Py_None;
19373 return resultobj;
19374 fail:
19375 return NULL;
19376}
19377
19378
19379static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19380 PyObject *resultobj;
19381 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19382 bool arg2 ;
19383 PyObject * obj0 = 0 ;
19384 PyObject * obj1 = 0 ;
19385 char *kwnames[] = {
19386 (char *) "self",(char *) "flag", NULL
19387 };
19388
19389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
19390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 19391 {
8edf1c75 19392 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
19393 if (PyErr_Occurred()) SWIG_fail;
19394 }
d14a1e28
RD
19395 {
19396 PyThreadState* __tstate = wxPyBeginAllowThreads();
19397 (arg1)->EnablePrintToFile(arg2);
19398
19399 wxPyEndAllowThreads(__tstate);
19400 if (PyErr_Occurred()) SWIG_fail;
19401 }
19402 Py_INCREF(Py_None); resultobj = Py_None;
19403 return resultobj;
19404 fail:
19405 return NULL;
19406}
19407
19408
19409static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19410 PyObject *resultobj;
19411 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19412 bool arg2 ;
19413 PyObject * obj0 = 0 ;
19414 PyObject * obj1 = 0 ;
19415 char *kwnames[] = {
19416 (char *) "self",(char *) "flag", NULL
19417 };
19418
19419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
19420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 19421 {
8edf1c75 19422 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
19423 if (PyErr_Occurred()) SWIG_fail;
19424 }
d14a1e28
RD
19425 {
19426 PyThreadState* __tstate = wxPyBeginAllowThreads();
19427 (arg1)->EnableSelection(arg2);
19428
19429 wxPyEndAllowThreads(__tstate);
19430 if (PyErr_Occurred()) SWIG_fail;
19431 }
19432 Py_INCREF(Py_None); resultobj = Py_None;
19433 return resultobj;
19434 fail:
19435 return NULL;
19436}
19437
19438
19439static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19440 PyObject *resultobj;
19441 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19442 bool arg2 ;
19443 PyObject * obj0 = 0 ;
19444 PyObject * obj1 = 0 ;
19445 char *kwnames[] = {
19446 (char *) "self",(char *) "flag", NULL
19447 };
19448
19449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
19450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 19451 {
8edf1c75 19452 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
19453 if (PyErr_Occurred()) SWIG_fail;
19454 }
d14a1e28
RD
19455 {
19456 PyThreadState* __tstate = wxPyBeginAllowThreads();
19457 (arg1)->EnablePageNumbers(arg2);
19458
19459 wxPyEndAllowThreads(__tstate);
19460 if (PyErr_Occurred()) SWIG_fail;
19461 }
19462 Py_INCREF(Py_None); resultobj = Py_None;
19463 return resultobj;
19464 fail:
19465 return NULL;
19466}
19467
19468
19469static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19470 PyObject *resultobj;
19471 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19472 bool arg2 ;
19473 PyObject * obj0 = 0 ;
19474 PyObject * obj1 = 0 ;
19475 char *kwnames[] = {
19476 (char *) "self",(char *) "flag", NULL
19477 };
19478
19479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
19480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 19481 {
8edf1c75 19482 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
19483 if (PyErr_Occurred()) SWIG_fail;
19484 }
d14a1e28
RD
19485 {
19486 PyThreadState* __tstate = wxPyBeginAllowThreads();
19487 (arg1)->EnableHelp(arg2);
19488
19489 wxPyEndAllowThreads(__tstate);
19490 if (PyErr_Occurred()) SWIG_fail;
19491 }
19492 Py_INCREF(Py_None); resultobj = Py_None;
19493 return resultobj;
19494 fail:
19495 return NULL;
19496}
19497
19498
19499static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
19500 PyObject *resultobj;
19501 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19502 bool result;
19503 PyObject * obj0 = 0 ;
19504 char *kwnames[] = {
19505 (char *) "self", NULL
19506 };
19507
19508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
19509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19510 {
19511 PyThreadState* __tstate = wxPyBeginAllowThreads();
19512 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
19513
19514 wxPyEndAllowThreads(__tstate);
19515 if (PyErr_Occurred()) SWIG_fail;
19516 }
4e760a36 19517 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19518 return resultobj;
19519 fail:
19520 return NULL;
19521}
19522
19523
19524static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
19525 PyObject *resultobj;
19526 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19527 bool result;
19528 PyObject * obj0 = 0 ;
19529 char *kwnames[] = {
19530 (char *) "self", NULL
19531 };
19532
19533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
19534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19535 {
19536 PyThreadState* __tstate = wxPyBeginAllowThreads();
19537 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
19538
19539 wxPyEndAllowThreads(__tstate);
19540 if (PyErr_Occurred()) SWIG_fail;
19541 }
4e760a36 19542 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19543 return resultobj;
19544 fail:
19545 return NULL;
19546}
19547
19548
19549static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
19550 PyObject *resultobj;
19551 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19552 bool result;
19553 PyObject * obj0 = 0 ;
19554 char *kwnames[] = {
19555 (char *) "self", NULL
19556 };
19557
19558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
19559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19560 {
19561 PyThreadState* __tstate = wxPyBeginAllowThreads();
19562 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
19563
19564 wxPyEndAllowThreads(__tstate);
19565 if (PyErr_Occurred()) SWIG_fail;
19566 }
4e760a36 19567 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19568 return resultobj;
19569 fail:
19570 return NULL;
19571}
19572
19573
19574static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
19575 PyObject *resultobj;
19576 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19577 bool result;
19578 PyObject * obj0 = 0 ;
19579 char *kwnames[] = {
19580 (char *) "self", NULL
19581 };
19582
19583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
19584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19585 {
19586 PyThreadState* __tstate = wxPyBeginAllowThreads();
19587 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
19588
19589 wxPyEndAllowThreads(__tstate);
19590 if (PyErr_Occurred()) SWIG_fail;
19591 }
4e760a36 19592 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19593 return resultobj;
19594 fail:
19595 return NULL;
19596}
19597
19598
19599static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19600 PyObject *resultobj;
19601 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19602 bool result;
19603 PyObject * obj0 = 0 ;
19604 char *kwnames[] = {
19605 (char *) "self", NULL
19606 };
19607
19608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
19609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19610 {
19611 PyThreadState* __tstate = wxPyBeginAllowThreads();
19612 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
19613
19614 wxPyEndAllowThreads(__tstate);
19615 if (PyErr_Occurred()) SWIG_fail;
19616 }
4e760a36 19617 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19618 return resultobj;
19619 fail:
19620 return NULL;
19621}
19622
19623
19624static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19625 PyObject *resultobj;
19626 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19627 wxPrintData *result;
19628 PyObject * obj0 = 0 ;
19629 char *kwnames[] = {
19630 (char *) "self", NULL
19631 };
19632
19633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
19634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19635 {
19636 PyThreadState* __tstate = wxPyBeginAllowThreads();
19637 {
19638 wxPrintData &_result_ref = (arg1)->GetPrintData();
19639 result = (wxPrintData *) &_result_ref;
19640 }
19641
19642 wxPyEndAllowThreads(__tstate);
19643 if (PyErr_Occurred()) SWIG_fail;
19644 }
19645 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
19646 return resultobj;
19647 fail:
19648 return NULL;
19649}
19650
19651
19652static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
19653 PyObject *resultobj;
19654 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
19655 wxPrintData *arg2 = 0 ;
19656 PyObject * obj0 = 0 ;
19657 PyObject * obj1 = 0 ;
19658 char *kwnames[] = {
19659 (char *) "self",(char *) "printData", NULL
19660 };
19661
19662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
19663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19664 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19665 if (arg2 == NULL) {
19666 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19667 }
19668 {
19669 PyThreadState* __tstate = wxPyBeginAllowThreads();
19670 (arg1)->SetPrintData((wxPrintData const &)*arg2);
19671
19672 wxPyEndAllowThreads(__tstate);
19673 if (PyErr_Occurred()) SWIG_fail;
19674 }
19675 Py_INCREF(Py_None); resultobj = Py_None;
19676 return resultobj;
19677 fail:
19678 return NULL;
19679}
19680
19681
19682static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
19683 PyObject *obj;
19684 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19685 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
19686 Py_INCREF(obj);
19687 return Py_BuildValue((char *)"");
19688}
19689static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxWindow *arg1 = (wxWindow *) 0 ;
19692 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
19693 wxPrintDialog *result;
19694 PyObject * obj0 = 0 ;
19695 PyObject * obj1 = 0 ;
19696 char *kwnames[] = {
19697 (char *) "parent",(char *) "data", NULL
19698 };
19699
19700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19702 if (obj1) {
19703 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19704 }
19705 {
19706 PyThreadState* __tstate = wxPyBeginAllowThreads();
19707 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
19708
19709 wxPyEndAllowThreads(__tstate);
19710 if (PyErr_Occurred()) SWIG_fail;
19711 }
19712 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
19713 return resultobj;
19714 fail:
19715 return NULL;
19716}
19717
19718
19719static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19720 PyObject *resultobj;
19721 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19722 wxPrintDialogData *result;
19723 PyObject * obj0 = 0 ;
19724 char *kwnames[] = {
19725 (char *) "self", NULL
19726 };
19727
19728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
19729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 {
19733 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19734 result = (wxPrintDialogData *) &_result_ref;
19735 }
19736
19737 wxPyEndAllowThreads(__tstate);
19738 if (PyErr_Occurred()) SWIG_fail;
19739 }
19740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19741 return resultobj;
19742 fail:
19743 return NULL;
19744}
19745
19746
19747static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
19748 PyObject *resultobj;
19749 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19750 wxDC *result;
19751 PyObject * obj0 = 0 ;
19752 char *kwnames[] = {
19753 (char *) "self", NULL
19754 };
19755
19756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
19757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19758 {
19759 PyThreadState* __tstate = wxPyBeginAllowThreads();
19760 result = (wxDC *)(arg1)->GetPrintDC();
19761
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 {
19766 resultobj = wxPyMake_wxObject(result);
19767 }
19768 return resultobj;
19769 fail:
19770 return NULL;
19771}
19772
19773
19774static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
19775 PyObject *resultobj;
19776 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
19777 int result;
19778 PyObject * obj0 = 0 ;
19779 char *kwnames[] = {
19780 (char *) "self", NULL
19781 };
19782
19783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
19784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 result = (int)(arg1)->ShowModal();
19788
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
8edf1c75 19792 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
19793 return resultobj;
19794 fail:
19795 return NULL;
19796}
19797
19798
19799static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
19800 PyObject *obj;
19801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19802 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
19803 Py_INCREF(obj);
19804 return Py_BuildValue((char *)"");
19805}
19806static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19807 PyObject *resultobj;
19808 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
19809 wxPrinter *result;
19810 PyObject * obj0 = 0 ;
19811 char *kwnames[] = {
19812 (char *) "data", NULL
19813 };
19814
19815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
19816 if (obj0) {
19817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19818 }
19819 {
19820 PyThreadState* __tstate = wxPyBeginAllowThreads();
19821 result = (wxPrinter *)new wxPrinter(arg1);
19822
19823 wxPyEndAllowThreads(__tstate);
19824 if (PyErr_Occurred()) SWIG_fail;
19825 }
19826 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
19827 return resultobj;
19828 fail:
19829 return NULL;
19830}
19831
19832
19833static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
19834 PyObject *resultobj;
19835 wxPrinter *arg1 = (wxPrinter *) 0 ;
19836 PyObject * obj0 = 0 ;
19837 char *kwnames[] = {
19838 (char *) "self", NULL
19839 };
19840
19841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
19842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19843 {
19844 PyThreadState* __tstate = wxPyBeginAllowThreads();
19845 delete arg1;
19846
19847 wxPyEndAllowThreads(__tstate);
19848 if (PyErr_Occurred()) SWIG_fail;
19849 }
19850 Py_INCREF(Py_None); resultobj = Py_None;
19851 return resultobj;
19852 fail:
19853 return NULL;
19854}
19855
19856
19857static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
19858 PyObject *resultobj;
19859 wxPrinter *arg1 = (wxPrinter *) 0 ;
19860 wxWindow *arg2 = (wxWindow *) 0 ;
19861 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19862 PyObject * obj0 = 0 ;
19863 PyObject * obj1 = 0 ;
19864 PyObject * obj2 = 0 ;
19865 char *kwnames[] = {
19866 (char *) "self",(char *) "parent",(char *) "printout", NULL
19867 };
19868
19869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
19870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19872 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19873 {
19874 PyThreadState* __tstate = wxPyBeginAllowThreads();
19875 (arg1)->CreateAbortWindow(arg2,arg3);
19876
19877 wxPyEndAllowThreads(__tstate);
19878 if (PyErr_Occurred()) SWIG_fail;
19879 }
19880 Py_INCREF(Py_None); resultobj = Py_None;
19881 return resultobj;
19882 fail:
19883 return NULL;
19884}
19885
19886
19887static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19888 PyObject *resultobj;
19889 wxPrinter *arg1 = (wxPrinter *) 0 ;
19890 wxPrintDialogData *result;
19891 PyObject * obj0 = 0 ;
19892 char *kwnames[] = {
19893 (char *) "self", NULL
19894 };
19895
19896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
19897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19898 {
19899 PyThreadState* __tstate = wxPyBeginAllowThreads();
19900 {
19901 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19902 result = (wxPrintDialogData *) &_result_ref;
19903 }
19904
19905 wxPyEndAllowThreads(__tstate);
19906 if (PyErr_Occurred()) SWIG_fail;
19907 }
19908 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19909 return resultobj;
19910 fail:
19911 return NULL;
19912}
19913
19914
19915static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19916 PyObject *resultobj;
19917 wxPrinter *arg1 = (wxPrinter *) 0 ;
19918 wxWindow *arg2 = (wxWindow *) 0 ;
19919 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
423f194a 19920 int arg4 = (int) True ;
d14a1e28
RD
19921 bool result;
19922 PyObject * obj0 = 0 ;
19923 PyObject * obj1 = 0 ;
19924 PyObject * obj2 = 0 ;
8edf1c75 19925 PyObject * obj3 = 0 ;
d14a1e28
RD
19926 char *kwnames[] = {
19927 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
19928 };
19929
8edf1c75 19930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|O:Printer_Print",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
d14a1e28
RD
19931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19932 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19933 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
19934 if (obj3) {
19935 {
19936 arg4 = (int) SWIG_PyObj_AsInt(obj3);
19937 if (PyErr_Occurred()) SWIG_fail;
19938 }
19939 }
d14a1e28
RD
19940 {
19941 PyThreadState* __tstate = wxPyBeginAllowThreads();
19942 result = (bool)(arg1)->Print(arg2,arg3,arg4);
19943
19944 wxPyEndAllowThreads(__tstate);
19945 if (PyErr_Occurred()) SWIG_fail;
19946 }
4e760a36 19947 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
19948 return resultobj;
19949 fail:
19950 return NULL;
19951}
19952
19953
19954static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
19955 PyObject *resultobj;
19956 wxPrinter *arg1 = (wxPrinter *) 0 ;
19957 wxWindow *arg2 = (wxWindow *) 0 ;
19958 wxDC *result;
19959 PyObject * obj0 = 0 ;
19960 PyObject * obj1 = 0 ;
19961 char *kwnames[] = {
19962 (char *) "self",(char *) "parent", NULL
19963 };
19964
19965 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
19966 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19967 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19968 {
19969 PyThreadState* __tstate = wxPyBeginAllowThreads();
19970 result = (wxDC *)(arg1)->PrintDialog(arg2);
19971
19972 wxPyEndAllowThreads(__tstate);
19973 if (PyErr_Occurred()) SWIG_fail;
19974 }
19975 {
19976 resultobj = wxPyMake_wxObject(result);
19977 }
19978 return resultobj;
19979 fail:
19980 return NULL;
19981}
19982
19983
19984static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
19985 PyObject *resultobj;
19986 wxPrinter *arg1 = (wxPrinter *) 0 ;
19987 wxWindow *arg2 = (wxWindow *) 0 ;
19988 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
19989 wxString *arg4 = 0 ;
423f194a 19990 bool temp4 = False ;
d14a1e28
RD
19991 PyObject * obj0 = 0 ;
19992 PyObject * obj1 = 0 ;
19993 PyObject * obj2 = 0 ;
19994 PyObject * obj3 = 0 ;
19995 char *kwnames[] = {
19996 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
19997 };
19998
19999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
20000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20002 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20003 {
20004 arg4 = wxString_in_helper(obj3);
20005 if (arg4 == NULL) SWIG_fail;
423f194a 20006 temp4 = True;
d14a1e28
RD
20007 }
20008 {
20009 PyThreadState* __tstate = wxPyBeginAllowThreads();
20010 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
20011
20012 wxPyEndAllowThreads(__tstate);
20013 if (PyErr_Occurred()) SWIG_fail;
20014 }
20015 Py_INCREF(Py_None); resultobj = Py_None;
20016 {
20017 if (temp4)
20018 delete arg4;
20019 }
20020 return resultobj;
20021 fail:
20022 {
20023 if (temp4)
20024 delete arg4;
20025 }
20026 return NULL;
20027}
20028
20029
20030static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
20031 PyObject *resultobj;
20032 wxPrinter *arg1 = (wxPrinter *) 0 ;
20033 wxWindow *arg2 = (wxWindow *) 0 ;
20034 bool result;
20035 PyObject * obj0 = 0 ;
20036 PyObject * obj1 = 0 ;
20037 char *kwnames[] = {
20038 (char *) "self",(char *) "parent", NULL
20039 };
20040
20041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
20042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20043 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20044 {
20045 PyThreadState* __tstate = wxPyBeginAllowThreads();
20046 result = (bool)(arg1)->Setup(arg2);
20047
20048 wxPyEndAllowThreads(__tstate);
20049 if (PyErr_Occurred()) SWIG_fail;
20050 }
4e760a36 20051 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20052 return resultobj;
20053 fail:
20054 return NULL;
20055}
20056
20057
20058static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
20059 PyObject *resultobj;
20060 wxPrinter *arg1 = (wxPrinter *) 0 ;
20061 bool result;
20062 PyObject * obj0 = 0 ;
20063 char *kwnames[] = {
20064 (char *) "self", NULL
20065 };
20066
20067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
20068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20069 {
20070 PyThreadState* __tstate = wxPyBeginAllowThreads();
20071 result = (bool)(arg1)->GetAbort();
20072
20073 wxPyEndAllowThreads(__tstate);
20074 if (PyErr_Occurred()) SWIG_fail;
20075 }
4e760a36 20076 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20077 return resultobj;
20078 fail:
20079 return NULL;
20080}
20081
20082
20083static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
20084 PyObject *resultobj;
20085 int result;
20086 char *kwnames[] = {
20087 NULL
20088 };
20089
20090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
20091 {
20092 PyThreadState* __tstate = wxPyBeginAllowThreads();
20093 result = (int)wxPrinter::GetLastError();
20094
20095 wxPyEndAllowThreads(__tstate);
20096 if (PyErr_Occurred()) SWIG_fail;
20097 }
8edf1c75 20098 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
20099 return resultobj;
20100 fail:
20101 return NULL;
20102}
20103
20104
20105static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
20106 PyObject *obj;
20107 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20108 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
20109 Py_INCREF(obj);
20110 return Py_BuildValue((char *)"");
20111}
20112static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
20113 PyObject *resultobj;
20114 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
20115 wxString *arg1 = (wxString *) &arg1_defvalue ;
20116 wxPyPrintout *result;
423f194a 20117 bool temp1 = False ;
d14a1e28
RD
20118 PyObject * obj0 = 0 ;
20119 char *kwnames[] = {
20120 (char *) "title", NULL
20121 };
20122
20123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
20124 if (obj0) {
20125 {
20126 arg1 = wxString_in_helper(obj0);
20127 if (arg1 == NULL) SWIG_fail;
423f194a 20128 temp1 = True;
d14a1e28
RD
20129 }
20130 }
20131 {
20132 PyThreadState* __tstate = wxPyBeginAllowThreads();
20133 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
20134
20135 wxPyEndAllowThreads(__tstate);
20136 if (PyErr_Occurred()) SWIG_fail;
20137 }
20138 {
20139 resultobj = wxPyMake_wxObject(result);
20140 }
20141 {
20142 if (temp1)
20143 delete arg1;
20144 }
20145 return resultobj;
20146 fail:
20147 {
20148 if (temp1)
20149 delete arg1;
20150 }
20151 return NULL;
20152}
20153
20154
20155static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20156 PyObject *resultobj;
20157 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20158 PyObject *arg2 = (PyObject *) 0 ;
20159 PyObject *arg3 = (PyObject *) 0 ;
20160 PyObject * obj0 = 0 ;
20161 PyObject * obj1 = 0 ;
20162 PyObject * obj2 = 0 ;
20163 char *kwnames[] = {
20164 (char *) "self",(char *) "self",(char *) "_class", NULL
20165 };
20166
20167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20169 arg2 = obj1;
20170 arg3 = obj2;
20171 {
20172 PyThreadState* __tstate = wxPyBeginAllowThreads();
20173 (arg1)->_setCallbackInfo(arg2,arg3);
20174
20175 wxPyEndAllowThreads(__tstate);
20176 if (PyErr_Occurred()) SWIG_fail;
20177 }
20178 Py_INCREF(Py_None); resultobj = Py_None;
20179 return resultobj;
20180 fail:
20181 return NULL;
20182}
20183
20184
20185static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
20186 PyObject *resultobj;
20187 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20188 wxString result;
20189 PyObject * obj0 = 0 ;
20190 char *kwnames[] = {
20191 (char *) "self", NULL
20192 };
20193
20194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
20195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20196 {
20197 PyThreadState* __tstate = wxPyBeginAllowThreads();
20198 result = ((wxPyPrintout const *)arg1)->GetTitle();
20199
20200 wxPyEndAllowThreads(__tstate);
20201 if (PyErr_Occurred()) SWIG_fail;
20202 }
20203 {
20204#if wxUSE_UNICODE
20205 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
20206#else
20207 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
20208#endif
20209 }
20210 return resultobj;
20211 fail:
20212 return NULL;
20213}
20214
20215
20216static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20217 PyObject *resultobj;
20218 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20219 wxDC *result;
20220 PyObject * obj0 = 0 ;
20221 char *kwnames[] = {
20222 (char *) "self", NULL
20223 };
20224
20225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
20226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20227 {
20228 PyThreadState* __tstate = wxPyBeginAllowThreads();
20229 result = (wxDC *)(arg1)->GetDC();
20230
20231 wxPyEndAllowThreads(__tstate);
20232 if (PyErr_Occurred()) SWIG_fail;
20233 }
20234 {
20235 resultobj = wxPyMake_wxObject(result);
20236 }
20237 return resultobj;
20238 fail:
20239 return NULL;
20240}
20241
20242
20243static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
20244 PyObject *resultobj;
20245 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20246 wxDC *arg2 = (wxDC *) 0 ;
20247 PyObject * obj0 = 0 ;
20248 PyObject * obj1 = 0 ;
20249 char *kwnames[] = {
20250 (char *) "self",(char *) "dc", NULL
20251 };
20252
20253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
20254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20255 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20256 {
20257 PyThreadState* __tstate = wxPyBeginAllowThreads();
20258 (arg1)->SetDC(arg2);
20259
20260 wxPyEndAllowThreads(__tstate);
20261 if (PyErr_Occurred()) SWIG_fail;
20262 }
20263 Py_INCREF(Py_None); resultobj = Py_None;
20264 return resultobj;
20265 fail:
20266 return NULL;
20267}
20268
20269
44127b65 20270static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20271 PyObject *resultobj;
20272 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
44127b65
RD
20273 int arg2 ;
20274 int arg3 ;
d14a1e28 20275 PyObject * obj0 = 0 ;
8edf1c75
RD
20276 PyObject * obj1 = 0 ;
20277 PyObject * obj2 = 0 ;
d14a1e28 20278 char *kwnames[] = {
44127b65 20279 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
20280 };
20281
8edf1c75 20282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizePixels",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 20283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20284 {
20285 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20286 if (PyErr_Occurred()) SWIG_fail;
20287 }
20288 {
20289 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20290 if (PyErr_Occurred()) SWIG_fail;
20291 }
d14a1e28
RD
20292 {
20293 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 20294 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
20295
20296 wxPyEndAllowThreads(__tstate);
20297 if (PyErr_Occurred()) SWIG_fail;
20298 }
20299 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
20300 return resultobj;
20301 fail:
20302 return NULL;
20303}
20304
20305
44127b65 20306static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
20307 PyObject *resultobj;
20308 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
44127b65
RD
20309 int *arg2 = (int *) 0 ;
20310 int *arg3 = (int *) 0 ;
20311 int temp2 ;
20312 int temp3 ;
d14a1e28
RD
20313 PyObject * obj0 = 0 ;
20314 char *kwnames[] = {
44127b65 20315 (char *) "self", NULL
d14a1e28
RD
20316 };
20317
44127b65
RD
20318 arg2 = &temp2;
20319 arg3 = &temp3;
20320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
d14a1e28
RD
20321 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20322 {
20323 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 20324 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
20325
20326 wxPyEndAllowThreads(__tstate);
20327 if (PyErr_Occurred()) SWIG_fail;
20328 }
20329 Py_INCREF(Py_None); resultobj = Py_None;
44127b65
RD
20330 {
20331 PyObject *o = PyInt_FromLong((long) (*arg2));
20332 resultobj = t_output_helper(resultobj,o);
20333 }
20334 {
20335 PyObject *o = PyInt_FromLong((long) (*arg3));
20336 resultobj = t_output_helper(resultobj,o);
20337 }
d14a1e28
RD
20338 return resultobj;
20339 fail:
20340 return NULL;
20341}
20342
20343
20344static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20345 PyObject *resultobj;
20346 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20347 int arg2 ;
20348 int arg3 ;
20349 PyObject * obj0 = 0 ;
8edf1c75
RD
20350 PyObject * obj1 = 0 ;
20351 PyObject * obj2 = 0 ;
d14a1e28
RD
20352 char *kwnames[] = {
20353 (char *) "self",(char *) "w",(char *) "h", NULL
20354 };
20355
8edf1c75 20356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPageSizeMM",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 20357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20358 {
20359 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20360 if (PyErr_Occurred()) SWIG_fail;
20361 }
20362 {
20363 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20364 if (PyErr_Occurred()) SWIG_fail;
20365 }
d14a1e28
RD
20366 {
20367 PyThreadState* __tstate = wxPyBeginAllowThreads();
20368 (arg1)->SetPageSizeMM(arg2,arg3);
20369
20370 wxPyEndAllowThreads(__tstate);
20371 if (PyErr_Occurred()) SWIG_fail;
20372 }
20373 Py_INCREF(Py_None); resultobj = Py_None;
20374 return resultobj;
20375 fail:
20376 return NULL;
20377}
20378
20379
20380static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
20381 PyObject *resultobj;
20382 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20383 int *arg2 = (int *) 0 ;
20384 int *arg3 = (int *) 0 ;
20385 int temp2 ;
20386 int temp3 ;
20387 PyObject * obj0 = 0 ;
20388 char *kwnames[] = {
20389 (char *) "self", NULL
20390 };
20391
20392 arg2 = &temp2;
20393 arg3 = &temp3;
20394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
20395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20396 {
20397 PyThreadState* __tstate = wxPyBeginAllowThreads();
20398 (arg1)->GetPageSizeMM(arg2,arg3);
20399
20400 wxPyEndAllowThreads(__tstate);
20401 if (PyErr_Occurred()) SWIG_fail;
20402 }
20403 Py_INCREF(Py_None); resultobj = Py_None;
20404 {
20405 PyObject *o = PyInt_FromLong((long) (*arg2));
20406 resultobj = t_output_helper(resultobj,o);
20407 }
20408 {
20409 PyObject *o = PyInt_FromLong((long) (*arg3));
20410 resultobj = t_output_helper(resultobj,o);
20411 }
20412 return resultobj;
20413 fail:
20414 return NULL;
20415}
20416
20417
20418static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20419 PyObject *resultobj;
20420 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20421 int arg2 ;
20422 int arg3 ;
20423 PyObject * obj0 = 0 ;
8edf1c75
RD
20424 PyObject * obj1 = 0 ;
20425 PyObject * obj2 = 0 ;
d14a1e28
RD
20426 char *kwnames[] = {
20427 (char *) "self",(char *) "x",(char *) "y", NULL
20428 };
20429
8edf1c75 20430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIScreen",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 20431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20432 {
20433 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20434 if (PyErr_Occurred()) SWIG_fail;
20435 }
20436 {
20437 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20438 if (PyErr_Occurred()) SWIG_fail;
20439 }
d14a1e28
RD
20440 {
20441 PyThreadState* __tstate = wxPyBeginAllowThreads();
20442 (arg1)->SetPPIScreen(arg2,arg3);
20443
20444 wxPyEndAllowThreads(__tstate);
20445 if (PyErr_Occurred()) SWIG_fail;
20446 }
20447 Py_INCREF(Py_None); resultobj = Py_None;
20448 return resultobj;
20449 fail:
20450 return NULL;
20451}
20452
20453
20454static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
20455 PyObject *resultobj;
20456 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20457 int *arg2 = (int *) 0 ;
20458 int *arg3 = (int *) 0 ;
20459 int temp2 ;
20460 int temp3 ;
20461 PyObject * obj0 = 0 ;
20462 char *kwnames[] = {
20463 (char *) "self", NULL
20464 };
20465
20466 arg2 = &temp2;
20467 arg3 = &temp3;
20468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
20469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20470 {
20471 PyThreadState* __tstate = wxPyBeginAllowThreads();
20472 (arg1)->GetPPIScreen(arg2,arg3);
20473
20474 wxPyEndAllowThreads(__tstate);
20475 if (PyErr_Occurred()) SWIG_fail;
20476 }
20477 Py_INCREF(Py_None); resultobj = Py_None;
20478 {
20479 PyObject *o = PyInt_FromLong((long) (*arg2));
20480 resultobj = t_output_helper(resultobj,o);
20481 }
20482 {
20483 PyObject *o = PyInt_FromLong((long) (*arg3));
20484 resultobj = t_output_helper(resultobj,o);
20485 }
20486 return resultobj;
20487 fail:
20488 return NULL;
20489}
20490
20491
20492static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20493 PyObject *resultobj;
20494 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20495 int arg2 ;
20496 int arg3 ;
20497 PyObject * obj0 = 0 ;
8edf1c75
RD
20498 PyObject * obj1 = 0 ;
20499 PyObject * obj2 = 0 ;
d14a1e28
RD
20500 char *kwnames[] = {
20501 (char *) "self",(char *) "x",(char *) "y", NULL
20502 };
20503
8edf1c75 20504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_SetPPIPrinter",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 20505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20506 {
20507 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20508 if (PyErr_Occurred()) SWIG_fail;
20509 }
20510 {
20511 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20512 if (PyErr_Occurred()) SWIG_fail;
20513 }
d14a1e28
RD
20514 {
20515 PyThreadState* __tstate = wxPyBeginAllowThreads();
20516 (arg1)->SetPPIPrinter(arg2,arg3);
20517
20518 wxPyEndAllowThreads(__tstate);
20519 if (PyErr_Occurred()) SWIG_fail;
20520 }
20521 Py_INCREF(Py_None); resultobj = Py_None;
20522 return resultobj;
20523 fail:
20524 return NULL;
20525}
20526
20527
20528static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
20529 PyObject *resultobj;
20530 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20531 int *arg2 = (int *) 0 ;
20532 int *arg3 = (int *) 0 ;
20533 int temp2 ;
20534 int temp3 ;
20535 PyObject * obj0 = 0 ;
20536 char *kwnames[] = {
20537 (char *) "self", NULL
20538 };
20539
20540 arg2 = &temp2;
20541 arg3 = &temp3;
20542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
20543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20544 {
20545 PyThreadState* __tstate = wxPyBeginAllowThreads();
20546 (arg1)->GetPPIPrinter(arg2,arg3);
20547
20548 wxPyEndAllowThreads(__tstate);
20549 if (PyErr_Occurred()) SWIG_fail;
20550 }
20551 Py_INCREF(Py_None); resultobj = Py_None;
20552 {
20553 PyObject *o = PyInt_FromLong((long) (*arg2));
20554 resultobj = t_output_helper(resultobj,o);
20555 }
20556 {
20557 PyObject *o = PyInt_FromLong((long) (*arg3));
20558 resultobj = t_output_helper(resultobj,o);
20559 }
20560 return resultobj;
20561 fail:
20562 return NULL;
20563}
20564
20565
20566static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20567 PyObject *resultobj;
20568 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20569 bool result;
20570 PyObject * obj0 = 0 ;
20571 char *kwnames[] = {
20572 (char *) "self", NULL
20573 };
20574
20575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
20576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20577 {
20578 PyThreadState* __tstate = wxPyBeginAllowThreads();
20579 result = (bool)(arg1)->IsPreview();
20580
20581 wxPyEndAllowThreads(__tstate);
20582 if (PyErr_Occurred()) SWIG_fail;
20583 }
4e760a36 20584 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20585 return resultobj;
20586 fail:
20587 return NULL;
20588}
20589
20590
20591static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20592 PyObject *resultobj;
20593 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20594 bool arg2 ;
20595 PyObject * obj0 = 0 ;
20596 PyObject * obj1 = 0 ;
20597 char *kwnames[] = {
20598 (char *) "self",(char *) "p", NULL
20599 };
20600
20601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
20602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 20603 {
8edf1c75 20604 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
20605 if (PyErr_Occurred()) SWIG_fail;
20606 }
d14a1e28
RD
20607 {
20608 PyThreadState* __tstate = wxPyBeginAllowThreads();
20609 (arg1)->SetIsPreview(arg2);
20610
20611 wxPyEndAllowThreads(__tstate);
20612 if (PyErr_Occurred()) SWIG_fail;
20613 }
20614 Py_INCREF(Py_None); resultobj = Py_None;
20615 return resultobj;
20616 fail:
20617 return NULL;
20618}
20619
20620
20621static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20622 PyObject *resultobj;
20623 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20624 int arg2 ;
20625 int arg3 ;
20626 bool result;
20627 PyObject * obj0 = 0 ;
8edf1c75
RD
20628 PyObject * obj1 = 0 ;
20629 PyObject * obj2 = 0 ;
d14a1e28
RD
20630 char *kwnames[] = {
20631 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
20632 };
20633
8edf1c75 20634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout_base_OnBeginDocument",kwnames,&obj0,&obj1,&obj2)) goto fail;
d14a1e28 20635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20636 {
20637 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20638 if (PyErr_Occurred()) SWIG_fail;
20639 }
20640 {
20641 arg3 = (int) SWIG_PyObj_AsInt(obj2);
20642 if (PyErr_Occurred()) SWIG_fail;
20643 }
d14a1e28
RD
20644 {
20645 PyThreadState* __tstate = wxPyBeginAllowThreads();
20646 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
20647
20648 wxPyEndAllowThreads(__tstate);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 }
4e760a36 20651 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
20652 return resultobj;
20653 fail:
20654 return NULL;
20655}
20656
20657
20658static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
20659 PyObject *resultobj;
20660 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20661 PyObject * obj0 = 0 ;
20662 char *kwnames[] = {
20663 (char *) "self", NULL
20664 };
20665
20666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
20667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 (arg1)->base_OnEndDocument();
20671
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
20675 Py_INCREF(Py_None); resultobj = Py_None;
20676 return resultobj;
20677 fail:
20678 return NULL;
20679}
20680
20681
20682static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20683 PyObject *resultobj;
20684 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20685 PyObject * obj0 = 0 ;
20686 char *kwnames[] = {
20687 (char *) "self", NULL
20688 };
20689
20690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
20691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20692 {
20693 PyThreadState* __tstate = wxPyBeginAllowThreads();
20694 (arg1)->base_OnBeginPrinting();
20695
20696 wxPyEndAllowThreads(__tstate);
20697 if (PyErr_Occurred()) SWIG_fail;
20698 }
20699 Py_INCREF(Py_None); resultobj = Py_None;
20700 return resultobj;
20701 fail:
20702 return NULL;
20703}
20704
20705
20706static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20707 PyObject *resultobj;
20708 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20709 PyObject * obj0 = 0 ;
20710 char *kwnames[] = {
20711 (char *) "self", NULL
20712 };
20713
20714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
20715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20716 {
20717 PyThreadState* __tstate = wxPyBeginAllowThreads();
20718 (arg1)->base_OnEndPrinting();
20719
20720 wxPyEndAllowThreads(__tstate);
20721 if (PyErr_Occurred()) SWIG_fail;
20722 }
20723 Py_INCREF(Py_None); resultobj = Py_None;
20724 return resultobj;
20725 fail:
20726 return NULL;
20727}
20728
20729
20730static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
20731 PyObject *resultobj;
20732 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20733 PyObject * obj0 = 0 ;
20734 char *kwnames[] = {
20735 (char *) "self", NULL
20736 };
20737
20738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
20739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20740 {
20741 PyThreadState* __tstate = wxPyBeginAllowThreads();
20742 (arg1)->base_OnPreparePrinting();
20743
20744 wxPyEndAllowThreads(__tstate);
20745 if (PyErr_Occurred()) SWIG_fail;
20746 }
20747 Py_INCREF(Py_None); resultobj = Py_None;
20748 return resultobj;
20749 fail:
20750 return NULL;
20751}
20752
20753
44127b65
RD
20754static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20755 PyObject *resultobj;
20756 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20757 int arg2 ;
20758 bool result;
20759 PyObject * obj0 = 0 ;
8edf1c75 20760 PyObject * obj1 = 0 ;
44127b65
RD
20761 char *kwnames[] = {
20762 (char *) "self",(char *) "page", NULL
20763 };
20764
8edf1c75 20765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_base_HasPage",kwnames,&obj0,&obj1)) goto fail;
44127b65 20766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
20767 {
20768 arg2 = (int) SWIG_PyObj_AsInt(obj1);
20769 if (PyErr_Occurred()) SWIG_fail;
20770 }
44127b65
RD
20771 {
20772 PyThreadState* __tstate = wxPyBeginAllowThreads();
20773 result = (bool)(arg1)->base_HasPage(arg2);
20774
20775 wxPyEndAllowThreads(__tstate);
20776 if (PyErr_Occurred()) SWIG_fail;
20777 }
4e760a36 20778 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
44127b65
RD
20779 return resultobj;
20780 fail:
20781 return NULL;
20782}
20783
20784
d14a1e28
RD
20785static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20786 PyObject *resultobj;
20787 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20788 int *arg2 = (int *) 0 ;
20789 int *arg3 = (int *) 0 ;
20790 int *arg4 = (int *) 0 ;
20791 int *arg5 = (int *) 0 ;
20792 int temp2 ;
20793 int temp3 ;
20794 int temp4 ;
20795 int temp5 ;
20796 PyObject * obj0 = 0 ;
20797 char *kwnames[] = {
20798 (char *) "self", NULL
20799 };
20800
20801 arg2 = &temp2;
20802 arg3 = &temp3;
20803 arg4 = &temp4;
20804 arg5 = &temp5;
20805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
20806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20807 {
20808 PyThreadState* __tstate = wxPyBeginAllowThreads();
20809 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
20810
20811 wxPyEndAllowThreads(__tstate);
20812 if (PyErr_Occurred()) SWIG_fail;
20813 }
20814 Py_INCREF(Py_None); resultobj = Py_None;
20815 {
20816 PyObject *o = PyInt_FromLong((long) (*arg2));
20817 resultobj = t_output_helper(resultobj,o);
20818 }
20819 {
20820 PyObject *o = PyInt_FromLong((long) (*arg3));
20821 resultobj = t_output_helper(resultobj,o);
20822 }
20823 {
20824 PyObject *o = PyInt_FromLong((long) (*arg4));
20825 resultobj = t_output_helper(resultobj,o);
20826 }
20827 {
20828 PyObject *o = PyInt_FromLong((long) (*arg5));
20829 resultobj = t_output_helper(resultobj,o);
20830 }
20831 return resultobj;
20832 fail:
20833 return NULL;
20834}
20835
20836
d14a1e28
RD
20837static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
20838 PyObject *obj;
20839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20840 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
20841 Py_INCREF(obj);
20842 return Py_BuildValue((char *)"");
20843}
20844static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20845 PyObject *resultobj;
20846 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20847 wxWindow *arg2 = (wxWindow *) 0 ;
20848 wxPoint const &arg3_defvalue = wxDefaultPosition ;
20849 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
20850 wxSize const &arg4_defvalue = wxDefaultSize ;
20851 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
20852 long arg5 = (long) 0 ;
20853 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
20854 wxString *arg6 = (wxString *) &arg6_defvalue ;
20855 wxPreviewCanvas *result;
20856 wxPoint temp3 ;
20857 wxSize temp4 ;
423f194a 20858 bool temp6 = False ;
d14a1e28
RD
20859 PyObject * obj0 = 0 ;
20860 PyObject * obj1 = 0 ;
20861 PyObject * obj2 = 0 ;
20862 PyObject * obj3 = 0 ;
8edf1c75 20863 PyObject * obj4 = 0 ;
d14a1e28
RD
20864 PyObject * obj5 = 0 ;
20865 char *kwnames[] = {
20866 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20867 };
20868
8edf1c75 20869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOOO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) goto fail;
d14a1e28
RD
20870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20871 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20872 if (obj2) {
20873 {
20874 arg3 = &temp3;
20875 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
20876 }
20877 }
20878 if (obj3) {
20879 {
20880 arg4 = &temp4;
20881 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
20882 }
20883 }
8edf1c75
RD
20884 if (obj4) {
20885 {
20886 arg5 = (long) SWIG_PyObj_AsLong(obj4);
20887 if (PyErr_Occurred()) SWIG_fail;
20888 }
20889 }
d14a1e28
RD
20890 if (obj5) {
20891 {
20892 arg6 = wxString_in_helper(obj5);
20893 if (arg6 == NULL) SWIG_fail;
423f194a 20894 temp6 = True;
d14a1e28
RD
20895 }
20896 }
20897 {
20898 PyThreadState* __tstate = wxPyBeginAllowThreads();
20899 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
20900
20901 wxPyEndAllowThreads(__tstate);
20902 if (PyErr_Occurred()) SWIG_fail;
20903 }
20904 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
20905 {
20906 if (temp6)
20907 delete arg6;
20908 }
20909 return resultobj;
20910 fail:
20911 {
20912 if (temp6)
20913 delete arg6;
20914 }
20915 return NULL;
20916}
20917
20918
20919static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
20920 PyObject *obj;
20921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20922 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
20923 Py_INCREF(obj);
20924 return Py_BuildValue((char *)"");
20925}
20926static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20927 PyObject *resultobj;
20928 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20929 wxFrame *arg2 = (wxFrame *) 0 ;
20930 wxString *arg3 = 0 ;
20931 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20932 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20933 wxSize const &arg5_defvalue = wxDefaultSize ;
20934 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20935 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20936 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20937 wxString *arg7 = (wxString *) &arg7_defvalue ;
20938 wxPreviewFrame *result;
423f194a 20939 bool temp3 = False ;
d14a1e28
RD
20940 wxPoint temp4 ;
20941 wxSize temp5 ;
423f194a 20942 bool temp7 = False ;
d14a1e28
RD
20943 PyObject * obj0 = 0 ;
20944 PyObject * obj1 = 0 ;
20945 PyObject * obj2 = 0 ;
20946 PyObject * obj3 = 0 ;
20947 PyObject * obj4 = 0 ;
8edf1c75 20948 PyObject * obj5 = 0 ;
d14a1e28
RD
20949 PyObject * obj6 = 0 ;
20950 char *kwnames[] = {
20951 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20952 };
20953
8edf1c75 20954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
20955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20957 {
20958 arg3 = wxString_in_helper(obj2);
20959 if (arg3 == NULL) SWIG_fail;
423f194a 20960 temp3 = True;
d14a1e28
RD
20961 }
20962 if (obj3) {
20963 {
20964 arg4 = &temp4;
20965 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20966 }
20967 }
20968 if (obj4) {
20969 {
20970 arg5 = &temp5;
20971 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20972 }
20973 }
8edf1c75
RD
20974 if (obj5) {
20975 {
20976 arg6 = (long) SWIG_PyObj_AsLong(obj5);
20977 if (PyErr_Occurred()) SWIG_fail;
20978 }
20979 }
d14a1e28
RD
20980 if (obj6) {
20981 {
20982 arg7 = wxString_in_helper(obj6);
20983 if (arg7 == NULL) SWIG_fail;
423f194a 20984 temp7 = True;
d14a1e28
RD
20985 }
20986 }
20987 {
20988 PyThreadState* __tstate = wxPyBeginAllowThreads();
20989 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20990
20991 wxPyEndAllowThreads(__tstate);
20992 if (PyErr_Occurred()) SWIG_fail;
20993 }
20994 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
20995 {
20996 if (temp3)
20997 delete arg3;
20998 }
20999 {
21000 if (temp7)
21001 delete arg7;
21002 }
21003 return resultobj;
21004 fail:
21005 {
21006 if (temp3)
21007 delete arg3;
21008 }
21009 {
21010 if (temp7)
21011 delete arg7;
21012 }
21013 return NULL;
21014}
21015
21016
21017static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
21018 PyObject *resultobj;
21019 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21020 PyObject * obj0 = 0 ;
21021 char *kwnames[] = {
21022 (char *) "self", NULL
21023 };
21024
21025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
21026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21027 {
21028 PyThreadState* __tstate = wxPyBeginAllowThreads();
21029 (arg1)->Initialize();
21030
21031 wxPyEndAllowThreads(__tstate);
21032 if (PyErr_Occurred()) SWIG_fail;
21033 }
21034 Py_INCREF(Py_None); resultobj = Py_None;
21035 return resultobj;
21036 fail:
21037 return NULL;
21038}
21039
21040
21041static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21042 PyObject *resultobj;
21043 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21044 PyObject * obj0 = 0 ;
21045 char *kwnames[] = {
21046 (char *) "self", NULL
21047 };
21048
21049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
21050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21051 {
21052 PyThreadState* __tstate = wxPyBeginAllowThreads();
21053 (arg1)->CreateControlBar();
21054
21055 wxPyEndAllowThreads(__tstate);
21056 if (PyErr_Occurred()) SWIG_fail;
21057 }
21058 Py_INCREF(Py_None); resultobj = Py_None;
21059 return resultobj;
21060 fail:
21061 return NULL;
21062}
21063
21064
21065static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21066 PyObject *resultobj;
21067 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21068 PyObject * obj0 = 0 ;
21069 char *kwnames[] = {
21070 (char *) "self", NULL
21071 };
21072
21073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
21074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21075 {
21076 PyThreadState* __tstate = wxPyBeginAllowThreads();
21077 (arg1)->CreateCanvas();
21078
21079 wxPyEndAllowThreads(__tstate);
21080 if (PyErr_Occurred()) SWIG_fail;
21081 }
21082 Py_INCREF(Py_None); resultobj = Py_None;
21083 return resultobj;
21084 fail:
21085 return NULL;
21086}
21087
21088
21089static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21090 PyObject *resultobj;
21091 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
21092 wxPreviewControlBar *result;
21093 PyObject * obj0 = 0 ;
21094 char *kwnames[] = {
21095 (char *) "self", NULL
21096 };
21097
21098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
21099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21100 {
21101 PyThreadState* __tstate = wxPyBeginAllowThreads();
21102 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
21103
21104 wxPyEndAllowThreads(__tstate);
21105 if (PyErr_Occurred()) SWIG_fail;
21106 }
21107 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
21108 return resultobj;
21109 fail:
21110 return NULL;
21111}
21112
21113
21114static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
21115 PyObject *obj;
21116 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21117 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
21118 Py_INCREF(obj);
21119 return Py_BuildValue((char *)"");
21120}
21121static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
21122 PyObject *resultobj;
21123 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21124 long arg2 ;
21125 wxWindow *arg3 = (wxWindow *) 0 ;
21126 wxPoint const &arg4_defvalue = wxDefaultPosition ;
21127 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
21128 wxSize const &arg5_defvalue = wxDefaultSize ;
21129 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
21130 long arg6 = (long) wxTAB_TRAVERSAL ;
21131 wxString const &arg7_defvalue = wxPyPanelNameStr ;
21132 wxString *arg7 = (wxString *) &arg7_defvalue ;
21133 wxPreviewControlBar *result;
21134 wxPoint temp4 ;
21135 wxSize temp5 ;
423f194a 21136 bool temp7 = False ;
d14a1e28 21137 PyObject * obj0 = 0 ;
8edf1c75 21138 PyObject * obj1 = 0 ;
d14a1e28
RD
21139 PyObject * obj2 = 0 ;
21140 PyObject * obj3 = 0 ;
21141 PyObject * obj4 = 0 ;
8edf1c75 21142 PyObject * obj5 = 0 ;
d14a1e28
RD
21143 PyObject * obj6 = 0 ;
21144 char *kwnames[] = {
21145 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21146 };
21147
8edf1c75 21148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28 21149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21150 {
21151 arg2 = (long) SWIG_PyObj_AsLong(obj1);
21152 if (PyErr_Occurred()) SWIG_fail;
21153 }
d14a1e28
RD
21154 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21155 if (obj3) {
21156 {
21157 arg4 = &temp4;
21158 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
21159 }
21160 }
21161 if (obj4) {
21162 {
21163 arg5 = &temp5;
21164 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
21165 }
21166 }
8edf1c75
RD
21167 if (obj5) {
21168 {
21169 arg6 = (long) SWIG_PyObj_AsLong(obj5);
21170 if (PyErr_Occurred()) SWIG_fail;
21171 }
21172 }
d14a1e28
RD
21173 if (obj6) {
21174 {
21175 arg7 = wxString_in_helper(obj6);
21176 if (arg7 == NULL) SWIG_fail;
423f194a 21177 temp7 = True;
d14a1e28
RD
21178 }
21179 }
21180 {
21181 PyThreadState* __tstate = wxPyBeginAllowThreads();
21182 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
21183
21184 wxPyEndAllowThreads(__tstate);
21185 if (PyErr_Occurred()) SWIG_fail;
21186 }
21187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
21188 {
21189 if (temp7)
21190 delete arg7;
21191 }
21192 return resultobj;
21193 fail:
21194 {
21195 if (temp7)
21196 delete arg7;
21197 }
21198 return NULL;
21199}
21200
21201
21202static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21203 PyObject *resultobj;
21204 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21205 int result;
21206 PyObject * obj0 = 0 ;
21207 char *kwnames[] = {
21208 (char *) "self", NULL
21209 };
21210
21211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
21212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21213 {
21214 PyThreadState* __tstate = wxPyBeginAllowThreads();
21215 result = (int)(arg1)->GetZoomControl();
21216
21217 wxPyEndAllowThreads(__tstate);
21218 if (PyErr_Occurred()) SWIG_fail;
21219 }
8edf1c75 21220 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
21221 return resultobj;
21222 fail:
21223 return NULL;
21224}
21225
21226
21227static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21228 PyObject *resultobj;
21229 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21230 int arg2 ;
21231 PyObject * obj0 = 0 ;
8edf1c75 21232 PyObject * obj1 = 0 ;
d14a1e28
RD
21233 char *kwnames[] = {
21234 (char *) "self",(char *) "zoom", NULL
21235 };
21236
8edf1c75 21237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21239 {
21240 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21241 if (PyErr_Occurred()) SWIG_fail;
21242 }
d14a1e28
RD
21243 {
21244 PyThreadState* __tstate = wxPyBeginAllowThreads();
21245 (arg1)->SetZoomControl(arg2);
21246
21247 wxPyEndAllowThreads(__tstate);
21248 if (PyErr_Occurred()) SWIG_fail;
21249 }
21250 Py_INCREF(Py_None); resultobj = Py_None;
21251 return resultobj;
21252 fail:
21253 return NULL;
21254}
21255
21256
21257static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21258 PyObject *resultobj;
21259 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21260 wxPrintPreview *result;
21261 PyObject * obj0 = 0 ;
21262 char *kwnames[] = {
21263 (char *) "self", NULL
21264 };
21265
21266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
21267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21268 {
21269 PyThreadState* __tstate = wxPyBeginAllowThreads();
21270 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
21271
21272 wxPyEndAllowThreads(__tstate);
21273 if (PyErr_Occurred()) SWIG_fail;
21274 }
21275 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
21276 return resultobj;
21277 fail:
21278 return NULL;
21279}
21280
21281
21282static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
21283 PyObject *resultobj;
21284 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21285 PyObject * obj0 = 0 ;
21286 char *kwnames[] = {
21287 (char *) "self", NULL
21288 };
21289
21290 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
21291 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21292 {
21293 PyThreadState* __tstate = wxPyBeginAllowThreads();
21294 (arg1)->OnNext();
21295
21296 wxPyEndAllowThreads(__tstate);
21297 if (PyErr_Occurred()) SWIG_fail;
21298 }
21299 Py_INCREF(Py_None); resultobj = Py_None;
21300 return resultobj;
21301 fail:
21302 return NULL;
21303}
21304
21305
21306static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
21307 PyObject *resultobj;
21308 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21309 PyObject * obj0 = 0 ;
21310 char *kwnames[] = {
21311 (char *) "self", NULL
21312 };
21313
21314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
21315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21316 {
21317 PyThreadState* __tstate = wxPyBeginAllowThreads();
21318 (arg1)->OnPrevious();
21319
21320 wxPyEndAllowThreads(__tstate);
21321 if (PyErr_Occurred()) SWIG_fail;
21322 }
21323 Py_INCREF(Py_None); resultobj = Py_None;
21324 return resultobj;
21325 fail:
21326 return NULL;
21327}
21328
21329
21330static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
21331 PyObject *resultobj;
21332 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21333 PyObject * obj0 = 0 ;
21334 char *kwnames[] = {
21335 (char *) "self", NULL
21336 };
21337
21338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
21339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21340 {
21341 PyThreadState* __tstate = wxPyBeginAllowThreads();
21342 (arg1)->OnFirst();
21343
21344 wxPyEndAllowThreads(__tstate);
21345 if (PyErr_Occurred()) SWIG_fail;
21346 }
21347 Py_INCREF(Py_None); resultobj = Py_None;
21348 return resultobj;
21349 fail:
21350 return NULL;
21351}
21352
21353
21354static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
21355 PyObject *resultobj;
21356 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21357 PyObject * obj0 = 0 ;
21358 char *kwnames[] = {
21359 (char *) "self", NULL
21360 };
21361
21362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
21363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21364 {
21365 PyThreadState* __tstate = wxPyBeginAllowThreads();
21366 (arg1)->OnLast();
21367
21368 wxPyEndAllowThreads(__tstate);
21369 if (PyErr_Occurred()) SWIG_fail;
21370 }
21371 Py_INCREF(Py_None); resultobj = Py_None;
21372 return resultobj;
21373 fail:
21374 return NULL;
21375}
21376
21377
21378static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
21379 PyObject *resultobj;
21380 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
21381 PyObject * obj0 = 0 ;
21382 char *kwnames[] = {
21383 (char *) "self", NULL
21384 };
21385
21386 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
21387 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21388 {
21389 PyThreadState* __tstate = wxPyBeginAllowThreads();
21390 (arg1)->OnGoto();
21391
21392 wxPyEndAllowThreads(__tstate);
21393 if (PyErr_Occurred()) SWIG_fail;
21394 }
21395 Py_INCREF(Py_None); resultobj = Py_None;
21396 return resultobj;
21397 fail:
21398 return NULL;
21399}
21400
21401
21402static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21403 PyObject *obj;
21404 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21405 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
21406 Py_INCREF(obj);
21407 return Py_BuildValue((char *)"");
21408}
21409static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
21410 PyObject *resultobj;
21411 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
21412 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21413 wxPrintData *arg3 = (wxPrintData *) NULL ;
21414 wxPrintPreview *result;
21415 PyObject * obj0 = 0 ;
21416 PyObject * obj1 = 0 ;
21417 PyObject * obj2 = 0 ;
21418 char *kwnames[] = {
21419 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
21420 };
21421
21422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
21423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21424 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21425 if (obj2) {
21426 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21427 }
21428 {
21429 PyThreadState* __tstate = wxPyBeginAllowThreads();
21430 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
21431
21432 wxPyEndAllowThreads(__tstate);
21433 if (PyErr_Occurred()) SWIG_fail;
21434 }
21435 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
21436 return resultobj;
21437 fail:
21438 return NULL;
21439}
21440
21441
21442static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21443 PyObject *resultobj;
21444 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21445 int arg2 ;
21446 bool result;
21447 PyObject * obj0 = 0 ;
8edf1c75 21448 PyObject * obj1 = 0 ;
d14a1e28
RD
21449 char *kwnames[] = {
21450 (char *) "self",(char *) "pageNum", NULL
21451 };
21452
8edf1c75 21453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21455 {
21456 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21457 if (PyErr_Occurred()) SWIG_fail;
21458 }
d14a1e28
RD
21459 {
21460 PyThreadState* __tstate = wxPyBeginAllowThreads();
21461 result = (bool)(arg1)->SetCurrentPage(arg2);
21462
21463 wxPyEndAllowThreads(__tstate);
21464 if (PyErr_Occurred()) SWIG_fail;
21465 }
4e760a36 21466 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21467 return resultobj;
21468 fail:
21469 return NULL;
21470}
21471
21472
21473static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21474 PyObject *resultobj;
21475 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21476 int result;
21477 PyObject * obj0 = 0 ;
21478 char *kwnames[] = {
21479 (char *) "self", NULL
21480 };
21481
21482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
21483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21484 {
21485 PyThreadState* __tstate = wxPyBeginAllowThreads();
21486 result = (int)(arg1)->GetCurrentPage();
21487
21488 wxPyEndAllowThreads(__tstate);
21489 if (PyErr_Occurred()) SWIG_fail;
21490 }
8edf1c75 21491 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
21492 return resultobj;
21493 fail:
21494 return NULL;
21495}
21496
21497
21498static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21499 PyObject *resultobj;
21500 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21501 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
21502 PyObject * obj0 = 0 ;
21503 PyObject * obj1 = 0 ;
21504 char *kwnames[] = {
21505 (char *) "self",(char *) "printout", NULL
21506 };
21507
21508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
21509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21510 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21511 {
21512 PyThreadState* __tstate = wxPyBeginAllowThreads();
21513 (arg1)->SetPrintout(arg2);
21514
21515 wxPyEndAllowThreads(__tstate);
21516 if (PyErr_Occurred()) SWIG_fail;
21517 }
21518 Py_INCREF(Py_None); resultobj = Py_None;
21519 return resultobj;
21520 fail:
21521 return NULL;
21522}
21523
21524
21525static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
21526 PyObject *resultobj;
21527 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21528 wxPyPrintout *result;
21529 PyObject * obj0 = 0 ;
21530 char *kwnames[] = {
21531 (char *) "self", NULL
21532 };
21533
21534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
21535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21536 {
21537 PyThreadState* __tstate = wxPyBeginAllowThreads();
21538 result = (wxPyPrintout *)(arg1)->GetPrintout();
21539
21540 wxPyEndAllowThreads(__tstate);
21541 if (PyErr_Occurred()) SWIG_fail;
21542 }
21543 {
21544 resultobj = wxPyMake_wxObject(result);
21545 }
21546 return resultobj;
21547 fail:
21548 return NULL;
21549}
21550
21551
21552static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
21553 PyObject *resultobj;
21554 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21555 wxPyPrintout *result;
21556 PyObject * obj0 = 0 ;
21557 char *kwnames[] = {
21558 (char *) "self", NULL
21559 };
21560
21561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
21562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21563 {
21564 PyThreadState* __tstate = wxPyBeginAllowThreads();
21565 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
21566
21567 wxPyEndAllowThreads(__tstate);
21568 if (PyErr_Occurred()) SWIG_fail;
21569 }
21570 {
21571 resultobj = wxPyMake_wxObject(result);
21572 }
21573 return resultobj;
21574 fail:
21575 return NULL;
21576}
21577
21578
21579static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21580 PyObject *resultobj;
21581 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21582 wxFrame *arg2 = (wxFrame *) 0 ;
21583 PyObject * obj0 = 0 ;
21584 PyObject * obj1 = 0 ;
21585 char *kwnames[] = {
21586 (char *) "self",(char *) "frame", NULL
21587 };
21588
21589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
21590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21591 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21592 {
21593 PyThreadState* __tstate = wxPyBeginAllowThreads();
21594 (arg1)->SetFrame(arg2);
21595
21596 wxPyEndAllowThreads(__tstate);
21597 if (PyErr_Occurred()) SWIG_fail;
21598 }
21599 Py_INCREF(Py_None); resultobj = Py_None;
21600 return resultobj;
21601 fail:
21602 return NULL;
21603}
21604
21605
21606static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21607 PyObject *resultobj;
21608 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21609 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21610 PyObject * obj0 = 0 ;
21611 PyObject * obj1 = 0 ;
21612 char *kwnames[] = {
21613 (char *) "self",(char *) "canvas", NULL
21614 };
21615
21616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
21617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21618 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21619 {
21620 PyThreadState* __tstate = wxPyBeginAllowThreads();
21621 (arg1)->SetCanvas(arg2);
21622
21623 wxPyEndAllowThreads(__tstate);
21624 if (PyErr_Occurred()) SWIG_fail;
21625 }
21626 Py_INCREF(Py_None); resultobj = Py_None;
21627 return resultobj;
21628 fail:
21629 return NULL;
21630}
21631
21632
21633static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
21634 PyObject *resultobj;
21635 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21636 wxFrame *result;
21637 PyObject * obj0 = 0 ;
21638 char *kwnames[] = {
21639 (char *) "self", NULL
21640 };
21641
21642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
21643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21644 {
21645 PyThreadState* __tstate = wxPyBeginAllowThreads();
21646 result = (wxFrame *)(arg1)->GetFrame();
21647
21648 wxPyEndAllowThreads(__tstate);
21649 if (PyErr_Occurred()) SWIG_fail;
21650 }
21651 {
21652 resultobj = wxPyMake_wxObject(result);
21653 }
21654 return resultobj;
21655 fail:
21656 return NULL;
21657}
21658
21659
21660static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
21661 PyObject *resultobj;
21662 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21663 wxPreviewCanvas *result;
21664 PyObject * obj0 = 0 ;
21665 char *kwnames[] = {
21666 (char *) "self", NULL
21667 };
21668
21669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
21670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21671 {
21672 PyThreadState* __tstate = wxPyBeginAllowThreads();
21673 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
21674
21675 wxPyEndAllowThreads(__tstate);
21676 if (PyErr_Occurred()) SWIG_fail;
21677 }
21678 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
21679 return resultobj;
21680 fail:
21681 return NULL;
21682}
21683
21684
21685static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21686 PyObject *resultobj;
21687 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21688 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21689 wxDC *arg3 = 0 ;
21690 bool result;
21691 PyObject * obj0 = 0 ;
21692 PyObject * obj1 = 0 ;
21693 PyObject * obj2 = 0 ;
21694 char *kwnames[] = {
21695 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21696 };
21697
21698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21700 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21701 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21702 if (arg3 == NULL) {
21703 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21704 }
21705 {
21706 PyThreadState* __tstate = wxPyBeginAllowThreads();
21707 result = (bool)(arg1)->PaintPage(arg2,*arg3);
21708
21709 wxPyEndAllowThreads(__tstate);
21710 if (PyErr_Occurred()) SWIG_fail;
21711 }
4e760a36 21712 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21713 return resultobj;
21714 fail:
21715 return NULL;
21716}
21717
21718
21719static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21720 PyObject *resultobj;
21721 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21722 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21723 wxDC *arg3 = 0 ;
21724 bool result;
21725 PyObject * obj0 = 0 ;
21726 PyObject * obj1 = 0 ;
21727 PyObject * obj2 = 0 ;
21728 char *kwnames[] = {
21729 (char *) "self",(char *) "canvas",(char *) "dc", NULL
21730 };
21731
21732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
21733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21735 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21736 if (arg3 == NULL) {
21737 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
21738 }
21739 {
21740 PyThreadState* __tstate = wxPyBeginAllowThreads();
21741 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
21742
21743 wxPyEndAllowThreads(__tstate);
21744 if (PyErr_Occurred()) SWIG_fail;
21745 }
4e760a36 21746 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21747 return resultobj;
21748 fail:
21749 return NULL;
21750}
21751
21752
21753static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21754 PyObject *resultobj;
21755 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21756 int arg2 ;
21757 bool result;
21758 PyObject * obj0 = 0 ;
8edf1c75 21759 PyObject * obj1 = 0 ;
d14a1e28
RD
21760 char *kwnames[] = {
21761 (char *) "self",(char *) "pageNum", NULL
21762 };
21763
8edf1c75 21764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_RenderPage",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21766 {
21767 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21768 if (PyErr_Occurred()) SWIG_fail;
21769 }
d14a1e28
RD
21770 {
21771 PyThreadState* __tstate = wxPyBeginAllowThreads();
21772 result = (bool)(arg1)->RenderPage(arg2);
21773
21774 wxPyEndAllowThreads(__tstate);
21775 if (PyErr_Occurred()) SWIG_fail;
21776 }
4e760a36 21777 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21778 return resultobj;
21779 fail:
21780 return NULL;
21781}
21782
21783
21784static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
21785 PyObject *resultobj;
21786 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21787 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
21788 PyObject * obj0 = 0 ;
21789 PyObject * obj1 = 0 ;
21790 char *kwnames[] = {
21791 (char *) "self",(char *) "canvas", NULL
21792 };
21793
21794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
21795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21797 {
21798 PyThreadState* __tstate = wxPyBeginAllowThreads();
21799 (arg1)->AdjustScrollbars(arg2);
21800
21801 wxPyEndAllowThreads(__tstate);
21802 if (PyErr_Occurred()) SWIG_fail;
21803 }
21804 Py_INCREF(Py_None); resultobj = Py_None;
21805 return resultobj;
21806 fail:
21807 return NULL;
21808}
21809
21810
21811static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
21812 PyObject *resultobj;
21813 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21814 wxPrintDialogData *result;
21815 PyObject * obj0 = 0 ;
21816 char *kwnames[] = {
21817 (char *) "self", NULL
21818 };
21819
21820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
21821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21822 {
21823 PyThreadState* __tstate = wxPyBeginAllowThreads();
21824 {
21825 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
21826 result = (wxPrintDialogData *) &_result_ref;
21827 }
21828
21829 wxPyEndAllowThreads(__tstate);
21830 if (PyErr_Occurred()) SWIG_fail;
21831 }
21832 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
21833 return resultobj;
21834 fail:
21835 return NULL;
21836}
21837
21838
21839static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21840 PyObject *resultobj;
21841 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21842 int arg2 ;
21843 PyObject * obj0 = 0 ;
8edf1c75 21844 PyObject * obj1 = 0 ;
d14a1e28
RD
21845 char *kwnames[] = {
21846 (char *) "self",(char *) "percent", NULL
21847 };
21848
8edf1c75 21849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetZoom",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 21850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
21851 {
21852 arg2 = (int) SWIG_PyObj_AsInt(obj1);
21853 if (PyErr_Occurred()) SWIG_fail;
21854 }
d14a1e28
RD
21855 {
21856 PyThreadState* __tstate = wxPyBeginAllowThreads();
21857 (arg1)->SetZoom(arg2);
21858
21859 wxPyEndAllowThreads(__tstate);
21860 if (PyErr_Occurred()) SWIG_fail;
21861 }
21862 Py_INCREF(Py_None); resultobj = Py_None;
21863 return resultobj;
21864 fail:
21865 return NULL;
21866}
21867
21868
21869static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
21870 PyObject *resultobj;
21871 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21872 int result;
21873 PyObject * obj0 = 0 ;
21874 char *kwnames[] = {
21875 (char *) "self", NULL
21876 };
21877
21878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
21879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21880 {
21881 PyThreadState* __tstate = wxPyBeginAllowThreads();
21882 result = (int)(arg1)->GetZoom();
21883
21884 wxPyEndAllowThreads(__tstate);
21885 if (PyErr_Occurred()) SWIG_fail;
21886 }
8edf1c75 21887 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
21888 return resultobj;
21889 fail:
21890 return NULL;
21891}
21892
21893
21894static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21895 PyObject *resultobj;
21896 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21897 int result;
21898 PyObject * obj0 = 0 ;
21899 char *kwnames[] = {
21900 (char *) "self", NULL
21901 };
21902
21903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
21904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21905 {
21906 PyThreadState* __tstate = wxPyBeginAllowThreads();
21907 result = (int)(arg1)->GetMaxPage();
21908
21909 wxPyEndAllowThreads(__tstate);
21910 if (PyErr_Occurred()) SWIG_fail;
21911 }
8edf1c75 21912 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
21913 return resultobj;
21914 fail:
21915 return NULL;
21916}
21917
21918
21919static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
21920 PyObject *resultobj;
21921 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21922 int result;
21923 PyObject * obj0 = 0 ;
21924 char *kwnames[] = {
21925 (char *) "self", NULL
21926 };
21927
21928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
21929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21930 {
21931 PyThreadState* __tstate = wxPyBeginAllowThreads();
21932 result = (int)(arg1)->GetMinPage();
21933
21934 wxPyEndAllowThreads(__tstate);
21935 if (PyErr_Occurred()) SWIG_fail;
21936 }
8edf1c75 21937 resultobj = SWIG_PyObj_FromInt((int)result);
d14a1e28
RD
21938 return resultobj;
21939 fail:
21940 return NULL;
21941}
21942
21943
21944static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
21945 PyObject *resultobj;
21946 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21947 bool result;
21948 PyObject * obj0 = 0 ;
21949 char *kwnames[] = {
21950 (char *) "self", NULL
21951 };
21952
21953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
21954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21955 {
21956 PyThreadState* __tstate = wxPyBeginAllowThreads();
21957 result = (bool)(arg1)->Ok();
21958
21959 wxPyEndAllowThreads(__tstate);
21960 if (PyErr_Occurred()) SWIG_fail;
21961 }
4e760a36 21962 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
21963 return resultobj;
21964 fail:
21965 return NULL;
21966}
21967
21968
21969static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
21970 PyObject *resultobj;
21971 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
21972 bool arg2 ;
21973 PyObject * obj0 = 0 ;
21974 PyObject * obj1 = 0 ;
21975 char *kwnames[] = {
21976 (char *) "self",(char *) "ok", NULL
21977 };
21978
21979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
21980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 21981 {
8edf1c75 21982 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
21983 if (PyErr_Occurred()) SWIG_fail;
21984 }
d14a1e28
RD
21985 {
21986 PyThreadState* __tstate = wxPyBeginAllowThreads();
21987 (arg1)->SetOk(arg2);
21988
21989 wxPyEndAllowThreads(__tstate);
21990 if (PyErr_Occurred()) SWIG_fail;
21991 }
21992 Py_INCREF(Py_None); resultobj = Py_None;
21993 return resultobj;
21994 fail:
21995 return NULL;
21996}
21997
21998
21999static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
22000 PyObject *resultobj;
22001 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22002 bool arg2 ;
22003 bool result;
22004 PyObject * obj0 = 0 ;
22005 PyObject * obj1 = 0 ;
22006 char *kwnames[] = {
22007 (char *) "self",(char *) "interactive", NULL
22008 };
22009
22010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
22011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 22012 {
8edf1c75 22013 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
22014 if (PyErr_Occurred()) SWIG_fail;
22015 }
d14a1e28
RD
22016 {
22017 PyThreadState* __tstate = wxPyBeginAllowThreads();
22018 result = (bool)(arg1)->Print(arg2);
22019
22020 wxPyEndAllowThreads(__tstate);
22021 if (PyErr_Occurred()) SWIG_fail;
22022 }
4e760a36 22023 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22024 return resultobj;
22025 fail:
22026 return NULL;
22027}
22028
22029
22030static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
22031 PyObject *resultobj;
22032 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22033 PyObject * obj0 = 0 ;
22034 char *kwnames[] = {
22035 (char *) "self", NULL
22036 };
22037
22038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
22039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22040 {
22041 PyThreadState* __tstate = wxPyBeginAllowThreads();
22042 (arg1)->DetermineScaling();
22043
22044 wxPyEndAllowThreads(__tstate);
22045 if (PyErr_Occurred()) SWIG_fail;
22046 }
22047 Py_INCREF(Py_None); resultobj = Py_None;
22048 return resultobj;
22049 fail:
22050 return NULL;
22051}
22052
22053
22054static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
22055 PyObject *obj;
22056 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22057 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
22058 Py_INCREF(obj);
22059 return Py_BuildValue((char *)"");
22060}
22061static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22062 PyObject *resultobj;
22063 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
22064 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
22065 wxPrintData *arg3 = (wxPrintData *) NULL ;
22066 wxPyPrintPreview *result;
22067 PyObject * obj0 = 0 ;
22068 PyObject * obj1 = 0 ;
22069 PyObject * obj2 = 0 ;
22070 char *kwnames[] = {
22071 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
22072 };
22073
22074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
22075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22076 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22077 if (obj2) {
22078 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22079 }
22080 {
22081 PyThreadState* __tstate = wxPyBeginAllowThreads();
22082 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
22083
22084 wxPyEndAllowThreads(__tstate);
22085 if (PyErr_Occurred()) SWIG_fail;
22086 }
22087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
22088 return resultobj;
22089 fail:
22090 return NULL;
22091}
22092
22093
22094static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22095 PyObject *resultobj;
22096 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22097 PyObject *arg2 = (PyObject *) 0 ;
22098 PyObject *arg3 = (PyObject *) 0 ;
22099 PyObject * obj0 = 0 ;
22100 PyObject * obj1 = 0 ;
22101 PyObject * obj2 = 0 ;
22102 char *kwnames[] = {
22103 (char *) "self",(char *) "self",(char *) "_class", NULL
22104 };
22105
22106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22108 arg2 = obj1;
22109 arg3 = obj2;
22110 {
22111 PyThreadState* __tstate = wxPyBeginAllowThreads();
22112 (arg1)->_setCallbackInfo(arg2,arg3);
22113
22114 wxPyEndAllowThreads(__tstate);
22115 if (PyErr_Occurred()) SWIG_fail;
22116 }
22117 Py_INCREF(Py_None); resultobj = Py_None;
22118 return resultobj;
22119 fail:
22120 return NULL;
22121}
22122
22123
22124static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22125 PyObject *resultobj;
22126 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22127 int arg2 ;
22128 bool result;
22129 PyObject * obj0 = 0 ;
8edf1c75 22130 PyObject * obj1 = 0 ;
d14a1e28
RD
22131 char *kwnames[] = {
22132 (char *) "self",(char *) "pageNum", NULL
22133 };
22134
8edf1c75 22135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22137 {
22138 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22139 if (PyErr_Occurred()) SWIG_fail;
22140 }
d14a1e28
RD
22141 {
22142 PyThreadState* __tstate = wxPyBeginAllowThreads();
22143 result = (bool)(arg1)->base_SetCurrentPage(arg2);
22144
22145 wxPyEndAllowThreads(__tstate);
22146 if (PyErr_Occurred()) SWIG_fail;
22147 }
4e760a36 22148 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22149 return resultobj;
22150 fail:
22151 return NULL;
22152}
22153
22154
22155static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22156 PyObject *resultobj;
22157 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22158 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22159 wxDC *arg3 = 0 ;
22160 bool result;
22161 PyObject * obj0 = 0 ;
22162 PyObject * obj1 = 0 ;
22163 PyObject * obj2 = 0 ;
22164 char *kwnames[] = {
22165 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22166 };
22167
22168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22170 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22171 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22172 if (arg3 == NULL) {
22173 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22174 }
22175 {
22176 PyThreadState* __tstate = wxPyBeginAllowThreads();
22177 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
22178
22179 wxPyEndAllowThreads(__tstate);
22180 if (PyErr_Occurred()) SWIG_fail;
22181 }
4e760a36 22182 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22183 return resultobj;
22184 fail:
22185 return NULL;
22186}
22187
22188
22189static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22190 PyObject *resultobj;
22191 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22192 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22193 wxDC *arg3 = 0 ;
22194 bool result;
22195 PyObject * obj0 = 0 ;
22196 PyObject * obj1 = 0 ;
22197 PyObject * obj2 = 0 ;
22198 char *kwnames[] = {
22199 (char *) "self",(char *) "canvas",(char *) "dc", NULL
22200 };
22201
22202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
22203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22204 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22205 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22206 if (arg3 == NULL) {
22207 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
22208 }
22209 {
22210 PyThreadState* __tstate = wxPyBeginAllowThreads();
22211 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
22212
22213 wxPyEndAllowThreads(__tstate);
22214 if (PyErr_Occurred()) SWIG_fail;
22215 }
4e760a36 22216 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22217 return resultobj;
22218 fail:
22219 return NULL;
22220}
22221
22222
22223static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
22224 PyObject *resultobj;
22225 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22226 int arg2 ;
22227 bool result;
22228 PyObject * obj0 = 0 ;
8edf1c75 22229 PyObject * obj1 = 0 ;
d14a1e28
RD
22230 char *kwnames[] = {
22231 (char *) "self",(char *) "pageNum", NULL
22232 };
22233
8edf1c75 22234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_RenderPage",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22236 {
22237 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22238 if (PyErr_Occurred()) SWIG_fail;
22239 }
d14a1e28
RD
22240 {
22241 PyThreadState* __tstate = wxPyBeginAllowThreads();
22242 result = (bool)(arg1)->base_RenderPage(arg2);
22243
22244 wxPyEndAllowThreads(__tstate);
22245 if (PyErr_Occurred()) SWIG_fail;
22246 }
4e760a36 22247 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22248 return resultobj;
22249 fail:
22250 return NULL;
22251}
22252
22253
22254static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
22255 PyObject *resultobj;
22256 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22257 int arg2 ;
22258 PyObject * obj0 = 0 ;
8edf1c75 22259 PyObject * obj1 = 0 ;
d14a1e28
RD
22260 char *kwnames[] = {
22261 (char *) "self",(char *) "percent", NULL
22262 };
22263
8edf1c75 22264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_SetZoom",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22266 {
22267 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22268 if (PyErr_Occurred()) SWIG_fail;
22269 }
d14a1e28
RD
22270 {
22271 PyThreadState* __tstate = wxPyBeginAllowThreads();
22272 (arg1)->base_SetZoom(arg2);
22273
22274 wxPyEndAllowThreads(__tstate);
22275 if (PyErr_Occurred()) SWIG_fail;
22276 }
22277 Py_INCREF(Py_None); resultobj = Py_None;
22278 return resultobj;
22279 fail:
22280 return NULL;
22281}
22282
22283
22284static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
22285 PyObject *resultobj;
22286 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22287 bool arg2 ;
22288 bool result;
22289 PyObject * obj0 = 0 ;
22290 PyObject * obj1 = 0 ;
22291 char *kwnames[] = {
22292 (char *) "self",(char *) "interactive", NULL
22293 };
22294
22295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
22296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
83448d71 22297 {
8edf1c75 22298 arg2 = (bool) SWIG_PyObj_AsBool(obj1);
83448d71
RD
22299 if (PyErr_Occurred()) SWIG_fail;
22300 }
d14a1e28
RD
22301 {
22302 PyThreadState* __tstate = wxPyBeginAllowThreads();
22303 result = (bool)(arg1)->base_Print(arg2);
22304
22305 wxPyEndAllowThreads(__tstate);
22306 if (PyErr_Occurred()) SWIG_fail;
22307 }
4e760a36 22308 resultobj = result ? Py_True : Py_False; Py_INCREF(resultobj);
d14a1e28
RD
22309 return resultobj;
22310 fail:
22311 return NULL;
22312}
22313
22314
22315static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
22316 PyObject *resultobj;
22317 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
22318 PyObject * obj0 = 0 ;
22319 char *kwnames[] = {
22320 (char *) "self", NULL
22321 };
22322
22323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
22324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22325 {
22326 PyThreadState* __tstate = wxPyBeginAllowThreads();
22327 (arg1)->base_DetermineScaling();
22328
22329 wxPyEndAllowThreads(__tstate);
22330 if (PyErr_Occurred()) SWIG_fail;
22331 }
22332 Py_INCREF(Py_None); resultobj = Py_None;
22333 return resultobj;
22334 fail:
22335 return NULL;
22336}
22337
22338
22339static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
22340 PyObject *obj;
22341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22342 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
22343 Py_INCREF(obj);
22344 return Py_BuildValue((char *)"");
22345}
22346static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
22347 PyObject *resultobj;
22348 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22349 wxFrame *arg2 = (wxFrame *) 0 ;
22350 wxString *arg3 = 0 ;
22351 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22352 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22353 wxSize const &arg5_defvalue = wxDefaultSize ;
22354 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22355 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
22356 wxString const &arg7_defvalue = wxPyFrameNameStr ;
22357 wxString *arg7 = (wxString *) &arg7_defvalue ;
22358 wxPyPreviewFrame *result;
423f194a 22359 bool temp3 = False ;
d14a1e28
RD
22360 wxPoint temp4 ;
22361 wxSize temp5 ;
423f194a 22362 bool temp7 = False ;
d14a1e28
RD
22363 PyObject * obj0 = 0 ;
22364 PyObject * obj1 = 0 ;
22365 PyObject * obj2 = 0 ;
22366 PyObject * obj3 = 0 ;
22367 PyObject * obj4 = 0 ;
8edf1c75 22368 PyObject * obj5 = 0 ;
d14a1e28
RD
22369 PyObject * obj6 = 0 ;
22370 char *kwnames[] = {
22371 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22372 };
22373
8edf1c75 22374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28
RD
22375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22376 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22377 {
22378 arg3 = wxString_in_helper(obj2);
22379 if (arg3 == NULL) SWIG_fail;
423f194a 22380 temp3 = True;
d14a1e28
RD
22381 }
22382 if (obj3) {
22383 {
22384 arg4 = &temp4;
22385 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22386 }
22387 }
22388 if (obj4) {
22389 {
22390 arg5 = &temp5;
22391 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22392 }
22393 }
8edf1c75
RD
22394 if (obj5) {
22395 {
22396 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22397 if (PyErr_Occurred()) SWIG_fail;
22398 }
22399 }
d14a1e28
RD
22400 if (obj6) {
22401 {
22402 arg7 = wxString_in_helper(obj6);
22403 if (arg7 == NULL) SWIG_fail;
423f194a 22404 temp7 = True;
d14a1e28
RD
22405 }
22406 }
22407 {
22408 PyThreadState* __tstate = wxPyBeginAllowThreads();
22409 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22410
22411 wxPyEndAllowThreads(__tstate);
22412 if (PyErr_Occurred()) SWIG_fail;
22413 }
22414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
22415 {
22416 if (temp3)
22417 delete arg3;
22418 }
22419 {
22420 if (temp7)
22421 delete arg7;
22422 }
22423 return resultobj;
22424 fail:
22425 {
22426 if (temp3)
22427 delete arg3;
22428 }
22429 {
22430 if (temp7)
22431 delete arg7;
22432 }
22433 return NULL;
22434}
22435
22436
22437static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22438 PyObject *resultobj;
22439 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22440 PyObject *arg2 = (PyObject *) 0 ;
22441 PyObject *arg3 = (PyObject *) 0 ;
22442 PyObject * obj0 = 0 ;
22443 PyObject * obj1 = 0 ;
22444 PyObject * obj2 = 0 ;
22445 char *kwnames[] = {
22446 (char *) "self",(char *) "self",(char *) "_class", NULL
22447 };
22448
22449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22451 arg2 = obj1;
22452 arg3 = obj2;
22453 {
22454 PyThreadState* __tstate = wxPyBeginAllowThreads();
22455 (arg1)->_setCallbackInfo(arg2,arg3);
22456
22457 wxPyEndAllowThreads(__tstate);
22458 if (PyErr_Occurred()) SWIG_fail;
22459 }
22460 Py_INCREF(Py_None); resultobj = Py_None;
22461 return resultobj;
22462 fail:
22463 return NULL;
22464}
22465
22466
22467static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22468 PyObject *resultobj;
22469 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22470 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
22471 PyObject * obj0 = 0 ;
22472 PyObject * obj1 = 0 ;
22473 char *kwnames[] = {
22474 (char *) "self",(char *) "canvas", NULL
22475 };
22476
22477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
22478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22479 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22480 {
22481 PyThreadState* __tstate = wxPyBeginAllowThreads();
22482 (arg1)->SetPreviewCanvas(arg2);
22483
22484 wxPyEndAllowThreads(__tstate);
22485 if (PyErr_Occurred()) SWIG_fail;
22486 }
22487 Py_INCREF(Py_None); resultobj = Py_None;
22488 return resultobj;
22489 fail:
22490 return NULL;
22491}
22492
22493
22494static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22495 PyObject *resultobj;
22496 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22497 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
22498 PyObject * obj0 = 0 ;
22499 PyObject * obj1 = 0 ;
22500 char *kwnames[] = {
22501 (char *) "self",(char *) "bar", NULL
22502 };
22503
22504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
22505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22506 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22507 {
22508 PyThreadState* __tstate = wxPyBeginAllowThreads();
22509 (arg1)->SetControlBar(arg2);
22510
22511 wxPyEndAllowThreads(__tstate);
22512 if (PyErr_Occurred()) SWIG_fail;
22513 }
22514 Py_INCREF(Py_None); resultobj = Py_None;
22515 return resultobj;
22516 fail:
22517 return NULL;
22518}
22519
22520
22521static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
22522 PyObject *resultobj;
22523 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22524 PyObject * obj0 = 0 ;
22525 char *kwnames[] = {
22526 (char *) "self", NULL
22527 };
22528
22529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
22530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22531 {
22532 PyThreadState* __tstate = wxPyBeginAllowThreads();
22533 (arg1)->base_Initialize();
22534
22535 wxPyEndAllowThreads(__tstate);
22536 if (PyErr_Occurred()) SWIG_fail;
22537 }
22538 Py_INCREF(Py_None); resultobj = Py_None;
22539 return resultobj;
22540 fail:
22541 return NULL;
22542}
22543
22544
22545static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
22546 PyObject *resultobj;
22547 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22548 PyObject * obj0 = 0 ;
22549 char *kwnames[] = {
22550 (char *) "self", NULL
22551 };
22552
22553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
22554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22555 {
22556 PyThreadState* __tstate = wxPyBeginAllowThreads();
22557 (arg1)->base_CreateCanvas();
22558
22559 wxPyEndAllowThreads(__tstate);
22560 if (PyErr_Occurred()) SWIG_fail;
22561 }
22562 Py_INCREF(Py_None); resultobj = Py_None;
22563 return resultobj;
22564 fail:
22565 return NULL;
22566}
22567
22568
22569static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22570 PyObject *resultobj;
22571 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
22572 PyObject * obj0 = 0 ;
22573 char *kwnames[] = {
22574 (char *) "self", NULL
22575 };
22576
22577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
22578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22579 {
22580 PyThreadState* __tstate = wxPyBeginAllowThreads();
22581 (arg1)->base_CreateControlBar();
22582
22583 wxPyEndAllowThreads(__tstate);
22584 if (PyErr_Occurred()) SWIG_fail;
22585 }
22586 Py_INCREF(Py_None); resultobj = Py_None;
22587 return resultobj;
22588 fail:
22589 return NULL;
22590}
22591
22592
22593static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
22594 PyObject *obj;
22595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22596 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
22597 Py_INCREF(obj);
22598 return Py_BuildValue((char *)"");
22599}
22600static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
22601 PyObject *resultobj;
22602 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
22603 long arg2 ;
22604 wxWindow *arg3 = (wxWindow *) 0 ;
22605 wxPoint const &arg4_defvalue = wxDefaultPosition ;
22606 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
22607 wxSize const &arg5_defvalue = wxDefaultSize ;
22608 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
22609 long arg6 = (long) 0 ;
22610 wxString const &arg7_defvalue = wxPyPanelNameStr ;
22611 wxString *arg7 = (wxString *) &arg7_defvalue ;
22612 wxPyPreviewControlBar *result;
22613 wxPoint temp4 ;
22614 wxSize temp5 ;
423f194a 22615 bool temp7 = False ;
d14a1e28 22616 PyObject * obj0 = 0 ;
8edf1c75 22617 PyObject * obj1 = 0 ;
d14a1e28
RD
22618 PyObject * obj2 = 0 ;
22619 PyObject * obj3 = 0 ;
22620 PyObject * obj4 = 0 ;
8edf1c75 22621 PyObject * obj5 = 0 ;
d14a1e28
RD
22622 PyObject * obj6 = 0 ;
22623 char *kwnames[] = {
22624 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22625 };
22626
8edf1c75 22627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) goto fail;
d14a1e28 22628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22629 {
22630 arg2 = (long) SWIG_PyObj_AsLong(obj1);
22631 if (PyErr_Occurred()) SWIG_fail;
22632 }
d14a1e28
RD
22633 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22634 if (obj3) {
22635 {
22636 arg4 = &temp4;
22637 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
22638 }
22639 }
22640 if (obj4) {
22641 {
22642 arg5 = &temp5;
22643 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
22644 }
22645 }
8edf1c75
RD
22646 if (obj5) {
22647 {
22648 arg6 = (long) SWIG_PyObj_AsLong(obj5);
22649 if (PyErr_Occurred()) SWIG_fail;
22650 }
22651 }
d14a1e28
RD
22652 if (obj6) {
22653 {
22654 arg7 = wxString_in_helper(obj6);
22655 if (arg7 == NULL) SWIG_fail;
423f194a 22656 temp7 = True;
d14a1e28
RD
22657 }
22658 }
22659 {
22660 PyThreadState* __tstate = wxPyBeginAllowThreads();
22661 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
22662
22663 wxPyEndAllowThreads(__tstate);
22664 if (PyErr_Occurred()) SWIG_fail;
22665 }
22666 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
22667 {
22668 if (temp7)
22669 delete arg7;
22670 }
22671 return resultobj;
22672 fail:
22673 {
22674 if (temp7)
22675 delete arg7;
22676 }
22677 return NULL;
22678}
22679
22680
22681static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
22682 PyObject *resultobj;
22683 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22684 PyObject *arg2 = (PyObject *) 0 ;
22685 PyObject *arg3 = (PyObject *) 0 ;
22686 PyObject * obj0 = 0 ;
22687 PyObject * obj1 = 0 ;
22688 PyObject * obj2 = 0 ;
22689 char *kwnames[] = {
22690 (char *) "self",(char *) "self",(char *) "_class", NULL
22691 };
22692
22693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
22694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22695 arg2 = obj1;
22696 arg3 = obj2;
22697 {
22698 PyThreadState* __tstate = wxPyBeginAllowThreads();
22699 (arg1)->_setCallbackInfo(arg2,arg3);
22700
22701 wxPyEndAllowThreads(__tstate);
22702 if (PyErr_Occurred()) SWIG_fail;
22703 }
22704 Py_INCREF(Py_None); resultobj = Py_None;
22705 return resultobj;
22706 fail:
22707 return NULL;
22708}
22709
22710
22711static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
22712 PyObject *resultobj;
22713 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22714 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
22715 PyObject * obj0 = 0 ;
22716 PyObject * obj1 = 0 ;
22717 char *kwnames[] = {
22718 (char *) "self",(char *) "preview", NULL
22719 };
22720
22721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
22722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22723 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22724 {
22725 PyThreadState* __tstate = wxPyBeginAllowThreads();
22726 (arg1)->SetPrintPreview(arg2);
22727
22728 wxPyEndAllowThreads(__tstate);
22729 if (PyErr_Occurred()) SWIG_fail;
22730 }
22731 Py_INCREF(Py_None); resultobj = Py_None;
22732 return resultobj;
22733 fail:
22734 return NULL;
22735}
22736
22737
22738static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
22739 PyObject *resultobj;
22740 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22741 PyObject * obj0 = 0 ;
22742 char *kwnames[] = {
22743 (char *) "self", NULL
22744 };
22745
22746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
22747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
22748 {
22749 PyThreadState* __tstate = wxPyBeginAllowThreads();
22750 (arg1)->base_CreateButtons();
22751
22752 wxPyEndAllowThreads(__tstate);
22753 if (PyErr_Occurred()) SWIG_fail;
22754 }
22755 Py_INCREF(Py_None); resultobj = Py_None;
22756 return resultobj;
22757 fail:
22758 return NULL;
22759}
22760
22761
22762static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
22763 PyObject *resultobj;
22764 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
22765 int arg2 ;
22766 PyObject * obj0 = 0 ;
8edf1c75 22767 PyObject * obj1 = 0 ;
d14a1e28
RD
22768 char *kwnames[] = {
22769 (char *) "self",(char *) "zoom", NULL
22770 };
22771
8edf1c75 22772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&obj1)) goto fail;
d14a1e28 22773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8edf1c75
RD
22774 {
22775 arg2 = (int) SWIG_PyObj_AsInt(obj1);
22776 if (PyErr_Occurred()) SWIG_fail;
22777 }
d14a1e28
RD
22778 {
22779 PyThreadState* __tstate = wxPyBeginAllowThreads();
22780 (arg1)->base_SetZoomControl(arg2);
22781
22782 wxPyEndAllowThreads(__tstate);
22783 if (PyErr_Occurred()) SWIG_fail;
22784 }
22785 Py_INCREF(Py_None); resultobj = Py_None;
22786 return resultobj;
22787 fail:
22788 return NULL;
22789}
22790
22791
22792static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
22793 PyObject *obj;
22794 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
22795 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
22796 Py_INCREF(obj);
22797 return Py_BuildValue((char *)"");
22798}
22799static PyMethodDef SwigMethods[] = {
22800 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
22801 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
22802 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
22803 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
22804 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
22805 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22806 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
22807 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
22808 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
22809 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
22810 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22811 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
22812 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
22813 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
22814 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
22815 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
22816 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
22817 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
22818 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
22819 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
22820 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
22821 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
22822 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
22823 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22824 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
22825 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
22826 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
22827 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
d14a1e28
RD
22828 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
22829 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
22830 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
22831 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
22832 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
22833 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
22834 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
22835 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
22836 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
22837 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
22838 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
22839 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
22840 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
22841 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
22842 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
22843 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
22844 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
22845 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
22846 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
22847 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
22848 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
22849 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
22850 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
22851 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
22852 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
22853 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22854 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22855 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22856 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22857 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22858 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
22859 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
22860 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
22861 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
22862 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
22863 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
22864 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
22865 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
22866 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
22867 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
22868 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
22869 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
22870 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
22871 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
22872 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
22873 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
22874 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
22875 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
22876 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
22877 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
22878 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
22879 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
22880 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
22881 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
22882 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
22883 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
22884 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
22885 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
22886 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
22887 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
22888 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
22889 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
22890 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
22891 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
22892 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
22893 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22894 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
22895 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
22896 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
22897 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
22898 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
22899 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
22900 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
22901 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
22902 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
22903 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
22904 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
22905 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
22906 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
22907 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
22908 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
22909 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
22910 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
22911 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
22912 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
22913 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
22914 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
22915 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
22916 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
22917 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
22918 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
22919 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
22920 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
22921 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
22922 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22923 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22924 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22925 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
22926 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22927 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22928 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22929 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
22930 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
22931 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
22932 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
22933 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
22934 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
22935 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
22936 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
22937 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
22938 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
22939 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
22940 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
22941 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
22942 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
22943 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
22944 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
22945 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
22946 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22947 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
22948 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22949 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
22950 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22951 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22952 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
22953 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
22954 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22955 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22956 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
22957 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
22958 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
22959 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
22960 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
22961 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
22962 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
22963 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
22964 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
22965 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
22966 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
22967 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
22968 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
22969 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
22970 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22971 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
22972 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22973 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22974 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
22975 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
22976 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22977 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22978 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22979 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22980 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
22981 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
22982 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
22983 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
22984 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
22985 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
22986 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
22987 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22988 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
22989 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
22990 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
22991 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
22992 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
22993 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
22994 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
22995 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
22996 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22997 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
22998 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
22999 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
23000 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
23001 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
23002 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
23003 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
23004 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
23005 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
23006 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
23007 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
23008 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
23009 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23010 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
23011 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
23012 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
23013 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
23014 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
23015 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
23016 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
23017 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
23018 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
23019 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23020 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
23021 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
23022 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
23023 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
23024 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
23025 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
23026 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
23027 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
23028 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
23029 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
23030 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
23031 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
23032 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
23033 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
23034 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
23035 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
23036 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
23037 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23038 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
23039 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
23040 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
23041 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
23042 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
23043 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
23044 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
23045 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
23046 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
23047 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
23048 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
23049 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
23050 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
23051 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
23052 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
23053 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
23054 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
23055 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
23056 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
23057 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
23058 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
23059 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
23060 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
23061 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
23062 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
23063 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23064 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
23065 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
23066 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
23067 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
23068 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
23069 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
23070 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
23071 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
23072 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
23073 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
23074 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
23075 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
23076 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
23077 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
23078 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
23079 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
23080 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
23081 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
23082 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
23083 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
23084 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
23085 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
23086 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
23087 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
23088 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
23089 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23090 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
23091 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
23092 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
23093 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
23094 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
23095 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
23096 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
23097 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23098 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
23099 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
23100 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
23101 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
23102 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
23103 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
23104 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
23105 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
23106 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
23107 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
23108 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
23109 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
23110 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
23111 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
23112 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
23113 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
23114 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
23115 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
23116 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
23117 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
23118 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
23119 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
23120 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
23121 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
23122 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
23123 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
23124 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
23125 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23126 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
23127 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
23128 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
23129 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
23130 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23131 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
23132 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
23133 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
23134 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
23135 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
23136 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
23137 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
23138 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
23139 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
23140 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
23141 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
23142 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
23143 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
23144 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
23145 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
23146 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
23147 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
23148 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
23149 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
23150 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23151 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
23152 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
23153 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23154 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
23155 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
23156 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
23157 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
23158 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
23159 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
23160 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
23161 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
23162 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
23163 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
23164 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
23165 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
23166 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
23167 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
23168 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
23169 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
23170 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
23171 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
23172 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
23173 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
23174 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
23175 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
23176 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
23177 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
23178 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
23179 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
23180 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
23181 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
23182 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
23183 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
23184 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
23185 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
23186 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
23187 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
23188 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
23189 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
23190 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
23191 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
23192 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
23193 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
23194 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
23195 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
23196 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
23197 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
23198 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
23199 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
23200 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
23201 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
23202 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
23203 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
23204 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
23205 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23206 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
23207 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
23208 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
23209 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
23210 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23211 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23212 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23213 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23214 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23215 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23216 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23217 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23218 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23219 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23220 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23221 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23222 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23223 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
23224 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23225 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23226 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23227 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23228 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23229 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
23230 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
23231 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23232 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
23233 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
23234 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
23235 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23236 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
23237 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
23238 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
23239 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
23240 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
23241 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
23242 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
23243 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
23244 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
23245 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
23246 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
23247 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
23248 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
23249 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
23250 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
23251 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
23252 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
23253 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23254 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23255 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
23256 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
23257 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
23258 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
23259 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
23260 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23261 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23262 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
23263 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23264 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23265 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
23266 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
23267 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
23268 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
23269 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23270 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23271 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
23272 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23273 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23274 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23275 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
23276 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23277 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23278 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23279 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23280 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23281 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
23282 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
23283 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
23284 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
23285 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
23286 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
23287 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
23288 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
23289 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
23290 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
23291 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
23292 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
23293 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
db914595
RD
23294 { (char *)"PrintData_GetOutputStream", (PyCFunction) _wrap_PrintData_GetOutputStream, METH_VARARGS | METH_KEYWORDS },
23295 { (char *)"PrintData_SetOutputStream", (PyCFunction) _wrap_PrintData_SetOutputStream, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
23296 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
23297 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23298 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
23299 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23300 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
23301 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
23302 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
23303 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
23304 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23305 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
23306 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
23307 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
23308 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
23309 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23310 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23311 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23312 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23313 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23314 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23315 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
23316 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
23317 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23318 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23319 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
23320 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
23321 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23322 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23323 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
23324 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
23325 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
23326 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
23327 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23328 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
23329 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
23330 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
23331 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23332 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
23333 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
23334 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
23335 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
23336 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
23337 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23338 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23339 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
23340 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
23341 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
23342 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
23343 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23344 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23345 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
23346 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
23347 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
23348 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
23349 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
23350 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
23351 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
23352 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
23353 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
23354 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
23355 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23356 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
23357 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23358 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
23359 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
23360 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
23361 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
23362 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
23363 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
23364 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
23365 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
23366 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
23367 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23368 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23369 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
23370 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
23371 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
23372 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
23373 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
23374 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
23375 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23376 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
23377 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
23378 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
23379 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
23380 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
23381 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
23382 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
23383 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
23384 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23385 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
23386 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
23387 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
d14a1e28 23388 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
44127b65 23389 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
23390 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23391 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
23392 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23393 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
23394 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23395 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
23396 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
23397 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
23398 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
23399 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
23400 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
23401 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
23402 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
d14a1e28 23403 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
44127b65 23404 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
23405 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
23406 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23407 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
23408 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
23409 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
23410 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23411 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23412 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
23413 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
23414 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23415 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
23416 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23417 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23418 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
23419 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
23420 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
23421 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
23422 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
23423 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
23424 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
23425 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23426 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23427 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
23428 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
23429 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
23430 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
23431 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
23432 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
23433 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
23434 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
23435 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23436 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
23437 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
23438 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
23439 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
23440 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
23441 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
23442 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
23443 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
23444 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
23445 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
23446 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23447 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
23448 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
23449 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23450 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
23451 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
23452 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
23453 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
23454 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
23455 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
23456 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
23457 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
23458 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
23459 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23460 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
23461 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
23462 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
23463 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
23464 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
23465 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
23466 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
23467 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
23468 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
23469 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
23470 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
23471 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
23472 { NULL, NULL }
23473};
23474
23475
23476/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
23477
23478static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
23479 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23480}
23481static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
23482 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
23483}
23484static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
23485 return (void *)((wxEvent *) ((wxMenuEvent *) x));
23486}
23487static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
23488 return (void *)((wxEvent *) ((wxCloseEvent *) x));
23489}
23490static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
23491 return (void *)((wxEvent *) ((wxMouseEvent *) x));
23492}
23493static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
23494 return (void *)((wxEvent *) ((wxEraseEvent *) x));
23495}
23496static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
23497 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
23498}
23499static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
23500 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23501}
23502static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
23503 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
23504}
23505static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
23506 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
23507}
23508static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
23509 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
23510}
23511static void *_p_wxPyEventTo_p_wxEvent(void *x) {
23512 return (void *)((wxEvent *) ((wxPyEvent *) x));
23513}
23514static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
23515 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
23516}
23517static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
23518 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
23519}
23520static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
23521 return (void *)((wxEvent *) ((wxIdleEvent *) x));
23522}
23523static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
23524 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
23525}
23526static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
23527 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
23528}
23529static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
23530 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
23531}
23532static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
23533 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
23534}
23535static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
23536 return (void *)((wxEvent *) ((wxActivateEvent *) x));
23537}
23538static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
23539 return (void *)((wxEvent *) ((wxSizeEvent *) x));
23540}
23541static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
23542 return (void *)((wxEvent *) ((wxMoveEvent *) x));
23543}
23544static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
23545 return (void *)((wxEvent *) ((wxPaintEvent *) x));
23546}
23547static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
23548 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
23549}
23550static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
23551 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
23552}
23553static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
23554 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
23555}
23556static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
23557 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
23558}
23559static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
23560 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23561}
23562static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
23563 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
23564}
23565static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
23566 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
23567}
23568static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
23569 return (void *)((wxEvent *) ((wxFocusEvent *) x));
23570}
23571static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
23572 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
23573}
23574static void *_p_wxSashEventTo_p_wxEvent(void *x) {
23575 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
23576}
23577static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
23578 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23579}
23580static void *_p_wxShowEventTo_p_wxEvent(void *x) {
23581 return (void *)((wxEvent *) ((wxShowEvent *) x));
23582}
23583static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
23584 return (void *)((wxEvent *) ((wxCommandEvent *) x));
23585}
23586static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
23587 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
23588}
23589static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
23590 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
23591}
23592static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
23593 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
23594}
23595static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
23596 return (void *)((wxEvent *) ((wxKeyEvent *) x));
23597}
23598static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
23599 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
23600}
23601static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
23602 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
23603}
23604static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
23605 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
23606}
23607static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
23608 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23609}
23610static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
23611 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
23612}
23613static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
23614 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23615}
23616static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
23617 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
23618}
23619static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
23620 return (void *)((wxEvtHandler *) ((wxValidator *) x));
23621}
23622static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
23623 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
23624}
23625static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
23626 return (void *)((wxEvtHandler *) ((wxMenu *) x));
23627}
23628static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
23629 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23630}
23631static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
23632 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23633}
23634static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
23635 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23636}
23637static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
23638 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23639}
23640static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
23641 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23642}
23643static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
23644 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23645}
23646static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
23647 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23648}
23649static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
23650 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
23651}
23652static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
23653 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
23654}
23655static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
23656 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
23657}
23658static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
23659 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
23660}
23661static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
23662 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
23663}
23664static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
23665 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
23666}
23667static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
23668 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
23669}
23670static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
23671 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
23672}
23673static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
23674 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
23675}
23676static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
23677 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
23678}
23679static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
23680 return (void *)((wxEvtHandler *) ((wxWindow *) x));
23681}
23682static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
23683 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
23684}
23685static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
23686 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
23687}
23688static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
23689 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
23690}
23691static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
23692 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
23693}
23694static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
23695 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23696}
23697static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
23698 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23699}
23700static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
23701 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23702}
23703static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
23704 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
23705}
23706static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
23707 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
23708}
23709static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
23710 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
23711}
23712static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
23713 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23714}
23715static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
23716 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
23717}
23718static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
23719 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
23720}
23721static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
23722 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
23723}
23724static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
23725 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
23726}
23727static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
23728 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
23729}
23730static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
23731 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
23732}
23733static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
23734 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
23735}
23736static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
23737 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
23738}
23739static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
23740 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
23741}
23742static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
23743 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
23744}
23745static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
23746 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
23747}
23748static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
23749 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
23750}
23751static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
23752 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
23753}
23754static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
23755 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
23756}
23757static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
23758 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
23759}
23760static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
23761 return (void *)((wxFrame *) ((wxProgressDialog *) x));
23762}
23763static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
23764 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
23765}
23766static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
23767 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23768}
23769static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
23770 return (void *)((wxFrame *) ((wxMiniFrame *) x));
23771}
23772static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
23773 return (void *)((wxFrame *) ((wxSplashScreen *) x));
23774}
23775static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
23776 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
23777}
23778static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
23779 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
23780}
23781static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
23782 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
23783}
23784static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
23785 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
23786}
23787static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
23788 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
23789}
23790static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
23791 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
23792}
23793static void *_p_wxSizerItemTo_p_wxObject(void *x) {
23794 return (void *)((wxObject *) ((wxSizerItem *) x));
23795}
23796static void *_p_wxScrollEventTo_p_wxObject(void *x) {
23797 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
23798}
23799static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
23800 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
23801}
23802static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
23803 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
23804}
23805static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
23806 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
23807}
23808static void *_p_wxSizerTo_p_wxObject(void *x) {
23809 return (void *)((wxObject *) ((wxSizer *) x));
23810}
23811static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
23812 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
23813}
23814static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
23815 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
23816}
23817static void *_p_wxPyPanelTo_p_wxObject(void *x) {
23818 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
23819}
23820static void *_p_wxEventTo_p_wxObject(void *x) {
23821 return (void *)((wxObject *) ((wxEvent *) x));
23822}
23823static void *_p_wxFontDataTo_p_wxObject(void *x) {
23824 return (void *)((wxObject *) ((wxFontData *) x));
23825}
23826static void *_p_wxPrintDataTo_p_wxObject(void *x) {
23827 return (void *)((wxObject *) ((wxPrintData *) x));
23828}
23829static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
23830 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
23831}
23832static void *_p_wxGridSizerTo_p_wxObject(void *x) {
23833 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
23834}
23835static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
23836 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
23837}
23838static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
23839 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
23840}
23841static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
23842 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
23843}
23844static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
23845 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
23846}
23847static void *_p_wxPaintEventTo_p_wxObject(void *x) {
23848 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
23849}
23850static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
23851 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
23852}
23853static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
23854 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
23855}
23856static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
23857 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
23858}
23859static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
23860 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
23861}
23862static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
23863 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
23864}
23865static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
23866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
23867}
23868static void *_p_wxControlTo_p_wxObject(void *x) {
23869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
23870}
23871static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
23872 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
23873}
23874static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
23875 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
23876}
23877static void *_p_wxFSFileTo_p_wxObject(void *x) {
23878 return (void *)((wxObject *) ((wxFSFile *) x));
23879}
23880static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
23881 return (void *)((wxObject *) ((wxFindReplaceData *) x));
23882}
23883static void *_p_wxPySizerTo_p_wxObject(void *x) {
23884 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
23885}
23886static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
23887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
23888}
23889static void *_p_wxColourDataTo_p_wxObject(void *x) {
23890 return (void *)((wxObject *) ((wxColourData *) x));
23891}
23892static void *_p_wxPyEventTo_p_wxObject(void *x) {
23893 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
23894}
23895static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
23896 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
23897}
23898static void *_p_wxPyWindowTo_p_wxObject(void *x) {
23899 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
23900}
23901static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
23902 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
23903}
23904static void *_p_wxFileDialogTo_p_wxObject(void *x) {
23905 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
23906}
23907static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
23908 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
23909}
23910static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
23911 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
23912}
23913static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
23914 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
23915}
23916static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
23917 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
23918}
23919static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
23920 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
23921}
23922static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
23923 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
23924}
23925static void *_p_wxShowEventTo_p_wxObject(void *x) {
23926 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
23927}
23928static void *_p_wxPrinterTo_p_wxObject(void *x) {
23929 return (void *)((wxObject *) ((wxPrinter *) x));
23930}
23931static void *_p_wxMenuItemTo_p_wxObject(void *x) {
23932 return (void *)((wxObject *) ((wxMenuItem *) x));
23933}
23934static void *_p_wxIdleEventTo_p_wxObject(void *x) {
23935 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
23936}
23937static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
23938 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
23939}
23940static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
23941 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
23942}
23943static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
23944 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
23945}
23946static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
23947 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
23948}
23949static void *_p_wxSizeEventTo_p_wxObject(void *x) {
23950 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
23951}
23952static void *_p_wxMoveEventTo_p_wxObject(void *x) {
23953 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
23954}
23955static void *_p_wxActivateEventTo_p_wxObject(void *x) {
23956 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
23957}
23958static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
23959 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
23960}
23961static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
23962 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
23963}
23964static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
23965 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
23966}
23967static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
23968 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
23969}
23970static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
23971 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
23972}
23973static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
23974 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
23975}
23976static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
23977 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
23978}
23979static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
23980 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
23981}
23982static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
23983 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
23984}
23985static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
23986 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
23987}
23988static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
23989 return (void *)((wxObject *) ((wxImageHandler *) x));
23990}
23991static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
23992 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
23993}
23994static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
23995 return (void *)((wxObject *) ((wxEvtHandler *) x));
23996}
23997static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
23998 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
23999}
24000static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
24001 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24002}
24003static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
24004 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24005}
24006static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
24007 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
24008}
24009static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
24010 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24011}
24012static void *_p_wxImageTo_p_wxObject(void *x) {
24013 return (void *)((wxObject *) ((wxImage *) x));
24014}
24015static void *_p_wxFrameTo_p_wxObject(void *x) {
24016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
24017}
24018static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
24019 return (void *)((wxObject *) ((wxPyPrintout *) x));
24020}
24021static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
24022 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
24023}
24024static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
24025 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
24026}
24027static void *_p_wxStatusBarTo_p_wxObject(void *x) {
24028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
24029}
24030static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
24031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24032}
24033static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
24034 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24035}
24036static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
24037 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
24038}
24039static void *_p_wxKeyEventTo_p_wxObject(void *x) {
24040 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
24041}
d14a1e28
RD
24042static void *_p_wxWindowTo_p_wxObject(void *x) {
24043 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
24044}
24045static void *_p_wxMenuTo_p_wxObject(void *x) {
24046 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
24047}
24048static void *_p_wxMenuBarTo_p_wxObject(void *x) {
24049 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
24050}
41f1cec7
RD
24051static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
24052 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
24053}
d14a1e28
RD
24054static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
24055 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
24056}
24057static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
24058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
24059}
24060static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
24061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
24062}
24063static void *_p_wxSashWindowTo_p_wxObject(void *x) {
24064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
24065}
24066static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
24067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
24068}
24069static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
24070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
24071}
24072static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
24073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24074}
24075static void *_p_wxTipWindowTo_p_wxObject(void *x) {
24076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24077}
24078static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
24079 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
24080}
24081static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
24082 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
24083}
24084static void *_p_wxSashEventTo_p_wxObject(void *x) {
24085 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
24086}
24087static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
24088 return (void *)((wxObject *) ((wxPrintPreview *) x));
24089}
24090static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
24091 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
24092}
24093static void *_p_wxPanelTo_p_wxObject(void *x) {
24094 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
24095}
24096static void *_p_wxDialogTo_p_wxObject(void *x) {
24097 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
24098}
24099static void *_p_wxColourDialogTo_p_wxObject(void *x) {
24100 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24101}
24102static void *_p_wxDirDialogTo_p_wxObject(void *x) {
24103 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24104}
24105static void *_p_wxFontDialogTo_p_wxObject(void *x) {
24106 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24107}
24108static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
24109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24110}
24111static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
24112 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24113}
24114static void *_p_wxFileSystemTo_p_wxObject(void *x) {
24115 return (void *)((wxObject *) ((wxFileSystem *) x));
24116}
24117static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
24118 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
24119}
24120static void *_p_wxMenuEventTo_p_wxObject(void *x) {
24121 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
24122}
24123static void *_p_wxPyAppTo_p_wxObject(void *x) {
24124 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
24125}
24126static void *_p_wxCloseEventTo_p_wxObject(void *x) {
24127 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
24128}
24129static void *_p_wxMouseEventTo_p_wxObject(void *x) {
24130 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
24131}
24132static void *_p_wxEraseEventTo_p_wxObject(void *x) {
24133 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
24134}
24135static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
24136 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
24137}
24138static void *_p_wxCommandEventTo_p_wxObject(void *x) {
24139 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
24140}
24141static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
24142 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
24143}
24144static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
24145 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24146}
24147static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
24148 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
24149}
24150static void *_p_wxFocusEventTo_p_wxObject(void *x) {
24151 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
24152}
24153static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
24154 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
24155}
24156static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
24157 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
24158}
24159static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
24160 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
24161}
24162static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
24163 return (void *)((wxObject *) ((wxPrintDialogData *) x));
24164}
24165static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
24166 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
24167}
24168static void *_p_wxValidatorTo_p_wxObject(void *x) {
24169 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
24170}
24171static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
24172 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24173}
24174static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
24175 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
24176}
24177static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
24178 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24179}
24180static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
24181 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24182}
24183static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
24184 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24185}
24186static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
24187 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
24188}
24189static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
24190 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
24191}
24192static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
24193 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
24194}
24195static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
24196 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
24197}
24198static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
24199 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
24200}
24201static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
24202 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
24203}
24204static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
24205 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
24206}
24207static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
24208 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
24209}
24210static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
24211 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
24212}
24213static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
24214 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
24215}
24216static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
24217 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
24218}
24219static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
24220 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
24221}
24222static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
24223 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
24224}
24225static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
24226 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
24227}
24228static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
24229 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
24230}
24231static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
24232 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
24233}
24234static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24235 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
24236}
24237static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
24238 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
24239}
24240static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
24241 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
24242}
24243static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24244 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
24245}
24246static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
24247 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24248}
24249static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
24250 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
24251}
24252static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
24253 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
24254}
24255static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
24256 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
24257}
24258static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
24259 return (void *)((wxWindow *) ((wxMenuBar *) x));
24260}
24261static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
24262 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
24263}
24264static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
24265 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
24266}
24267static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
24268 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
24269}
24270static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
24271 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
24272}
24273static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
24274 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
24275}
24276static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
24277 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
24278}
24279static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
24280 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
24281}
24282static void *_p_wxPanelTo_p_wxWindow(void *x) {
24283 return (void *)((wxWindow *) ((wxPanel *) x));
24284}
24285static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
24286 return (void *)((wxWindow *) ((wxStatusBar *) x));
24287}
24288static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
24289 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
24290}
24291static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
24292 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
24293}
24294static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
24295 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
24296}
24297static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
24298 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
24299}
24300static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
24301 return (void *)((wxWindow *) ((wxPopupWindow *) x));
24302}
24303static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
24304 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
24305}
24306static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
24307 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
24308}
24309static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
24310 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
24311}
24312static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
24313 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
24314}
24315static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
24316 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
24317}
24318static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
24319 return (void *)((wxWindow *) ((wxSashWindow *) x));
24320}
24321static void *_p_wxControlTo_p_wxWindow(void *x) {
24322 return (void *)((wxWindow *) ((wxControl *) x));
24323}
24324static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
24325 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
24326}
24327static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
24328 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
24329}
24330static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
24331 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
24332}
24333static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
24334 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
24335}
24336static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
24337 return (void *)((wxWindow *) ((wxPyWindow *) x));
24338}
24339static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
24340 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
24341}
24342static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
24343 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24344}
24345static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
24346 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24347}
24348static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
24349 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
24350}
24351static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
24352 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24353}
24354static void *_p_wxFrameTo_p_wxWindow(void *x) {
24355 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
24356}
24357static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
24358 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
24359}
24360static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
24361 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
24362}
24363static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
24364 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
24365}
24366static void *_p_wxDialogTo_p_wxWindow(void *x) {
24367 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
24368}
24369static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
24370 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
24371}
24372static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
24373 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
24374}
24375static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
24376 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
24377}
24378static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
24379 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
24380}
24381static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
24382 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
24383}
24384static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
24385 return (void *)((wxDialog *) ((wxColourDialog *) x));
24386}
24387static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
24388 return (void *)((wxDialog *) ((wxDirDialog *) x));
24389}
24390static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
24391 return (void *)((wxDialog *) ((wxFontDialog *) x));
24392}
24393static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
24394 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
24395}
24396static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
24397 return (void *)((wxDialog *) ((wxPrintDialog *) x));
24398}
24399static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
24400 return (void *)((wxDialog *) ((wxFileDialog *) x));
24401}
24402static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
24403 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
24404}
24405static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
24406 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
24407}
24408static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
24409 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
24410}
24411static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
24412 return (void *)((wxDialog *) ((wxMessageDialog *) x));
24413}
24414static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
24415 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
24416}
24417static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
24418 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
24419}
24420static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
24421 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
24422}
24423static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
24424 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
24425}
24426static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
24427 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
24428}
24429static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
24430 return (void *)((wxPanel *) ((wxPyPanel *) x));
24431}
24432static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
24433 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
24434}
24435static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
24436 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
24437}
24438static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
24439 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24440}
24441static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
24442 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
24443}
24444static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
24445 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
24446}
24447static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
24448 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
24449}
24450static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
24451 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
24452}
24453static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
24454 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
24455}
24456static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
24457 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
24458}
24459static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
24460 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
24461}
24462static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
24463 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
24464}
24465static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
24466 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
24467}
24468static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
24469 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
24470}
24471static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
24472 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
24473}
24474static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
24475 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
24476}
24477static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
24478static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
24479static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
d14a1e28
RD
24480static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
24481static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
24482static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
24483static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
24484static 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}};
24485static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
24486static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
24487static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
24488static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
24489static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
24490static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
24491static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
24492static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
24493static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
24494static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
24495static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
24496static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
24497static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
24498static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
24499static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
24500static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
24501static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
24502static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
24503static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
24504static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
24505static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
24506static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
24507static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
24508static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
24509static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
24510static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
d14a1e28
RD
24511static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
24512static 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxColourDialog", _p_wxColourDialogTo_p_wxEvtHandler},{"_p_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
24513static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
24514static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
24515static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
24516static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
8edf1c75 24517static swig_type_info _swigt__p_char[] = {{"_p_char", 0, "char *", 0},{"_p_char"},{0}};
d14a1e28
RD
24518static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
24519static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_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}};
24520static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
24521static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
24522static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
24523static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
24524static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
24525static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
24526static 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_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_wxTipWindow", _p_wxTipWindowTo_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}};
db914595 24527static swig_type_info _swigt__p_wxOutputStream[] = {{"_p_wxOutputStream", 0, "wxOutputStream *", 0},{"_p_wxOutputStream"},{0}};
d14a1e28
RD
24528static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
24529static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
24530static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
24531static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
24532static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
d14a1e28
RD
24533static 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}};
24534static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
24535static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPopupWindow},{0}};
24536static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
24537static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_p_wxTopLevelWindow},{"_p_wxDirDialog", _p_wxDirDialogTo_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_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_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}};
24538static 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_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_wxTipWindow", _p_wxTipWindowTo_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_wxDialog", _p_wxDialogTo_p_wxWindow},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_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}};
24539static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
4e760a36 24540static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
d14a1e28
RD
24541static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
24542static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
24543static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
24544static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
24545static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
24546static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
24547static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
24548static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
24549static 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}};
24550static 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}};
db914595 24551static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
d14a1e28
RD
24552static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
24553static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
24554static 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}};
d14a1e28
RD
24555static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
24556static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
24557static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
24558static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
d03fd34d 24559static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
8edf1c75 24560static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
d14a1e28
RD
24561
24562static swig_type_info *swig_types_initial[] = {
24563_swigt__p_wxQueryLayoutInfoEvent,
24564_swigt__p_wxPreviewFrame,
24565_swigt__p_wxPyPreviewFrame,
d14a1e28
RD
24566_swigt__p_wxPyPanel,
24567_swigt__p_wxMenu,
24568_swigt__p_wxPrintData,
24569_swigt__p_wxFontData,
24570_swigt__p_wxEvent,
24571_swigt__p_wxTaskBarIcon,
24572_swigt__p_wxIconBundle,
24573_swigt__p_wxLayoutAlgorithm,
24574_swigt__p_wxFindDialogEvent,
24575_swigt__p_wxPreviewCanvas,
24576_swigt__p_wxFont,
24577_swigt__p_wxSplitterEvent,
24578_swigt__p_wxRegion,
24579_swigt__p_wxFindReplaceData,
24580_swigt__p_int,
24581_swigt__p_wxSize,
24582_swigt__p_wxDC,
24583_swigt__p_wxIcon,
24584_swigt__p_wxMDIChildFrame,
24585_swigt__p_wxColourData,
24586_swigt__p_wxNotifyEvent,
24587_swigt__p_wxPyWindow,
24588_swigt__p_wxSplashScreen,
24589_swigt__p_wxFindReplaceDialog,
24590_swigt__p_wxProgressDialog,
24591_swigt__p_wxMessageDialog,
24592_swigt__p_wxTextEntryDialog,
24593_swigt__p_wxSingleChoiceDialog,
24594_swigt__p_wxMultiChoiceDialog,
24595_swigt__p_wxFileDialog,
24596_swigt__p_wxPrinter,
d14a1e28
RD
24597_swigt__p_wxArrayInt,
24598_swigt__p_wxEvtHandler,
24599_swigt__p_wxCalculateLayoutEvent,
24600_swigt__p_wxPyHtmlListBox,
24601_swigt__p_wxPyVListBox,
24602_swigt__p_wxRect,
8edf1c75 24603_swigt__p_char,
d14a1e28
RD
24604_swigt__p_wxMiniFrame,
24605_swigt__p_wxFrame,
24606_swigt__p_wxPyPrintout,
24607_swigt__p_wxTaskBarIconEvent,
24608_swigt__p_wxScrollWinEvent,
24609_swigt__p_wxStatusBar,
24610_swigt__p_wxMDIParentFrame,
24611_swigt__p_wxPoint,
24612_swigt__p_wxObject,
db914595 24613_swigt__p_wxOutputStream,
d14a1e28
RD
24614_swigt__p_unsigned_long,
24615_swigt__p_wxMDIClientWindow,
24616_swigt__p_wxTipWindow,
24617_swigt__p_wxSashLayoutWindow,
24618_swigt__p_wxSplitterWindow,
d14a1e28
RD
24619_swigt__p_wxPyVScrolledWindow,
24620_swigt__p_wxPyPopupTransientWindow,
24621_swigt__p_wxPopupWindow,
24622_swigt__p_wxSashWindow,
24623_swigt__p_wxTopLevelWindow,
24624_swigt__p_wxWindow,
24625_swigt__p_wxScrolledWindow,
4e760a36 24626_swigt__p_wxSplashScreenWindow,
d14a1e28
RD
24627_swigt__p_wxMenuBar,
24628_swigt__p_wxPrintPreview,
24629_swigt__p_wxSashEvent,
24630_swigt__p_wxString,
24631_swigt__p_wxPyPrintPreview,
24632_swigt__p_wxFontDialog,
24633_swigt__p_wxDirDialog,
24634_swigt__p_wxColourDialog,
24635_swigt__p_wxDialog,
24636_swigt__p_wxPanel,
db914595 24637_swigt__p_wxPageSetupDialog,
d14a1e28
RD
24638_swigt__p_wxPrintDialog,
24639_swigt__p_wxBitmap,
24640_swigt__p_wxCommandEvent,
d14a1e28
RD
24641_swigt__p_wxPreviewControlBar,
24642_swigt__p_wxPyPreviewControlBar,
24643_swigt__p_wxColour,
24644_swigt__p_wxToolBar,
d03fd34d 24645_swigt__p_wxPageSetupDialogData,
8edf1c75 24646_swigt__p_wxPrintDialogData,
d14a1e28
RD
246470
24648};
24649
24650
24651/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
24652
24653static swig_const_info swig_const_table[] = {
d14a1e28
RD
24654{0}};
24655
24656#ifdef __cplusplus
24657}
24658#endif
24659
24660#ifdef __cplusplus
24661extern "C"
24662#endif
24663SWIGEXPORT(void) SWIG_init(void) {
24664 static PyObject *SWIG_globals = 0;
24665 static int typeinit = 0;
24666 PyObject *m, *d;
24667 int i;
24668 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
24669 m = Py_InitModule((char *) SWIG_name, SwigMethods);
24670 d = PyModule_GetDict(m);
24671
24672 if (!typeinit) {
24673 for (i = 0; swig_types_initial[i]; i++) {
24674 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
24675 }
24676 typeinit = 1;
24677 }
24678 SWIG_InstallConstants(d,swig_const_table);
24679
d03fd34d
RD
24680 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
24681 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
24682 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
24683 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
24684 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
8edf1c75
RD
24685 PyDict_SetItemString(d,"FULLSCREEN_NOMENUBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOMENUBAR));
24686 PyDict_SetItemString(d,"FULLSCREEN_NOTOOLBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOTOOLBAR));
24687 PyDict_SetItemString(d,"FULLSCREEN_NOSTATUSBAR", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOSTATUSBAR));
24688 PyDict_SetItemString(d,"FULLSCREEN_NOBORDER", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOBORDER));
24689 PyDict_SetItemString(d,"FULLSCREEN_NOCAPTION", SWIG_PyObj_FromInt((int)wxFULLSCREEN_NOCAPTION));
24690 PyDict_SetItemString(d,"FULLSCREEN_ALL", SWIG_PyObj_FromInt((int)wxFULLSCREEN_ALL));
24691 PyDict_SetItemString(d,"TOPLEVEL_EX_DIALOG", SWIG_PyObj_FromInt((int)wxTOPLEVEL_EX_DIALOG));
24692 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_PARENT", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_PARENT));
24693 PyDict_SetItemString(d,"SPLASH_CENTRE_ON_SCREEN", SWIG_PyObj_FromInt((int)wxSPLASH_CENTRE_ON_SCREEN));
24694 PyDict_SetItemString(d,"SPLASH_NO_CENTRE", SWIG_PyObj_FromInt((int)wxSPLASH_NO_CENTRE));
24695 PyDict_SetItemString(d,"SPLASH_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_TIMEOUT));
24696 PyDict_SetItemString(d,"SPLASH_NO_TIMEOUT", SWIG_PyObj_FromInt((int)wxSPLASH_NO_TIMEOUT));
d03fd34d 24697 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
8edf1c75
RD
24698 PyDict_SetItemString(d,"SP_NOBORDER", SWIG_PyObj_FromInt((int)wxSP_NOBORDER));
24699 PyDict_SetItemString(d,"SP_NOSASH", SWIG_PyObj_FromInt((int)wxSP_NOSASH));
24700 PyDict_SetItemString(d,"SP_PERMIT_UNSPLIT", SWIG_PyObj_FromInt((int)wxSP_PERMIT_UNSPLIT));
24701 PyDict_SetItemString(d,"SP_LIVE_UPDATE", SWIG_PyObj_FromInt((int)wxSP_LIVE_UPDATE));
24702 PyDict_SetItemString(d,"SP_3DSASH", SWIG_PyObj_FromInt((int)wxSP_3DSASH));
24703 PyDict_SetItemString(d,"SP_3DBORDER", SWIG_PyObj_FromInt((int)wxSP_3DBORDER));
24704 PyDict_SetItemString(d,"SP_BORDER", SWIG_PyObj_FromInt((int)wxSP_BORDER));
24705 PyDict_SetItemString(d,"SP_3D", SWIG_PyObj_FromInt((int)wxSP_3D));
24706 PyDict_SetItemString(d,"SPLIT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxSPLIT_HORIZONTAL));
24707 PyDict_SetItemString(d,"SPLIT_VERTICAL", SWIG_PyObj_FromInt((int)wxSPLIT_VERTICAL));
24708 PyDict_SetItemString(d,"SPLIT_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_NONE));
24709 PyDict_SetItemString(d,"SPLIT_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_DRAGGING));
24710 PyDict_SetItemString(d,"SPLIT_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSPLIT_DRAG_LEFT_DOWN));
d14a1e28
RD
24711 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
24712 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
24713 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
24714 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
d03fd34d
RD
24715 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
24716 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
8edf1c75
RD
24717 PyDict_SetItemString(d,"SASH_DRAG_NONE", SWIG_PyObj_FromInt((int)wxSASH_DRAG_NONE));
24718 PyDict_SetItemString(d,"SASH_DRAG_DRAGGING", SWIG_PyObj_FromInt((int)wxSASH_DRAG_DRAGGING));
24719 PyDict_SetItemString(d,"SASH_DRAG_LEFT_DOWN", SWIG_PyObj_FromInt((int)wxSASH_DRAG_LEFT_DOWN));
24720 PyDict_SetItemString(d,"SW_NOBORDER", SWIG_PyObj_FromInt((int)wxSW_NOBORDER));
24721 PyDict_SetItemString(d,"SW_BORDER", SWIG_PyObj_FromInt((int)wxSW_BORDER));
24722 PyDict_SetItemString(d,"SW_3DSASH", SWIG_PyObj_FromInt((int)wxSW_3DSASH));
24723 PyDict_SetItemString(d,"SW_3DBORDER", SWIG_PyObj_FromInt((int)wxSW_3DBORDER));
24724 PyDict_SetItemString(d,"SW_3D", SWIG_PyObj_FromInt((int)wxSW_3D));
24725 PyDict_SetItemString(d,"SASH_TOP", SWIG_PyObj_FromInt((int)wxSASH_TOP));
24726 PyDict_SetItemString(d,"SASH_RIGHT", SWIG_PyObj_FromInt((int)wxSASH_RIGHT));
24727 PyDict_SetItemString(d,"SASH_BOTTOM", SWIG_PyObj_FromInt((int)wxSASH_BOTTOM));
24728 PyDict_SetItemString(d,"SASH_LEFT", SWIG_PyObj_FromInt((int)wxSASH_LEFT));
24729 PyDict_SetItemString(d,"SASH_NONE", SWIG_PyObj_FromInt((int)wxSASH_NONE));
24730 PyDict_SetItemString(d,"SASH_STATUS_OK", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OK));
24731 PyDict_SetItemString(d,"SASH_STATUS_OUT_OF_RANGE", SWIG_PyObj_FromInt((int)wxSASH_STATUS_OUT_OF_RANGE));
d14a1e28 24732 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
8edf1c75
RD
24733 PyDict_SetItemString(d,"LAYOUT_HORIZONTAL", SWIG_PyObj_FromInt((int)wxLAYOUT_HORIZONTAL));
24734 PyDict_SetItemString(d,"LAYOUT_VERTICAL", SWIG_PyObj_FromInt((int)wxLAYOUT_VERTICAL));
24735 PyDict_SetItemString(d,"LAYOUT_NONE", SWIG_PyObj_FromInt((int)wxLAYOUT_NONE));
24736 PyDict_SetItemString(d,"LAYOUT_TOP", SWIG_PyObj_FromInt((int)wxLAYOUT_TOP));
24737 PyDict_SetItemString(d,"LAYOUT_LEFT", SWIG_PyObj_FromInt((int)wxLAYOUT_LEFT));
24738 PyDict_SetItemString(d,"LAYOUT_RIGHT", SWIG_PyObj_FromInt((int)wxLAYOUT_RIGHT));
24739 PyDict_SetItemString(d,"LAYOUT_BOTTOM", SWIG_PyObj_FromInt((int)wxLAYOUT_BOTTOM));
24740 PyDict_SetItemString(d,"LAYOUT_LENGTH_Y", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_Y));
24741 PyDict_SetItemString(d,"LAYOUT_LENGTH_X", SWIG_PyObj_FromInt((int)wxLAYOUT_LENGTH_X));
24742 PyDict_SetItemString(d,"LAYOUT_MRU_LENGTH", SWIG_PyObj_FromInt((int)wxLAYOUT_MRU_LENGTH));
24743 PyDict_SetItemString(d,"LAYOUT_QUERY", SWIG_PyObj_FromInt((int)wxLAYOUT_QUERY));
d14a1e28
RD
24744 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
24745 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
d03fd34d 24746 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
d14a1e28
RD
24747
24748 // Map renamed classes back to their common name for OOR
24749 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
24750 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
24751 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
24752
24753 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
24754 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
24755 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
24756 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
24757 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
24758 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
24759 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
d03fd34d
RD
24760 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
24761 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
24762 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
24763 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
24764 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
24765 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
8edf1c75
RD
24766 PyDict_SetItemString(d,"CHOICEDLG_STYLE", SWIG_PyObj_FromInt((int)wxCHOICEDLG_STYLE));
24767 PyDict_SetItemString(d,"FR_DOWN", SWIG_PyObj_FromInt((int)wxFR_DOWN));
24768 PyDict_SetItemString(d,"FR_WHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_WHOLEWORD));
24769 PyDict_SetItemString(d,"FR_MATCHCASE", SWIG_PyObj_FromInt((int)wxFR_MATCHCASE));
24770 PyDict_SetItemString(d,"FR_REPLACEDIALOG", SWIG_PyObj_FromInt((int)wxFR_REPLACEDIALOG));
24771 PyDict_SetItemString(d,"FR_NOUPDOWN", SWIG_PyObj_FromInt((int)wxFR_NOUPDOWN));
24772 PyDict_SetItemString(d,"FR_NOMATCHCASE", SWIG_PyObj_FromInt((int)wxFR_NOMATCHCASE));
24773 PyDict_SetItemString(d,"FR_NOWHOLEWORD", SWIG_PyObj_FromInt((int)wxFR_NOWHOLEWORD));
d14a1e28
RD
24774 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
24775 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
24776 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
24777 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
24778 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
8edf1c75
RD
24779 PyDict_SetItemString(d,"IDM_WINDOWTILE", SWIG_PyObj_FromInt((int)4001));
24780 PyDict_SetItemString(d,"IDM_WINDOWTILEHOR", SWIG_PyObj_FromInt((int)4001));
24781 PyDict_SetItemString(d,"IDM_WINDOWCASCADE", SWIG_PyObj_FromInt((int)4002));
24782 PyDict_SetItemString(d,"IDM_WINDOWICONS", SWIG_PyObj_FromInt((int)4003));
24783 PyDict_SetItemString(d,"IDM_WINDOWNEXT", SWIG_PyObj_FromInt((int)4004));
24784 PyDict_SetItemString(d,"IDM_WINDOWTILEVERT", SWIG_PyObj_FromInt((int)4005));
24785 PyDict_SetItemString(d,"FIRST_MDI_CHILD", SWIG_PyObj_FromInt((int)4100));
24786 PyDict_SetItemString(d,"LAST_MDI_CHILD", SWIG_PyObj_FromInt((int)4600));
d03fd34d
RD
24787 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
24788 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
8edf1c75
RD
24789 PyDict_SetItemString(d,"PRINT_MODE_NONE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_NONE));
24790 PyDict_SetItemString(d,"PRINT_MODE_PREVIEW", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PREVIEW));
24791 PyDict_SetItemString(d,"PRINT_MODE_FILE", SWIG_PyObj_FromInt((int)wxPRINT_MODE_FILE));
24792 PyDict_SetItemString(d,"PRINT_MODE_PRINTER", SWIG_PyObj_FromInt((int)wxPRINT_MODE_PRINTER));
db914595 24793 PyDict_SetItemString(d,"PRINT_MODE_STREAM", SWIG_PyObj_FromInt((int)wxPRINT_MODE_STREAM));
8edf1c75
RD
24794 PyDict_SetItemString(d,"PRINTER_NO_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_NO_ERROR));
24795 PyDict_SetItemString(d,"PRINTER_CANCELLED", SWIG_PyObj_FromInt((int)wxPRINTER_CANCELLED));
24796 PyDict_SetItemString(d,"PRINTER_ERROR", SWIG_PyObj_FromInt((int)wxPRINTER_ERROR));
24797 PyDict_SetItemString(d,"PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxPREVIEW_PRINT));
24798 PyDict_SetItemString(d,"PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxPREVIEW_PREVIOUS));
24799 PyDict_SetItemString(d,"PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxPREVIEW_NEXT));
24800 PyDict_SetItemString(d,"PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxPREVIEW_ZOOM));
24801 PyDict_SetItemString(d,"PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxPREVIEW_FIRST));
24802 PyDict_SetItemString(d,"PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxPREVIEW_LAST));
24803 PyDict_SetItemString(d,"PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxPREVIEW_GOTO));
24804 PyDict_SetItemString(d,"PREVIEW_DEFAULT", SWIG_PyObj_FromInt((int)wxPREVIEW_DEFAULT));
24805 PyDict_SetItemString(d,"ID_PREVIEW_CLOSE", SWIG_PyObj_FromInt((int)wxID_PREVIEW_CLOSE));
24806 PyDict_SetItemString(d,"ID_PREVIEW_NEXT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_NEXT));
24807 PyDict_SetItemString(d,"ID_PREVIEW_PREVIOUS", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PREVIOUS));
24808 PyDict_SetItemString(d,"ID_PREVIEW_PRINT", SWIG_PyObj_FromInt((int)wxID_PREVIEW_PRINT));
24809 PyDict_SetItemString(d,"ID_PREVIEW_ZOOM", SWIG_PyObj_FromInt((int)wxID_PREVIEW_ZOOM));
24810 PyDict_SetItemString(d,"ID_PREVIEW_FIRST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_FIRST));
24811 PyDict_SetItemString(d,"ID_PREVIEW_LAST", SWIG_PyObj_FromInt((int)wxID_PREVIEW_LAST));
24812 PyDict_SetItemString(d,"ID_PREVIEW_GOTO", SWIG_PyObj_FromInt((int)wxID_PREVIEW_GOTO));
d14a1e28
RD
24813
24814 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
24815
24816}
24817