]> 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).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
48
49
50/***********************************************************************
51 * common.swg for wxPython
52 *
53 * Include only the function prototypes and such from SWIG's common.swg,
54 * but not the runtime functions themselves. This helps keep the
55 * wrapper files clean of unnecessary stuff that is in the libpy.c file
56 * anyway.
57 *
58 ************************************************************************/
59
60#include <string.h>
61
62#if defined(_WIN32) || defined(__WIN32__)
63# if defined(_MSC_VER)
64# if defined(STATIC_LINKED)
65# define SWIGEXPORT(a) a
66# define SWIGIMPORT(a) extern a
67# else
68# define SWIGEXPORT(a) __declspec(dllexport) a
69# define SWIGIMPORT(a) extern a
70# endif
71# else
72# if defined(__BORLANDC__)
73# define SWIGEXPORT(a) a _export
74# define SWIGIMPORT(a) a _export
75# else
76# define SWIGEXPORT(a) a
77# define SWIGIMPORT(a) a
78# endif
79# endif
80#else
81# define SWIGEXPORT(a) a
82# define SWIGIMPORT(a) a
83#endif
84
85#ifdef SWIG_GLOBAL
86#define SWIGRUNTIME(a) SWIGEXPORT(a)
87#else
88#define SWIGRUNTIME(a) static a
89#endif
90
91
92#ifdef __cplusplus
93extern "C" {
94#endif
95
96typedef void *(*swig_converter_func)(void *);
97typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99typedef struct swig_type_info {
100 const char *name;
101 swig_converter_func converter;
102 const char *str;
103 void *clientdata;
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107} swig_type_info;
108
109
110SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
117
118
119#ifdef __cplusplus
120}
121#endif
122
123/***********************************************************************
124 * pyrun.swg for wxPython
125 *
126 * Include only the function prototypes and such from SWIG's pyrun.swg,
127 * but not the runtime functions themselves. This helps keep the
128 * wrapper files clean of unnecessary stuff that is in the libpy.c file
129 * anyway.
130 *
131 ************************************************************************/
132
133
134#include "Python.h"
135
136#ifdef __cplusplus
137extern "C" {
138#endif
139
140#define SWIG_PY_INT 1
141#define SWIG_PY_FLOAT 2
142#define SWIG_PY_STRING 3
143#define SWIG_PY_POINTER 4
144#define SWIG_PY_BINARY 5
145
146/* Flags for pointer conversion */
147
148#define SWIG_POINTER_EXCEPTION 0x1
149#define SWIG_POINTER_DISOWN 0x2
150
151/* Exception handling in wrappers */
152#define SWIG_fail goto fail
153
154/* Constant information structure */
155typedef struct swig_const_info {
156 int type;
157 char *name;
158 long lvalue;
159 double dvalue;
160 void *pvalue;
161 swig_type_info **ptype;
162} swig_const_info;
163
164
165
166/* Common SWIG API */
167#define SWIG_ConvertPtr(obj, pp, type, flags) \
168 SWIG_Python_ConvertPtr(obj, pp, type, flags)
169#define SWIG_NewPointerObj(p, type, flags) \
170 SWIG_Python_NewPointerObj(p, type, flags)
171#define SWIG_MustGetPtr(p, type, argnum, flags) \
172 SWIG_Python_MustGetPtr(p, type, argnum, flags)
173
174/* Python-specific SWIG API */
175#define SWIG_newvarlink() \
176 SWIG_Python_newvarlink()
177#define SWIG_addvarlink(p, name, get_attr, set_attr) \
178 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
179#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
180 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
181#define SWIG_PackData(c, ptr, sz) \
182 SWIG_Python_PackData(c, ptr, sz)
183#define SWIG_UnpackData(c, ptr, sz) \
184 SWIG_Python_UnpackData(c, ptr, sz)
185#define SWIG_NewPackedObj(ptr, sz, type) \
186 SWIG_Python_NewPackedObj(ptr, sz, type)
187#define SWIG_InstallConstants(d, constants) \
188 SWIG_Python_InstallConstants(d, constants)
189
190
191SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
192SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
193SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
194
195SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
196SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
197SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
198SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
199SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
200SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
201SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
202
203
204/* Contract support */
205
206#define SWIG_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
207#define SWIG_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
208
209#define SWIG_inherit_preassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
210#define SWIG_inherit_postassert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
211
212#define SWIG_invariant(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
213#define SWIG_invariant_begin(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
214#define SWIG_invariant_end(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, msg #expr ); goto fail; } else
215
216#ifdef __cplusplus
217}
218#endif
219
220
221
222/* -------- TYPES TABLE (BEGIN) -------- */
223
224#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
225#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
226#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
227#define SWIGTYPE_p_wxAcceleratorEntry swig_types[3]
228#define SWIGTYPE_p_wxPyPanel swig_types[4]
229#define SWIGTYPE_p_wxMenu swig_types[5]
230#define SWIGTYPE_p_wxPrintData swig_types[6]
231#define SWIGTYPE_p_wxFontData swig_types[7]
232#define SWIGTYPE_p_wxEvent swig_types[8]
233#define SWIGTYPE_p_wxTaskBarIcon swig_types[9]
234#define SWIGTYPE_p_wxIconBundle swig_types[10]
235#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[11]
236#define SWIGTYPE_p_wxFindDialogEvent swig_types[12]
237#define SWIGTYPE_p_wxPreviewCanvas swig_types[13]
238#define SWIGTYPE_p_wxFont swig_types[14]
239#define SWIGTYPE_p_wxSplitterEvent swig_types[15]
240#define SWIGTYPE_p_wxRegion swig_types[16]
241#define SWIGTYPE_p_wxFindReplaceData swig_types[17]
242#define SWIGTYPE_p_int swig_types[18]
243#define SWIGTYPE_p_wxSize swig_types[19]
244#define SWIGTYPE_p_wxDC swig_types[20]
245#define SWIGTYPE_p_wxIcon swig_types[21]
246#define SWIGTYPE_p_wxMDIChildFrame swig_types[22]
247#define SWIGTYPE_p_wxColourData swig_types[23]
248#define SWIGTYPE_p_wxNotifyEvent swig_types[24]
249#define SWIGTYPE_p_wxPyWindow swig_types[25]
250#define SWIGTYPE_p_wxSplashScreen swig_types[26]
251#define SWIGTYPE_p_wxFindReplaceDialog swig_types[27]
252#define SWIGTYPE_p_wxProgressDialog swig_types[28]
253#define SWIGTYPE_p_wxMessageDialog swig_types[29]
254#define SWIGTYPE_p_wxTextEntryDialog swig_types[30]
255#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[31]
256#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[32]
257#define SWIGTYPE_p_wxFileDialog swig_types[33]
258#define SWIGTYPE_p_wxPrinter swig_types[34]
259#define SWIGTYPE_p_wxMenuItem swig_types[35]
260#define SWIGTYPE_p_wxArrayInt swig_types[36]
261#define SWIGTYPE_p_wxEvtHandler swig_types[37]
262#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[38]
263#define SWIGTYPE_p_wxPyHtmlListBox swig_types[39]
264#define SWIGTYPE_p_wxPyVListBox swig_types[40]
265#define SWIGTYPE_p_wxRect swig_types[41]
266#define SWIGTYPE_p_wxAcceleratorTable swig_types[42]
267#define SWIGTYPE_p_wxMiniFrame swig_types[43]
268#define SWIGTYPE_p_wxFrame swig_types[44]
269#define SWIGTYPE_p_wxPyPrintout swig_types[45]
270#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[46]
271#define SWIGTYPE_p_wxScrollWinEvent swig_types[47]
272#define SWIGTYPE_p_wxStatusBar swig_types[48]
273#define SWIGTYPE_p_wxMDIParentFrame swig_types[49]
274#define SWIGTYPE_p_wxPoint swig_types[50]
275#define SWIGTYPE_p_wxObject swig_types[51]
276#define SWIGTYPE_p_unsigned_long swig_types[52]
277#define SWIGTYPE_p_wxMDIClientWindow swig_types[53]
278#define SWIGTYPE_p_wxTipWindow swig_types[54]
279#define SWIGTYPE_p_wxSashLayoutWindow swig_types[55]
280#define SWIGTYPE_p_wxSplitterWindow swig_types[56]
281#define SWIGTYPE_p_wxSplashScreenWindow swig_types[57]
282#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[58]
283#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[59]
284#define SWIGTYPE_p_wxPopupWindow swig_types[60]
285#define SWIGTYPE_p_wxSashWindow swig_types[61]
286#define SWIGTYPE_p_wxTopLevelWindow swig_types[62]
287#define SWIGTYPE_p_wxWindow swig_types[63]
288#define SWIGTYPE_p_wxScrolledWindow swig_types[64]
289#define SWIGTYPE_p_wxMenuBar swig_types[65]
290#define SWIGTYPE_p_wxPrintPreview swig_types[66]
291#define SWIGTYPE_p_wxSashEvent swig_types[67]
292#define SWIGTYPE_p_wxString swig_types[68]
293#define SWIGTYPE_p_wxPyPrintPreview swig_types[69]
294#define SWIGTYPE_p_wxFontDialog swig_types[70]
295#define SWIGTYPE_p_wxDirDialog swig_types[71]
296#define SWIGTYPE_p_wxColourDialog swig_types[72]
297#define SWIGTYPE_p_wxDialog swig_types[73]
298#define SWIGTYPE_p_wxPanel swig_types[74]
299#define SWIGTYPE_p_wxPageSetupDialog swig_types[75]
300#define SWIGTYPE_p_wxPrintDialog swig_types[76]
301#define SWIGTYPE_p_wxBitmap swig_types[77]
302#define SWIGTYPE_p_wxCommandEvent swig_types[78]
303#define SWIGTYPE_p_wxPrintQuality swig_types[79]
304#define SWIGTYPE_p_wxPreviewControlBar swig_types[80]
305#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[81]
306#define SWIGTYPE_p_wxColour swig_types[82]
307#define SWIGTYPE_p_wxToolBar swig_types[83]
308#define SWIGTYPE_p_wxPageSetupDialogData swig_types[84]
309#define SWIGTYPE_p_wxPrintDialogData swig_types[85]
310static swig_type_info *swig_types[87];
311
312/* -------- TYPES TABLE (END) -------- */
313
314
315/*-----------------------------------------------
316 @(target):= _windows.so
317 ------------------------------------------------*/
318#define SWIG_init init_windows
319
320#define SWIG_name "_windows"
321
322#include "wx/wxPython/wxPython.h"
323#include "wx/wxPython/pyclasses.h"
324
325 DECLARE_DEF_STRING(PanelNameStr);
326 DECLARE_DEF_STRING(EmptyString);
327
328
329
330
331
332static PyObject* t_output_helper(PyObject* target, PyObject* o) {
333 PyObject* o2;
334 PyObject* o3;
335
336 if (!target) {
337 target = o;
338 } else if (target == Py_None) {
339 Py_DECREF(Py_None);
340 target = o;
341 } else {
342 if (!PyTuple_Check(target)) {
343 o2 = target;
344 target = PyTuple_New(1);
345 PyTuple_SetItem(target, 0, o2);
346 }
347 o3 = PyTuple_New(1);
348 PyTuple_SetItem(o3, 0, o);
349
350 o2 = target;
351 target = PySequence_Concat(o2, o3);
352 Py_DECREF(o2);
353 Py_DECREF(o3);
354 }
355 return target;
356}
357
358
359 // Put some wx default wxChar* values into wxStrings.
360 DECLARE_DEF_STRING(FrameNameStr);
361 DECLARE_DEF_STRING(DialogNameStr);
362 DECLARE_DEF_STRING(StatusLineNameStr);
363 DECLARE_DEF_STRING(ToolBarNameStr);
364
365bool wxDialog_IsModalShowing(wxDialog *self){
366
367
368
369 return self->IsModalShowing();
370
371 }
372
373
374
375 static const wxChar* wxSplitterNameStr = wxT("splitter");
376 DECLARE_DEF_STRING(SplitterNameStr);
377
378
379 static const wxChar* wxSashNameStr = wxT("sashWindow");
380 DECLARE_DEF_STRING(SashNameStr);
381 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
382 DECLARE_DEF_STRING(SashLayoutNameStr);
383
384
385#include <wx/popupwin.h>
386
387
388class wxPyPopupTransientWindow : public wxPopupTransientWindow
389{
390public:
391 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
392 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
393 : wxPopupTransientWindow(parent, style) {}
394
395 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
396 DEC_PYCALLBACK__(OnDismiss);
397 DEC_PYCALLBACK_BOOL_(CanDismiss);
398 PYPRIVATE;
399};
400
401
402IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
403IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
404IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
405
406
407#include <wx/tipwin.h>
408
409wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const *text,wxCoord maxLength,wxRect *rectBound){
410 wxString tmp = *text;
411 return new wxTipWindow(parent, tmp, maxLength, NULL, rectBound);
412 }
413
414#include <wx/tipwin.h>
415
416
417#include <wx/vscroll.h>
418
419
420class wxPyVScrolledWindow : public wxVScrolledWindow
421{
422 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
423public:
424 wxPyVScrolledWindow() : wxVScrolledWindow() {}
425
426 wxPyVScrolledWindow(wxWindow *parent,
427 wxWindowID id = wxID_ANY,
428 const wxPoint& pos = wxDefaultPosition,
429 const wxSize& size = wxDefaultSize,
430 long style = 0,
431 const wxString& name = wxPyPanelNameStr)
432 : wxVScrolledWindow(parent, id, pos, size, style, name)
433 {}
434
435 // Overridable virtuals
436
437 // this function must be overridden in the derived class and it should
438 // return the height of the given line in pixels
439 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
440
441
442 // this function doesn't have to be overridden but it may be useful to do
443 // it if calculating the lines heights is a relatively expensive operation
444 // as it gives the user code a possibility to calculate several of them at
445 // once
446 //
447 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
448 // shouldn't rely on the latter being called for all lines in the interval
449 // specified here. It is also possible that OnGetLineHeight() will be
450 // called for the lines outside of this interval, so this is really just a
451 // hint, not a promise.
452 //
453 // finally note that lineMin is inclusive, while lineMax is exclusive, as
454 // usual
455 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
456
457
458 // when the number of lines changes, we try to estimate the total height
459 // of all lines which is a rather expensive operation in terms of lines
460 // access, so if the user code may estimate the average height
461 // better/faster than we do, it should override this function to implement
462 // its own logic
463 //
464 // this function should return the best guess for the total height it may
465 // make
466 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
467
468
469 // Also expose some other interesting protected methods
470
471
472 // find the index of the line we need to show at the top of the window such
473 // that the last (fully or partially) visible line is the given one
474 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = false)
475 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
476
477 // get the total height of the lines between lineMin (inclusive) and
478 // lineMax (exclusive)
479 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
480 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
481
482
483 PYPRIVATE;
484};
485
486IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
487
488IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
489IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
490IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
491
492
493#include <wx/vlbox.h>
494DECLARE_DEF_STRING(VListBoxNameStr);
495
496
497class wxPyVListBox : public wxVListBox
498{
499 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
500public:
501 wxPyVListBox() : wxVListBox() {}
502
503 wxPyVListBox(wxWindow *parent,
504 wxWindowID id = wxID_ANY,
505 const wxPoint& pos = wxDefaultPosition,
506 const wxSize& size = wxDefaultSize,
507 long style = 0,
508 const wxString& name = wxPyVListBoxNameStr)
509 : wxVListBox(parent, id, pos, size, style, name)
510 {}
511
512 // Overridable virtuals
513
514 // the derived class must implement this function to actually draw the item
515 // with the given index on the provided DC
516 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
517 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
518
519
520 // the derived class must implement this method to return the height of the
521 // specified item
522 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
523 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
524
525
526 // this method may be used to draw separators between the lines; note that
527 // the rectangle may be modified, typically to deflate it a bit before
528 // passing to OnDrawItem()
529 //
530 // the base class version doesn't do anything
531 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
532 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
533
534
535 // this method is used to draw the items background and, maybe, a border
536 // around it
537 //
538 // the base class version implements a reasonable default behaviour which
539 // consists in drawing the selected item with the standard background
540 // colour and drawing a border around the item if it is either selected or
541 // current
542 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
543 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
544
545
546 PYPRIVATE;
547};
548
549IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
550
551IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
552IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
553IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
554IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
555
556
557
558#include <wx/htmllbox.h>
559
560
561class wxPyHtmlListBox : public wxHtmlListBox
562{
563 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
564public:
565 wxPyHtmlListBox() : wxHtmlListBox() {}
566
567 wxPyHtmlListBox(wxWindow *parent,
568 wxWindowID id = wxID_ANY,
569 const wxPoint& pos = wxDefaultPosition,
570 const wxSize& size = wxDefaultSize,
571 long style = 0,
572 const wxString& name = wxPyVListBoxNameStr)
573 : wxHtmlListBox(parent, id, pos, size, style, name)
574 {}
575
576 // Overridable virtuals
577
578 // this method must be implemented in the derived class and should return
579 // the body (i.e. without <html>) of the HTML for the given item
580 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
581
582 // this function may be overridden to decorate HTML returned by OnGetItem()
583 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
584
585// TODO:
586// // this method allows to customize the selection appearance: it may be used
587// // to specify the colour of the text which normally has the given colour
588// // colFg when it is inside the selection
589// //
590// // by default, the original colour is not used at all and all text has the
591// // same (default for this system) colour inside selection
592// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
593
594// // this is the same as GetSelectedTextColour() but allows to customize the
595// // background colour -- this is even more rarely used as you can change it
596// // globally using SetSelectionBackground()
597// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
598
599
600 PYPRIVATE;
601};
602
603
604IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
605
606IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
607IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
608
609
610
611
612
613#ifdef __WXMAC__
614// implement dummy classes and such for wxMac
615
616class wxTaskBarIcon : public wxEvtHandler
617{
618public:
619 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
620};
621
622
623class wxTaskBarIconEvent : public wxEvent
624{
625public:
626 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
627 { PyErr_SetNone(PyExc_NotImplementedError); }
628 virtual wxEvent* Clone() const { return NULL; }
629};
630
631enum {
632 wxEVT_TASKBAR_MOVE = 0,
633 wxEVT_TASKBAR_LEFT_DOWN = 0,
634 wxEVT_TASKBAR_LEFT_UP = 0,
635 wxEVT_TASKBAR_RIGHT_DOWN = 0,
636 wxEVT_TASKBAR_RIGHT_UP = 0,
637 wxEVT_TASKBAR_LEFT_DCLICK = 0,
638 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
639};
640#endif
641
642
643
644 DECLARE_DEF_STRING(FileSelectorPromptStr);
645 DECLARE_DEF_STRING(DirSelectorPromptStr);
646 DECLARE_DEF_STRING(DirDialogNameStr);
647 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
648 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
649 DECLARE_DEF_STRING(MessageBoxCaptionStr);
650
651
652PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
653 wxArrayString arr;
654 self->GetFilenames(arr);
655 return wxArrayString2PyList_helper(arr);
656 }
657PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
658 wxArrayString arr;
659 self->GetPaths(arr);
660 return wxArrayString2PyList_helper(arr);
661 }
662PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
663 return wxArrayInt2PyList_helper(self->GetSelections());
664 }
665wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
666 return new wxSingleChoiceDialog(parent, message, caption,
667 choices, choices_array, NULL, style, pos);
668 }
669
670#include <wx/mdi.h>
671
672 // C++ version of Python aware wxWindow
673class wxPyWindow : public wxWindow
674{
675 DECLARE_DYNAMIC_CLASS(wxPyWindow)
676public:
677 wxPyWindow() : wxWindow() {}
678 wxPyWindow(wxWindow* parent, const wxWindowID id,
679 const wxPoint& pos = wxDefaultPosition,
680 const wxSize& size = wxDefaultSize,
681 long style = 0,
682 const wxString& name = wxPyPanelNameStr)
683 : wxWindow(parent, id, pos, size, style, name) {}
684
685
686 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
687 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
688 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
689 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
690
691 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
692 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
693 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
694
695 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
696 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
697
698 DEC_PYCALLBACK__(InitDialog);
699 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
700 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
701 DEC_PYCALLBACK_BOOL_(Validate);
702
703 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
704 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
705 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
706
707 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
708 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
709
710 PYPRIVATE;
711};
712
713IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
714
715IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
716IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
717IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
718IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
719
720IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
721IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
722IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
723
724IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
725IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
726
727IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
728IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
729IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
730IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
731
732IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
733IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
734IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
735
736IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
737IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
738
739
740 // C++ version of Python aware wxPanel
741class wxPyPanel : public wxPanel
742{
743 DECLARE_DYNAMIC_CLASS(wxPyPanel)
744public:
745 wxPyPanel() : wxPanel() {}
746 wxPyPanel(wxWindow* parent, const wxWindowID id,
747 const wxPoint& pos = wxDefaultPosition,
748 const wxSize& size = wxDefaultSize,
749 long style = 0,
750 const wxString& name = wxPyPanelNameStr)
751 : wxPanel(parent, id, pos, size, style, name) {}
752
753
754 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
755 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
756 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
757 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
758
759 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
760 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
761 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
762
763 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
764 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
765
766 DEC_PYCALLBACK__(InitDialog);
767 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
768 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
769 DEC_PYCALLBACK_BOOL_(Validate);
770
771 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
772 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
773 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
774
775 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
776 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
777
778 PYPRIVATE;
779};
780
781IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
782
783IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
784IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
785IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
786IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
787
788IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
789IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
790IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
791
792IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
793IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
794
795IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
796IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
797IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
798IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
799
800IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
801IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
802IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
803
804IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
805IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
806
807
808
809#include "wx/wxPython/printfw.h"
810
811 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
812 DECLARE_DEF_STRING(PrintoutTitleStr);
813 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
814 DECLARE_DEF_STRING(PreviewCanvasNameStr);
815
816
817
818
819
820// Since this one would be tough and ugly to do with the Macros...
821void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
822 bool hadErr = FALSE;
823 bool found;
824
825 wxPyBeginBlockThreads();
826 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
827 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
828 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
829 PyObject* val;
830
831 val = PyTuple_GetItem(result, 0);
832 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
833 else hadErr = TRUE;
834
835 val = PyTuple_GetItem(result, 1);
836 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
837 else hadErr = TRUE;
838
839 val = PyTuple_GetItem(result, 2);
840 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
841 else hadErr = TRUE;
842
843 val = PyTuple_GetItem(result, 3);
844 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
845 else hadErr = TRUE;
846 }
847 else
848 hadErr = TRUE;
849
850 if (hadErr) {
851 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
852 PyErr_Print();
853 }
854 Py_DECREF(result);
855 }
856 wxPyEndBlockThreads();
857 if (! found)
858 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
859}
860
861void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
862 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
863}
864
865
866IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
867IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
868IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
869IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
870IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
871IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
872IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
873
874
875
876
877
878#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
879 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
880 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
881
882
883#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
884 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
885 bool rval=FALSE; \
886 bool found; \
887 wxPyBeginBlockThreads(); \
888 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
889 PyObject* win = wxPyMake_wxObject(a); \
890 PyObject* dc = wxPyMake_wxObject(&b); \
891 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
892 Py_DECREF(win); \
893 Py_DECREF(dc); \
894 } \
895 wxPyEndBlockThreads(); \
896 if (! found) \
897 rval = PCLASS::CBNAME(a, b); \
898 return rval; \
899 } \
900 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
901 return PCLASS::CBNAME(a, b); \
902 }
903
904
905
906
907class wxPyPrintPreview : public wxPrintPreview
908{
909 DECLARE_CLASS(wxPyPrintPreview)
910public:
911 wxPyPrintPreview(wxPyPrintout* printout,
912 wxPyPrintout* printoutForPrinting,
913 wxPrintData* data=NULL)
914 : wxPrintPreview(printout, printoutForPrinting, data)
915 {}
916
917 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
918 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
919 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
920 DEC_PYCALLBACK_BOOL_INT(RenderPage);
921 DEC_PYCALLBACK_VOID_INT(SetZoom);
922 DEC_PYCALLBACK_BOOL_BOOL(Print);
923 DEC_PYCALLBACK_VOID_(DetermineScaling);
924
925 PYPRIVATE;
926};
927
928// Stupid renamed classes... Fix this in 2.5...
929#if defined(__WXMSW__)
930IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
931#elif defined(__WXMAC__)
932IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
933#else
934IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
935#endif
936
937IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
938IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
939IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
940IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
941IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
942IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
943IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
944
945
946class wxPyPreviewFrame : public wxPreviewFrame
947{
948 DECLARE_CLASS(wxPyPreviewFrame);
949public:
950 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
951 const wxString& title,
952 const wxPoint& pos = wxDefaultPosition,
953 const wxSize& size = wxDefaultSize,
954 long style = wxDEFAULT_FRAME_STYLE,
955 const wxString& name = wxPyFrameNameStr)
956 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
957 {}
958
959 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
960 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
961
962 DEC_PYCALLBACK_VOID_(Initialize);
963 DEC_PYCALLBACK_VOID_(CreateCanvas);
964 DEC_PYCALLBACK_VOID_(CreateControlBar);
965
966 PYPRIVATE;
967};
968
969IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
970
971IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
972IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
973IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
974
975
976class wxPyPreviewControlBar : public wxPreviewControlBar
977{
978 DECLARE_CLASS(wxPyPreviewControlBar);
979public:
980 wxPyPreviewControlBar(wxPrintPreview *preview,
981 long buttons,
982 wxWindow *parent,
983 const wxPoint& pos = wxDefaultPosition,
984 const wxSize& size = wxDefaultSize,
985 long style = 0,
986 const wxString& name = wxPyPanelNameStr)
987 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
988 {}
989
990 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
991
992 DEC_PYCALLBACK_VOID_(CreateButtons);
993 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
994
995 PYPRIVATE;
996};
997
998IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
999IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
1000IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
1001
1002#ifdef __cplusplus
1003extern "C" {
1004#endif
1005static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1006 PyObject *resultobj;
1007 wxWindow *arg1 = (wxWindow *) 0 ;
1008 wxWindowID arg2 ;
1009 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1010 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1011 wxSize const &arg4_defvalue = wxDefaultSize ;
1012 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1013 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1014 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1015 wxString *arg6 = (wxString *) &arg6_defvalue ;
1016 wxPanel *result;
1017 wxPoint temp3 ;
1018 wxSize temp4 ;
1019 bool temp6 = false ;
1020 PyObject * obj0 = 0 ;
1021 PyObject * obj2 = 0 ;
1022 PyObject * obj3 = 0 ;
1023 PyObject * obj5 = 0 ;
1024 char *kwnames[] = {
1025 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1026 };
1027
1028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1030 if (obj2) {
1031 {
1032 arg3 = &temp3;
1033 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1034 }
1035 }
1036 if (obj3) {
1037 {
1038 arg4 = &temp4;
1039 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1040 }
1041 }
1042 if (obj5) {
1043 {
1044 arg6 = wxString_in_helper(obj5);
1045 if (arg6 == NULL) SWIG_fail;
1046 temp6 = true;
1047 }
1048 }
1049 {
1050 PyThreadState* __tstate = wxPyBeginAllowThreads();
1051 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1052
1053 wxPyEndAllowThreads(__tstate);
1054 if (PyErr_Occurred()) SWIG_fail;
1055 }
1056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1057 {
1058 if (temp6)
1059 delete arg6;
1060 }
1061 return resultobj;
1062 fail:
1063 {
1064 if (temp6)
1065 delete arg6;
1066 }
1067 return NULL;
1068}
1069
1070
1071static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1072 PyObject *resultobj;
1073 wxPanel *result;
1074 char *kwnames[] = {
1075 NULL
1076 };
1077
1078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1079 {
1080 PyThreadState* __tstate = wxPyBeginAllowThreads();
1081 result = (wxPanel *)new wxPanel();
1082
1083 wxPyEndAllowThreads(__tstate);
1084 if (PyErr_Occurred()) SWIG_fail;
1085 }
1086 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1087 return resultobj;
1088 fail:
1089 return NULL;
1090}
1091
1092
1093static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1094 PyObject *resultobj;
1095 wxPanel *arg1 = (wxPanel *) 0 ;
1096 wxWindow *arg2 = (wxWindow *) 0 ;
1097 wxWindowID arg3 ;
1098 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1099 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1100 wxSize const &arg5_defvalue = wxDefaultSize ;
1101 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1102 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1103 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1104 wxString *arg7 = (wxString *) &arg7_defvalue ;
1105 bool result;
1106 wxPoint temp4 ;
1107 wxSize temp5 ;
1108 bool temp7 = false ;
1109 PyObject * obj0 = 0 ;
1110 PyObject * obj1 = 0 ;
1111 PyObject * obj3 = 0 ;
1112 PyObject * obj4 = 0 ;
1113 PyObject * obj6 = 0 ;
1114 char *kwnames[] = {
1115 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1116 };
1117
1118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1120 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1121 if (obj3) {
1122 {
1123 arg4 = &temp4;
1124 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1125 }
1126 }
1127 if (obj4) {
1128 {
1129 arg5 = &temp5;
1130 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1131 }
1132 }
1133 if (obj6) {
1134 {
1135 arg7 = wxString_in_helper(obj6);
1136 if (arg7 == NULL) SWIG_fail;
1137 temp7 = true;
1138 }
1139 }
1140 {
1141 PyThreadState* __tstate = wxPyBeginAllowThreads();
1142 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1143
1144 wxPyEndAllowThreads(__tstate);
1145 if (PyErr_Occurred()) SWIG_fail;
1146 }
1147 resultobj = PyInt_FromLong((long)result);
1148 {
1149 if (temp7)
1150 delete arg7;
1151 }
1152 return resultobj;
1153 fail:
1154 {
1155 if (temp7)
1156 delete arg7;
1157 }
1158 return NULL;
1159}
1160
1161
1162static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1163 PyObject *resultobj;
1164 wxPanel *arg1 = (wxPanel *) 0 ;
1165 PyObject * obj0 = 0 ;
1166 char *kwnames[] = {
1167 (char *) "self", NULL
1168 };
1169
1170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1172 {
1173 PyThreadState* __tstate = wxPyBeginAllowThreads();
1174 (arg1)->InitDialog();
1175
1176 wxPyEndAllowThreads(__tstate);
1177 if (PyErr_Occurred()) SWIG_fail;
1178 }
1179 Py_INCREF(Py_None); resultobj = Py_None;
1180 return resultobj;
1181 fail:
1182 return NULL;
1183}
1184
1185
1186static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1187 PyObject *obj;
1188 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1189 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1190 Py_INCREF(obj);
1191 return Py_BuildValue((char *)"");
1192}
1193static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1194 PyObject *resultobj;
1195 wxWindow *arg1 = (wxWindow *) 0 ;
1196 wxWindowID arg2 = (wxWindowID) (wxWindowID)-1 ;
1197 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1198 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1199 wxSize const &arg4_defvalue = wxDefaultSize ;
1200 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1201 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1202 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1203 wxString *arg6 = (wxString *) &arg6_defvalue ;
1204 wxScrolledWindow *result;
1205 wxPoint temp3 ;
1206 wxSize temp4 ;
1207 bool temp6 = false ;
1208 PyObject * obj0 = 0 ;
1209 PyObject * obj2 = 0 ;
1210 PyObject * obj3 = 0 ;
1211 PyObject * obj5 = 0 ;
1212 char *kwnames[] = {
1213 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1214 };
1215
1216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1218 if (obj2) {
1219 {
1220 arg3 = &temp3;
1221 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1222 }
1223 }
1224 if (obj3) {
1225 {
1226 arg4 = &temp4;
1227 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1228 }
1229 }
1230 if (obj5) {
1231 {
1232 arg6 = wxString_in_helper(obj5);
1233 if (arg6 == NULL) SWIG_fail;
1234 temp6 = true;
1235 }
1236 }
1237 {
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) SWIG_fail;
1243 }
1244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1245 {
1246 if (temp6)
1247 delete arg6;
1248 }
1249 return resultobj;
1250 fail:
1251 {
1252 if (temp6)
1253 delete arg6;
1254 }
1255 return NULL;
1256}
1257
1258
1259static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1260 PyObject *resultobj;
1261 wxScrolledWindow *result;
1262 char *kwnames[] = {
1263 NULL
1264 };
1265
1266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1267 {
1268 PyThreadState* __tstate = wxPyBeginAllowThreads();
1269 result = (wxScrolledWindow *)new wxScrolledWindow();
1270
1271 wxPyEndAllowThreads(__tstate);
1272 if (PyErr_Occurred()) SWIG_fail;
1273 }
1274 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1275 return resultobj;
1276 fail:
1277 return NULL;
1278}
1279
1280
1281static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1282 PyObject *resultobj;
1283 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1284 wxWindow *arg2 = (wxWindow *) 0 ;
1285 wxWindowID arg3 = (wxWindowID) (wxWindowID)-1 ;
1286 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1287 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1288 wxSize const &arg5_defvalue = wxDefaultSize ;
1289 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1290 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1291 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1292 wxString *arg7 = (wxString *) &arg7_defvalue ;
1293 bool result;
1294 wxPoint temp4 ;
1295 wxSize temp5 ;
1296 bool temp7 = false ;
1297 PyObject * obj0 = 0 ;
1298 PyObject * obj1 = 0 ;
1299 PyObject * obj3 = 0 ;
1300 PyObject * obj4 = 0 ;
1301 PyObject * obj6 = 0 ;
1302 char *kwnames[] = {
1303 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1304 };
1305
1306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1308 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1309 if (obj3) {
1310 {
1311 arg4 = &temp4;
1312 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1313 }
1314 }
1315 if (obj4) {
1316 {
1317 arg5 = &temp5;
1318 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1319 }
1320 }
1321 if (obj6) {
1322 {
1323 arg7 = wxString_in_helper(obj6);
1324 if (arg7 == NULL) SWIG_fail;
1325 temp7 = true;
1326 }
1327 }
1328 {
1329 PyThreadState* __tstate = wxPyBeginAllowThreads();
1330 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1331
1332 wxPyEndAllowThreads(__tstate);
1333 if (PyErr_Occurred()) SWIG_fail;
1334 }
1335 resultobj = PyInt_FromLong((long)result);
1336 {
1337 if (temp7)
1338 delete arg7;
1339 }
1340 return resultobj;
1341 fail:
1342 {
1343 if (temp7)
1344 delete arg7;
1345 }
1346 return NULL;
1347}
1348
1349
1350static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1351 PyObject *resultobj;
1352 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1353 int arg2 ;
1354 int arg3 ;
1355 int arg4 ;
1356 int arg5 ;
1357 int arg6 = (int) 0 ;
1358 int arg7 = (int) 0 ;
1359 bool arg8 = (bool) FALSE ;
1360 PyObject * obj0 = 0 ;
1361 PyObject * obj7 = 0 ;
1362 char *kwnames[] = {
1363 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1364 };
1365
1366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1368 if (obj7) {
1369 arg8 = PyInt_AsLong(obj7) ? true : false;
1370 if (PyErr_Occurred()) SWIG_fail;
1371 }
1372 {
1373 PyThreadState* __tstate = wxPyBeginAllowThreads();
1374 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1375
1376 wxPyEndAllowThreads(__tstate);
1377 if (PyErr_Occurred()) SWIG_fail;
1378 }
1379 Py_INCREF(Py_None); resultobj = Py_None;
1380 return resultobj;
1381 fail:
1382 return NULL;
1383}
1384
1385
1386static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1387 PyObject *resultobj;
1388 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1389 int arg2 ;
1390 int arg3 ;
1391 PyObject * obj0 = 0 ;
1392 char *kwnames[] = {
1393 (char *) "self",(char *) "x",(char *) "y", NULL
1394 };
1395
1396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1398 {
1399 PyThreadState* __tstate = wxPyBeginAllowThreads();
1400 (arg1)->Scroll(arg2,arg3);
1401
1402 wxPyEndAllowThreads(__tstate);
1403 if (PyErr_Occurred()) SWIG_fail;
1404 }
1405 Py_INCREF(Py_None); resultobj = Py_None;
1406 return resultobj;
1407 fail:
1408 return NULL;
1409}
1410
1411
1412static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1413 PyObject *resultobj;
1414 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1415 int arg2 ;
1416 int result;
1417 PyObject * obj0 = 0 ;
1418 char *kwnames[] = {
1419 (char *) "self",(char *) "orient", NULL
1420 };
1421
1422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1424 {
1425 PyThreadState* __tstate = wxPyBeginAllowThreads();
1426 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1427
1428 wxPyEndAllowThreads(__tstate);
1429 if (PyErr_Occurred()) SWIG_fail;
1430 }
1431 resultobj = PyInt_FromLong((long)result);
1432 return resultobj;
1433 fail:
1434 return NULL;
1435}
1436
1437
1438static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1439 PyObject *resultobj;
1440 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1441 int arg2 ;
1442 int arg3 ;
1443 PyObject * obj0 = 0 ;
1444 char *kwnames[] = {
1445 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1446 };
1447
1448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1450 {
1451 PyThreadState* __tstate = wxPyBeginAllowThreads();
1452 (arg1)->SetScrollPageSize(arg2,arg3);
1453
1454 wxPyEndAllowThreads(__tstate);
1455 if (PyErr_Occurred()) SWIG_fail;
1456 }
1457 Py_INCREF(Py_None); resultobj = Py_None;
1458 return resultobj;
1459 fail:
1460 return NULL;
1461}
1462
1463
1464static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1465 PyObject *resultobj;
1466 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1467 int arg2 ;
1468 int arg3 ;
1469 PyObject * obj0 = 0 ;
1470 char *kwnames[] = {
1471 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1472 };
1473
1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1476 {
1477 PyThreadState* __tstate = wxPyBeginAllowThreads();
1478 (arg1)->SetScrollRate(arg2,arg3);
1479
1480 wxPyEndAllowThreads(__tstate);
1481 if (PyErr_Occurred()) SWIG_fail;
1482 }
1483 Py_INCREF(Py_None); resultobj = Py_None;
1484 return resultobj;
1485 fail:
1486 return NULL;
1487}
1488
1489
1490static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1491 PyObject *resultobj;
1492 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1493 int *arg2 = (int *) 0 ;
1494 int *arg3 = (int *) 0 ;
1495 int temp2 ;
1496 int temp3 ;
1497 PyObject * obj0 = 0 ;
1498 char *kwnames[] = {
1499 (char *) "self", NULL
1500 };
1501
1502 arg2 = &temp2;
1503 arg3 = &temp3;
1504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1506 {
1507 PyThreadState* __tstate = wxPyBeginAllowThreads();
1508 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1509
1510 wxPyEndAllowThreads(__tstate);
1511 if (PyErr_Occurred()) SWIG_fail;
1512 }
1513 Py_INCREF(Py_None); resultobj = Py_None;
1514 {
1515 PyObject *o = PyInt_FromLong((long) (*arg2));
1516 resultobj = t_output_helper(resultobj,o);
1517 }
1518 {
1519 PyObject *o = PyInt_FromLong((long) (*arg3));
1520 resultobj = t_output_helper(resultobj,o);
1521 }
1522 return resultobj;
1523 fail:
1524 return NULL;
1525}
1526
1527
1528static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1529 PyObject *resultobj;
1530 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1531 bool arg2 ;
1532 bool arg3 ;
1533 PyObject * obj0 = 0 ;
1534 PyObject * obj1 = 0 ;
1535 PyObject * obj2 = 0 ;
1536 char *kwnames[] = {
1537 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1538 };
1539
1540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1542 arg2 = PyInt_AsLong(obj1) ? true : false;
1543 if (PyErr_Occurred()) SWIG_fail;
1544 arg3 = PyInt_AsLong(obj2) ? true : false;
1545 if (PyErr_Occurred()) SWIG_fail;
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 (arg1)->EnableScrolling(arg2,arg3);
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
1553 Py_INCREF(Py_None); resultobj = Py_None;
1554 return resultobj;
1555 fail:
1556 return NULL;
1557}
1558
1559
1560static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1561 PyObject *resultobj;
1562 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1563 int *arg2 = (int *) 0 ;
1564 int *arg3 = (int *) 0 ;
1565 int temp2 ;
1566 int temp3 ;
1567 PyObject * obj0 = 0 ;
1568 char *kwnames[] = {
1569 (char *) "self", NULL
1570 };
1571
1572 arg2 = &temp2;
1573 arg3 = &temp3;
1574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1576 {
1577 PyThreadState* __tstate = wxPyBeginAllowThreads();
1578 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1579
1580 wxPyEndAllowThreads(__tstate);
1581 if (PyErr_Occurred()) SWIG_fail;
1582 }
1583 Py_INCREF(Py_None); resultobj = Py_None;
1584 {
1585 PyObject *o = PyInt_FromLong((long) (*arg2));
1586 resultobj = t_output_helper(resultobj,o);
1587 }
1588 {
1589 PyObject *o = PyInt_FromLong((long) (*arg3));
1590 resultobj = t_output_helper(resultobj,o);
1591 }
1592 return resultobj;
1593 fail:
1594 return NULL;
1595}
1596
1597
1598static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1599 PyObject *resultobj;
1600 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1601 double arg2 ;
1602 double arg3 ;
1603 PyObject * obj0 = 0 ;
1604 char *kwnames[] = {
1605 (char *) "self",(char *) "xs",(char *) "ys", NULL
1606 };
1607
1608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1610 {
1611 PyThreadState* __tstate = wxPyBeginAllowThreads();
1612 (arg1)->SetScale(arg2,arg3);
1613
1614 wxPyEndAllowThreads(__tstate);
1615 if (PyErr_Occurred()) SWIG_fail;
1616 }
1617 Py_INCREF(Py_None); resultobj = Py_None;
1618 return resultobj;
1619 fail:
1620 return NULL;
1621}
1622
1623
1624static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1625 PyObject *resultobj;
1626 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1627 double result;
1628 PyObject * obj0 = 0 ;
1629 char *kwnames[] = {
1630 (char *) "self", NULL
1631 };
1632
1633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1635 {
1636 PyThreadState* __tstate = wxPyBeginAllowThreads();
1637 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1638
1639 wxPyEndAllowThreads(__tstate);
1640 if (PyErr_Occurred()) SWIG_fail;
1641 }
1642 resultobj = PyFloat_FromDouble(result);
1643 return resultobj;
1644 fail:
1645 return NULL;
1646}
1647
1648
1649static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1650 PyObject *resultobj;
1651 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1652 double result;
1653 PyObject * obj0 = 0 ;
1654 char *kwnames[] = {
1655 (char *) "self", NULL
1656 };
1657
1658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1660 {
1661 PyThreadState* __tstate = wxPyBeginAllowThreads();
1662 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1663
1664 wxPyEndAllowThreads(__tstate);
1665 if (PyErr_Occurred()) SWIG_fail;
1666 }
1667 resultobj = PyFloat_FromDouble(result);
1668 return resultobj;
1669 fail:
1670 return NULL;
1671}
1672
1673
1674static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1675 PyObject *resultobj;
1676 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1677 int arg2 ;
1678 int arg3 ;
1679 int *arg4 = (int *) 0 ;
1680 int *arg5 = (int *) 0 ;
1681 int temp4 ;
1682 int temp5 ;
1683 PyObject * obj0 = 0 ;
1684
1685 arg4 = &temp4;
1686 arg5 = &temp5;
1687 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1689 {
1690 PyThreadState* __tstate = wxPyBeginAllowThreads();
1691 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
1692
1693 wxPyEndAllowThreads(__tstate);
1694 if (PyErr_Occurred()) SWIG_fail;
1695 }
1696 Py_INCREF(Py_None); resultobj = Py_None;
1697 {
1698 PyObject *o = PyInt_FromLong((long) (*arg4));
1699 resultobj = t_output_helper(resultobj,o);
1700 }
1701 {
1702 PyObject *o = PyInt_FromLong((long) (*arg5));
1703 resultobj = t_output_helper(resultobj,o);
1704 }
1705 return resultobj;
1706 fail:
1707 return NULL;
1708}
1709
1710
1711static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1712 PyObject *resultobj;
1713 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1714 wxPoint *arg2 = 0 ;
1715 wxPoint result;
1716 wxPoint temp2 ;
1717 PyObject * obj0 = 0 ;
1718 PyObject * obj1 = 0 ;
1719
1720 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
1721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1722 {
1723 arg2 = &temp2;
1724 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1725 }
1726 {
1727 PyThreadState* __tstate = wxPyBeginAllowThreads();
1728 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
1729
1730 wxPyEndAllowThreads(__tstate);
1731 if (PyErr_Occurred()) SWIG_fail;
1732 }
1733 {
1734 wxPoint * resultptr;
1735 resultptr = new wxPoint((wxPoint &) result);
1736 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1737 }
1738 return resultobj;
1739 fail:
1740 return NULL;
1741}
1742
1743
1744static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1745 int argc;
1746 PyObject *argv[4];
1747 int ii;
1748
1749 argc = PyObject_Length(args);
1750 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1751 argv[ii] = PyTuple_GetItem(args,ii);
1752 }
1753 if (argc == 2) {
1754 int _v;
1755 {
1756 void *ptr;
1757 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1758 _v = 0;
1759 PyErr_Clear();
1760 } else {
1761 _v = 1;
1762 }
1763 }
1764 if (_v) {
1765 {
1766 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1767 }
1768 if (_v) {
1769 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
1770 }
1771 }
1772 }
1773 if (argc == 3) {
1774 int _v;
1775 {
1776 void *ptr;
1777 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1778 _v = 0;
1779 PyErr_Clear();
1780 } else {
1781 _v = 1;
1782 }
1783 }
1784 if (_v) {
1785 {
1786 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1787 }
1788 if (_v) {
1789 {
1790 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1791 }
1792 if (_v) {
1793 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
1794 }
1795 }
1796 }
1797 }
1798
1799 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1800 return NULL;
1801}
1802
1803
1804static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1805 PyObject *resultobj;
1806 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1807 int arg2 ;
1808 int arg3 ;
1809 int *arg4 = (int *) 0 ;
1810 int *arg5 = (int *) 0 ;
1811 int temp4 ;
1812 int temp5 ;
1813 PyObject * obj0 = 0 ;
1814
1815 arg4 = &temp4;
1816 arg5 = &temp5;
1817 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
1818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1819 {
1820 PyThreadState* __tstate = wxPyBeginAllowThreads();
1821 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
1822
1823 wxPyEndAllowThreads(__tstate);
1824 if (PyErr_Occurred()) SWIG_fail;
1825 }
1826 Py_INCREF(Py_None); resultobj = Py_None;
1827 {
1828 PyObject *o = PyInt_FromLong((long) (*arg4));
1829 resultobj = t_output_helper(resultobj,o);
1830 }
1831 {
1832 PyObject *o = PyInt_FromLong((long) (*arg5));
1833 resultobj = t_output_helper(resultobj,o);
1834 }
1835 return resultobj;
1836 fail:
1837 return NULL;
1838}
1839
1840
1841static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1842 PyObject *resultobj;
1843 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1844 wxPoint *arg2 = 0 ;
1845 wxPoint result;
1846 wxPoint temp2 ;
1847 PyObject * obj0 = 0 ;
1848 PyObject * obj1 = 0 ;
1849
1850 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
1851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1852 {
1853 arg2 = &temp2;
1854 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1855 }
1856 {
1857 PyThreadState* __tstate = wxPyBeginAllowThreads();
1858 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
1859
1860 wxPyEndAllowThreads(__tstate);
1861 if (PyErr_Occurred()) SWIG_fail;
1862 }
1863 {
1864 wxPoint * resultptr;
1865 resultptr = new wxPoint((wxPoint &) result);
1866 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
1867 }
1868 return resultobj;
1869 fail:
1870 return NULL;
1871}
1872
1873
1874static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1875 int argc;
1876 PyObject *argv[4];
1877 int ii;
1878
1879 argc = PyObject_Length(args);
1880 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1881 argv[ii] = PyTuple_GetItem(args,ii);
1882 }
1883 if (argc == 2) {
1884 int _v;
1885 {
1886 void *ptr;
1887 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1888 _v = 0;
1889 PyErr_Clear();
1890 } else {
1891 _v = 1;
1892 }
1893 }
1894 if (_v) {
1895 {
1896 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1897 }
1898 if (_v) {
1899 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
1900 }
1901 }
1902 }
1903 if (argc == 3) {
1904 int _v;
1905 {
1906 void *ptr;
1907 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1908 _v = 0;
1909 PyErr_Clear();
1910 } else {
1911 _v = 1;
1912 }
1913 }
1914 if (_v) {
1915 {
1916 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1917 }
1918 if (_v) {
1919 {
1920 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1921 }
1922 if (_v) {
1923 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
1924 }
1925 }
1926 }
1927 }
1928
1929 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1930 return NULL;
1931}
1932
1933
1934static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1935 PyObject *resultobj;
1936 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1937 PyObject * obj0 = 0 ;
1938 char *kwnames[] = {
1939 (char *) "self", NULL
1940 };
1941
1942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1944 {
1945 PyThreadState* __tstate = wxPyBeginAllowThreads();
1946 (arg1)->AdjustScrollbars();
1947
1948 wxPyEndAllowThreads(__tstate);
1949 if (PyErr_Occurred()) SWIG_fail;
1950 }
1951 Py_INCREF(Py_None); resultobj = Py_None;
1952 return resultobj;
1953 fail:
1954 return NULL;
1955}
1956
1957
1958static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1959 PyObject *resultobj;
1960 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1961 wxScrollWinEvent *arg2 = 0 ;
1962 int result;
1963 PyObject * obj0 = 0 ;
1964 PyObject * obj1 = 0 ;
1965 char *kwnames[] = {
1966 (char *) "self",(char *) "event", NULL
1967 };
1968
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1972 if (arg2 == NULL) {
1973 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1974 }
1975 {
1976 PyThreadState* __tstate = wxPyBeginAllowThreads();
1977 result = (int)(arg1)->CalcScrollInc(*arg2);
1978
1979 wxPyEndAllowThreads(__tstate);
1980 if (PyErr_Occurred()) SWIG_fail;
1981 }
1982 resultobj = PyInt_FromLong((long)result);
1983 return resultobj;
1984 fail:
1985 return NULL;
1986}
1987
1988
1989static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1990 PyObject *resultobj;
1991 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1992 wxWindow *arg2 = (wxWindow *) 0 ;
1993 PyObject * obj0 = 0 ;
1994 PyObject * obj1 = 0 ;
1995 char *kwnames[] = {
1996 (char *) "self",(char *) "target", NULL
1997 };
1998
1999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
2000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2002 {
2003 PyThreadState* __tstate = wxPyBeginAllowThreads();
2004 (arg1)->SetTargetWindow(arg2);
2005
2006 wxPyEndAllowThreads(__tstate);
2007 if (PyErr_Occurred()) SWIG_fail;
2008 }
2009 Py_INCREF(Py_None); resultobj = Py_None;
2010 return resultobj;
2011 fail:
2012 return NULL;
2013}
2014
2015
2016static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2017 PyObject *resultobj;
2018 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2019 wxWindow *result;
2020 PyObject * obj0 = 0 ;
2021 char *kwnames[] = {
2022 (char *) "self", NULL
2023 };
2024
2025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2027 {
2028 PyThreadState* __tstate = wxPyBeginAllowThreads();
2029 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2030
2031 wxPyEndAllowThreads(__tstate);
2032 if (PyErr_Occurred()) SWIG_fail;
2033 }
2034 {
2035 resultobj = wxPyMake_wxObject(result);
2036 }
2037 return resultobj;
2038 fail:
2039 return NULL;
2040}
2041
2042
2043static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2044 PyObject *resultobj;
2045 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2046 wxRect *arg2 = 0 ;
2047 wxRect temp2 ;
2048 PyObject * obj0 = 0 ;
2049 PyObject * obj1 = 0 ;
2050 char *kwnames[] = {
2051 (char *) "self",(char *) "rect", NULL
2052 };
2053
2054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2056 {
2057 arg2 = &temp2;
2058 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2059 }
2060 {
2061 PyThreadState* __tstate = wxPyBeginAllowThreads();
2062 (arg1)->SetTargetRect((wxRect const &)*arg2);
2063
2064 wxPyEndAllowThreads(__tstate);
2065 if (PyErr_Occurred()) SWIG_fail;
2066 }
2067 Py_INCREF(Py_None); resultobj = Py_None;
2068 return resultobj;
2069 fail:
2070 return NULL;
2071}
2072
2073
2074static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2075 PyObject *resultobj;
2076 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2077 wxRect result;
2078 PyObject * obj0 = 0 ;
2079 char *kwnames[] = {
2080 (char *) "self", NULL
2081 };
2082
2083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2085 {
2086 PyThreadState* __tstate = wxPyBeginAllowThreads();
2087 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2088
2089 wxPyEndAllowThreads(__tstate);
2090 if (PyErr_Occurred()) SWIG_fail;
2091 }
2092 {
2093 wxRect * resultptr;
2094 resultptr = new wxRect((wxRect &) result);
2095 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2096 }
2097 return resultobj;
2098 fail:
2099 return NULL;
2100}
2101
2102
2103static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2104 PyObject *obj;
2105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2106 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2107 Py_INCREF(obj);
2108 return Py_BuildValue((char *)"");
2109}
2110static PyObject *_wrap_new_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2111 PyObject *resultobj;
2112 int arg1 = (int) 0 ;
2113 int arg2 = (int) 0 ;
2114 int arg3 = (int) 0 ;
2115 wxMenuItem *arg4 = (wxMenuItem *) NULL ;
2116 wxAcceleratorEntry *result;
2117 PyObject * obj3 = 0 ;
2118 char *kwnames[] = {
2119 (char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2120 };
2121
2122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iiiO:new_AcceleratorEntry",kwnames,&arg1,&arg2,&arg3,&obj3)) goto fail;
2123 if (obj3) {
2124 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2125 }
2126 {
2127 PyThreadState* __tstate = wxPyBeginAllowThreads();
2128 result = (wxAcceleratorEntry *)new wxAcceleratorEntry(arg1,arg2,arg3,arg4);
2129
2130 wxPyEndAllowThreads(__tstate);
2131 if (PyErr_Occurred()) SWIG_fail;
2132 }
2133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 1);
2134 return resultobj;
2135 fail:
2136 return NULL;
2137}
2138
2139
2140static PyObject *_wrap_delete_AcceleratorEntry(PyObject *self, PyObject *args, PyObject *kwargs) {
2141 PyObject *resultobj;
2142 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2143 PyObject * obj0 = 0 ;
2144 char *kwnames[] = {
2145 (char *) "self", NULL
2146 };
2147
2148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorEntry",kwnames,&obj0)) goto fail;
2149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2150 {
2151 PyThreadState* __tstate = wxPyBeginAllowThreads();
2152 delete arg1;
2153
2154 wxPyEndAllowThreads(__tstate);
2155 if (PyErr_Occurred()) SWIG_fail;
2156 }
2157 Py_INCREF(Py_None); resultobj = Py_None;
2158 return resultobj;
2159 fail:
2160 return NULL;
2161}
2162
2163
2164static PyObject *_wrap_AcceleratorEntry_Set(PyObject *self, PyObject *args, PyObject *kwargs) {
2165 PyObject *resultobj;
2166 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2167 int arg2 ;
2168 int arg3 ;
2169 int arg4 ;
2170 wxMenuItem *arg5 = (wxMenuItem *) NULL ;
2171 PyObject * obj0 = 0 ;
2172 PyObject * obj4 = 0 ;
2173 char *kwnames[] = {
2174 (char *) "self",(char *) "flags",(char *) "keyCode",(char *) "cmd",(char *) "item", NULL
2175 };
2176
2177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiii|O:AcceleratorEntry_Set",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2179 if (obj4) {
2180 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2181 }
2182 {
2183 PyThreadState* __tstate = wxPyBeginAllowThreads();
2184 (arg1)->Set(arg2,arg3,arg4,arg5);
2185
2186 wxPyEndAllowThreads(__tstate);
2187 if (PyErr_Occurred()) SWIG_fail;
2188 }
2189 Py_INCREF(Py_None); resultobj = Py_None;
2190 return resultobj;
2191 fail:
2192 return NULL;
2193}
2194
2195
2196static PyObject *_wrap_AcceleratorEntry_SetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2197 PyObject *resultobj;
2198 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2199 wxMenuItem *arg2 = (wxMenuItem *) 0 ;
2200 PyObject * obj0 = 0 ;
2201 PyObject * obj1 = 0 ;
2202 char *kwnames[] = {
2203 (char *) "self",(char *) "item", NULL
2204 };
2205
2206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:AcceleratorEntry_SetMenuItem",kwnames,&obj0,&obj1)) goto fail;
2207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2208 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuItem,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2209 {
2210 PyThreadState* __tstate = wxPyBeginAllowThreads();
2211 (arg1)->SetMenuItem(arg2);
2212
2213 wxPyEndAllowThreads(__tstate);
2214 if (PyErr_Occurred()) SWIG_fail;
2215 }
2216 Py_INCREF(Py_None); resultobj = Py_None;
2217 return resultobj;
2218 fail:
2219 return NULL;
2220}
2221
2222
2223static PyObject *_wrap_AcceleratorEntry_GetMenuItem(PyObject *self, PyObject *args, PyObject *kwargs) {
2224 PyObject *resultobj;
2225 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2226 wxMenuItem *result;
2227 PyObject * obj0 = 0 ;
2228 char *kwnames[] = {
2229 (char *) "self", NULL
2230 };
2231
2232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetMenuItem",kwnames,&obj0)) goto fail;
2233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2234 {
2235 PyThreadState* __tstate = wxPyBeginAllowThreads();
2236 result = (wxMenuItem *)((wxAcceleratorEntry const *)arg1)->GetMenuItem();
2237
2238 wxPyEndAllowThreads(__tstate);
2239 if (PyErr_Occurred()) SWIG_fail;
2240 }
2241 {
2242 resultobj = wxPyMake_wxObject(result);
2243 }
2244 return resultobj;
2245 fail:
2246 return NULL;
2247}
2248
2249
2250static PyObject *_wrap_AcceleratorEntry_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
2251 PyObject *resultobj;
2252 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2253 int result;
2254 PyObject * obj0 = 0 ;
2255 char *kwnames[] = {
2256 (char *) "self", NULL
2257 };
2258
2259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetFlags",kwnames,&obj0)) goto fail;
2260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2261 {
2262 PyThreadState* __tstate = wxPyBeginAllowThreads();
2263 result = (int)(arg1)->GetFlags();
2264
2265 wxPyEndAllowThreads(__tstate);
2266 if (PyErr_Occurred()) SWIG_fail;
2267 }
2268 resultobj = PyInt_FromLong((long)result);
2269 return resultobj;
2270 fail:
2271 return NULL;
2272}
2273
2274
2275static PyObject *_wrap_AcceleratorEntry_GetKeyCode(PyObject *self, PyObject *args, PyObject *kwargs) {
2276 PyObject *resultobj;
2277 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2278 int result;
2279 PyObject * obj0 = 0 ;
2280 char *kwnames[] = {
2281 (char *) "self", NULL
2282 };
2283
2284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetKeyCode",kwnames,&obj0)) goto fail;
2285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2286 {
2287 PyThreadState* __tstate = wxPyBeginAllowThreads();
2288 result = (int)(arg1)->GetKeyCode();
2289
2290 wxPyEndAllowThreads(__tstate);
2291 if (PyErr_Occurred()) SWIG_fail;
2292 }
2293 resultobj = PyInt_FromLong((long)result);
2294 return resultobj;
2295 fail:
2296 return NULL;
2297}
2298
2299
2300static PyObject *_wrap_AcceleratorEntry_GetCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2301 PyObject *resultobj;
2302 wxAcceleratorEntry *arg1 = (wxAcceleratorEntry *) 0 ;
2303 int result;
2304 PyObject * obj0 = 0 ;
2305 char *kwnames[] = {
2306 (char *) "self", NULL
2307 };
2308
2309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorEntry_GetCommand",kwnames,&obj0)) goto fail;
2310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorEntry,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2311 {
2312 PyThreadState* __tstate = wxPyBeginAllowThreads();
2313 result = (int)(arg1)->GetCommand();
2314
2315 wxPyEndAllowThreads(__tstate);
2316 if (PyErr_Occurred()) SWIG_fail;
2317 }
2318 resultobj = PyInt_FromLong((long)result);
2319 return resultobj;
2320 fail:
2321 return NULL;
2322}
2323
2324
2325static PyObject * AcceleratorEntry_swigregister(PyObject *self, PyObject *args) {
2326 PyObject *obj;
2327 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2328 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorEntry, obj);
2329 Py_INCREF(obj);
2330 return Py_BuildValue((char *)"");
2331}
2332static PyObject *_wrap_new_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2333 PyObject *resultobj;
2334 int arg1 ;
2335 wxAcceleratorEntry *arg2 = (wxAcceleratorEntry *) 0 ;
2336 wxAcceleratorTable *result;
2337 PyObject * obj0 = 0 ;
2338 char *kwnames[] = {
2339 (char *) "n", NULL
2340 };
2341
2342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:new_AcceleratorTable",kwnames,&obj0)) goto fail;
2343 {
2344 arg2 = wxAcceleratorEntry_LIST_helper(obj0);
2345 if (arg2) arg1 = PyList_Size(obj0);
2346 else arg1 = 0;
2347 }
2348 {
2349 PyThreadState* __tstate = wxPyBeginAllowThreads();
2350 result = (wxAcceleratorTable *)new wxAcceleratorTable(arg1,(wxAcceleratorEntry const *)arg2);
2351
2352 wxPyEndAllowThreads(__tstate);
2353 if (PyErr_Occurred()) SWIG_fail;
2354 }
2355 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorTable, 1);
2356 {
2357 delete [] arg2;
2358 }
2359 return resultobj;
2360 fail:
2361 {
2362 delete [] arg2;
2363 }
2364 return NULL;
2365}
2366
2367
2368static PyObject *_wrap_delete_AcceleratorTable(PyObject *self, PyObject *args, PyObject *kwargs) {
2369 PyObject *resultobj;
2370 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2371 PyObject * obj0 = 0 ;
2372 char *kwnames[] = {
2373 (char *) "self", NULL
2374 };
2375
2376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_AcceleratorTable",kwnames,&obj0)) goto fail;
2377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2378 {
2379 PyThreadState* __tstate = wxPyBeginAllowThreads();
2380 delete arg1;
2381
2382 wxPyEndAllowThreads(__tstate);
2383 if (PyErr_Occurred()) SWIG_fail;
2384 }
2385 Py_INCREF(Py_None); resultobj = Py_None;
2386 return resultobj;
2387 fail:
2388 return NULL;
2389}
2390
2391
2392static PyObject *_wrap_AcceleratorTable_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
2393 PyObject *resultobj;
2394 wxAcceleratorTable *arg1 = (wxAcceleratorTable *) 0 ;
2395 bool result;
2396 PyObject * obj0 = 0 ;
2397 char *kwnames[] = {
2398 (char *) "self", NULL
2399 };
2400
2401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:AcceleratorTable_Ok",kwnames,&obj0)) goto fail;
2402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxAcceleratorTable,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2403 {
2404 PyThreadState* __tstate = wxPyBeginAllowThreads();
2405 result = (bool)((wxAcceleratorTable const *)arg1)->Ok();
2406
2407 wxPyEndAllowThreads(__tstate);
2408 if (PyErr_Occurred()) SWIG_fail;
2409 }
2410 resultobj = PyInt_FromLong((long)result);
2411 return resultobj;
2412 fail:
2413 return NULL;
2414}
2415
2416
2417static PyObject * AcceleratorTable_swigregister(PyObject *self, PyObject *args) {
2418 PyObject *obj;
2419 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2420 SWIG_TypeClientData(SWIGTYPE_p_wxAcceleratorTable, obj);
2421 Py_INCREF(obj);
2422 return Py_BuildValue((char *)"");
2423}
2424static int _wrap_NullAcceleratorTable_set(PyObject *_val) {
2425 PyErr_SetString(PyExc_TypeError,"Variable NullAcceleratorTable is read-only.");
2426 return 1;
2427}
2428
2429
2430static PyObject *_wrap_NullAcceleratorTable_get() {
2431 PyObject *pyobj;
2432
2433 pyobj = SWIG_NewPointerObj((void *) &wxNullAcceleratorTable, SWIGTYPE_p_wxAcceleratorTable, 0);
2434 return pyobj;
2435}
2436
2437
2438static PyObject *_wrap_GetAccelFromString(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject *resultobj;
2440 wxString *arg1 = 0 ;
2441 wxAcceleratorEntry *result;
2442 bool temp1 = false ;
2443 PyObject * obj0 = 0 ;
2444 char *kwnames[] = {
2445 (char *) "label", NULL
2446 };
2447
2448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:GetAccelFromString",kwnames,&obj0)) goto fail;
2449 {
2450 arg1 = wxString_in_helper(obj0);
2451 if (arg1 == NULL) SWIG_fail;
2452 temp1 = true;
2453 }
2454 {
2455 PyThreadState* __tstate = wxPyBeginAllowThreads();
2456 result = (wxAcceleratorEntry *)wxGetAccelFromString((wxString const &)*arg1);
2457
2458 wxPyEndAllowThreads(__tstate);
2459 if (PyErr_Occurred()) SWIG_fail;
2460 }
2461 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxAcceleratorEntry, 0);
2462 {
2463 if (temp1)
2464 delete arg1;
2465 }
2466 return resultobj;
2467 fail:
2468 {
2469 if (temp1)
2470 delete arg1;
2471 }
2472 return NULL;
2473}
2474
2475
2476static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2477 PyObject *resultobj;
2478 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2479 bool arg2 = (bool) TRUE ;
2480 PyObject * obj0 = 0 ;
2481 PyObject * obj1 = 0 ;
2482 char *kwnames[] = {
2483 (char *) "self",(char *) "maximize", NULL
2484 };
2485
2486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2488 if (obj1) {
2489 arg2 = PyInt_AsLong(obj1) ? true : false;
2490 if (PyErr_Occurred()) SWIG_fail;
2491 }
2492 {
2493 PyThreadState* __tstate = wxPyBeginAllowThreads();
2494 (arg1)->Maximize(arg2);
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_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2507 PyObject *resultobj;
2508 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2509 PyObject * obj0 = 0 ;
2510 char *kwnames[] = {
2511 (char *) "self", NULL
2512 };
2513
2514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2516 {
2517 PyThreadState* __tstate = wxPyBeginAllowThreads();
2518 (arg1)->Restore();
2519
2520 wxPyEndAllowThreads(__tstate);
2521 if (PyErr_Occurred()) SWIG_fail;
2522 }
2523 Py_INCREF(Py_None); resultobj = Py_None;
2524 return resultobj;
2525 fail:
2526 return NULL;
2527}
2528
2529
2530static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2531 PyObject *resultobj;
2532 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2533 bool arg2 = (bool) TRUE ;
2534 PyObject * obj0 = 0 ;
2535 PyObject * obj1 = 0 ;
2536 char *kwnames[] = {
2537 (char *) "self",(char *) "iconize", NULL
2538 };
2539
2540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2542 if (obj1) {
2543 arg2 = PyInt_AsLong(obj1) ? true : false;
2544 if (PyErr_Occurred()) SWIG_fail;
2545 }
2546 {
2547 PyThreadState* __tstate = wxPyBeginAllowThreads();
2548 (arg1)->Iconize(arg2);
2549
2550 wxPyEndAllowThreads(__tstate);
2551 if (PyErr_Occurred()) SWIG_fail;
2552 }
2553 Py_INCREF(Py_None); resultobj = Py_None;
2554 return resultobj;
2555 fail:
2556 return NULL;
2557}
2558
2559
2560static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2561 PyObject *resultobj;
2562 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2563 bool result;
2564 PyObject * obj0 = 0 ;
2565 char *kwnames[] = {
2566 (char *) "self", NULL
2567 };
2568
2569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2571 {
2572 PyThreadState* __tstate = wxPyBeginAllowThreads();
2573 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2574
2575 wxPyEndAllowThreads(__tstate);
2576 if (PyErr_Occurred()) SWIG_fail;
2577 }
2578 resultobj = PyInt_FromLong((long)result);
2579 return resultobj;
2580 fail:
2581 return NULL;
2582}
2583
2584
2585static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2586 PyObject *resultobj;
2587 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2588 bool result;
2589 PyObject * obj0 = 0 ;
2590 char *kwnames[] = {
2591 (char *) "self", NULL
2592 };
2593
2594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2596 {
2597 PyThreadState* __tstate = wxPyBeginAllowThreads();
2598 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2599
2600 wxPyEndAllowThreads(__tstate);
2601 if (PyErr_Occurred()) SWIG_fail;
2602 }
2603 resultobj = PyInt_FromLong((long)result);
2604 return resultobj;
2605 fail:
2606 return NULL;
2607}
2608
2609
2610static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2611 PyObject *resultobj;
2612 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2613 wxIcon result;
2614 PyObject * obj0 = 0 ;
2615 char *kwnames[] = {
2616 (char *) "self", NULL
2617 };
2618
2619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2621 {
2622 PyThreadState* __tstate = wxPyBeginAllowThreads();
2623 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2624
2625 wxPyEndAllowThreads(__tstate);
2626 if (PyErr_Occurred()) SWIG_fail;
2627 }
2628 {
2629 wxIcon * resultptr;
2630 resultptr = new wxIcon((wxIcon &) result);
2631 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2632 }
2633 return resultobj;
2634 fail:
2635 return NULL;
2636}
2637
2638
2639static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2640 PyObject *resultobj;
2641 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2642 wxIcon *arg2 = 0 ;
2643 PyObject * obj0 = 0 ;
2644 PyObject * obj1 = 0 ;
2645 char *kwnames[] = {
2646 (char *) "self",(char *) "icon", NULL
2647 };
2648
2649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2651 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2652 if (arg2 == NULL) {
2653 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2654 }
2655 {
2656 PyThreadState* __tstate = wxPyBeginAllowThreads();
2657 (arg1)->SetIcon((wxIcon const &)*arg2);
2658
2659 wxPyEndAllowThreads(__tstate);
2660 if (PyErr_Occurred()) SWIG_fail;
2661 }
2662 Py_INCREF(Py_None); resultobj = Py_None;
2663 return resultobj;
2664 fail:
2665 return NULL;
2666}
2667
2668
2669static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2670 PyObject *resultobj;
2671 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2672 wxIconBundle *arg2 = 0 ;
2673 PyObject * obj0 = 0 ;
2674 PyObject * obj1 = 0 ;
2675 char *kwnames[] = {
2676 (char *) "self",(char *) "icons", NULL
2677 };
2678
2679 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2680 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2681 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2682 if (arg2 == NULL) {
2683 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2684 }
2685 {
2686 PyThreadState* __tstate = wxPyBeginAllowThreads();
2687 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2688
2689 wxPyEndAllowThreads(__tstate);
2690 if (PyErr_Occurred()) SWIG_fail;
2691 }
2692 Py_INCREF(Py_None); resultobj = Py_None;
2693 return resultobj;
2694 fail:
2695 return NULL;
2696}
2697
2698
2699static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2700 PyObject *resultobj;
2701 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2702 bool arg2 ;
2703 long arg3 = (long) wxFULLSCREEN_ALL ;
2704 bool result;
2705 PyObject * obj0 = 0 ;
2706 PyObject * obj1 = 0 ;
2707 char *kwnames[] = {
2708 (char *) "self",(char *) "show",(char *) "style", NULL
2709 };
2710
2711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2713 arg2 = PyInt_AsLong(obj1) ? true : false;
2714 if (PyErr_Occurred()) SWIG_fail;
2715 {
2716 PyThreadState* __tstate = wxPyBeginAllowThreads();
2717 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2718
2719 wxPyEndAllowThreads(__tstate);
2720 if (PyErr_Occurred()) SWIG_fail;
2721 }
2722 resultobj = PyInt_FromLong((long)result);
2723 return resultobj;
2724 fail:
2725 return NULL;
2726}
2727
2728
2729static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2730 PyObject *resultobj;
2731 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2732 bool result;
2733 PyObject * obj0 = 0 ;
2734 char *kwnames[] = {
2735 (char *) "self", NULL
2736 };
2737
2738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2740 {
2741 PyThreadState* __tstate = wxPyBeginAllowThreads();
2742 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2743
2744 wxPyEndAllowThreads(__tstate);
2745 if (PyErr_Occurred()) SWIG_fail;
2746 }
2747 resultobj = PyInt_FromLong((long)result);
2748 return resultobj;
2749 fail:
2750 return NULL;
2751}
2752
2753
2754static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2755 PyObject *resultobj;
2756 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2757 wxString *arg2 = 0 ;
2758 bool temp2 = false ;
2759 PyObject * obj0 = 0 ;
2760 PyObject * obj1 = 0 ;
2761 char *kwnames[] = {
2762 (char *) "self",(char *) "title", NULL
2763 };
2764
2765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2767 {
2768 arg2 = wxString_in_helper(obj1);
2769 if (arg2 == NULL) SWIG_fail;
2770 temp2 = true;
2771 }
2772 {
2773 PyThreadState* __tstate = wxPyBeginAllowThreads();
2774 (arg1)->SetTitle((wxString const &)*arg2);
2775
2776 wxPyEndAllowThreads(__tstate);
2777 if (PyErr_Occurred()) SWIG_fail;
2778 }
2779 Py_INCREF(Py_None); resultobj = Py_None;
2780 {
2781 if (temp2)
2782 delete arg2;
2783 }
2784 return resultobj;
2785 fail:
2786 {
2787 if (temp2)
2788 delete arg2;
2789 }
2790 return NULL;
2791}
2792
2793
2794static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2795 PyObject *resultobj;
2796 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2797 wxString result;
2798 PyObject * obj0 = 0 ;
2799 char *kwnames[] = {
2800 (char *) "self", NULL
2801 };
2802
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2805 {
2806 PyThreadState* __tstate = wxPyBeginAllowThreads();
2807 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2808
2809 wxPyEndAllowThreads(__tstate);
2810 if (PyErr_Occurred()) SWIG_fail;
2811 }
2812 {
2813#if wxUSE_UNICODE
2814 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2815#else
2816 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2817#endif
2818 }
2819 return resultobj;
2820 fail:
2821 return NULL;
2822}
2823
2824
2825static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2826 PyObject *resultobj;
2827 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2828 wxRegion *arg2 = 0 ;
2829 bool result;
2830 PyObject * obj0 = 0 ;
2831 PyObject * obj1 = 0 ;
2832 char *kwnames[] = {
2833 (char *) "self",(char *) "region", NULL
2834 };
2835
2836 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2837 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2838 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2839 if (arg2 == NULL) {
2840 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2841 }
2842 {
2843 PyThreadState* __tstate = wxPyBeginAllowThreads();
2844 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2845
2846 wxPyEndAllowThreads(__tstate);
2847 if (PyErr_Occurred()) SWIG_fail;
2848 }
2849 resultobj = PyInt_FromLong((long)result);
2850 return resultobj;
2851 fail:
2852 return NULL;
2853}
2854
2855
2856static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2857 PyObject *obj;
2858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2859 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2860 Py_INCREF(obj);
2861 return Py_BuildValue((char *)"");
2862}
2863static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2864 PyObject *resultobj;
2865 wxWindow *arg1 = (wxWindow *) 0 ;
2866 wxWindowID arg2 ;
2867 wxString *arg3 = 0 ;
2868 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2869 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2870 wxSize const &arg5_defvalue = wxDefaultSize ;
2871 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2872 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2873 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2874 wxString *arg7 = (wxString *) &arg7_defvalue ;
2875 wxFrame *result;
2876 bool temp3 = false ;
2877 wxPoint temp4 ;
2878 wxSize temp5 ;
2879 bool temp7 = false ;
2880 PyObject * obj0 = 0 ;
2881 PyObject * obj2 = 0 ;
2882 PyObject * obj3 = 0 ;
2883 PyObject * obj4 = 0 ;
2884 PyObject * obj6 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2887 };
2888
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2891 {
2892 arg3 = wxString_in_helper(obj2);
2893 if (arg3 == NULL) SWIG_fail;
2894 temp3 = true;
2895 }
2896 if (obj3) {
2897 {
2898 arg4 = &temp4;
2899 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2900 }
2901 }
2902 if (obj4) {
2903 {
2904 arg5 = &temp5;
2905 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2906 }
2907 }
2908 if (obj6) {
2909 {
2910 arg7 = wxString_in_helper(obj6);
2911 if (arg7 == NULL) SWIG_fail;
2912 temp7 = true;
2913 }
2914 }
2915 {
2916 PyThreadState* __tstate = wxPyBeginAllowThreads();
2917 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2918
2919 wxPyEndAllowThreads(__tstate);
2920 if (PyErr_Occurred()) SWIG_fail;
2921 }
2922 {
2923 resultobj = wxPyMake_wxObject(result);
2924 }
2925 {
2926 if (temp3)
2927 delete arg3;
2928 }
2929 {
2930 if (temp7)
2931 delete arg7;
2932 }
2933 return resultobj;
2934 fail:
2935 {
2936 if (temp3)
2937 delete arg3;
2938 }
2939 {
2940 if (temp7)
2941 delete arg7;
2942 }
2943 return NULL;
2944}
2945
2946
2947static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2948 PyObject *resultobj;
2949 wxFrame *result;
2950 char *kwnames[] = {
2951 NULL
2952 };
2953
2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2955 {
2956 PyThreadState* __tstate = wxPyBeginAllowThreads();
2957 result = (wxFrame *)new wxFrame();
2958
2959 wxPyEndAllowThreads(__tstate);
2960 if (PyErr_Occurred()) SWIG_fail;
2961 }
2962 {
2963 resultobj = wxPyMake_wxObject(result);
2964 }
2965 return resultobj;
2966 fail:
2967 return NULL;
2968}
2969
2970
2971static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject *resultobj;
2973 wxFrame *arg1 = (wxFrame *) 0 ;
2974 wxWindow *arg2 = (wxWindow *) 0 ;
2975 wxWindowID arg3 ;
2976 wxString *arg4 = 0 ;
2977 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2978 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2979 wxSize const &arg6_defvalue = wxDefaultSize ;
2980 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2981 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2982 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2983 wxString *arg8 = (wxString *) &arg8_defvalue ;
2984 bool result;
2985 bool temp4 = false ;
2986 wxPoint temp5 ;
2987 wxSize temp6 ;
2988 bool temp8 = false ;
2989 PyObject * obj0 = 0 ;
2990 PyObject * obj1 = 0 ;
2991 PyObject * obj3 = 0 ;
2992 PyObject * obj4 = 0 ;
2993 PyObject * obj5 = 0 ;
2994 PyObject * obj7 = 0 ;
2995 char *kwnames[] = {
2996 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2997 };
2998
2999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3002 {
3003 arg4 = wxString_in_helper(obj3);
3004 if (arg4 == NULL) SWIG_fail;
3005 temp4 = true;
3006 }
3007 if (obj4) {
3008 {
3009 arg5 = &temp5;
3010 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3011 }
3012 }
3013 if (obj5) {
3014 {
3015 arg6 = &temp6;
3016 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3017 }
3018 }
3019 if (obj7) {
3020 {
3021 arg8 = wxString_in_helper(obj7);
3022 if (arg8 == NULL) SWIG_fail;
3023 temp8 = true;
3024 }
3025 }
3026 {
3027 PyThreadState* __tstate = wxPyBeginAllowThreads();
3028 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3029
3030 wxPyEndAllowThreads(__tstate);
3031 if (PyErr_Occurred()) SWIG_fail;
3032 }
3033 resultobj = PyInt_FromLong((long)result);
3034 {
3035 if (temp4)
3036 delete arg4;
3037 }
3038 {
3039 if (temp8)
3040 delete arg8;
3041 }
3042 return resultobj;
3043 fail:
3044 {
3045 if (temp4)
3046 delete arg4;
3047 }
3048 {
3049 if (temp8)
3050 delete arg8;
3051 }
3052 return NULL;
3053}
3054
3055
3056static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
3057 PyObject *resultobj;
3058 wxFrame *arg1 = (wxFrame *) 0 ;
3059 wxPoint result;
3060 PyObject * obj0 = 0 ;
3061 char *kwnames[] = {
3062 (char *) "self", NULL
3063 };
3064
3065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
3066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3067 {
3068 PyThreadState* __tstate = wxPyBeginAllowThreads();
3069 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
3070
3071 wxPyEndAllowThreads(__tstate);
3072 if (PyErr_Occurred()) SWIG_fail;
3073 }
3074 {
3075 wxPoint * resultptr;
3076 resultptr = new wxPoint((wxPoint &) result);
3077 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
3078 }
3079 return resultobj;
3080 fail:
3081 return NULL;
3082}
3083
3084
3085static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
3086 PyObject *resultobj;
3087 wxFrame *arg1 = (wxFrame *) 0 ;
3088 PyObject * obj0 = 0 ;
3089 char *kwnames[] = {
3090 (char *) "self", NULL
3091 };
3092
3093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
3094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3095 {
3096 PyThreadState* __tstate = wxPyBeginAllowThreads();
3097 (arg1)->SendSizeEvent();
3098
3099 wxPyEndAllowThreads(__tstate);
3100 if (PyErr_Occurred()) SWIG_fail;
3101 }
3102 Py_INCREF(Py_None); resultobj = Py_None;
3103 return resultobj;
3104 fail:
3105 return NULL;
3106}
3107
3108
3109static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3110 PyObject *resultobj;
3111 wxFrame *arg1 = (wxFrame *) 0 ;
3112 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
3113 PyObject * obj0 = 0 ;
3114 PyObject * obj1 = 0 ;
3115 char *kwnames[] = {
3116 (char *) "self",(char *) "menubar", NULL
3117 };
3118
3119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
3120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3122 {
3123 PyThreadState* __tstate = wxPyBeginAllowThreads();
3124 (arg1)->SetMenuBar(arg2);
3125
3126 wxPyEndAllowThreads(__tstate);
3127 if (PyErr_Occurred()) SWIG_fail;
3128 }
3129 Py_INCREF(Py_None); resultobj = Py_None;
3130 return resultobj;
3131 fail:
3132 return NULL;
3133}
3134
3135
3136static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3137 PyObject *resultobj;
3138 wxFrame *arg1 = (wxFrame *) 0 ;
3139 wxMenuBar *result;
3140 PyObject * obj0 = 0 ;
3141 char *kwnames[] = {
3142 (char *) "self", NULL
3143 };
3144
3145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
3146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3147 {
3148 PyThreadState* __tstate = wxPyBeginAllowThreads();
3149 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
3150
3151 wxPyEndAllowThreads(__tstate);
3152 if (PyErr_Occurred()) SWIG_fail;
3153 }
3154 {
3155 resultobj = wxPyMake_wxObject(result);
3156 }
3157 return resultobj;
3158 fail:
3159 return NULL;
3160}
3161
3162
3163static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
3164 PyObject *resultobj;
3165 wxFrame *arg1 = (wxFrame *) 0 ;
3166 int arg2 ;
3167 bool result;
3168 PyObject * obj0 = 0 ;
3169 char *kwnames[] = {
3170 (char *) "self",(char *) "winid", NULL
3171 };
3172
3173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
3174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3175 {
3176 PyThreadState* __tstate = wxPyBeginAllowThreads();
3177 result = (bool)(arg1)->ProcessCommand(arg2);
3178
3179 wxPyEndAllowThreads(__tstate);
3180 if (PyErr_Occurred()) SWIG_fail;
3181 }
3182 resultobj = PyInt_FromLong((long)result);
3183 return resultobj;
3184 fail:
3185 return NULL;
3186}
3187
3188
3189static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3190 PyObject *resultobj;
3191 wxFrame *arg1 = (wxFrame *) 0 ;
3192 int arg2 = (int) 1 ;
3193 long arg3 = (long) wxST_SIZEGRIP ;
3194 wxWindowID arg4 = (wxWindowID) 0 ;
3195 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
3196 wxString *arg5 = (wxString *) &arg5_defvalue ;
3197 wxStatusBar *result;
3198 bool temp5 = false ;
3199 PyObject * obj0 = 0 ;
3200 PyObject * obj4 = 0 ;
3201 char *kwnames[] = {
3202 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
3203 };
3204
3205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
3206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3207 if (obj4) {
3208 {
3209 arg5 = wxString_in_helper(obj4);
3210 if (arg5 == NULL) SWIG_fail;
3211 temp5 = true;
3212 }
3213 }
3214 {
3215 PyThreadState* __tstate = wxPyBeginAllowThreads();
3216 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
3217
3218 wxPyEndAllowThreads(__tstate);
3219 if (PyErr_Occurred()) SWIG_fail;
3220 }
3221 {
3222 resultobj = wxPyMake_wxObject(result);
3223 }
3224 {
3225 if (temp5)
3226 delete arg5;
3227 }
3228 return resultobj;
3229 fail:
3230 {
3231 if (temp5)
3232 delete arg5;
3233 }
3234 return NULL;
3235}
3236
3237
3238static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3239 PyObject *resultobj;
3240 wxFrame *arg1 = (wxFrame *) 0 ;
3241 wxStatusBar *result;
3242 PyObject * obj0 = 0 ;
3243 char *kwnames[] = {
3244 (char *) "self", NULL
3245 };
3246
3247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
3248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3249 {
3250 PyThreadState* __tstate = wxPyBeginAllowThreads();
3251 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
3252
3253 wxPyEndAllowThreads(__tstate);
3254 if (PyErr_Occurred()) SWIG_fail;
3255 }
3256 {
3257 resultobj = wxPyMake_wxObject(result);
3258 }
3259 return resultobj;
3260 fail:
3261 return NULL;
3262}
3263
3264
3265static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3266 PyObject *resultobj;
3267 wxFrame *arg1 = (wxFrame *) 0 ;
3268 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
3269 PyObject * obj0 = 0 ;
3270 PyObject * obj1 = 0 ;
3271 char *kwnames[] = {
3272 (char *) "self",(char *) "statBar", NULL
3273 };
3274
3275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
3276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3277 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3278 {
3279 PyThreadState* __tstate = wxPyBeginAllowThreads();
3280 (arg1)->SetStatusBar(arg2);
3281
3282 wxPyEndAllowThreads(__tstate);
3283 if (PyErr_Occurred()) SWIG_fail;
3284 }
3285 Py_INCREF(Py_None); resultobj = Py_None;
3286 return resultobj;
3287 fail:
3288 return NULL;
3289}
3290
3291
3292static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3293 PyObject *resultobj;
3294 wxFrame *arg1 = (wxFrame *) 0 ;
3295 wxString *arg2 = 0 ;
3296 int arg3 = (int) 0 ;
3297 bool temp2 = false ;
3298 PyObject * obj0 = 0 ;
3299 PyObject * obj1 = 0 ;
3300 char *kwnames[] = {
3301 (char *) "self",(char *) "text",(char *) "number", NULL
3302 };
3303
3304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3306 {
3307 arg2 = wxString_in_helper(obj1);
3308 if (arg2 == NULL) SWIG_fail;
3309 temp2 = true;
3310 }
3311 {
3312 PyThreadState* __tstate = wxPyBeginAllowThreads();
3313 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
3314
3315 wxPyEndAllowThreads(__tstate);
3316 if (PyErr_Occurred()) SWIG_fail;
3317 }
3318 Py_INCREF(Py_None); resultobj = Py_None;
3319 {
3320 if (temp2)
3321 delete arg2;
3322 }
3323 return resultobj;
3324 fail:
3325 {
3326 if (temp2)
3327 delete arg2;
3328 }
3329 return NULL;
3330}
3331
3332
3333static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3334 PyObject *resultobj;
3335 wxFrame *arg1 = (wxFrame *) 0 ;
3336 int arg2 ;
3337 int *arg3 = (int *) 0 ;
3338 PyObject * obj0 = 0 ;
3339 PyObject * obj1 = 0 ;
3340 char *kwnames[] = {
3341 (char *) "self",(char *) "widths", NULL
3342 };
3343
3344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3346 {
3347 arg2 = PyList_Size(obj1);
3348 arg3 = int_LIST_helper(obj1);
3349 if (arg3 == NULL) SWIG_fail;
3350 }
3351 {
3352 PyThreadState* __tstate = wxPyBeginAllowThreads();
3353 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3354
3355 wxPyEndAllowThreads(__tstate);
3356 if (PyErr_Occurred()) SWIG_fail;
3357 }
3358 Py_INCREF(Py_None); resultobj = Py_None;
3359 {
3360 if (arg3) delete [] arg3;
3361 }
3362 return resultobj;
3363 fail:
3364 {
3365 if (arg3) delete [] arg3;
3366 }
3367 return NULL;
3368}
3369
3370
3371static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3372 PyObject *resultobj;
3373 wxFrame *arg1 = (wxFrame *) 0 ;
3374 wxString *arg2 = 0 ;
3375 int arg3 = (int) 0 ;
3376 bool temp2 = false ;
3377 PyObject * obj0 = 0 ;
3378 PyObject * obj1 = 0 ;
3379 char *kwnames[] = {
3380 (char *) "self",(char *) "text",(char *) "number", NULL
3381 };
3382
3383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3385 {
3386 arg2 = wxString_in_helper(obj1);
3387 if (arg2 == NULL) SWIG_fail;
3388 temp2 = true;
3389 }
3390 {
3391 PyThreadState* __tstate = wxPyBeginAllowThreads();
3392 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3393
3394 wxPyEndAllowThreads(__tstate);
3395 if (PyErr_Occurred()) SWIG_fail;
3396 }
3397 Py_INCREF(Py_None); resultobj = Py_None;
3398 {
3399 if (temp2)
3400 delete arg2;
3401 }
3402 return resultobj;
3403 fail:
3404 {
3405 if (temp2)
3406 delete arg2;
3407 }
3408 return NULL;
3409}
3410
3411
3412static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3413 PyObject *resultobj;
3414 wxFrame *arg1 = (wxFrame *) 0 ;
3415 int arg2 = (int) 0 ;
3416 PyObject * obj0 = 0 ;
3417 char *kwnames[] = {
3418 (char *) "self",(char *) "number", NULL
3419 };
3420
3421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3423 {
3424 PyThreadState* __tstate = wxPyBeginAllowThreads();
3425 (arg1)->PopStatusText(arg2);
3426
3427 wxPyEndAllowThreads(__tstate);
3428 if (PyErr_Occurred()) SWIG_fail;
3429 }
3430 Py_INCREF(Py_None); resultobj = Py_None;
3431 return resultobj;
3432 fail:
3433 return NULL;
3434}
3435
3436
3437static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3438 PyObject *resultobj;
3439 wxFrame *arg1 = (wxFrame *) 0 ;
3440 int arg2 ;
3441 PyObject * obj0 = 0 ;
3442 char *kwnames[] = {
3443 (char *) "self",(char *) "n", NULL
3444 };
3445
3446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3448 {
3449 PyThreadState* __tstate = wxPyBeginAllowThreads();
3450 (arg1)->SetStatusBarPane(arg2);
3451
3452 wxPyEndAllowThreads(__tstate);
3453 if (PyErr_Occurred()) SWIG_fail;
3454 }
3455 Py_INCREF(Py_None); resultobj = Py_None;
3456 return resultobj;
3457 fail:
3458 return NULL;
3459}
3460
3461
3462static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3463 PyObject *resultobj;
3464 wxFrame *arg1 = (wxFrame *) 0 ;
3465 int result;
3466 PyObject * obj0 = 0 ;
3467 char *kwnames[] = {
3468 (char *) "self", NULL
3469 };
3470
3471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3473 {
3474 PyThreadState* __tstate = wxPyBeginAllowThreads();
3475 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3476
3477 wxPyEndAllowThreads(__tstate);
3478 if (PyErr_Occurred()) SWIG_fail;
3479 }
3480 resultobj = PyInt_FromLong((long)result);
3481 return resultobj;
3482 fail:
3483 return NULL;
3484}
3485
3486
3487static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3488 PyObject *resultobj;
3489 wxFrame *arg1 = (wxFrame *) 0 ;
3490 long arg2 = (long) -1 ;
3491 wxWindowID arg3 = (wxWindowID) -1 ;
3492 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3493 wxString *arg4 = (wxString *) &arg4_defvalue ;
3494 wxToolBar *result;
3495 bool temp4 = false ;
3496 PyObject * obj0 = 0 ;
3497 PyObject * obj3 = 0 ;
3498 char *kwnames[] = {
3499 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3500 };
3501
3502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3504 if (obj3) {
3505 {
3506 arg4 = wxString_in_helper(obj3);
3507 if (arg4 == NULL) SWIG_fail;
3508 temp4 = true;
3509 }
3510 }
3511 {
3512 PyThreadState* __tstate = wxPyBeginAllowThreads();
3513 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3514
3515 wxPyEndAllowThreads(__tstate);
3516 if (PyErr_Occurred()) SWIG_fail;
3517 }
3518 {
3519 resultobj = wxPyMake_wxObject(result);
3520 }
3521 {
3522 if (temp4)
3523 delete arg4;
3524 }
3525 return resultobj;
3526 fail:
3527 {
3528 if (temp4)
3529 delete arg4;
3530 }
3531 return NULL;
3532}
3533
3534
3535static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3536 PyObject *resultobj;
3537 wxFrame *arg1 = (wxFrame *) 0 ;
3538 wxToolBar *result;
3539 PyObject * obj0 = 0 ;
3540 char *kwnames[] = {
3541 (char *) "self", NULL
3542 };
3543
3544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3546 {
3547 PyThreadState* __tstate = wxPyBeginAllowThreads();
3548 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3549
3550 wxPyEndAllowThreads(__tstate);
3551 if (PyErr_Occurred()) SWIG_fail;
3552 }
3553 {
3554 resultobj = wxPyMake_wxObject(result);
3555 }
3556 return resultobj;
3557 fail:
3558 return NULL;
3559}
3560
3561
3562static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject *resultobj;
3564 wxFrame *arg1 = (wxFrame *) 0 ;
3565 wxToolBar *arg2 = (wxToolBar *) 0 ;
3566 PyObject * obj0 = 0 ;
3567 PyObject * obj1 = 0 ;
3568 char *kwnames[] = {
3569 (char *) "self",(char *) "toolbar", NULL
3570 };
3571
3572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3574 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3575 {
3576 PyThreadState* __tstate = wxPyBeginAllowThreads();
3577 (arg1)->SetToolBar(arg2);
3578
3579 wxPyEndAllowThreads(__tstate);
3580 if (PyErr_Occurred()) SWIG_fail;
3581 }
3582 Py_INCREF(Py_None); resultobj = Py_None;
3583 return resultobj;
3584 fail:
3585 return NULL;
3586}
3587
3588
3589static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3590 PyObject *resultobj;
3591 wxFrame *arg1 = (wxFrame *) 0 ;
3592 wxString *arg2 = 0 ;
3593 bool arg3 ;
3594 bool temp2 = false ;
3595 PyObject * obj0 = 0 ;
3596 PyObject * obj1 = 0 ;
3597 PyObject * obj2 = 0 ;
3598 char *kwnames[] = {
3599 (char *) "self",(char *) "text",(char *) "show", NULL
3600 };
3601
3602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3604 {
3605 arg2 = wxString_in_helper(obj1);
3606 if (arg2 == NULL) SWIG_fail;
3607 temp2 = true;
3608 }
3609 arg3 = PyInt_AsLong(obj2) ? true : false;
3610 if (PyErr_Occurred()) SWIG_fail;
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 Py_INCREF(Py_None); resultobj = Py_None;
3619 {
3620 if (temp2)
3621 delete arg2;
3622 }
3623 return resultobj;
3624 fail:
3625 {
3626 if (temp2)
3627 delete arg2;
3628 }
3629 return NULL;
3630}
3631
3632
3633static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3634 PyObject *resultobj;
3635 wxFrame *arg1 = (wxFrame *) 0 ;
3636 wxMenu *arg2 = (wxMenu *) NULL ;
3637 PyObject * obj0 = 0 ;
3638 PyObject * obj1 = 0 ;
3639 char *kwnames[] = {
3640 (char *) "self",(char *) "menu", NULL
3641 };
3642
3643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3645 if (obj1) {
3646 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3647 }
3648 {
3649 PyThreadState* __tstate = wxPyBeginAllowThreads();
3650 (arg1)->DoMenuUpdates(arg2);
3651
3652 wxPyEndAllowThreads(__tstate);
3653 if (PyErr_Occurred()) SWIG_fail;
3654 }
3655 Py_INCREF(Py_None); resultobj = Py_None;
3656 return resultobj;
3657 fail:
3658 return NULL;
3659}
3660
3661
3662static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3663 PyObject *obj;
3664 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3665 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3666 Py_INCREF(obj);
3667 return Py_BuildValue((char *)"");
3668}
3669static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3670 PyObject *resultobj;
3671 wxWindow *arg1 = (wxWindow *) 0 ;
3672 wxWindowID arg2 ;
3673 wxString *arg3 = 0 ;
3674 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3675 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3676 wxSize const &arg5_defvalue = wxDefaultSize ;
3677 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3678 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3679 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3680 wxString *arg7 = (wxString *) &arg7_defvalue ;
3681 wxDialog *result;
3682 bool temp3 = false ;
3683 wxPoint temp4 ;
3684 wxSize temp5 ;
3685 bool temp7 = false ;
3686 PyObject * obj0 = 0 ;
3687 PyObject * obj2 = 0 ;
3688 PyObject * obj3 = 0 ;
3689 PyObject * obj4 = 0 ;
3690 PyObject * obj6 = 0 ;
3691 char *kwnames[] = {
3692 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3697 {
3698 arg3 = wxString_in_helper(obj2);
3699 if (arg3 == NULL) SWIG_fail;
3700 temp3 = true;
3701 }
3702 if (obj3) {
3703 {
3704 arg4 = &temp4;
3705 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3706 }
3707 }
3708 if (obj4) {
3709 {
3710 arg5 = &temp5;
3711 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3712 }
3713 }
3714 if (obj6) {
3715 {
3716 arg7 = wxString_in_helper(obj6);
3717 if (arg7 == NULL) SWIG_fail;
3718 temp7 = true;
3719 }
3720 }
3721 {
3722 PyThreadState* __tstate = wxPyBeginAllowThreads();
3723 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3724
3725 wxPyEndAllowThreads(__tstate);
3726 if (PyErr_Occurred()) SWIG_fail;
3727 }
3728 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3729 {
3730 if (temp3)
3731 delete arg3;
3732 }
3733 {
3734 if (temp7)
3735 delete arg7;
3736 }
3737 return resultobj;
3738 fail:
3739 {
3740 if (temp3)
3741 delete arg3;
3742 }
3743 {
3744 if (temp7)
3745 delete arg7;
3746 }
3747 return NULL;
3748}
3749
3750
3751static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3752 PyObject *resultobj;
3753 wxDialog *result;
3754 char *kwnames[] = {
3755 NULL
3756 };
3757
3758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3759 {
3760 PyThreadState* __tstate = wxPyBeginAllowThreads();
3761 result = (wxDialog *)new wxDialog();
3762
3763 wxPyEndAllowThreads(__tstate);
3764 if (PyErr_Occurred()) SWIG_fail;
3765 }
3766 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3767 return resultobj;
3768 fail:
3769 return NULL;
3770}
3771
3772
3773static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3774 PyObject *resultobj;
3775 wxDialog *arg1 = (wxDialog *) 0 ;
3776 wxWindow *arg2 = (wxWindow *) 0 ;
3777 wxWindowID arg3 ;
3778 wxString *arg4 = 0 ;
3779 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3780 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3781 wxSize const &arg6_defvalue = wxDefaultSize ;
3782 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3783 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3784 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3785 wxString *arg8 = (wxString *) &arg8_defvalue ;
3786 bool result;
3787 bool temp4 = false ;
3788 wxPoint temp5 ;
3789 wxSize temp6 ;
3790 bool temp8 = false ;
3791 PyObject * obj0 = 0 ;
3792 PyObject * obj1 = 0 ;
3793 PyObject * obj3 = 0 ;
3794 PyObject * obj4 = 0 ;
3795 PyObject * obj5 = 0 ;
3796 PyObject * obj7 = 0 ;
3797 char *kwnames[] = {
3798 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3799 };
3800
3801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3803 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3804 {
3805 arg4 = wxString_in_helper(obj3);
3806 if (arg4 == NULL) SWIG_fail;
3807 temp4 = true;
3808 }
3809 if (obj4) {
3810 {
3811 arg5 = &temp5;
3812 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3813 }
3814 }
3815 if (obj5) {
3816 {
3817 arg6 = &temp6;
3818 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3819 }
3820 }
3821 if (obj7) {
3822 {
3823 arg8 = wxString_in_helper(obj7);
3824 if (arg8 == NULL) SWIG_fail;
3825 temp8 = true;
3826 }
3827 }
3828 {
3829 PyThreadState* __tstate = wxPyBeginAllowThreads();
3830 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3831
3832 wxPyEndAllowThreads(__tstate);
3833 if (PyErr_Occurred()) SWIG_fail;
3834 }
3835 resultobj = PyInt_FromLong((long)result);
3836 {
3837 if (temp4)
3838 delete arg4;
3839 }
3840 {
3841 if (temp8)
3842 delete arg8;
3843 }
3844 return resultobj;
3845 fail:
3846 {
3847 if (temp4)
3848 delete arg4;
3849 }
3850 {
3851 if (temp8)
3852 delete arg8;
3853 }
3854 return NULL;
3855}
3856
3857
3858static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3859 PyObject *resultobj;
3860 wxDialog *arg1 = (wxDialog *) 0 ;
3861 int arg2 ;
3862 PyObject * obj0 = 0 ;
3863 char *kwnames[] = {
3864 (char *) "self",(char *) "returnCode", NULL
3865 };
3866
3867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3869 {
3870 PyThreadState* __tstate = wxPyBeginAllowThreads();
3871 (arg1)->SetReturnCode(arg2);
3872
3873 wxPyEndAllowThreads(__tstate);
3874 if (PyErr_Occurred()) SWIG_fail;
3875 }
3876 Py_INCREF(Py_None); resultobj = Py_None;
3877 return resultobj;
3878 fail:
3879 return NULL;
3880}
3881
3882
3883static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3884 PyObject *resultobj;
3885 wxDialog *arg1 = (wxDialog *) 0 ;
3886 int result;
3887 PyObject * obj0 = 0 ;
3888 char *kwnames[] = {
3889 (char *) "self", NULL
3890 };
3891
3892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3894 {
3895 PyThreadState* __tstate = wxPyBeginAllowThreads();
3896 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3897
3898 wxPyEndAllowThreads(__tstate);
3899 if (PyErr_Occurred()) SWIG_fail;
3900 }
3901 resultobj = PyInt_FromLong((long)result);
3902 return resultobj;
3903 fail:
3904 return NULL;
3905}
3906
3907
3908static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3909 PyObject *resultobj;
3910 wxDialog *arg1 = (wxDialog *) 0 ;
3911 wxString *arg2 = 0 ;
3912 wxSizer *result;
3913 bool temp2 = false ;
3914 PyObject * obj0 = 0 ;
3915 PyObject * obj1 = 0 ;
3916 char *kwnames[] = {
3917 (char *) "self",(char *) "message", NULL
3918 };
3919
3920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3922 {
3923 arg2 = wxString_in_helper(obj1);
3924 if (arg2 == NULL) SWIG_fail;
3925 temp2 = true;
3926 }
3927 {
3928 PyThreadState* __tstate = wxPyBeginAllowThreads();
3929 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3930
3931 wxPyEndAllowThreads(__tstate);
3932 if (PyErr_Occurred()) SWIG_fail;
3933 }
3934 {
3935 resultobj = wxPyMake_wxSizer(result);
3936 }
3937 {
3938 if (temp2)
3939 delete arg2;
3940 }
3941 return resultobj;
3942 fail:
3943 {
3944 if (temp2)
3945 delete arg2;
3946 }
3947 return NULL;
3948}
3949
3950
3951static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3952 PyObject *resultobj;
3953 wxDialog *arg1 = (wxDialog *) 0 ;
3954 long arg2 ;
3955 wxSizer *result;
3956 PyObject * obj0 = 0 ;
3957 char *kwnames[] = {
3958 (char *) "self",(char *) "flags", NULL
3959 };
3960
3961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3963 {
3964 PyThreadState* __tstate = wxPyBeginAllowThreads();
3965 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3966
3967 wxPyEndAllowThreads(__tstate);
3968 if (PyErr_Occurred()) SWIG_fail;
3969 }
3970 {
3971 resultobj = wxPyMake_wxSizer(result);
3972 }
3973 return resultobj;
3974 fail:
3975 return NULL;
3976}
3977
3978
3979static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3980 PyObject *resultobj;
3981 wxDialog *arg1 = (wxDialog *) 0 ;
3982 bool arg2 ;
3983 PyObject * obj0 = 0 ;
3984 PyObject * obj1 = 0 ;
3985 char *kwnames[] = {
3986 (char *) "self",(char *) "flag", NULL
3987 };
3988
3989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3991 arg2 = PyInt_AsLong(obj1) ? true : false;
3992 if (PyErr_Occurred()) SWIG_fail;
3993 {
3994 PyThreadState* __tstate = wxPyBeginAllowThreads();
3995 (arg1)->SetModal(arg2);
3996
3997 wxPyEndAllowThreads(__tstate);
3998 if (PyErr_Occurred()) SWIG_fail;
3999 }
4000 Py_INCREF(Py_None); resultobj = Py_None;
4001 return resultobj;
4002 fail:
4003 return NULL;
4004}
4005
4006
4007static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4008 PyObject *resultobj;
4009 wxDialog *arg1 = (wxDialog *) 0 ;
4010 bool result;
4011 PyObject * obj0 = 0 ;
4012 char *kwnames[] = {
4013 (char *) "self", NULL
4014 };
4015
4016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
4017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4018 {
4019 PyThreadState* __tstate = wxPyBeginAllowThreads();
4020 result = (bool)((wxDialog const *)arg1)->IsModal();
4021
4022 wxPyEndAllowThreads(__tstate);
4023 if (PyErr_Occurred()) SWIG_fail;
4024 }
4025 resultobj = PyInt_FromLong((long)result);
4026 return resultobj;
4027 fail:
4028 return NULL;
4029}
4030
4031
4032static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4033 PyObject *resultobj;
4034 wxDialog *arg1 = (wxDialog *) 0 ;
4035 int result;
4036 PyObject * obj0 = 0 ;
4037 char *kwnames[] = {
4038 (char *) "self", NULL
4039 };
4040
4041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
4042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4043 {
4044 PyThreadState* __tstate = wxPyBeginAllowThreads();
4045 result = (int)(arg1)->ShowModal();
4046
4047 wxPyEndAllowThreads(__tstate);
4048 if (PyErr_Occurred()) SWIG_fail;
4049 }
4050 resultobj = PyInt_FromLong((long)result);
4051 return resultobj;
4052 fail:
4053 return NULL;
4054}
4055
4056
4057static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
4058 PyObject *resultobj;
4059 wxDialog *arg1 = (wxDialog *) 0 ;
4060 int arg2 ;
4061 PyObject * obj0 = 0 ;
4062 char *kwnames[] = {
4063 (char *) "self",(char *) "retCode", NULL
4064 };
4065
4066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
4067 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4068 {
4069 PyThreadState* __tstate = wxPyBeginAllowThreads();
4070 (arg1)->EndModal(arg2);
4071
4072 wxPyEndAllowThreads(__tstate);
4073 if (PyErr_Occurred()) SWIG_fail;
4074 }
4075 Py_INCREF(Py_None); resultobj = Py_None;
4076 return resultobj;
4077 fail:
4078 return NULL;
4079}
4080
4081
4082static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
4083 PyObject *resultobj;
4084 wxDialog *arg1 = (wxDialog *) 0 ;
4085 bool result;
4086 PyObject * obj0 = 0 ;
4087 char *kwnames[] = {
4088 (char *) "self", NULL
4089 };
4090
4091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
4092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4093 {
4094 PyThreadState* __tstate = wxPyBeginAllowThreads();
4095 result = (bool)wxDialog_IsModalShowing(arg1);
4096
4097 wxPyEndAllowThreads(__tstate);
4098 if (PyErr_Occurred()) SWIG_fail;
4099 }
4100 resultobj = PyInt_FromLong((long)result);
4101 return resultobj;
4102 fail:
4103 return NULL;
4104}
4105
4106
4107static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
4108 PyObject *obj;
4109 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4110 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
4111 Py_INCREF(obj);
4112 return Py_BuildValue((char *)"");
4113}
4114static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4115 PyObject *resultobj;
4116 wxWindow *arg1 = (wxWindow *) 0 ;
4117 wxWindowID arg2 ;
4118 wxString *arg3 = 0 ;
4119 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4120 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4121 wxSize const &arg5_defvalue = wxDefaultSize ;
4122 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4123 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
4124 wxString const &arg7_defvalue = wxPyFrameNameStr ;
4125 wxString *arg7 = (wxString *) &arg7_defvalue ;
4126 wxMiniFrame *result;
4127 bool temp3 = false ;
4128 wxPoint temp4 ;
4129 wxSize temp5 ;
4130 bool temp7 = false ;
4131 PyObject * obj0 = 0 ;
4132 PyObject * obj2 = 0 ;
4133 PyObject * obj3 = 0 ;
4134 PyObject * obj4 = 0 ;
4135 PyObject * obj6 = 0 ;
4136 char *kwnames[] = {
4137 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4138 };
4139
4140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
4141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4142 {
4143 arg3 = wxString_in_helper(obj2);
4144 if (arg3 == NULL) SWIG_fail;
4145 temp3 = true;
4146 }
4147 if (obj3) {
4148 {
4149 arg4 = &temp4;
4150 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4151 }
4152 }
4153 if (obj4) {
4154 {
4155 arg5 = &temp5;
4156 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4157 }
4158 }
4159 if (obj6) {
4160 {
4161 arg7 = wxString_in_helper(obj6);
4162 if (arg7 == NULL) SWIG_fail;
4163 temp7 = true;
4164 }
4165 }
4166 {
4167 PyThreadState* __tstate = wxPyBeginAllowThreads();
4168 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4169
4170 wxPyEndAllowThreads(__tstate);
4171 if (PyErr_Occurred()) SWIG_fail;
4172 }
4173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4174 {
4175 if (temp3)
4176 delete arg3;
4177 }
4178 {
4179 if (temp7)
4180 delete arg7;
4181 }
4182 return resultobj;
4183 fail:
4184 {
4185 if (temp3)
4186 delete arg3;
4187 }
4188 {
4189 if (temp7)
4190 delete arg7;
4191 }
4192 return NULL;
4193}
4194
4195
4196static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
4197 PyObject *resultobj;
4198 wxMiniFrame *result;
4199 char *kwnames[] = {
4200 NULL
4201 };
4202
4203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
4204 {
4205 PyThreadState* __tstate = wxPyBeginAllowThreads();
4206 result = (wxMiniFrame *)new wxMiniFrame();
4207
4208 wxPyEndAllowThreads(__tstate);
4209 if (PyErr_Occurred()) SWIG_fail;
4210 }
4211 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
4212 return resultobj;
4213 fail:
4214 return NULL;
4215}
4216
4217
4218static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4219 PyObject *resultobj;
4220 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
4221 wxWindow *arg2 = (wxWindow *) 0 ;
4222 wxWindowID arg3 ;
4223 wxString *arg4 = 0 ;
4224 wxPoint const &arg5_defvalue = wxDefaultPosition ;
4225 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
4226 wxSize const &arg6_defvalue = wxDefaultSize ;
4227 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
4228 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
4229 wxString const &arg8_defvalue = wxPyFrameNameStr ;
4230 wxString *arg8 = (wxString *) &arg8_defvalue ;
4231 bool result;
4232 bool temp4 = false ;
4233 wxPoint temp5 ;
4234 wxSize temp6 ;
4235 bool temp8 = false ;
4236 PyObject * obj0 = 0 ;
4237 PyObject * obj1 = 0 ;
4238 PyObject * obj3 = 0 ;
4239 PyObject * obj4 = 0 ;
4240 PyObject * obj5 = 0 ;
4241 PyObject * obj7 = 0 ;
4242 char *kwnames[] = {
4243 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4244 };
4245
4246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
4247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4248 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4249 {
4250 arg4 = wxString_in_helper(obj3);
4251 if (arg4 == NULL) SWIG_fail;
4252 temp4 = true;
4253 }
4254 if (obj4) {
4255 {
4256 arg5 = &temp5;
4257 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
4258 }
4259 }
4260 if (obj5) {
4261 {
4262 arg6 = &temp6;
4263 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
4264 }
4265 }
4266 if (obj7) {
4267 {
4268 arg8 = wxString_in_helper(obj7);
4269 if (arg8 == NULL) SWIG_fail;
4270 temp8 = true;
4271 }
4272 }
4273 {
4274 PyThreadState* __tstate = wxPyBeginAllowThreads();
4275 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
4276
4277 wxPyEndAllowThreads(__tstate);
4278 if (PyErr_Occurred()) SWIG_fail;
4279 }
4280 resultobj = PyInt_FromLong((long)result);
4281 {
4282 if (temp4)
4283 delete arg4;
4284 }
4285 {
4286 if (temp8)
4287 delete arg8;
4288 }
4289 return resultobj;
4290 fail:
4291 {
4292 if (temp4)
4293 delete arg4;
4294 }
4295 {
4296 if (temp8)
4297 delete arg8;
4298 }
4299 return NULL;
4300}
4301
4302
4303static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
4304 PyObject *obj;
4305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4306 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
4307 Py_INCREF(obj);
4308 return Py_BuildValue((char *)"");
4309}
4310static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4311 PyObject *resultobj;
4312 wxBitmap *arg1 = 0 ;
4313 wxWindow *arg2 = (wxWindow *) 0 ;
4314 wxWindowID arg3 ;
4315 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4316 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4317 wxSize const &arg5_defvalue = wxDefaultSize ;
4318 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4319 long arg6 = (long) wxNO_BORDER ;
4320 wxSplashScreenWindow *result;
4321 wxPoint temp4 ;
4322 wxSize temp5 ;
4323 PyObject * obj0 = 0 ;
4324 PyObject * obj1 = 0 ;
4325 PyObject * obj3 = 0 ;
4326 PyObject * obj4 = 0 ;
4327 char *kwnames[] = {
4328 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4329 };
4330
4331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4333 if (arg1 == NULL) {
4334 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4335 }
4336 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4337 if (obj3) {
4338 {
4339 arg4 = &temp4;
4340 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4341 }
4342 }
4343 if (obj4) {
4344 {
4345 arg5 = &temp5;
4346 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4347 }
4348 }
4349 {
4350 PyThreadState* __tstate = wxPyBeginAllowThreads();
4351 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4352
4353 wxPyEndAllowThreads(__tstate);
4354 if (PyErr_Occurred()) SWIG_fail;
4355 }
4356 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4357 return resultobj;
4358 fail:
4359 return NULL;
4360}
4361
4362
4363static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4364 PyObject *resultobj;
4365 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4366 wxBitmap *arg2 = 0 ;
4367 PyObject * obj0 = 0 ;
4368 PyObject * obj1 = 0 ;
4369 char *kwnames[] = {
4370 (char *) "self",(char *) "bitmap", NULL
4371 };
4372
4373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4375 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4376 if (arg2 == NULL) {
4377 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4378 }
4379 {
4380 PyThreadState* __tstate = wxPyBeginAllowThreads();
4381 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4382
4383 wxPyEndAllowThreads(__tstate);
4384 if (PyErr_Occurred()) SWIG_fail;
4385 }
4386 Py_INCREF(Py_None); resultobj = Py_None;
4387 return resultobj;
4388 fail:
4389 return NULL;
4390}
4391
4392
4393static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4394 PyObject *resultobj;
4395 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4396 wxBitmap *result;
4397 PyObject * obj0 = 0 ;
4398 char *kwnames[] = {
4399 (char *) "self", NULL
4400 };
4401
4402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4404 {
4405 PyThreadState* __tstate = wxPyBeginAllowThreads();
4406 {
4407 wxBitmap &_result_ref = (arg1)->GetBitmap();
4408 result = (wxBitmap *) &_result_ref;
4409 }
4410
4411 wxPyEndAllowThreads(__tstate);
4412 if (PyErr_Occurred()) SWIG_fail;
4413 }
4414 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4415 return resultobj;
4416 fail:
4417 return NULL;
4418}
4419
4420
4421static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4422 PyObject *obj;
4423 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4424 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4425 Py_INCREF(obj);
4426 return Py_BuildValue((char *)"");
4427}
4428static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4429 PyObject *resultobj;
4430 wxBitmap *arg1 = 0 ;
4431 long arg2 ;
4432 int arg3 ;
4433 wxWindow *arg4 = (wxWindow *) 0 ;
4434 wxWindowID arg5 ;
4435 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4436 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4437 wxSize const &arg7_defvalue = wxDefaultSize ;
4438 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4439 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4440 wxSplashScreen *result;
4441 wxPoint temp6 ;
4442 wxSize temp7 ;
4443 PyObject * obj0 = 0 ;
4444 PyObject * obj3 = 0 ;
4445 PyObject * obj5 = 0 ;
4446 PyObject * obj6 = 0 ;
4447 char *kwnames[] = {
4448 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4449 };
4450
4451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4453 if (arg1 == NULL) {
4454 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4455 }
4456 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4457 if (obj5) {
4458 {
4459 arg6 = &temp6;
4460 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4461 }
4462 }
4463 if (obj6) {
4464 {
4465 arg7 = &temp7;
4466 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4467 }
4468 }
4469 {
4470 PyThreadState* __tstate = wxPyBeginAllowThreads();
4471 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4472
4473 wxPyEndAllowThreads(__tstate);
4474 if (PyErr_Occurred()) SWIG_fail;
4475 }
4476 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4477 return resultobj;
4478 fail:
4479 return NULL;
4480}
4481
4482
4483static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4484 PyObject *resultobj;
4485 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4486 long result;
4487 PyObject * obj0 = 0 ;
4488 char *kwnames[] = {
4489 (char *) "self", NULL
4490 };
4491
4492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4494 {
4495 PyThreadState* __tstate = wxPyBeginAllowThreads();
4496 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4497
4498 wxPyEndAllowThreads(__tstate);
4499 if (PyErr_Occurred()) SWIG_fail;
4500 }
4501 resultobj = PyInt_FromLong((long)result);
4502 return resultobj;
4503 fail:
4504 return NULL;
4505}
4506
4507
4508static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4509 PyObject *resultobj;
4510 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4511 wxSplashScreenWindow *result;
4512 PyObject * obj0 = 0 ;
4513 char *kwnames[] = {
4514 (char *) "self", NULL
4515 };
4516
4517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4519 {
4520 PyThreadState* __tstate = wxPyBeginAllowThreads();
4521 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4522
4523 wxPyEndAllowThreads(__tstate);
4524 if (PyErr_Occurred()) SWIG_fail;
4525 }
4526 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4527 return resultobj;
4528 fail:
4529 return NULL;
4530}
4531
4532
4533static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4534 PyObject *resultobj;
4535 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4536 int result;
4537 PyObject * obj0 = 0 ;
4538 char *kwnames[] = {
4539 (char *) "self", NULL
4540 };
4541
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4544 {
4545 PyThreadState* __tstate = wxPyBeginAllowThreads();
4546 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4547
4548 wxPyEndAllowThreads(__tstate);
4549 if (PyErr_Occurred()) SWIG_fail;
4550 }
4551 resultobj = PyInt_FromLong((long)result);
4552 return resultobj;
4553 fail:
4554 return NULL;
4555}
4556
4557
4558static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4559 PyObject *obj;
4560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4561 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4562 Py_INCREF(obj);
4563 return Py_BuildValue((char *)"");
4564}
4565static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4566 PyObject *resultobj;
4567 wxWindow *arg1 = (wxWindow *) 0 ;
4568 wxWindowID arg2 = (wxWindowID) -1 ;
4569 long arg3 = (long) wxST_SIZEGRIP ;
4570 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4571 wxString *arg4 = (wxString *) &arg4_defvalue ;
4572 wxStatusBar *result;
4573 bool temp4 = false ;
4574 PyObject * obj0 = 0 ;
4575 PyObject * obj3 = 0 ;
4576 char *kwnames[] = {
4577 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4578 };
4579
4580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4582 if (obj3) {
4583 {
4584 arg4 = wxString_in_helper(obj3);
4585 if (arg4 == NULL) SWIG_fail;
4586 temp4 = true;
4587 }
4588 }
4589 {
4590 PyThreadState* __tstate = wxPyBeginAllowThreads();
4591 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4592
4593 wxPyEndAllowThreads(__tstate);
4594 if (PyErr_Occurred()) SWIG_fail;
4595 }
4596 {
4597 resultobj = wxPyMake_wxObject(result);
4598 }
4599 {
4600 if (temp4)
4601 delete arg4;
4602 }
4603 return resultobj;
4604 fail:
4605 {
4606 if (temp4)
4607 delete arg4;
4608 }
4609 return NULL;
4610}
4611
4612
4613static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4614 PyObject *resultobj;
4615 wxStatusBar *result;
4616 char *kwnames[] = {
4617 NULL
4618 };
4619
4620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4621 {
4622 PyThreadState* __tstate = wxPyBeginAllowThreads();
4623 result = (wxStatusBar *)new wxStatusBar();
4624
4625 wxPyEndAllowThreads(__tstate);
4626 if (PyErr_Occurred()) SWIG_fail;
4627 }
4628 {
4629 resultobj = wxPyMake_wxObject(result);
4630 }
4631 return resultobj;
4632 fail:
4633 return NULL;
4634}
4635
4636
4637static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4638 PyObject *resultobj;
4639 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4640 wxWindow *arg2 = (wxWindow *) 0 ;
4641 wxWindowID arg3 ;
4642 long arg4 = (long) wxST_SIZEGRIP ;
4643 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4644 wxString *arg5 = (wxString *) &arg5_defvalue ;
4645 bool result;
4646 bool temp5 = false ;
4647 PyObject * obj0 = 0 ;
4648 PyObject * obj1 = 0 ;
4649 PyObject * obj4 = 0 ;
4650 char *kwnames[] = {
4651 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4652 };
4653
4654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4656 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4657 if (obj4) {
4658 {
4659 arg5 = wxString_in_helper(obj4);
4660 if (arg5 == NULL) SWIG_fail;
4661 temp5 = true;
4662 }
4663 }
4664 {
4665 PyThreadState* __tstate = wxPyBeginAllowThreads();
4666 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4667
4668 wxPyEndAllowThreads(__tstate);
4669 if (PyErr_Occurred()) SWIG_fail;
4670 }
4671 resultobj = PyInt_FromLong((long)result);
4672 {
4673 if (temp5)
4674 delete arg5;
4675 }
4676 return resultobj;
4677 fail:
4678 {
4679 if (temp5)
4680 delete arg5;
4681 }
4682 return NULL;
4683}
4684
4685
4686static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4687 PyObject *resultobj;
4688 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4689 int arg2 = (int) 1 ;
4690 PyObject * obj0 = 0 ;
4691 char *kwnames[] = {
4692 (char *) "self",(char *) "number", NULL
4693 };
4694
4695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4697 {
4698 PyThreadState* __tstate = wxPyBeginAllowThreads();
4699 (arg1)->SetFieldsCount(arg2);
4700
4701 wxPyEndAllowThreads(__tstate);
4702 if (PyErr_Occurred()) SWIG_fail;
4703 }
4704 Py_INCREF(Py_None); resultobj = Py_None;
4705 return resultobj;
4706 fail:
4707 return NULL;
4708}
4709
4710
4711static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4712 PyObject *resultobj;
4713 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4714 int result;
4715 PyObject * obj0 = 0 ;
4716 char *kwnames[] = {
4717 (char *) "self", NULL
4718 };
4719
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4722 {
4723 PyThreadState* __tstate = wxPyBeginAllowThreads();
4724 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4725
4726 wxPyEndAllowThreads(__tstate);
4727 if (PyErr_Occurred()) SWIG_fail;
4728 }
4729 resultobj = PyInt_FromLong((long)result);
4730 return resultobj;
4731 fail:
4732 return NULL;
4733}
4734
4735
4736static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4737 PyObject *resultobj;
4738 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4739 wxString *arg2 = 0 ;
4740 int arg3 = (int) 0 ;
4741 bool temp2 = false ;
4742 PyObject * obj0 = 0 ;
4743 PyObject * obj1 = 0 ;
4744 char *kwnames[] = {
4745 (char *) "self",(char *) "text",(char *) "number", NULL
4746 };
4747
4748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4750 {
4751 arg2 = wxString_in_helper(obj1);
4752 if (arg2 == NULL) SWIG_fail;
4753 temp2 = true;
4754 }
4755 {
4756 PyThreadState* __tstate = wxPyBeginAllowThreads();
4757 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4758
4759 wxPyEndAllowThreads(__tstate);
4760 if (PyErr_Occurred()) SWIG_fail;
4761 }
4762 Py_INCREF(Py_None); resultobj = Py_None;
4763 {
4764 if (temp2)
4765 delete arg2;
4766 }
4767 return resultobj;
4768 fail:
4769 {
4770 if (temp2)
4771 delete arg2;
4772 }
4773 return NULL;
4774}
4775
4776
4777static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4778 PyObject *resultobj;
4779 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4780 int arg2 = (int) 0 ;
4781 wxString result;
4782 PyObject * obj0 = 0 ;
4783 char *kwnames[] = {
4784 (char *) "self",(char *) "number", NULL
4785 };
4786
4787 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4788 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4792
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 {
4797#if wxUSE_UNICODE
4798 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4799#else
4800 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4801#endif
4802 }
4803 return resultobj;
4804 fail:
4805 return NULL;
4806}
4807
4808
4809static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4810 PyObject *resultobj;
4811 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4812 wxString *arg2 = 0 ;
4813 int arg3 = (int) 0 ;
4814 bool temp2 = false ;
4815 PyObject * obj0 = 0 ;
4816 PyObject * obj1 = 0 ;
4817 char *kwnames[] = {
4818 (char *) "self",(char *) "text",(char *) "number", NULL
4819 };
4820
4821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4823 {
4824 arg2 = wxString_in_helper(obj1);
4825 if (arg2 == NULL) SWIG_fail;
4826 temp2 = true;
4827 }
4828 {
4829 PyThreadState* __tstate = wxPyBeginAllowThreads();
4830 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4831
4832 wxPyEndAllowThreads(__tstate);
4833 if (PyErr_Occurred()) SWIG_fail;
4834 }
4835 Py_INCREF(Py_None); resultobj = Py_None;
4836 {
4837 if (temp2)
4838 delete arg2;
4839 }
4840 return resultobj;
4841 fail:
4842 {
4843 if (temp2)
4844 delete arg2;
4845 }
4846 return NULL;
4847}
4848
4849
4850static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4851 PyObject *resultobj;
4852 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4853 int arg2 = (int) 0 ;
4854 PyObject * obj0 = 0 ;
4855 char *kwnames[] = {
4856 (char *) "self",(char *) "number", NULL
4857 };
4858
4859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4860 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4861 {
4862 PyThreadState* __tstate = wxPyBeginAllowThreads();
4863 (arg1)->PopStatusText(arg2);
4864
4865 wxPyEndAllowThreads(__tstate);
4866 if (PyErr_Occurred()) SWIG_fail;
4867 }
4868 Py_INCREF(Py_None); resultobj = Py_None;
4869 return resultobj;
4870 fail:
4871 return NULL;
4872}
4873
4874
4875static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4876 PyObject *resultobj;
4877 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4878 int arg2 ;
4879 int *arg3 = (int *) 0 ;
4880 PyObject * obj0 = 0 ;
4881 PyObject * obj1 = 0 ;
4882 char *kwnames[] = {
4883 (char *) "self",(char *) "widths", NULL
4884 };
4885
4886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4888 {
4889 arg2 = PyList_Size(obj1);
4890 arg3 = int_LIST_helper(obj1);
4891 if (arg3 == NULL) SWIG_fail;
4892 }
4893 {
4894 PyThreadState* __tstate = wxPyBeginAllowThreads();
4895 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4896
4897 wxPyEndAllowThreads(__tstate);
4898 if (PyErr_Occurred()) SWIG_fail;
4899 }
4900 Py_INCREF(Py_None); resultobj = Py_None;
4901 {
4902 if (arg3) delete [] arg3;
4903 }
4904 return resultobj;
4905 fail:
4906 {
4907 if (arg3) delete [] arg3;
4908 }
4909 return NULL;
4910}
4911
4912
4913static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4914 PyObject *resultobj;
4915 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4916 int arg2 ;
4917 wxRect *arg3 = 0 ;
4918 bool result;
4919 wxRect temp3 ;
4920 PyObject * obj0 = 0 ;
4921 PyObject * obj2 = 0 ;
4922 char *kwnames[] = {
4923 (char *) "self",(char *) "i",(char *) "rect", NULL
4924 };
4925
4926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:StatusBar_GetFieldRect",kwnames,&obj0,&arg2,&obj2)) goto fail;
4927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4928 {
4929 arg3 = &temp3;
4930 if ( ! wxRect_helper(obj2, &arg3)) SWIG_fail;
4931 }
4932 {
4933 PyThreadState* __tstate = wxPyBeginAllowThreads();
4934 result = (bool)((wxStatusBar const *)arg1)->GetFieldRect(arg2,*arg3);
4935
4936 wxPyEndAllowThreads(__tstate);
4937 if (PyErr_Occurred()) SWIG_fail;
4938 }
4939 resultobj = PyInt_FromLong((long)result);
4940 return resultobj;
4941 fail:
4942 return NULL;
4943}
4944
4945
4946static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4947 PyObject *resultobj;
4948 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4949 int arg2 ;
4950 PyObject * obj0 = 0 ;
4951 char *kwnames[] = {
4952 (char *) "self",(char *) "height", NULL
4953 };
4954
4955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4957 {
4958 PyThreadState* __tstate = wxPyBeginAllowThreads();
4959 (arg1)->SetMinHeight(arg2);
4960
4961 wxPyEndAllowThreads(__tstate);
4962 if (PyErr_Occurred()) SWIG_fail;
4963 }
4964 Py_INCREF(Py_None); resultobj = Py_None;
4965 return resultobj;
4966 fail:
4967 return NULL;
4968}
4969
4970
4971static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4972 PyObject *resultobj;
4973 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4974 int result;
4975 PyObject * obj0 = 0 ;
4976 char *kwnames[] = {
4977 (char *) "self", NULL
4978 };
4979
4980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4982 {
4983 PyThreadState* __tstate = wxPyBeginAllowThreads();
4984 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4985
4986 wxPyEndAllowThreads(__tstate);
4987 if (PyErr_Occurred()) SWIG_fail;
4988 }
4989 resultobj = PyInt_FromLong((long)result);
4990 return resultobj;
4991 fail:
4992 return NULL;
4993}
4994
4995
4996static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4997 PyObject *resultobj;
4998 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4999 int result;
5000 PyObject * obj0 = 0 ;
5001 char *kwnames[] = {
5002 (char *) "self", NULL
5003 };
5004
5005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
5006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
5010
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 resultobj = PyInt_FromLong((long)result);
5015 return resultobj;
5016 fail:
5017 return NULL;
5018}
5019
5020
5021static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
5022 PyObject *obj;
5023 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5024 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
5025 Py_INCREF(obj);
5026 return Py_BuildValue((char *)"");
5027}
5028static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5029 PyObject *resultobj;
5030 wxWindow *arg1 = (wxWindow *) 0 ;
5031 wxWindowID arg2 ;
5032 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5033 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5034 wxSize const &arg4_defvalue = wxDefaultSize ;
5035 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5036 long arg5 = (long) wxSP_3D ;
5037 wxString const &arg6_defvalue = wxPySplitterNameStr ;
5038 wxString *arg6 = (wxString *) &arg6_defvalue ;
5039 wxSplitterWindow *result;
5040 wxPoint temp3 ;
5041 wxSize temp4 ;
5042 bool temp6 = false ;
5043 PyObject * obj0 = 0 ;
5044 PyObject * obj2 = 0 ;
5045 PyObject * obj3 = 0 ;
5046 PyObject * obj5 = 0 ;
5047 char *kwnames[] = {
5048 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5049 };
5050
5051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5053 if (obj2) {
5054 {
5055 arg3 = &temp3;
5056 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5057 }
5058 }
5059 if (obj3) {
5060 {
5061 arg4 = &temp4;
5062 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5063 }
5064 }
5065 if (obj5) {
5066 {
5067 arg6 = wxString_in_helper(obj5);
5068 if (arg6 == NULL) SWIG_fail;
5069 temp6 = true;
5070 }
5071 }
5072 {
5073 PyThreadState* __tstate = wxPyBeginAllowThreads();
5074 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5075
5076 wxPyEndAllowThreads(__tstate);
5077 if (PyErr_Occurred()) SWIG_fail;
5078 }
5079 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5080 {
5081 if (temp6)
5082 delete arg6;
5083 }
5084 return resultobj;
5085 fail:
5086 {
5087 if (temp6)
5088 delete arg6;
5089 }
5090 return NULL;
5091}
5092
5093
5094static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5095 PyObject *resultobj;
5096 wxSplitterWindow *result;
5097 char *kwnames[] = {
5098 NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
5102 {
5103 PyThreadState* __tstate = wxPyBeginAllowThreads();
5104 result = (wxSplitterWindow *)new wxSplitterWindow();
5105
5106 wxPyEndAllowThreads(__tstate);
5107 if (PyErr_Occurred()) SWIG_fail;
5108 }
5109 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
5110 return resultobj;
5111 fail:
5112 return NULL;
5113}
5114
5115
5116static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5117 PyObject *resultobj;
5118 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5119 wxWindow *arg2 = (wxWindow *) 0 ;
5120 wxWindowID arg3 ;
5121 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5122 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5123 wxSize const &arg5_defvalue = wxDefaultSize ;
5124 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5125 long arg6 = (long) wxSP_3D ;
5126 wxString const &arg7_defvalue = wxPySplitterNameStr ;
5127 wxString *arg7 = (wxString *) &arg7_defvalue ;
5128 bool result;
5129 wxPoint temp4 ;
5130 wxSize temp5 ;
5131 bool temp7 = false ;
5132 PyObject * obj0 = 0 ;
5133 PyObject * obj1 = 0 ;
5134 PyObject * obj3 = 0 ;
5135 PyObject * obj4 = 0 ;
5136 PyObject * obj6 = 0 ;
5137 char *kwnames[] = {
5138 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
5139 };
5140
5141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5143 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5144 if (obj3) {
5145 {
5146 arg4 = &temp4;
5147 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5148 }
5149 }
5150 if (obj4) {
5151 {
5152 arg5 = &temp5;
5153 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5154 }
5155 }
5156 if (obj6) {
5157 {
5158 arg7 = wxString_in_helper(obj6);
5159 if (arg7 == NULL) SWIG_fail;
5160 temp7 = true;
5161 }
5162 }
5163 {
5164 PyThreadState* __tstate = wxPyBeginAllowThreads();
5165 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5166
5167 wxPyEndAllowThreads(__tstate);
5168 if (PyErr_Occurred()) SWIG_fail;
5169 }
5170 resultobj = PyInt_FromLong((long)result);
5171 {
5172 if (temp7)
5173 delete arg7;
5174 }
5175 return resultobj;
5176 fail:
5177 {
5178 if (temp7)
5179 delete arg7;
5180 }
5181 return NULL;
5182}
5183
5184
5185static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj;
5187 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5188 wxWindow *result;
5189 PyObject * obj0 = 0 ;
5190 char *kwnames[] = {
5191 (char *) "self", NULL
5192 };
5193
5194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
5195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5196 {
5197 PyThreadState* __tstate = wxPyBeginAllowThreads();
5198 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
5199
5200 wxPyEndAllowThreads(__tstate);
5201 if (PyErr_Occurred()) SWIG_fail;
5202 }
5203 {
5204 resultobj = wxPyMake_wxObject(result);
5205 }
5206 return resultobj;
5207 fail:
5208 return NULL;
5209}
5210
5211
5212static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject *resultobj;
5214 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5215 wxWindow *result;
5216 PyObject * obj0 = 0 ;
5217 char *kwnames[] = {
5218 (char *) "self", NULL
5219 };
5220
5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
5222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 {
5231 resultobj = wxPyMake_wxObject(result);
5232 }
5233 return resultobj;
5234 fail:
5235 return NULL;
5236}
5237
5238
5239static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5240 PyObject *resultobj;
5241 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5242 int arg2 ;
5243 PyObject * obj0 = 0 ;
5244 char *kwnames[] = {
5245 (char *) "self",(char *) "mode", NULL
5246 };
5247
5248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
5249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5250 {
5251 PyThreadState* __tstate = wxPyBeginAllowThreads();
5252 (arg1)->SetSplitMode(arg2);
5253
5254 wxPyEndAllowThreads(__tstate);
5255 if (PyErr_Occurred()) SWIG_fail;
5256 }
5257 Py_INCREF(Py_None); resultobj = Py_None;
5258 return resultobj;
5259 fail:
5260 return NULL;
5261}
5262
5263
5264static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
5265 PyObject *resultobj;
5266 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5267 int result;
5268 PyObject * obj0 = 0 ;
5269 char *kwnames[] = {
5270 (char *) "self", NULL
5271 };
5272
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
5274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5275 {
5276 PyThreadState* __tstate = wxPyBeginAllowThreads();
5277 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
5278
5279 wxPyEndAllowThreads(__tstate);
5280 if (PyErr_Occurred()) SWIG_fail;
5281 }
5282 resultobj = PyInt_FromLong((long)result);
5283 return resultobj;
5284 fail:
5285 return NULL;
5286}
5287
5288
5289static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
5290 PyObject *resultobj;
5291 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5292 wxWindow *arg2 = (wxWindow *) 0 ;
5293 PyObject * obj0 = 0 ;
5294 PyObject * obj1 = 0 ;
5295 char *kwnames[] = {
5296 (char *) "self",(char *) "window", NULL
5297 };
5298
5299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
5300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5301 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5302 {
5303 PyThreadState* __tstate = wxPyBeginAllowThreads();
5304 (arg1)->Initialize(arg2);
5305
5306 wxPyEndAllowThreads(__tstate);
5307 if (PyErr_Occurred()) SWIG_fail;
5308 }
5309 Py_INCREF(Py_None); resultobj = Py_None;
5310 return resultobj;
5311 fail:
5312 return NULL;
5313}
5314
5315
5316static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5317 PyObject *resultobj;
5318 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5319 wxWindow *arg2 = (wxWindow *) 0 ;
5320 wxWindow *arg3 = (wxWindow *) 0 ;
5321 int arg4 = (int) 0 ;
5322 bool result;
5323 PyObject * obj0 = 0 ;
5324 PyObject * obj1 = 0 ;
5325 PyObject * obj2 = 0 ;
5326 char *kwnames[] = {
5327 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5328 };
5329
5330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5332 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5333 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5334 {
5335 PyThreadState* __tstate = wxPyBeginAllowThreads();
5336 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5337
5338 wxPyEndAllowThreads(__tstate);
5339 if (PyErr_Occurred()) SWIG_fail;
5340 }
5341 resultobj = PyInt_FromLong((long)result);
5342 return resultobj;
5343 fail:
5344 return NULL;
5345}
5346
5347
5348static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5349 PyObject *resultobj;
5350 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5351 wxWindow *arg2 = (wxWindow *) 0 ;
5352 wxWindow *arg3 = (wxWindow *) 0 ;
5353 int arg4 = (int) 0 ;
5354 bool result;
5355 PyObject * obj0 = 0 ;
5356 PyObject * obj1 = 0 ;
5357 PyObject * obj2 = 0 ;
5358 char *kwnames[] = {
5359 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5360 };
5361
5362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5365 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5366 {
5367 PyThreadState* __tstate = wxPyBeginAllowThreads();
5368 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5369
5370 wxPyEndAllowThreads(__tstate);
5371 if (PyErr_Occurred()) SWIG_fail;
5372 }
5373 resultobj = PyInt_FromLong((long)result);
5374 return resultobj;
5375 fail:
5376 return NULL;
5377}
5378
5379
5380static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5381 PyObject *resultobj;
5382 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5383 wxWindow *arg2 = (wxWindow *) NULL ;
5384 bool result;
5385 PyObject * obj0 = 0 ;
5386 PyObject * obj1 = 0 ;
5387 char *kwnames[] = {
5388 (char *) "self",(char *) "toRemove", NULL
5389 };
5390
5391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5393 if (obj1) {
5394 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5395 }
5396 {
5397 PyThreadState* __tstate = wxPyBeginAllowThreads();
5398 result = (bool)(arg1)->Unsplit(arg2);
5399
5400 wxPyEndAllowThreads(__tstate);
5401 if (PyErr_Occurred()) SWIG_fail;
5402 }
5403 resultobj = PyInt_FromLong((long)result);
5404 return resultobj;
5405 fail:
5406 return NULL;
5407}
5408
5409
5410static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5411 PyObject *resultobj;
5412 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5413 wxWindow *arg2 = (wxWindow *) 0 ;
5414 wxWindow *arg3 = (wxWindow *) 0 ;
5415 bool result;
5416 PyObject * obj0 = 0 ;
5417 PyObject * obj1 = 0 ;
5418 PyObject * obj2 = 0 ;
5419 char *kwnames[] = {
5420 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5421 };
5422
5423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5426 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5427 {
5428 PyThreadState* __tstate = wxPyBeginAllowThreads();
5429 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5430
5431 wxPyEndAllowThreads(__tstate);
5432 if (PyErr_Occurred()) SWIG_fail;
5433 }
5434 resultobj = PyInt_FromLong((long)result);
5435 return resultobj;
5436 fail:
5437 return NULL;
5438}
5439
5440
5441static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5442 PyObject *resultobj;
5443 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5444 bool result;
5445 PyObject * obj0 = 0 ;
5446 char *kwnames[] = {
5447 (char *) "self", NULL
5448 };
5449
5450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5452 {
5453 PyThreadState* __tstate = wxPyBeginAllowThreads();
5454 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5455
5456 wxPyEndAllowThreads(__tstate);
5457 if (PyErr_Occurred()) SWIG_fail;
5458 }
5459 resultobj = PyInt_FromLong((long)result);
5460 return resultobj;
5461 fail:
5462 return NULL;
5463}
5464
5465
5466static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5467 PyObject *resultobj;
5468 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5469 int arg2 ;
5470 PyObject * obj0 = 0 ;
5471 char *kwnames[] = {
5472 (char *) "self",(char *) "width", NULL
5473 };
5474
5475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5477 {
5478 PyThreadState* __tstate = wxPyBeginAllowThreads();
5479 (arg1)->SetSashSize(arg2);
5480
5481 wxPyEndAllowThreads(__tstate);
5482 if (PyErr_Occurred()) SWIG_fail;
5483 }
5484 Py_INCREF(Py_None); resultobj = Py_None;
5485 return resultobj;
5486 fail:
5487 return NULL;
5488}
5489
5490
5491static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5492 PyObject *resultobj;
5493 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5494 int arg2 ;
5495 PyObject * obj0 = 0 ;
5496 char *kwnames[] = {
5497 (char *) "self",(char *) "width", NULL
5498 };
5499
5500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5502 {
5503 PyThreadState* __tstate = wxPyBeginAllowThreads();
5504 (arg1)->SetBorderSize(arg2);
5505
5506 wxPyEndAllowThreads(__tstate);
5507 if (PyErr_Occurred()) SWIG_fail;
5508 }
5509 Py_INCREF(Py_None); resultobj = Py_None;
5510 return resultobj;
5511 fail:
5512 return NULL;
5513}
5514
5515
5516static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5517 PyObject *resultobj;
5518 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5519 int result;
5520 PyObject * obj0 = 0 ;
5521 char *kwnames[] = {
5522 (char *) "self", NULL
5523 };
5524
5525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5527 {
5528 PyThreadState* __tstate = wxPyBeginAllowThreads();
5529 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5530
5531 wxPyEndAllowThreads(__tstate);
5532 if (PyErr_Occurred()) SWIG_fail;
5533 }
5534 resultobj = PyInt_FromLong((long)result);
5535 return resultobj;
5536 fail:
5537 return NULL;
5538}
5539
5540
5541static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5542 PyObject *resultobj;
5543 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5544 int result;
5545 PyObject * obj0 = 0 ;
5546 char *kwnames[] = {
5547 (char *) "self", NULL
5548 };
5549
5550 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5551 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5552 {
5553 PyThreadState* __tstate = wxPyBeginAllowThreads();
5554 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5555
5556 wxPyEndAllowThreads(__tstate);
5557 if (PyErr_Occurred()) SWIG_fail;
5558 }
5559 resultobj = PyInt_FromLong((long)result);
5560 return resultobj;
5561 fail:
5562 return NULL;
5563}
5564
5565
5566static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5567 PyObject *resultobj;
5568 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5569 int arg2 ;
5570 bool arg3 = (bool) TRUE ;
5571 PyObject * obj0 = 0 ;
5572 PyObject * obj2 = 0 ;
5573 char *kwnames[] = {
5574 (char *) "self",(char *) "position",(char *) "redraw", NULL
5575 };
5576
5577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5579 if (obj2) {
5580 arg3 = PyInt_AsLong(obj2) ? true : false;
5581 if (PyErr_Occurred()) SWIG_fail;
5582 }
5583 {
5584 PyThreadState* __tstate = wxPyBeginAllowThreads();
5585 (arg1)->SetSashPosition(arg2,arg3);
5586
5587 wxPyEndAllowThreads(__tstate);
5588 if (PyErr_Occurred()) SWIG_fail;
5589 }
5590 Py_INCREF(Py_None); resultobj = Py_None;
5591 return resultobj;
5592 fail:
5593 return NULL;
5594}
5595
5596
5597static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5598 PyObject *resultobj;
5599 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5600 int result;
5601 PyObject * obj0 = 0 ;
5602 char *kwnames[] = {
5603 (char *) "self", NULL
5604 };
5605
5606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5608 {
5609 PyThreadState* __tstate = wxPyBeginAllowThreads();
5610 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5611
5612 wxPyEndAllowThreads(__tstate);
5613 if (PyErr_Occurred()) SWIG_fail;
5614 }
5615 resultobj = PyInt_FromLong((long)result);
5616 return resultobj;
5617 fail:
5618 return NULL;
5619}
5620
5621
5622static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5623 PyObject *resultobj;
5624 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5625 int arg2 ;
5626 PyObject * obj0 = 0 ;
5627 char *kwnames[] = {
5628 (char *) "self",(char *) "min", NULL
5629 };
5630
5631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5633 {
5634 PyThreadState* __tstate = wxPyBeginAllowThreads();
5635 (arg1)->SetMinimumPaneSize(arg2);
5636
5637 wxPyEndAllowThreads(__tstate);
5638 if (PyErr_Occurred()) SWIG_fail;
5639 }
5640 Py_INCREF(Py_None); resultobj = Py_None;
5641 return resultobj;
5642 fail:
5643 return NULL;
5644}
5645
5646
5647static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5648 PyObject *resultobj;
5649 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5650 int result;
5651 PyObject * obj0 = 0 ;
5652 char *kwnames[] = {
5653 (char *) "self", NULL
5654 };
5655
5656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5658 {
5659 PyThreadState* __tstate = wxPyBeginAllowThreads();
5660 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5661
5662 wxPyEndAllowThreads(__tstate);
5663 if (PyErr_Occurred()) SWIG_fail;
5664 }
5665 resultobj = PyInt_FromLong((long)result);
5666 return resultobj;
5667 fail:
5668 return NULL;
5669}
5670
5671
5672static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5673 PyObject *resultobj;
5674 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5675 int arg2 ;
5676 int arg3 ;
5677 int arg4 = (int) 5 ;
5678 bool result;
5679 PyObject * obj0 = 0 ;
5680 char *kwnames[] = {
5681 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5682 };
5683
5684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5686 {
5687 PyThreadState* __tstate = wxPyBeginAllowThreads();
5688 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5689
5690 wxPyEndAllowThreads(__tstate);
5691 if (PyErr_Occurred()) SWIG_fail;
5692 }
5693 resultobj = PyInt_FromLong((long)result);
5694 return resultobj;
5695 fail:
5696 return NULL;
5697}
5698
5699
5700static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5701 PyObject *resultobj;
5702 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5703 PyObject * obj0 = 0 ;
5704 char *kwnames[] = {
5705 (char *) "self", NULL
5706 };
5707
5708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5710 {
5711 PyThreadState* __tstate = wxPyBeginAllowThreads();
5712 (arg1)->SizeWindows();
5713
5714 wxPyEndAllowThreads(__tstate);
5715 if (PyErr_Occurred()) SWIG_fail;
5716 }
5717 Py_INCREF(Py_None); resultobj = Py_None;
5718 return resultobj;
5719 fail:
5720 return NULL;
5721}
5722
5723
5724static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5725 PyObject *resultobj;
5726 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5727 bool arg2 ;
5728 PyObject * obj0 = 0 ;
5729 PyObject * obj1 = 0 ;
5730 char *kwnames[] = {
5731 (char *) "self",(char *) "needUpdating", NULL
5732 };
5733
5734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5736 arg2 = PyInt_AsLong(obj1) ? true : false;
5737 if (PyErr_Occurred()) SWIG_fail;
5738 {
5739 PyThreadState* __tstate = wxPyBeginAllowThreads();
5740 (arg1)->SetNeedUpdating(arg2);
5741
5742 wxPyEndAllowThreads(__tstate);
5743 if (PyErr_Occurred()) SWIG_fail;
5744 }
5745 Py_INCREF(Py_None); resultobj = Py_None;
5746 return resultobj;
5747 fail:
5748 return NULL;
5749}
5750
5751
5752static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5753 PyObject *resultobj;
5754 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5755 bool result;
5756 PyObject * obj0 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 resultobj = PyInt_FromLong((long)result);
5771 return resultobj;
5772 fail:
5773 return NULL;
5774}
5775
5776
5777static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5778 PyObject *obj;
5779 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5780 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5781 Py_INCREF(obj);
5782 return Py_BuildValue((char *)"");
5783}
5784static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5785 PyObject *resultobj;
5786 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5787 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5788 wxSplitterEvent *result;
5789 PyObject * obj1 = 0 ;
5790 char *kwnames[] = {
5791 (char *) "type",(char *) "splitter", NULL
5792 };
5793
5794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5795 if (obj1) {
5796 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5797 }
5798 {
5799 PyThreadState* __tstate = wxPyBeginAllowThreads();
5800 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5801
5802 wxPyEndAllowThreads(__tstate);
5803 if (PyErr_Occurred()) SWIG_fail;
5804 }
5805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5806 return resultobj;
5807 fail:
5808 return NULL;
5809}
5810
5811
5812static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5813 PyObject *resultobj;
5814 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5815 int arg2 ;
5816 PyObject * obj0 = 0 ;
5817 char *kwnames[] = {
5818 (char *) "self",(char *) "pos", NULL
5819 };
5820
5821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5823 {
5824 PyThreadState* __tstate = wxPyBeginAllowThreads();
5825 (arg1)->SetSashPosition(arg2);
5826
5827 wxPyEndAllowThreads(__tstate);
5828 if (PyErr_Occurred()) SWIG_fail;
5829 }
5830 Py_INCREF(Py_None); resultobj = Py_None;
5831 return resultobj;
5832 fail:
5833 return NULL;
5834}
5835
5836
5837static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5838 PyObject *resultobj;
5839 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5840 int result;
5841 PyObject * obj0 = 0 ;
5842 char *kwnames[] = {
5843 (char *) "self", NULL
5844 };
5845
5846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5848 {
5849 PyThreadState* __tstate = wxPyBeginAllowThreads();
5850 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5851
5852 wxPyEndAllowThreads(__tstate);
5853 if (PyErr_Occurred()) SWIG_fail;
5854 }
5855 resultobj = PyInt_FromLong((long)result);
5856 return resultobj;
5857 fail:
5858 return NULL;
5859}
5860
5861
5862static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5863 PyObject *resultobj;
5864 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5865 wxWindow *result;
5866 PyObject * obj0 = 0 ;
5867 char *kwnames[] = {
5868 (char *) "self", NULL
5869 };
5870
5871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5873 {
5874 PyThreadState* __tstate = wxPyBeginAllowThreads();
5875 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5876
5877 wxPyEndAllowThreads(__tstate);
5878 if (PyErr_Occurred()) SWIG_fail;
5879 }
5880 {
5881 resultobj = wxPyMake_wxObject(result);
5882 }
5883 return resultobj;
5884 fail:
5885 return NULL;
5886}
5887
5888
5889static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5890 PyObject *resultobj;
5891 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5892 int result;
5893 PyObject * obj0 = 0 ;
5894 char *kwnames[] = {
5895 (char *) "self", NULL
5896 };
5897
5898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5900 {
5901 PyThreadState* __tstate = wxPyBeginAllowThreads();
5902 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5903
5904 wxPyEndAllowThreads(__tstate);
5905 if (PyErr_Occurred()) SWIG_fail;
5906 }
5907 resultobj = PyInt_FromLong((long)result);
5908 return resultobj;
5909 fail:
5910 return NULL;
5911}
5912
5913
5914static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5915 PyObject *resultobj;
5916 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5917 int result;
5918 PyObject * obj0 = 0 ;
5919 char *kwnames[] = {
5920 (char *) "self", NULL
5921 };
5922
5923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5925 {
5926 PyThreadState* __tstate = wxPyBeginAllowThreads();
5927 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5928
5929 wxPyEndAllowThreads(__tstate);
5930 if (PyErr_Occurred()) SWIG_fail;
5931 }
5932 resultobj = PyInt_FromLong((long)result);
5933 return resultobj;
5934 fail:
5935 return NULL;
5936}
5937
5938
5939static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5940 PyObject *obj;
5941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5942 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5943 Py_INCREF(obj);
5944 return Py_BuildValue((char *)"");
5945}
5946static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5947 PyObject *resultobj;
5948 wxWindow *arg1 = (wxWindow *) 0 ;
5949 wxWindowID arg2 ;
5950 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5951 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5952 wxSize const &arg4_defvalue = wxDefaultSize ;
5953 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5954 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5955 wxString const &arg6_defvalue = wxPySashNameStr ;
5956 wxString *arg6 = (wxString *) &arg6_defvalue ;
5957 wxSashWindow *result;
5958 wxPoint temp3 ;
5959 wxSize temp4 ;
5960 bool temp6 = false ;
5961 PyObject * obj0 = 0 ;
5962 PyObject * obj2 = 0 ;
5963 PyObject * obj3 = 0 ;
5964 PyObject * obj5 = 0 ;
5965 char *kwnames[] = {
5966 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5967 };
5968
5969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5971 if (obj2) {
5972 {
5973 arg3 = &temp3;
5974 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5975 }
5976 }
5977 if (obj3) {
5978 {
5979 arg4 = &temp4;
5980 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5981 }
5982 }
5983 if (obj5) {
5984 {
5985 arg6 = wxString_in_helper(obj5);
5986 if (arg6 == NULL) SWIG_fail;
5987 temp6 = true;
5988 }
5989 }
5990 {
5991 PyThreadState* __tstate = wxPyBeginAllowThreads();
5992 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5993
5994 wxPyEndAllowThreads(__tstate);
5995 if (PyErr_Occurred()) SWIG_fail;
5996 }
5997 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5998 {
5999 if (temp6)
6000 delete arg6;
6001 }
6002 return resultobj;
6003 fail:
6004 {
6005 if (temp6)
6006 delete arg6;
6007 }
6008 return NULL;
6009}
6010
6011
6012static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6013 PyObject *resultobj;
6014 wxSashWindow *result;
6015 char *kwnames[] = {
6016 NULL
6017 };
6018
6019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
6020 {
6021 PyThreadState* __tstate = wxPyBeginAllowThreads();
6022 result = (wxSashWindow *)new wxSashWindow();
6023
6024 wxPyEndAllowThreads(__tstate);
6025 if (PyErr_Occurred()) SWIG_fail;
6026 }
6027 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
6028 return resultobj;
6029 fail:
6030 return NULL;
6031}
6032
6033
6034static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6035 PyObject *resultobj;
6036 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6037 wxWindow *arg2 = (wxWindow *) 0 ;
6038 wxWindowID arg3 ;
6039 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6040 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6041 wxSize const &arg5_defvalue = wxDefaultSize ;
6042 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6043 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6044 wxString const &arg7_defvalue = wxPySashNameStr ;
6045 wxString *arg7 = (wxString *) &arg7_defvalue ;
6046 bool result;
6047 wxPoint temp4 ;
6048 wxSize temp5 ;
6049 bool temp7 = false ;
6050 PyObject * obj0 = 0 ;
6051 PyObject * obj1 = 0 ;
6052 PyObject * obj3 = 0 ;
6053 PyObject * obj4 = 0 ;
6054 PyObject * obj6 = 0 ;
6055 char *kwnames[] = {
6056 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6057 };
6058
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6061 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6062 if (obj3) {
6063 {
6064 arg4 = &temp4;
6065 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6066 }
6067 }
6068 if (obj4) {
6069 {
6070 arg5 = &temp5;
6071 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6072 }
6073 }
6074 if (obj6) {
6075 {
6076 arg7 = wxString_in_helper(obj6);
6077 if (arg7 == NULL) SWIG_fail;
6078 temp7 = true;
6079 }
6080 }
6081 {
6082 PyThreadState* __tstate = wxPyBeginAllowThreads();
6083 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6084
6085 wxPyEndAllowThreads(__tstate);
6086 if (PyErr_Occurred()) SWIG_fail;
6087 }
6088 resultobj = PyInt_FromLong((long)result);
6089 {
6090 if (temp7)
6091 delete arg7;
6092 }
6093 return resultobj;
6094 fail:
6095 {
6096 if (temp7)
6097 delete arg7;
6098 }
6099 return NULL;
6100}
6101
6102
6103static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6104 PyObject *resultobj;
6105 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6106 int arg2 ;
6107 bool arg3 ;
6108 PyObject * obj0 = 0 ;
6109 PyObject * obj2 = 0 ;
6110 char *kwnames[] = {
6111 (char *) "self",(char *) "edge",(char *) "sash", NULL
6112 };
6113
6114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
6115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6116 arg3 = PyInt_AsLong(obj2) ? true : false;
6117 if (PyErr_Occurred()) SWIG_fail;
6118 {
6119 PyThreadState* __tstate = wxPyBeginAllowThreads();
6120 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
6121
6122 wxPyEndAllowThreads(__tstate);
6123 if (PyErr_Occurred()) SWIG_fail;
6124 }
6125 Py_INCREF(Py_None); resultobj = Py_None;
6126 return resultobj;
6127 fail:
6128 return NULL;
6129}
6130
6131
6132static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
6133 PyObject *resultobj;
6134 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6135 int arg2 ;
6136 bool result;
6137 PyObject * obj0 = 0 ;
6138 char *kwnames[] = {
6139 (char *) "self",(char *) "edge", NULL
6140 };
6141
6142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
6143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 resultobj = PyInt_FromLong((long)result);
6152 return resultobj;
6153 fail:
6154 return NULL;
6155}
6156
6157
6158static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6161 int arg2 ;
6162 bool arg3 ;
6163 PyObject * obj0 = 0 ;
6164 PyObject * obj2 = 0 ;
6165 char *kwnames[] = {
6166 (char *) "self",(char *) "edge",(char *) "border", NULL
6167 };
6168
6169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
6170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6171 arg3 = PyInt_AsLong(obj2) ? true : false;
6172 if (PyErr_Occurred()) SWIG_fail;
6173 {
6174 PyThreadState* __tstate = wxPyBeginAllowThreads();
6175 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
6176
6177 wxPyEndAllowThreads(__tstate);
6178 if (PyErr_Occurred()) SWIG_fail;
6179 }
6180 Py_INCREF(Py_None); resultobj = Py_None;
6181 return resultobj;
6182 fail:
6183 return NULL;
6184}
6185
6186
6187static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
6188 PyObject *resultobj;
6189 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6190 int arg2 ;
6191 bool result;
6192 PyObject * obj0 = 0 ;
6193 char *kwnames[] = {
6194 (char *) "self",(char *) "edge", NULL
6195 };
6196
6197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
6198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6199 {
6200 PyThreadState* __tstate = wxPyBeginAllowThreads();
6201 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
6202
6203 wxPyEndAllowThreads(__tstate);
6204 if (PyErr_Occurred()) SWIG_fail;
6205 }
6206 resultobj = PyInt_FromLong((long)result);
6207 return resultobj;
6208 fail:
6209 return NULL;
6210}
6211
6212
6213static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
6214 PyObject *resultobj;
6215 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6216 int arg2 ;
6217 int result;
6218 PyObject * obj0 = 0 ;
6219 char *kwnames[] = {
6220 (char *) "self",(char *) "edge", NULL
6221 };
6222
6223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
6224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6225 {
6226 PyThreadState* __tstate = wxPyBeginAllowThreads();
6227 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
6228
6229 wxPyEndAllowThreads(__tstate);
6230 if (PyErr_Occurred()) SWIG_fail;
6231 }
6232 resultobj = PyInt_FromLong((long)result);
6233 return resultobj;
6234 fail:
6235 return NULL;
6236}
6237
6238
6239static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6240 PyObject *resultobj;
6241 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6242 int arg2 ;
6243 PyObject * obj0 = 0 ;
6244 char *kwnames[] = {
6245 (char *) "self",(char *) "width", NULL
6246 };
6247
6248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
6249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6250 {
6251 PyThreadState* __tstate = wxPyBeginAllowThreads();
6252 (arg1)->SetDefaultBorderSize(arg2);
6253
6254 wxPyEndAllowThreads(__tstate);
6255 if (PyErr_Occurred()) SWIG_fail;
6256 }
6257 Py_INCREF(Py_None); resultobj = Py_None;
6258 return resultobj;
6259 fail:
6260 return NULL;
6261}
6262
6263
6264static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6265 PyObject *resultobj;
6266 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6267 int result;
6268 PyObject * obj0 = 0 ;
6269 char *kwnames[] = {
6270 (char *) "self", NULL
6271 };
6272
6273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6275 {
6276 PyThreadState* __tstate = wxPyBeginAllowThreads();
6277 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6278
6279 wxPyEndAllowThreads(__tstate);
6280 if (PyErr_Occurred()) SWIG_fail;
6281 }
6282 resultobj = PyInt_FromLong((long)result);
6283 return resultobj;
6284 fail:
6285 return NULL;
6286}
6287
6288
6289static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6290 PyObject *resultobj;
6291 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6292 int arg2 ;
6293 PyObject * obj0 = 0 ;
6294 char *kwnames[] = {
6295 (char *) "self",(char *) "width", NULL
6296 };
6297
6298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6300 {
6301 PyThreadState* __tstate = wxPyBeginAllowThreads();
6302 (arg1)->SetExtraBorderSize(arg2);
6303
6304 wxPyEndAllowThreads(__tstate);
6305 if (PyErr_Occurred()) SWIG_fail;
6306 }
6307 Py_INCREF(Py_None); resultobj = Py_None;
6308 return resultobj;
6309 fail:
6310 return NULL;
6311}
6312
6313
6314static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6315 PyObject *resultobj;
6316 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6317 int result;
6318 PyObject * obj0 = 0 ;
6319 char *kwnames[] = {
6320 (char *) "self", NULL
6321 };
6322
6323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6325 {
6326 PyThreadState* __tstate = wxPyBeginAllowThreads();
6327 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6328
6329 wxPyEndAllowThreads(__tstate);
6330 if (PyErr_Occurred()) SWIG_fail;
6331 }
6332 resultobj = PyInt_FromLong((long)result);
6333 return resultobj;
6334 fail:
6335 return NULL;
6336}
6337
6338
6339static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6340 PyObject *resultobj;
6341 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6342 int arg2 ;
6343 PyObject * obj0 = 0 ;
6344 char *kwnames[] = {
6345 (char *) "self",(char *) "min", NULL
6346 };
6347
6348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6350 {
6351 PyThreadState* __tstate = wxPyBeginAllowThreads();
6352 (arg1)->SetMinimumSizeX(arg2);
6353
6354 wxPyEndAllowThreads(__tstate);
6355 if (PyErr_Occurred()) SWIG_fail;
6356 }
6357 Py_INCREF(Py_None); resultobj = Py_None;
6358 return resultobj;
6359 fail:
6360 return NULL;
6361}
6362
6363
6364static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6365 PyObject *resultobj;
6366 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6367 int arg2 ;
6368 PyObject * obj0 = 0 ;
6369 char *kwnames[] = {
6370 (char *) "self",(char *) "min", NULL
6371 };
6372
6373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6375 {
6376 PyThreadState* __tstate = wxPyBeginAllowThreads();
6377 (arg1)->SetMinimumSizeY(arg2);
6378
6379 wxPyEndAllowThreads(__tstate);
6380 if (PyErr_Occurred()) SWIG_fail;
6381 }
6382 Py_INCREF(Py_None); resultobj = Py_None;
6383 return resultobj;
6384 fail:
6385 return NULL;
6386}
6387
6388
6389static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6390 PyObject *resultobj;
6391 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6392 int result;
6393 PyObject * obj0 = 0 ;
6394 char *kwnames[] = {
6395 (char *) "self", NULL
6396 };
6397
6398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6400 {
6401 PyThreadState* __tstate = wxPyBeginAllowThreads();
6402 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6403
6404 wxPyEndAllowThreads(__tstate);
6405 if (PyErr_Occurred()) SWIG_fail;
6406 }
6407 resultobj = PyInt_FromLong((long)result);
6408 return resultobj;
6409 fail:
6410 return NULL;
6411}
6412
6413
6414static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6415 PyObject *resultobj;
6416 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6417 int result;
6418 PyObject * obj0 = 0 ;
6419 char *kwnames[] = {
6420 (char *) "self", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6428
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
6432 resultobj = PyInt_FromLong((long)result);
6433 return resultobj;
6434 fail:
6435 return NULL;
6436}
6437
6438
6439static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6440 PyObject *resultobj;
6441 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6442 int arg2 ;
6443 PyObject * obj0 = 0 ;
6444 char *kwnames[] = {
6445 (char *) "self",(char *) "max", NULL
6446 };
6447
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6450 {
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 (arg1)->SetMaximumSizeX(arg2);
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 Py_INCREF(Py_None); resultobj = Py_None;
6458 return resultobj;
6459 fail:
6460 return NULL;
6461}
6462
6463
6464static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6465 PyObject *resultobj;
6466 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6467 int arg2 ;
6468 PyObject * obj0 = 0 ;
6469 char *kwnames[] = {
6470 (char *) "self",(char *) "max", NULL
6471 };
6472
6473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6475 {
6476 PyThreadState* __tstate = wxPyBeginAllowThreads();
6477 (arg1)->SetMaximumSizeY(arg2);
6478
6479 wxPyEndAllowThreads(__tstate);
6480 if (PyErr_Occurred()) SWIG_fail;
6481 }
6482 Py_INCREF(Py_None); resultobj = Py_None;
6483 return resultobj;
6484 fail:
6485 return NULL;
6486}
6487
6488
6489static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6490 PyObject *resultobj;
6491 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6492 int result;
6493 PyObject * obj0 = 0 ;
6494 char *kwnames[] = {
6495 (char *) "self", NULL
6496 };
6497
6498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6500 {
6501 PyThreadState* __tstate = wxPyBeginAllowThreads();
6502 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6503
6504 wxPyEndAllowThreads(__tstate);
6505 if (PyErr_Occurred()) SWIG_fail;
6506 }
6507 resultobj = PyInt_FromLong((long)result);
6508 return resultobj;
6509 fail:
6510 return NULL;
6511}
6512
6513
6514static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6515 PyObject *resultobj;
6516 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6517 int result;
6518 PyObject * obj0 = 0 ;
6519 char *kwnames[] = {
6520 (char *) "self", NULL
6521 };
6522
6523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6525 {
6526 PyThreadState* __tstate = wxPyBeginAllowThreads();
6527 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6528
6529 wxPyEndAllowThreads(__tstate);
6530 if (PyErr_Occurred()) SWIG_fail;
6531 }
6532 resultobj = PyInt_FromLong((long)result);
6533 return resultobj;
6534 fail:
6535 return NULL;
6536}
6537
6538
6539static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6540 PyObject *resultobj;
6541 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6542 int arg2 ;
6543 int arg3 ;
6544 int arg4 = (int) 2 ;
6545 int result;
6546 PyObject * obj0 = 0 ;
6547 char *kwnames[] = {
6548 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6549 };
6550
6551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6553 {
6554 PyThreadState* __tstate = wxPyBeginAllowThreads();
6555 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6556
6557 wxPyEndAllowThreads(__tstate);
6558 if (PyErr_Occurred()) SWIG_fail;
6559 }
6560 resultobj = PyInt_FromLong((long)result);
6561 return resultobj;
6562 fail:
6563 return NULL;
6564}
6565
6566
6567static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6568 PyObject *resultobj;
6569 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6570 PyObject * obj0 = 0 ;
6571 char *kwnames[] = {
6572 (char *) "self", NULL
6573 };
6574
6575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6577 {
6578 PyThreadState* __tstate = wxPyBeginAllowThreads();
6579 (arg1)->SizeWindows();
6580
6581 wxPyEndAllowThreads(__tstate);
6582 if (PyErr_Occurred()) SWIG_fail;
6583 }
6584 Py_INCREF(Py_None); resultobj = Py_None;
6585 return resultobj;
6586 fail:
6587 return NULL;
6588}
6589
6590
6591static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6592 PyObject *obj;
6593 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6594 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6595 Py_INCREF(obj);
6596 return Py_BuildValue((char *)"");
6597}
6598static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6599 PyObject *resultobj;
6600 int arg1 = (int) 0 ;
6601 int arg2 = (int) wxSASH_NONE ;
6602 wxSashEvent *result;
6603 char *kwnames[] = {
6604 (char *) "id",(char *) "edge", NULL
6605 };
6606
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6608 {
6609 PyThreadState* __tstate = wxPyBeginAllowThreads();
6610 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6611
6612 wxPyEndAllowThreads(__tstate);
6613 if (PyErr_Occurred()) SWIG_fail;
6614 }
6615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6616 return resultobj;
6617 fail:
6618 return NULL;
6619}
6620
6621
6622static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6623 PyObject *resultobj;
6624 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6625 int arg2 ;
6626 PyObject * obj0 = 0 ;
6627 char *kwnames[] = {
6628 (char *) "self",(char *) "edge", NULL
6629 };
6630
6631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6633 {
6634 PyThreadState* __tstate = wxPyBeginAllowThreads();
6635 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6636
6637 wxPyEndAllowThreads(__tstate);
6638 if (PyErr_Occurred()) SWIG_fail;
6639 }
6640 Py_INCREF(Py_None); resultobj = Py_None;
6641 return resultobj;
6642 fail:
6643 return NULL;
6644}
6645
6646
6647static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6648 PyObject *resultobj;
6649 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6650 int result;
6651 PyObject * obj0 = 0 ;
6652 char *kwnames[] = {
6653 (char *) "self", NULL
6654 };
6655
6656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6658 {
6659 PyThreadState* __tstate = wxPyBeginAllowThreads();
6660 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6661
6662 wxPyEndAllowThreads(__tstate);
6663 if (PyErr_Occurred()) SWIG_fail;
6664 }
6665 resultobj = PyInt_FromLong((long)result);
6666 return resultobj;
6667 fail:
6668 return NULL;
6669}
6670
6671
6672static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6673 PyObject *resultobj;
6674 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6675 wxRect *arg2 = 0 ;
6676 wxRect temp2 ;
6677 PyObject * obj0 = 0 ;
6678 PyObject * obj1 = 0 ;
6679 char *kwnames[] = {
6680 (char *) "self",(char *) "rect", NULL
6681 };
6682
6683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6685 {
6686 arg2 = &temp2;
6687 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6688 }
6689 {
6690 PyThreadState* __tstate = wxPyBeginAllowThreads();
6691 (arg1)->SetDragRect((wxRect const &)*arg2);
6692
6693 wxPyEndAllowThreads(__tstate);
6694 if (PyErr_Occurred()) SWIG_fail;
6695 }
6696 Py_INCREF(Py_None); resultobj = Py_None;
6697 return resultobj;
6698 fail:
6699 return NULL;
6700}
6701
6702
6703static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6704 PyObject *resultobj;
6705 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6706 wxRect result;
6707 PyObject * obj0 = 0 ;
6708 char *kwnames[] = {
6709 (char *) "self", NULL
6710 };
6711
6712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 result = ((wxSashEvent const *)arg1)->GetDragRect();
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 {
6722 wxRect * resultptr;
6723 resultptr = new wxRect((wxRect &) result);
6724 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6725 }
6726 return resultobj;
6727 fail:
6728 return NULL;
6729}
6730
6731
6732static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6733 PyObject *resultobj;
6734 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6735 int arg2 ;
6736 PyObject * obj0 = 0 ;
6737 char *kwnames[] = {
6738 (char *) "self",(char *) "status", NULL
6739 };
6740
6741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6743 {
6744 PyThreadState* __tstate = wxPyBeginAllowThreads();
6745 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6746
6747 wxPyEndAllowThreads(__tstate);
6748 if (PyErr_Occurred()) SWIG_fail;
6749 }
6750 Py_INCREF(Py_None); resultobj = Py_None;
6751 return resultobj;
6752 fail:
6753 return NULL;
6754}
6755
6756
6757static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6758 PyObject *resultobj;
6759 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6760 int result;
6761 PyObject * obj0 = 0 ;
6762 char *kwnames[] = {
6763 (char *) "self", NULL
6764 };
6765
6766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6768 {
6769 PyThreadState* __tstate = wxPyBeginAllowThreads();
6770 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6771
6772 wxPyEndAllowThreads(__tstate);
6773 if (PyErr_Occurred()) SWIG_fail;
6774 }
6775 resultobj = PyInt_FromLong((long)result);
6776 return resultobj;
6777 fail:
6778 return NULL;
6779}
6780
6781
6782static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6783 PyObject *obj;
6784 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6785 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6786 Py_INCREF(obj);
6787 return Py_BuildValue((char *)"");
6788}
6789static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6790 PyObject *resultobj;
6791 wxWindowID arg1 = (wxWindowID) 0 ;
6792 wxQueryLayoutInfoEvent *result;
6793 char *kwnames[] = {
6794 (char *) "id", NULL
6795 };
6796
6797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6798 {
6799 PyThreadState* __tstate = wxPyBeginAllowThreads();
6800 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6801
6802 wxPyEndAllowThreads(__tstate);
6803 if (PyErr_Occurred()) SWIG_fail;
6804 }
6805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6806 return resultobj;
6807 fail:
6808 return NULL;
6809}
6810
6811
6812static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6813 PyObject *resultobj;
6814 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6815 int arg2 ;
6816 PyObject * obj0 = 0 ;
6817 char *kwnames[] = {
6818 (char *) "self",(char *) "length", NULL
6819 };
6820
6821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6823 {
6824 PyThreadState* __tstate = wxPyBeginAllowThreads();
6825 (arg1)->SetRequestedLength(arg2);
6826
6827 wxPyEndAllowThreads(__tstate);
6828 if (PyErr_Occurred()) SWIG_fail;
6829 }
6830 Py_INCREF(Py_None); resultobj = Py_None;
6831 return resultobj;
6832 fail:
6833 return NULL;
6834}
6835
6836
6837static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6838 PyObject *resultobj;
6839 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6840 int result;
6841 PyObject * obj0 = 0 ;
6842 char *kwnames[] = {
6843 (char *) "self", NULL
6844 };
6845
6846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6848 {
6849 PyThreadState* __tstate = wxPyBeginAllowThreads();
6850 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6851
6852 wxPyEndAllowThreads(__tstate);
6853 if (PyErr_Occurred()) SWIG_fail;
6854 }
6855 resultobj = PyInt_FromLong((long)result);
6856 return resultobj;
6857 fail:
6858 return NULL;
6859}
6860
6861
6862static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6863 PyObject *resultobj;
6864 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6865 int arg2 ;
6866 PyObject * obj0 = 0 ;
6867 char *kwnames[] = {
6868 (char *) "self",(char *) "flags", NULL
6869 };
6870
6871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6873 {
6874 PyThreadState* __tstate = wxPyBeginAllowThreads();
6875 (arg1)->SetFlags(arg2);
6876
6877 wxPyEndAllowThreads(__tstate);
6878 if (PyErr_Occurred()) SWIG_fail;
6879 }
6880 Py_INCREF(Py_None); resultobj = Py_None;
6881 return resultobj;
6882 fail:
6883 return NULL;
6884}
6885
6886
6887static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6888 PyObject *resultobj;
6889 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6890 int result;
6891 PyObject * obj0 = 0 ;
6892 char *kwnames[] = {
6893 (char *) "self", NULL
6894 };
6895
6896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6898 {
6899 PyThreadState* __tstate = wxPyBeginAllowThreads();
6900 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6901
6902 wxPyEndAllowThreads(__tstate);
6903 if (PyErr_Occurred()) SWIG_fail;
6904 }
6905 resultobj = PyInt_FromLong((long)result);
6906 return resultobj;
6907 fail:
6908 return NULL;
6909}
6910
6911
6912static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6913 PyObject *resultobj;
6914 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6915 wxSize *arg2 = 0 ;
6916 wxSize temp2 ;
6917 PyObject * obj0 = 0 ;
6918 PyObject * obj1 = 0 ;
6919 char *kwnames[] = {
6920 (char *) "self",(char *) "size", NULL
6921 };
6922
6923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6925 {
6926 arg2 = &temp2;
6927 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6928 }
6929 {
6930 PyThreadState* __tstate = wxPyBeginAllowThreads();
6931 (arg1)->SetSize((wxSize const &)*arg2);
6932
6933 wxPyEndAllowThreads(__tstate);
6934 if (PyErr_Occurred()) SWIG_fail;
6935 }
6936 Py_INCREF(Py_None); resultobj = Py_None;
6937 return resultobj;
6938 fail:
6939 return NULL;
6940}
6941
6942
6943static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6944 PyObject *resultobj;
6945 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6946 wxSize result;
6947 PyObject * obj0 = 0 ;
6948 char *kwnames[] = {
6949 (char *) "self", NULL
6950 };
6951
6952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6954 {
6955 PyThreadState* __tstate = wxPyBeginAllowThreads();
6956 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6957
6958 wxPyEndAllowThreads(__tstate);
6959 if (PyErr_Occurred()) SWIG_fail;
6960 }
6961 {
6962 wxSize * resultptr;
6963 resultptr = new wxSize((wxSize &) result);
6964 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6965 }
6966 return resultobj;
6967 fail:
6968 return NULL;
6969}
6970
6971
6972static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6973 PyObject *resultobj;
6974 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6975 int arg2 ;
6976 PyObject * obj0 = 0 ;
6977 char *kwnames[] = {
6978 (char *) "self",(char *) "orient", NULL
6979 };
6980
6981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6983 {
6984 PyThreadState* __tstate = wxPyBeginAllowThreads();
6985 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6986
6987 wxPyEndAllowThreads(__tstate);
6988 if (PyErr_Occurred()) SWIG_fail;
6989 }
6990 Py_INCREF(Py_None); resultobj = Py_None;
6991 return resultobj;
6992 fail:
6993 return NULL;
6994}
6995
6996
6997static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6998 PyObject *resultobj;
6999 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7000 int result;
7001 PyObject * obj0 = 0 ;
7002 char *kwnames[] = {
7003 (char *) "self", NULL
7004 };
7005
7006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
7007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7008 {
7009 PyThreadState* __tstate = wxPyBeginAllowThreads();
7010 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
7011
7012 wxPyEndAllowThreads(__tstate);
7013 if (PyErr_Occurred()) SWIG_fail;
7014 }
7015 resultobj = PyInt_FromLong((long)result);
7016 return resultobj;
7017 fail:
7018 return NULL;
7019}
7020
7021
7022static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7023 PyObject *resultobj;
7024 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7025 int arg2 ;
7026 PyObject * obj0 = 0 ;
7027 char *kwnames[] = {
7028 (char *) "self",(char *) "align", NULL
7029 };
7030
7031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7033 {
7034 PyThreadState* __tstate = wxPyBeginAllowThreads();
7035 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7036
7037 wxPyEndAllowThreads(__tstate);
7038 if (PyErr_Occurred()) SWIG_fail;
7039 }
7040 Py_INCREF(Py_None); resultobj = Py_None;
7041 return resultobj;
7042 fail:
7043 return NULL;
7044}
7045
7046
7047static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7048 PyObject *resultobj;
7049 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
7050 int result;
7051 PyObject * obj0 = 0 ;
7052 char *kwnames[] = {
7053 (char *) "self", NULL
7054 };
7055
7056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
7057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7058 {
7059 PyThreadState* __tstate = wxPyBeginAllowThreads();
7060 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
7061
7062 wxPyEndAllowThreads(__tstate);
7063 if (PyErr_Occurred()) SWIG_fail;
7064 }
7065 resultobj = PyInt_FromLong((long)result);
7066 return resultobj;
7067 fail:
7068 return NULL;
7069}
7070
7071
7072static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
7073 PyObject *obj;
7074 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7075 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
7076 Py_INCREF(obj);
7077 return Py_BuildValue((char *)"");
7078}
7079static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
7080 PyObject *resultobj;
7081 wxWindowID arg1 = (wxWindowID) 0 ;
7082 wxCalculateLayoutEvent *result;
7083 char *kwnames[] = {
7084 (char *) "id", NULL
7085 };
7086
7087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
7088 {
7089 PyThreadState* __tstate = wxPyBeginAllowThreads();
7090 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
7091
7092 wxPyEndAllowThreads(__tstate);
7093 if (PyErr_Occurred()) SWIG_fail;
7094 }
7095 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
7096 return resultobj;
7097 fail:
7098 return NULL;
7099}
7100
7101
7102static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7103 PyObject *resultobj;
7104 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7105 int arg2 ;
7106 PyObject * obj0 = 0 ;
7107 char *kwnames[] = {
7108 (char *) "self",(char *) "flags", NULL
7109 };
7110
7111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
7112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7113 {
7114 PyThreadState* __tstate = wxPyBeginAllowThreads();
7115 (arg1)->SetFlags(arg2);
7116
7117 wxPyEndAllowThreads(__tstate);
7118 if (PyErr_Occurred()) SWIG_fail;
7119 }
7120 Py_INCREF(Py_None); resultobj = Py_None;
7121 return resultobj;
7122 fail:
7123 return NULL;
7124}
7125
7126
7127static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
7128 PyObject *resultobj;
7129 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7130 int result;
7131 PyObject * obj0 = 0 ;
7132 char *kwnames[] = {
7133 (char *) "self", NULL
7134 };
7135
7136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
7137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7138 {
7139 PyThreadState* __tstate = wxPyBeginAllowThreads();
7140 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
7141
7142 wxPyEndAllowThreads(__tstate);
7143 if (PyErr_Occurred()) SWIG_fail;
7144 }
7145 resultobj = PyInt_FromLong((long)result);
7146 return resultobj;
7147 fail:
7148 return NULL;
7149}
7150
7151
7152static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7153 PyObject *resultobj;
7154 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7155 wxRect *arg2 = 0 ;
7156 wxRect temp2 ;
7157 PyObject * obj0 = 0 ;
7158 PyObject * obj1 = 0 ;
7159 char *kwnames[] = {
7160 (char *) "self",(char *) "rect", NULL
7161 };
7162
7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
7164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7165 {
7166 arg2 = &temp2;
7167 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7168 }
7169 {
7170 PyThreadState* __tstate = wxPyBeginAllowThreads();
7171 (arg1)->SetRect((wxRect const &)*arg2);
7172
7173 wxPyEndAllowThreads(__tstate);
7174 if (PyErr_Occurred()) SWIG_fail;
7175 }
7176 Py_INCREF(Py_None); resultobj = Py_None;
7177 return resultobj;
7178 fail:
7179 return NULL;
7180}
7181
7182
7183static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7184 PyObject *resultobj;
7185 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
7186 wxRect result;
7187 PyObject * obj0 = 0 ;
7188 char *kwnames[] = {
7189 (char *) "self", NULL
7190 };
7191
7192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
7193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7194 {
7195 PyThreadState* __tstate = wxPyBeginAllowThreads();
7196 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
7197
7198 wxPyEndAllowThreads(__tstate);
7199 if (PyErr_Occurred()) SWIG_fail;
7200 }
7201 {
7202 wxRect * resultptr;
7203 resultptr = new wxRect((wxRect &) result);
7204 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
7205 }
7206 return resultobj;
7207 fail:
7208 return NULL;
7209}
7210
7211
7212static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
7213 PyObject *obj;
7214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7215 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
7216 Py_INCREF(obj);
7217 return Py_BuildValue((char *)"");
7218}
7219static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7220 PyObject *resultobj;
7221 wxWindow *arg1 = (wxWindow *) 0 ;
7222 wxWindowID arg2 ;
7223 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7224 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7225 wxSize const &arg4_defvalue = wxDefaultSize ;
7226 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7227 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7228 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
7229 wxString *arg6 = (wxString *) &arg6_defvalue ;
7230 wxSashLayoutWindow *result;
7231 wxPoint temp3 ;
7232 wxSize temp4 ;
7233 bool temp6 = false ;
7234 PyObject * obj0 = 0 ;
7235 PyObject * obj2 = 0 ;
7236 PyObject * obj3 = 0 ;
7237 PyObject * obj5 = 0 ;
7238 char *kwnames[] = {
7239 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7240 };
7241
7242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7244 if (obj2) {
7245 {
7246 arg3 = &temp3;
7247 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7248 }
7249 }
7250 if (obj3) {
7251 {
7252 arg4 = &temp4;
7253 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7254 }
7255 }
7256 if (obj5) {
7257 {
7258 arg6 = wxString_in_helper(obj5);
7259 if (arg6 == NULL) SWIG_fail;
7260 temp6 = true;
7261 }
7262 }
7263 {
7264 PyThreadState* __tstate = wxPyBeginAllowThreads();
7265 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7266
7267 wxPyEndAllowThreads(__tstate);
7268 if (PyErr_Occurred()) SWIG_fail;
7269 }
7270 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7271 {
7272 if (temp6)
7273 delete arg6;
7274 }
7275 return resultobj;
7276 fail:
7277 {
7278 if (temp6)
7279 delete arg6;
7280 }
7281 return NULL;
7282}
7283
7284
7285static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7286 PyObject *resultobj;
7287 wxSashLayoutWindow *result;
7288 char *kwnames[] = {
7289 NULL
7290 };
7291
7292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7293 {
7294 PyThreadState* __tstate = wxPyBeginAllowThreads();
7295 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7296
7297 wxPyEndAllowThreads(__tstate);
7298 if (PyErr_Occurred()) SWIG_fail;
7299 }
7300 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7301 return resultobj;
7302 fail:
7303 return NULL;
7304}
7305
7306
7307static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7308 PyObject *resultobj;
7309 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7310 wxWindow *arg2 = (wxWindow *) 0 ;
7311 wxWindowID arg3 ;
7312 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7313 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7314 wxSize const &arg5_defvalue = wxDefaultSize ;
7315 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7316 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7317 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7318 wxString *arg7 = (wxString *) &arg7_defvalue ;
7319 bool result;
7320 wxPoint temp4 ;
7321 wxSize temp5 ;
7322 bool temp7 = false ;
7323 PyObject * obj0 = 0 ;
7324 PyObject * obj1 = 0 ;
7325 PyObject * obj3 = 0 ;
7326 PyObject * obj4 = 0 ;
7327 PyObject * obj6 = 0 ;
7328 char *kwnames[] = {
7329 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7330 };
7331
7332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7335 if (obj3) {
7336 {
7337 arg4 = &temp4;
7338 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7339 }
7340 }
7341 if (obj4) {
7342 {
7343 arg5 = &temp5;
7344 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7345 }
7346 }
7347 if (obj6) {
7348 {
7349 arg7 = wxString_in_helper(obj6);
7350 if (arg7 == NULL) SWIG_fail;
7351 temp7 = true;
7352 }
7353 }
7354 {
7355 PyThreadState* __tstate = wxPyBeginAllowThreads();
7356 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7357
7358 wxPyEndAllowThreads(__tstate);
7359 if (PyErr_Occurred()) SWIG_fail;
7360 }
7361 resultobj = PyInt_FromLong((long)result);
7362 {
7363 if (temp7)
7364 delete arg7;
7365 }
7366 return resultobj;
7367 fail:
7368 {
7369 if (temp7)
7370 delete arg7;
7371 }
7372 return NULL;
7373}
7374
7375
7376static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7377 PyObject *resultobj;
7378 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7379 int result;
7380 PyObject * obj0 = 0 ;
7381 char *kwnames[] = {
7382 (char *) "self", NULL
7383 };
7384
7385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7387 {
7388 PyThreadState* __tstate = wxPyBeginAllowThreads();
7389 result = (int)(arg1)->GetAlignment();
7390
7391 wxPyEndAllowThreads(__tstate);
7392 if (PyErr_Occurred()) SWIG_fail;
7393 }
7394 resultobj = PyInt_FromLong((long)result);
7395 return resultobj;
7396 fail:
7397 return NULL;
7398}
7399
7400
7401static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7402 PyObject *resultobj;
7403 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7404 int result;
7405 PyObject * obj0 = 0 ;
7406 char *kwnames[] = {
7407 (char *) "self", NULL
7408 };
7409
7410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7412 {
7413 PyThreadState* __tstate = wxPyBeginAllowThreads();
7414 result = (int)(arg1)->GetOrientation();
7415
7416 wxPyEndAllowThreads(__tstate);
7417 if (PyErr_Occurred()) SWIG_fail;
7418 }
7419 resultobj = PyInt_FromLong((long)result);
7420 return resultobj;
7421 fail:
7422 return NULL;
7423}
7424
7425
7426static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7427 PyObject *resultobj;
7428 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7429 int arg2 ;
7430 PyObject * obj0 = 0 ;
7431 char *kwnames[] = {
7432 (char *) "self",(char *) "alignment", NULL
7433 };
7434
7435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7437 {
7438 PyThreadState* __tstate = wxPyBeginAllowThreads();
7439 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7440
7441 wxPyEndAllowThreads(__tstate);
7442 if (PyErr_Occurred()) SWIG_fail;
7443 }
7444 Py_INCREF(Py_None); resultobj = Py_None;
7445 return resultobj;
7446 fail:
7447 return NULL;
7448}
7449
7450
7451static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7452 PyObject *resultobj;
7453 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7454 wxSize *arg2 = 0 ;
7455 wxSize temp2 ;
7456 PyObject * obj0 = 0 ;
7457 PyObject * obj1 = 0 ;
7458 char *kwnames[] = {
7459 (char *) "self",(char *) "size", NULL
7460 };
7461
7462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7464 {
7465 arg2 = &temp2;
7466 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7467 }
7468 {
7469 PyThreadState* __tstate = wxPyBeginAllowThreads();
7470 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7471
7472 wxPyEndAllowThreads(__tstate);
7473 if (PyErr_Occurred()) SWIG_fail;
7474 }
7475 Py_INCREF(Py_None); resultobj = Py_None;
7476 return resultobj;
7477 fail:
7478 return NULL;
7479}
7480
7481
7482static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7483 PyObject *resultobj;
7484 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7485 int arg2 ;
7486 PyObject * obj0 = 0 ;
7487 char *kwnames[] = {
7488 (char *) "self",(char *) "orientation", NULL
7489 };
7490
7491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7493 {
7494 PyThreadState* __tstate = wxPyBeginAllowThreads();
7495 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7496
7497 wxPyEndAllowThreads(__tstate);
7498 if (PyErr_Occurred()) SWIG_fail;
7499 }
7500 Py_INCREF(Py_None); resultobj = Py_None;
7501 return resultobj;
7502 fail:
7503 return NULL;
7504}
7505
7506
7507static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7508 PyObject *obj;
7509 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7510 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7511 Py_INCREF(obj);
7512 return Py_BuildValue((char *)"");
7513}
7514static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7515 PyObject *resultobj;
7516 wxLayoutAlgorithm *result;
7517 char *kwnames[] = {
7518 NULL
7519 };
7520
7521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7522 {
7523 PyThreadState* __tstate = wxPyBeginAllowThreads();
7524 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7525
7526 wxPyEndAllowThreads(__tstate);
7527 if (PyErr_Occurred()) SWIG_fail;
7528 }
7529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7530 return resultobj;
7531 fail:
7532 return NULL;
7533}
7534
7535
7536static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7537 PyObject *resultobj;
7538 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7539 PyObject * obj0 = 0 ;
7540 char *kwnames[] = {
7541 (char *) "self", NULL
7542 };
7543
7544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7546 {
7547 PyThreadState* __tstate = wxPyBeginAllowThreads();
7548 delete arg1;
7549
7550 wxPyEndAllowThreads(__tstate);
7551 if (PyErr_Occurred()) SWIG_fail;
7552 }
7553 Py_INCREF(Py_None); resultobj = Py_None;
7554 return resultobj;
7555 fail:
7556 return NULL;
7557}
7558
7559
7560static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7561 PyObject *resultobj;
7562 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7563 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7564 wxRect *arg3 = (wxRect *) NULL ;
7565 bool result;
7566 PyObject * obj0 = 0 ;
7567 PyObject * obj1 = 0 ;
7568 PyObject * obj2 = 0 ;
7569 char *kwnames[] = {
7570 (char *) "self",(char *) "frame",(char *) "rect", NULL
7571 };
7572
7573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7575 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7576 if (obj2) {
7577 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7578 }
7579 {
7580 PyThreadState* __tstate = wxPyBeginAllowThreads();
7581 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7582
7583 wxPyEndAllowThreads(__tstate);
7584 if (PyErr_Occurred()) SWIG_fail;
7585 }
7586 resultobj = PyInt_FromLong((long)result);
7587 return resultobj;
7588 fail:
7589 return NULL;
7590}
7591
7592
7593static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7594 PyObject *resultobj;
7595 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7596 wxFrame *arg2 = (wxFrame *) 0 ;
7597 wxWindow *arg3 = (wxWindow *) NULL ;
7598 bool result;
7599 PyObject * obj0 = 0 ;
7600 PyObject * obj1 = 0 ;
7601 PyObject * obj2 = 0 ;
7602 char *kwnames[] = {
7603 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7604 };
7605
7606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7608 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7609 if (obj2) {
7610 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7611 }
7612 {
7613 PyThreadState* __tstate = wxPyBeginAllowThreads();
7614 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7615
7616 wxPyEndAllowThreads(__tstate);
7617 if (PyErr_Occurred()) SWIG_fail;
7618 }
7619 resultobj = PyInt_FromLong((long)result);
7620 return resultobj;
7621 fail:
7622 return NULL;
7623}
7624
7625
7626static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7627 PyObject *resultobj;
7628 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7629 wxWindow *arg2 = (wxWindow *) 0 ;
7630 wxWindow *arg3 = (wxWindow *) NULL ;
7631 bool result;
7632 PyObject * obj0 = 0 ;
7633 PyObject * obj1 = 0 ;
7634 PyObject * obj2 = 0 ;
7635 char *kwnames[] = {
7636 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7637 };
7638
7639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7642 if (obj2) {
7643 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7644 }
7645 {
7646 PyThreadState* __tstate = wxPyBeginAllowThreads();
7647 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7648
7649 wxPyEndAllowThreads(__tstate);
7650 if (PyErr_Occurred()) SWIG_fail;
7651 }
7652 resultobj = PyInt_FromLong((long)result);
7653 return resultobj;
7654 fail:
7655 return NULL;
7656}
7657
7658
7659static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7660 PyObject *obj;
7661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7662 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7663 Py_INCREF(obj);
7664 return Py_BuildValue((char *)"");
7665}
7666static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7667 PyObject *resultobj;
7668 wxWindow *arg1 = (wxWindow *) 0 ;
7669 int arg2 = (int) wxBORDER_NONE ;
7670 wxPopupWindow *result;
7671 PyObject * obj0 = 0 ;
7672 char *kwnames[] = {
7673 (char *) "parent",(char *) "flags", NULL
7674 };
7675
7676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7678 {
7679 PyThreadState* __tstate = wxPyBeginAllowThreads();
7680 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7681
7682 wxPyEndAllowThreads(__tstate);
7683 if (PyErr_Occurred()) SWIG_fail;
7684 }
7685 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7686 return resultobj;
7687 fail:
7688 return NULL;
7689}
7690
7691
7692static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7693 PyObject *resultobj;
7694 wxPopupWindow *result;
7695 char *kwnames[] = {
7696 NULL
7697 };
7698
7699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7700 {
7701 PyThreadState* __tstate = wxPyBeginAllowThreads();
7702 result = (wxPopupWindow *)new wxPopupWindow();
7703
7704 wxPyEndAllowThreads(__tstate);
7705 if (PyErr_Occurred()) SWIG_fail;
7706 }
7707 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7708 return resultobj;
7709 fail:
7710 return NULL;
7711}
7712
7713
7714static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7715 PyObject *resultobj;
7716 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7717 wxWindow *arg2 = (wxWindow *) 0 ;
7718 int arg3 = (int) wxBORDER_NONE ;
7719 bool result;
7720 PyObject * obj0 = 0 ;
7721 PyObject * obj1 = 0 ;
7722 char *kwnames[] = {
7723 (char *) "self",(char *) "parent",(char *) "flags", NULL
7724 };
7725
7726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7729 {
7730 PyThreadState* __tstate = wxPyBeginAllowThreads();
7731 result = (bool)(arg1)->Create(arg2,arg3);
7732
7733 wxPyEndAllowThreads(__tstate);
7734 if (PyErr_Occurred()) SWIG_fail;
7735 }
7736 resultobj = PyInt_FromLong((long)result);
7737 return resultobj;
7738 fail:
7739 return NULL;
7740}
7741
7742
7743static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7744 PyObject *resultobj;
7745 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7746 wxPoint *arg2 = 0 ;
7747 wxSize *arg3 = 0 ;
7748 wxPoint temp2 ;
7749 wxSize temp3 ;
7750 PyObject * obj0 = 0 ;
7751 PyObject * obj1 = 0 ;
7752 PyObject * obj2 = 0 ;
7753 char *kwnames[] = {
7754 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7755 };
7756
7757 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7758 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7759 {
7760 arg2 = &temp2;
7761 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7762 }
7763 {
7764 arg3 = &temp3;
7765 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7766 }
7767 {
7768 PyThreadState* __tstate = wxPyBeginAllowThreads();
7769 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7770
7771 wxPyEndAllowThreads(__tstate);
7772 if (PyErr_Occurred()) SWIG_fail;
7773 }
7774 Py_INCREF(Py_None); resultobj = Py_None;
7775 return resultobj;
7776 fail:
7777 return NULL;
7778}
7779
7780
7781static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7782 PyObject *obj;
7783 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7784 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7785 Py_INCREF(obj);
7786 return Py_BuildValue((char *)"");
7787}
7788static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7789 PyObject *resultobj;
7790 wxWindow *arg1 = (wxWindow *) 0 ;
7791 int arg2 = (int) wxBORDER_NONE ;
7792 wxPyPopupTransientWindow *result;
7793 PyObject * obj0 = 0 ;
7794 char *kwnames[] = {
7795 (char *) "parent",(char *) "style", NULL
7796 };
7797
7798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7800 {
7801 PyThreadState* __tstate = wxPyBeginAllowThreads();
7802 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7803
7804 wxPyEndAllowThreads(__tstate);
7805 if (PyErr_Occurred()) SWIG_fail;
7806 }
7807 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7808 return resultobj;
7809 fail:
7810 return NULL;
7811}
7812
7813
7814static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj;
7816 wxPyPopupTransientWindow *result;
7817 char *kwnames[] = {
7818 NULL
7819 };
7820
7821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7825
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7830 return resultobj;
7831 fail:
7832 return NULL;
7833}
7834
7835
7836static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7837 PyObject *resultobj;
7838 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7839 PyObject *arg2 = (PyObject *) 0 ;
7840 PyObject *arg3 = (PyObject *) 0 ;
7841 PyObject * obj0 = 0 ;
7842 PyObject * obj1 = 0 ;
7843 PyObject * obj2 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self",(char *) "self",(char *) "_class", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7850 arg2 = obj1;
7851 arg3 = obj2;
7852 {
7853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7854 (arg1)->_setCallbackInfo(arg2,arg3);
7855
7856 wxPyEndAllowThreads(__tstate);
7857 if (PyErr_Occurred()) SWIG_fail;
7858 }
7859 Py_INCREF(Py_None); resultobj = Py_None;
7860 return resultobj;
7861 fail:
7862 return NULL;
7863}
7864
7865
7866static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7867 PyObject *resultobj;
7868 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7869 wxWindow *arg2 = (wxWindow *) NULL ;
7870 PyObject * obj0 = 0 ;
7871 PyObject * obj1 = 0 ;
7872 char *kwnames[] = {
7873 (char *) "self",(char *) "focus", NULL
7874 };
7875
7876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7878 if (obj1) {
7879 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7880 }
7881 {
7882 PyThreadState* __tstate = wxPyBeginAllowThreads();
7883 (arg1)->Popup(arg2);
7884
7885 wxPyEndAllowThreads(__tstate);
7886 if (PyErr_Occurred()) SWIG_fail;
7887 }
7888 Py_INCREF(Py_None); resultobj = Py_None;
7889 return resultobj;
7890 fail:
7891 return NULL;
7892}
7893
7894
7895static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7896 PyObject *resultobj;
7897 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7898 PyObject * obj0 = 0 ;
7899 char *kwnames[] = {
7900 (char *) "self", NULL
7901 };
7902
7903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7905 {
7906 PyThreadState* __tstate = wxPyBeginAllowThreads();
7907 (arg1)->Dismiss();
7908
7909 wxPyEndAllowThreads(__tstate);
7910 if (PyErr_Occurred()) SWIG_fail;
7911 }
7912 Py_INCREF(Py_None); resultobj = Py_None;
7913 return resultobj;
7914 fail:
7915 return NULL;
7916}
7917
7918
7919static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7920 PyObject *obj;
7921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7922 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7923 Py_INCREF(obj);
7924 return Py_BuildValue((char *)"");
7925}
7926static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7927 PyObject *resultobj;
7928 wxWindow *arg1 = (wxWindow *) 0 ;
7929 wxString *arg2 = (wxString *) 0 ;
7930 wxCoord arg3 = (wxCoord) 100 ;
7931 wxRect *arg4 = (wxRect *) NULL ;
7932 wxTipWindow *result;
7933 PyObject * obj0 = 0 ;
7934 PyObject * obj1 = 0 ;
7935 PyObject * obj3 = 0 ;
7936 char *kwnames[] = {
7937 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7938 };
7939
7940 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7941 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7942 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7943 if (obj3) {
7944 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7945 }
7946 {
7947 PyThreadState* __tstate = wxPyBeginAllowThreads();
7948 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const *)arg2,arg3,arg4);
7949
7950 wxPyEndAllowThreads(__tstate);
7951 if (PyErr_Occurred()) SWIG_fail;
7952 }
7953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
7954 return resultobj;
7955 fail:
7956 return NULL;
7957}
7958
7959
7960static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7961 PyObject *resultobj;
7962 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7963 wxRect *arg2 = 0 ;
7964 wxRect temp2 ;
7965 PyObject * obj0 = 0 ;
7966 PyObject * obj1 = 0 ;
7967 char *kwnames[] = {
7968 (char *) "self",(char *) "rectBound", NULL
7969 };
7970
7971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7973 {
7974 arg2 = &temp2;
7975 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7976 }
7977 {
7978 PyThreadState* __tstate = wxPyBeginAllowThreads();
7979 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7980
7981 wxPyEndAllowThreads(__tstate);
7982 if (PyErr_Occurred()) SWIG_fail;
7983 }
7984 Py_INCREF(Py_None); resultobj = Py_None;
7985 return resultobj;
7986 fail:
7987 return NULL;
7988}
7989
7990
7991static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7992 PyObject *resultobj;
7993 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7994 PyObject * obj0 = 0 ;
7995 char *kwnames[] = {
7996 (char *) "self", NULL
7997 };
7998
7999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
8000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8001 {
8002 PyThreadState* __tstate = wxPyBeginAllowThreads();
8003 (arg1)->Close();
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 * TipWindow_swigregister(PyObject *self, PyObject *args) {
8016 PyObject *obj;
8017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8018 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
8019 Py_INCREF(obj);
8020 return Py_BuildValue((char *)"");
8021}
8022static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8023 PyObject *resultobj;
8024 wxWindow *arg1 = (wxWindow *) 0 ;
8025 wxWindowID arg2 = (wxWindowID) wxID_ANY ;
8026 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8027 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8028 wxSize const &arg4_defvalue = wxDefaultSize ;
8029 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8030 long arg5 = (long) 0 ;
8031 wxString const &arg6_defvalue = wxPyPanelNameStr ;
8032 wxString *arg6 = (wxString *) &arg6_defvalue ;
8033 wxPyVScrolledWindow *result;
8034 wxPoint temp3 ;
8035 wxSize temp4 ;
8036 bool temp6 = false ;
8037 PyObject * obj0 = 0 ;
8038 PyObject * obj2 = 0 ;
8039 PyObject * obj3 = 0 ;
8040 PyObject * obj5 = 0 ;
8041 char *kwnames[] = {
8042 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8043 };
8044
8045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8047 if (obj2) {
8048 {
8049 arg3 = &temp3;
8050 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8051 }
8052 }
8053 if (obj3) {
8054 {
8055 arg4 = &temp4;
8056 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8057 }
8058 }
8059 if (obj5) {
8060 {
8061 arg6 = wxString_in_helper(obj5);
8062 if (arg6 == NULL) SWIG_fail;
8063 temp6 = true;
8064 }
8065 }
8066 {
8067 PyThreadState* __tstate = wxPyBeginAllowThreads();
8068 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8069
8070 wxPyEndAllowThreads(__tstate);
8071 if (PyErr_Occurred()) SWIG_fail;
8072 }
8073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8074 {
8075 if (temp6)
8076 delete arg6;
8077 }
8078 return resultobj;
8079 fail:
8080 {
8081 if (temp6)
8082 delete arg6;
8083 }
8084 return NULL;
8085}
8086
8087
8088static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
8089 PyObject *resultobj;
8090 wxPyVScrolledWindow *result;
8091 char *kwnames[] = {
8092 NULL
8093 };
8094
8095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
8099
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
8104 return resultobj;
8105 fail:
8106 return NULL;
8107}
8108
8109
8110static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8111 PyObject *resultobj;
8112 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8113 PyObject *arg2 = (PyObject *) 0 ;
8114 PyObject *arg3 = (PyObject *) 0 ;
8115 PyObject * obj0 = 0 ;
8116 PyObject * obj1 = 0 ;
8117 PyObject * obj2 = 0 ;
8118 char *kwnames[] = {
8119 (char *) "self",(char *) "self",(char *) "_class", NULL
8120 };
8121
8122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8124 arg2 = obj1;
8125 arg3 = obj2;
8126 {
8127 PyThreadState* __tstate = wxPyBeginAllowThreads();
8128 (arg1)->_setCallbackInfo(arg2,arg3);
8129
8130 wxPyEndAllowThreads(__tstate);
8131 if (PyErr_Occurred()) SWIG_fail;
8132 }
8133 Py_INCREF(Py_None); resultobj = Py_None;
8134 return resultobj;
8135 fail:
8136 return NULL;
8137}
8138
8139
8140static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8141 PyObject *resultobj;
8142 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8143 wxWindow *arg2 = (wxWindow *) 0 ;
8144 wxWindowID arg3 = (wxWindowID) wxID_ANY ;
8145 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8146 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8147 wxSize const &arg5_defvalue = wxDefaultSize ;
8148 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8149 long arg6 = (long) 0 ;
8150 wxString const &arg7_defvalue = wxPyPanelNameStr ;
8151 wxString *arg7 = (wxString *) &arg7_defvalue ;
8152 bool result;
8153 wxPoint temp4 ;
8154 wxSize temp5 ;
8155 bool temp7 = false ;
8156 PyObject * obj0 = 0 ;
8157 PyObject * obj1 = 0 ;
8158 PyObject * obj3 = 0 ;
8159 PyObject * obj4 = 0 ;
8160 PyObject * obj6 = 0 ;
8161 char *kwnames[] = {
8162 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8163 };
8164
8165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8167 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8168 if (obj3) {
8169 {
8170 arg4 = &temp4;
8171 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8172 }
8173 }
8174 if (obj4) {
8175 {
8176 arg5 = &temp5;
8177 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8178 }
8179 }
8180 if (obj6) {
8181 {
8182 arg7 = wxString_in_helper(obj6);
8183 if (arg7 == NULL) SWIG_fail;
8184 temp7 = true;
8185 }
8186 }
8187 {
8188 PyThreadState* __tstate = wxPyBeginAllowThreads();
8189 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8190
8191 wxPyEndAllowThreads(__tstate);
8192 if (PyErr_Occurred()) SWIG_fail;
8193 }
8194 resultobj = PyInt_FromLong((long)result);
8195 {
8196 if (temp7)
8197 delete arg7;
8198 }
8199 return resultobj;
8200 fail:
8201 {
8202 if (temp7)
8203 delete arg7;
8204 }
8205 return NULL;
8206}
8207
8208
8209static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8210 PyObject *resultobj;
8211 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8212 size_t arg2 ;
8213 PyObject * obj0 = 0 ;
8214 PyObject * obj1 = 0 ;
8215 char *kwnames[] = {
8216 (char *) "self",(char *) "count", NULL
8217 };
8218
8219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
8220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8221 arg2 = (size_t) PyInt_AsLong(obj1);
8222 if (PyErr_Occurred()) SWIG_fail;
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 (arg1)->SetLineCount(arg2);
8226
8227 wxPyEndAllowThreads(__tstate);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 }
8230 Py_INCREF(Py_None); resultobj = Py_None;
8231 return resultobj;
8232 fail:
8233 return NULL;
8234}
8235
8236
8237static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8238 PyObject *resultobj;
8239 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8240 size_t arg2 ;
8241 bool result;
8242 PyObject * obj0 = 0 ;
8243 PyObject * obj1 = 0 ;
8244 char *kwnames[] = {
8245 (char *) "self",(char *) "line", NULL
8246 };
8247
8248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
8249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8250 arg2 = (size_t) PyInt_AsLong(obj1);
8251 if (PyErr_Occurred()) SWIG_fail;
8252 {
8253 PyThreadState* __tstate = wxPyBeginAllowThreads();
8254 result = (bool)(arg1)->ScrollToLine(arg2);
8255
8256 wxPyEndAllowThreads(__tstate);
8257 if (PyErr_Occurred()) SWIG_fail;
8258 }
8259 resultobj = PyInt_FromLong((long)result);
8260 return resultobj;
8261 fail:
8262 return NULL;
8263}
8264
8265
8266static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8267 PyObject *resultobj;
8268 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8269 int arg2 ;
8270 bool result;
8271 PyObject * obj0 = 0 ;
8272 char *kwnames[] = {
8273 (char *) "self",(char *) "lines", NULL
8274 };
8275
8276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8278 {
8279 PyThreadState* __tstate = wxPyBeginAllowThreads();
8280 result = (bool)(arg1)->ScrollLines(arg2);
8281
8282 wxPyEndAllowThreads(__tstate);
8283 if (PyErr_Occurred()) SWIG_fail;
8284 }
8285 resultobj = PyInt_FromLong((long)result);
8286 return resultobj;
8287 fail:
8288 return NULL;
8289}
8290
8291
8292static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8293 PyObject *resultobj;
8294 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8295 int arg2 ;
8296 bool result;
8297 PyObject * obj0 = 0 ;
8298 char *kwnames[] = {
8299 (char *) "self",(char *) "pages", NULL
8300 };
8301
8302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
8303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8304 {
8305 PyThreadState* __tstate = wxPyBeginAllowThreads();
8306 result = (bool)(arg1)->ScrollPages(arg2);
8307
8308 wxPyEndAllowThreads(__tstate);
8309 if (PyErr_Occurred()) SWIG_fail;
8310 }
8311 resultobj = PyInt_FromLong((long)result);
8312 return resultobj;
8313 fail:
8314 return NULL;
8315}
8316
8317
8318static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8319 PyObject *resultobj;
8320 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8321 size_t arg2 ;
8322 PyObject * obj0 = 0 ;
8323 PyObject * obj1 = 0 ;
8324 char *kwnames[] = {
8325 (char *) "self",(char *) "line", NULL
8326 };
8327
8328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8330 arg2 = (size_t) PyInt_AsLong(obj1);
8331 if (PyErr_Occurred()) SWIG_fail;
8332 {
8333 PyThreadState* __tstate = wxPyBeginAllowThreads();
8334 (arg1)->RefreshLine(arg2);
8335
8336 wxPyEndAllowThreads(__tstate);
8337 if (PyErr_Occurred()) SWIG_fail;
8338 }
8339 Py_INCREF(Py_None); resultobj = Py_None;
8340 return resultobj;
8341 fail:
8342 return NULL;
8343}
8344
8345
8346static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8347 PyObject *resultobj;
8348 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8349 size_t arg2 ;
8350 size_t arg3 ;
8351 PyObject * obj0 = 0 ;
8352 PyObject * obj1 = 0 ;
8353 PyObject * obj2 = 0 ;
8354 char *kwnames[] = {
8355 (char *) "self",(char *) "from",(char *) "to", NULL
8356 };
8357
8358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8360 arg2 = (size_t) PyInt_AsLong(obj1);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 arg3 = (size_t) PyInt_AsLong(obj2);
8363 if (PyErr_Occurred()) SWIG_fail;
8364 {
8365 PyThreadState* __tstate = wxPyBeginAllowThreads();
8366 (arg1)->RefreshLines(arg2,arg3);
8367
8368 wxPyEndAllowThreads(__tstate);
8369 if (PyErr_Occurred()) SWIG_fail;
8370 }
8371 Py_INCREF(Py_None); resultobj = Py_None;
8372 return resultobj;
8373 fail:
8374 return NULL;
8375}
8376
8377
8378static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8379 PyObject *resultobj;
8380 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8381 wxCoord arg2 ;
8382 wxCoord arg3 ;
8383 int result;
8384 PyObject * obj0 = 0 ;
8385 char *kwnames[] = {
8386 (char *) "self",(char *) "x",(char *) "y", NULL
8387 };
8388
8389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8391 {
8392 PyThreadState* __tstate = wxPyBeginAllowThreads();
8393 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8394
8395 wxPyEndAllowThreads(__tstate);
8396 if (PyErr_Occurred()) SWIG_fail;
8397 }
8398 resultobj = PyInt_FromLong((long)result);
8399 return resultobj;
8400 fail:
8401 return NULL;
8402}
8403
8404
8405static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8406 PyObject *resultobj;
8407 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8408 wxPoint *arg2 = 0 ;
8409 int result;
8410 wxPoint temp2 ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 char *kwnames[] = {
8414 (char *) "self",(char *) "pt", NULL
8415 };
8416
8417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8419 {
8420 arg2 = &temp2;
8421 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8422 }
8423 {
8424 PyThreadState* __tstate = wxPyBeginAllowThreads();
8425 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8426
8427 wxPyEndAllowThreads(__tstate);
8428 if (PyErr_Occurred()) SWIG_fail;
8429 }
8430 resultobj = PyInt_FromLong((long)result);
8431 return resultobj;
8432 fail:
8433 return NULL;
8434}
8435
8436
8437static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8438 PyObject *resultobj;
8439 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8440 PyObject * obj0 = 0 ;
8441 char *kwnames[] = {
8442 (char *) "self", NULL
8443 };
8444
8445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8447 {
8448 PyThreadState* __tstate = wxPyBeginAllowThreads();
8449 (arg1)->RefreshAll();
8450
8451 wxPyEndAllowThreads(__tstate);
8452 if (PyErr_Occurred()) SWIG_fail;
8453 }
8454 Py_INCREF(Py_None); resultobj = Py_None;
8455 return resultobj;
8456 fail:
8457 return NULL;
8458}
8459
8460
8461static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8462 PyObject *resultobj;
8463 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8464 size_t result;
8465 PyObject * obj0 = 0 ;
8466 char *kwnames[] = {
8467 (char *) "self", NULL
8468 };
8469
8470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8472 {
8473 PyThreadState* __tstate = wxPyBeginAllowThreads();
8474 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8475
8476 wxPyEndAllowThreads(__tstate);
8477 if (PyErr_Occurred()) SWIG_fail;
8478 }
8479 resultobj = PyInt_FromLong((long)result);
8480 return resultobj;
8481 fail:
8482 return NULL;
8483}
8484
8485
8486static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8487 PyObject *resultobj;
8488 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8489 size_t result;
8490 PyObject * obj0 = 0 ;
8491 char *kwnames[] = {
8492 (char *) "self", NULL
8493 };
8494
8495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8497 {
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8500
8501 wxPyEndAllowThreads(__tstate);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 resultobj = PyInt_FromLong((long)result);
8505 return resultobj;
8506 fail:
8507 return NULL;
8508}
8509
8510
8511static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject *resultobj;
8513 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8514 size_t result;
8515 PyObject * obj0 = 0 ;
8516 char *kwnames[] = {
8517 (char *) "self", NULL
8518 };
8519
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8522 {
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8525
8526 wxPyEndAllowThreads(__tstate);
8527 if (PyErr_Occurred()) SWIG_fail;
8528 }
8529 resultobj = PyInt_FromLong((long)result);
8530 return resultobj;
8531 fail:
8532 return NULL;
8533}
8534
8535
8536static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8537 PyObject *resultobj;
8538 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8539 size_t arg2 ;
8540 bool result;
8541 PyObject * obj0 = 0 ;
8542 PyObject * obj1 = 0 ;
8543 char *kwnames[] = {
8544 (char *) "self",(char *) "line", NULL
8545 };
8546
8547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8549 arg2 = (size_t) PyInt_AsLong(obj1);
8550 if (PyErr_Occurred()) SWIG_fail;
8551 {
8552 PyThreadState* __tstate = wxPyBeginAllowThreads();
8553 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8554
8555 wxPyEndAllowThreads(__tstate);
8556 if (PyErr_Occurred()) SWIG_fail;
8557 }
8558 resultobj = PyInt_FromLong((long)result);
8559 return resultobj;
8560 fail:
8561 return NULL;
8562}
8563
8564
8565static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8566 PyObject *obj;
8567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8568 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8569 Py_INCREF(obj);
8570 return Py_BuildValue((char *)"");
8571}
8572static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8573 PyObject *resultobj;
8574 wxWindow *arg1 = (wxWindow *) 0 ;
8575 wxWindowID arg2 = (wxWindowID) wxID_ANY ;
8576 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8577 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8578 wxSize const &arg4_defvalue = wxDefaultSize ;
8579 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8580 long arg5 = (long) 0 ;
8581 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8582 wxString *arg6 = (wxString *) &arg6_defvalue ;
8583 wxPyVListBox *result;
8584 wxPoint temp3 ;
8585 wxSize temp4 ;
8586 bool temp6 = false ;
8587 PyObject * obj0 = 0 ;
8588 PyObject * obj2 = 0 ;
8589 PyObject * obj3 = 0 ;
8590 PyObject * obj5 = 0 ;
8591 char *kwnames[] = {
8592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8593 };
8594
8595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8597 if (obj2) {
8598 {
8599 arg3 = &temp3;
8600 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8601 }
8602 }
8603 if (obj3) {
8604 {
8605 arg4 = &temp4;
8606 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8607 }
8608 }
8609 if (obj5) {
8610 {
8611 arg6 = wxString_in_helper(obj5);
8612 if (arg6 == NULL) SWIG_fail;
8613 temp6 = true;
8614 }
8615 }
8616 {
8617 PyThreadState* __tstate = wxPyBeginAllowThreads();
8618 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8619
8620 wxPyEndAllowThreads(__tstate);
8621 if (PyErr_Occurred()) SWIG_fail;
8622 }
8623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8624 {
8625 if (temp6)
8626 delete arg6;
8627 }
8628 return resultobj;
8629 fail:
8630 {
8631 if (temp6)
8632 delete arg6;
8633 }
8634 return NULL;
8635}
8636
8637
8638static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject *resultobj;
8640 wxPyVListBox *result;
8641 char *kwnames[] = {
8642 NULL
8643 };
8644
8645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8646 {
8647 PyThreadState* __tstate = wxPyBeginAllowThreads();
8648 result = (wxPyVListBox *)new wxPyVListBox();
8649
8650 wxPyEndAllowThreads(__tstate);
8651 if (PyErr_Occurred()) SWIG_fail;
8652 }
8653 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8654 return resultobj;
8655 fail:
8656 return NULL;
8657}
8658
8659
8660static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8661 PyObject *resultobj;
8662 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8663 PyObject *arg2 = (PyObject *) 0 ;
8664 PyObject *arg3 = (PyObject *) 0 ;
8665 PyObject * obj0 = 0 ;
8666 PyObject * obj1 = 0 ;
8667 PyObject * obj2 = 0 ;
8668 char *kwnames[] = {
8669 (char *) "self",(char *) "self",(char *) "_class", NULL
8670 };
8671
8672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8674 arg2 = obj1;
8675 arg3 = obj2;
8676 {
8677 PyThreadState* __tstate = wxPyBeginAllowThreads();
8678 (arg1)->_setCallbackInfo(arg2,arg3);
8679
8680 wxPyEndAllowThreads(__tstate);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 }
8683 Py_INCREF(Py_None); resultobj = Py_None;
8684 return resultobj;
8685 fail:
8686 return NULL;
8687}
8688
8689
8690static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8691 PyObject *resultobj;
8692 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8693 wxWindow *arg2 = (wxWindow *) 0 ;
8694 wxWindowID arg3 = (wxWindowID) wxID_ANY ;
8695 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8696 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8697 wxSize const &arg5_defvalue = wxDefaultSize ;
8698 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8699 long arg6 = (long) 0 ;
8700 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8701 wxString *arg7 = (wxString *) &arg7_defvalue ;
8702 bool result;
8703 wxPoint temp4 ;
8704 wxSize temp5 ;
8705 bool temp7 = false ;
8706 PyObject * obj0 = 0 ;
8707 PyObject * obj1 = 0 ;
8708 PyObject * obj3 = 0 ;
8709 PyObject * obj4 = 0 ;
8710 PyObject * obj6 = 0 ;
8711 char *kwnames[] = {
8712 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8713 };
8714
8715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8717 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8718 if (obj3) {
8719 {
8720 arg4 = &temp4;
8721 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8722 }
8723 }
8724 if (obj4) {
8725 {
8726 arg5 = &temp5;
8727 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8728 }
8729 }
8730 if (obj6) {
8731 {
8732 arg7 = wxString_in_helper(obj6);
8733 if (arg7 == NULL) SWIG_fail;
8734 temp7 = true;
8735 }
8736 }
8737 {
8738 PyThreadState* __tstate = wxPyBeginAllowThreads();
8739 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8740
8741 wxPyEndAllowThreads(__tstate);
8742 if (PyErr_Occurred()) SWIG_fail;
8743 }
8744 resultobj = PyInt_FromLong((long)result);
8745 {
8746 if (temp7)
8747 delete arg7;
8748 }
8749 return resultobj;
8750 fail:
8751 {
8752 if (temp7)
8753 delete arg7;
8754 }
8755 return NULL;
8756}
8757
8758
8759static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8760 PyObject *resultobj;
8761 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8762 size_t result;
8763 PyObject * obj0 = 0 ;
8764 char *kwnames[] = {
8765 (char *) "self", NULL
8766 };
8767
8768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8770 {
8771 PyThreadState* __tstate = wxPyBeginAllowThreads();
8772 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8773
8774 wxPyEndAllowThreads(__tstate);
8775 if (PyErr_Occurred()) SWIG_fail;
8776 }
8777 resultobj = PyInt_FromLong((long)result);
8778 return resultobj;
8779 fail:
8780 return NULL;
8781}
8782
8783
8784static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8785 PyObject *resultobj;
8786 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8787 bool result;
8788 PyObject * obj0 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8795 {
8796 PyThreadState* __tstate = wxPyBeginAllowThreads();
8797 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8798
8799 wxPyEndAllowThreads(__tstate);
8800 if (PyErr_Occurred()) SWIG_fail;
8801 }
8802 resultobj = PyInt_FromLong((long)result);
8803 return resultobj;
8804 fail:
8805 return NULL;
8806}
8807
8808
8809static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8810 PyObject *resultobj;
8811 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8812 int result;
8813 PyObject * obj0 = 0 ;
8814 char *kwnames[] = {
8815 (char *) "self", NULL
8816 };
8817
8818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8823
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 resultobj = PyInt_FromLong((long)result);
8828 return resultobj;
8829 fail:
8830 return NULL;
8831}
8832
8833
8834static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj;
8836 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8837 size_t arg2 ;
8838 bool result;
8839 PyObject * obj0 = 0 ;
8840 PyObject * obj1 = 0 ;
8841 char *kwnames[] = {
8842 (char *) "self",(char *) "item", NULL
8843 };
8844
8845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8847 arg2 = (size_t) PyInt_AsLong(obj1);
8848 if (PyErr_Occurred()) SWIG_fail;
8849 {
8850 PyThreadState* __tstate = wxPyBeginAllowThreads();
8851 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8852
8853 wxPyEndAllowThreads(__tstate);
8854 if (PyErr_Occurred()) SWIG_fail;
8855 }
8856 resultobj = PyInt_FromLong((long)result);
8857 return resultobj;
8858 fail:
8859 return NULL;
8860}
8861
8862
8863static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8864 PyObject *resultobj;
8865 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8866 size_t arg2 ;
8867 bool result;
8868 PyObject * obj0 = 0 ;
8869 PyObject * obj1 = 0 ;
8870 char *kwnames[] = {
8871 (char *) "self",(char *) "item", NULL
8872 };
8873
8874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8876 arg2 = (size_t) PyInt_AsLong(obj1);
8877 if (PyErr_Occurred()) SWIG_fail;
8878 {
8879 PyThreadState* __tstate = wxPyBeginAllowThreads();
8880 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8881
8882 wxPyEndAllowThreads(__tstate);
8883 if (PyErr_Occurred()) SWIG_fail;
8884 }
8885 resultobj = PyInt_FromLong((long)result);
8886 return resultobj;
8887 fail:
8888 return NULL;
8889}
8890
8891
8892static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8893 PyObject *resultobj;
8894 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8895 size_t result;
8896 PyObject * obj0 = 0 ;
8897 char *kwnames[] = {
8898 (char *) "self", NULL
8899 };
8900
8901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8903 {
8904 PyThreadState* __tstate = wxPyBeginAllowThreads();
8905 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8906
8907 wxPyEndAllowThreads(__tstate);
8908 if (PyErr_Occurred()) SWIG_fail;
8909 }
8910 resultobj = PyInt_FromLong((long)result);
8911 return resultobj;
8912 fail:
8913 return NULL;
8914}
8915
8916
8917static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8918 PyObject *resultobj;
8919 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8920 unsigned long *arg2 = 0 ;
8921 int result;
8922 PyObject * obj0 = 0 ;
8923 PyObject * obj1 = 0 ;
8924 char *kwnames[] = {
8925 (char *) "self",(char *) "cookie", NULL
8926 };
8927
8928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8930 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8931 if (arg2 == NULL) {
8932 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8933 }
8934 {
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8937
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 resultobj = PyInt_FromLong((long)result);
8942 return resultobj;
8943 fail:
8944 return NULL;
8945}
8946
8947
8948static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8951 unsigned long *arg2 = 0 ;
8952 int result;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self",(char *) "cookie", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8962 if (arg2 == NULL) {
8963 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8964 }
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
8967 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 resultobj = PyInt_FromLong((long)result);
8973 return resultobj;
8974 fail:
8975 return NULL;
8976}
8977
8978
8979static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8980 PyObject *resultobj;
8981 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8982 wxPoint result;
8983 PyObject * obj0 = 0 ;
8984 char *kwnames[] = {
8985 (char *) "self", NULL
8986 };
8987
8988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8990 {
8991 PyThreadState* __tstate = wxPyBeginAllowThreads();
8992 result = ((wxPyVListBox const *)arg1)->GetMargins();
8993
8994 wxPyEndAllowThreads(__tstate);
8995 if (PyErr_Occurred()) SWIG_fail;
8996 }
8997 {
8998 wxPoint * resultptr;
8999 resultptr = new wxPoint((wxPoint &) result);
9000 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
9001 }
9002 return resultobj;
9003 fail:
9004 return NULL;
9005}
9006
9007
9008static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9009 PyObject *resultobj;
9010 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9011 wxColour *result;
9012 PyObject * obj0 = 0 ;
9013 char *kwnames[] = {
9014 (char *) "self", NULL
9015 };
9016
9017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
9018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9019 {
9020 PyThreadState* __tstate = wxPyBeginAllowThreads();
9021 {
9022 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
9023 result = (wxColour *) &_result_ref;
9024 }
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
9030 return resultobj;
9031 fail:
9032 return NULL;
9033}
9034
9035
9036static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9039 size_t arg2 ;
9040 PyObject * obj0 = 0 ;
9041 PyObject * obj1 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "self",(char *) "count", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9048 arg2 = (size_t) PyInt_AsLong(obj1);
9049 if (PyErr_Occurred()) SWIG_fail;
9050 {
9051 PyThreadState* __tstate = wxPyBeginAllowThreads();
9052 (arg1)->SetItemCount(arg2);
9053
9054 wxPyEndAllowThreads(__tstate);
9055 if (PyErr_Occurred()) SWIG_fail;
9056 }
9057 Py_INCREF(Py_None); resultobj = Py_None;
9058 return resultobj;
9059 fail:
9060 return NULL;
9061}
9062
9063
9064static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
9065 PyObject *resultobj;
9066 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9067 PyObject * obj0 = 0 ;
9068 char *kwnames[] = {
9069 (char *) "self", NULL
9070 };
9071
9072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
9073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9074 {
9075 PyThreadState* __tstate = wxPyBeginAllowThreads();
9076 (arg1)->Clear();
9077
9078 wxPyEndAllowThreads(__tstate);
9079 if (PyErr_Occurred()) SWIG_fail;
9080 }
9081 Py_INCREF(Py_None); resultobj = Py_None;
9082 return resultobj;
9083 fail:
9084 return NULL;
9085}
9086
9087
9088static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
9089 PyObject *resultobj;
9090 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9091 int arg2 ;
9092 PyObject * obj0 = 0 ;
9093 char *kwnames[] = {
9094 (char *) "self",(char *) "selection", NULL
9095 };
9096
9097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
9098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9099 {
9100 PyThreadState* __tstate = wxPyBeginAllowThreads();
9101 (arg1)->SetSelection(arg2);
9102
9103 wxPyEndAllowThreads(__tstate);
9104 if (PyErr_Occurred()) SWIG_fail;
9105 }
9106 Py_INCREF(Py_None); resultobj = Py_None;
9107 return resultobj;
9108 fail:
9109 return NULL;
9110}
9111
9112
9113static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
9114 PyObject *resultobj;
9115 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9116 size_t arg2 ;
9117 bool arg3 = (bool) true ;
9118 bool result;
9119 PyObject * obj0 = 0 ;
9120 PyObject * obj1 = 0 ;
9121 PyObject * obj2 = 0 ;
9122 char *kwnames[] = {
9123 (char *) "self",(char *) "item",(char *) "select", NULL
9124 };
9125
9126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
9127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9128 arg2 = (size_t) PyInt_AsLong(obj1);
9129 if (PyErr_Occurred()) SWIG_fail;
9130 if (obj2) {
9131 arg3 = PyInt_AsLong(obj2) ? true : false;
9132 if (PyErr_Occurred()) SWIG_fail;
9133 }
9134 {
9135 PyThreadState* __tstate = wxPyBeginAllowThreads();
9136 result = (bool)(arg1)->Select(arg2,arg3);
9137
9138 wxPyEndAllowThreads(__tstate);
9139 if (PyErr_Occurred()) SWIG_fail;
9140 }
9141 resultobj = PyInt_FromLong((long)result);
9142 return resultobj;
9143 fail:
9144 return NULL;
9145}
9146
9147
9148static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
9149 PyObject *resultobj;
9150 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9151 size_t arg2 ;
9152 size_t arg3 ;
9153 bool result;
9154 PyObject * obj0 = 0 ;
9155 PyObject * obj1 = 0 ;
9156 PyObject * obj2 = 0 ;
9157 char *kwnames[] = {
9158 (char *) "self",(char *) "from",(char *) "to", NULL
9159 };
9160
9161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
9162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9163 arg2 = (size_t) PyInt_AsLong(obj1);
9164 if (PyErr_Occurred()) SWIG_fail;
9165 arg3 = (size_t) PyInt_AsLong(obj2);
9166 if (PyErr_Occurred()) SWIG_fail;
9167 {
9168 PyThreadState* __tstate = wxPyBeginAllowThreads();
9169 result = (bool)(arg1)->SelectRange(arg2,arg3);
9170
9171 wxPyEndAllowThreads(__tstate);
9172 if (PyErr_Occurred()) SWIG_fail;
9173 }
9174 resultobj = PyInt_FromLong((long)result);
9175 return resultobj;
9176 fail:
9177 return NULL;
9178}
9179
9180
9181static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
9182 PyObject *resultobj;
9183 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9184 size_t arg2 ;
9185 PyObject * obj0 = 0 ;
9186 PyObject * obj1 = 0 ;
9187 char *kwnames[] = {
9188 (char *) "self",(char *) "item", NULL
9189 };
9190
9191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
9192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9193 arg2 = (size_t) PyInt_AsLong(obj1);
9194 if (PyErr_Occurred()) SWIG_fail;
9195 {
9196 PyThreadState* __tstate = wxPyBeginAllowThreads();
9197 (arg1)->Toggle(arg2);
9198
9199 wxPyEndAllowThreads(__tstate);
9200 if (PyErr_Occurred()) SWIG_fail;
9201 }
9202 Py_INCREF(Py_None); resultobj = Py_None;
9203 return resultobj;
9204 fail:
9205 return NULL;
9206}
9207
9208
9209static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9210 PyObject *resultobj;
9211 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9212 bool result;
9213 PyObject * obj0 = 0 ;
9214 char *kwnames[] = {
9215 (char *) "self", NULL
9216 };
9217
9218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
9219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9220 {
9221 PyThreadState* __tstate = wxPyBeginAllowThreads();
9222 result = (bool)(arg1)->SelectAll();
9223
9224 wxPyEndAllowThreads(__tstate);
9225 if (PyErr_Occurred()) SWIG_fail;
9226 }
9227 resultobj = PyInt_FromLong((long)result);
9228 return resultobj;
9229 fail:
9230 return NULL;
9231}
9232
9233
9234static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9235 PyObject *resultobj;
9236 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9237 bool result;
9238 PyObject * obj0 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9245 {
9246 PyThreadState* __tstate = wxPyBeginAllowThreads();
9247 result = (bool)(arg1)->DeselectAll();
9248
9249 wxPyEndAllowThreads(__tstate);
9250 if (PyErr_Occurred()) SWIG_fail;
9251 }
9252 resultobj = PyInt_FromLong((long)result);
9253 return resultobj;
9254 fail:
9255 return NULL;
9256}
9257
9258
9259static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9260 PyObject *resultobj;
9261 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9262 wxPoint *arg2 = 0 ;
9263 wxPoint temp2 ;
9264 PyObject * obj0 = 0 ;
9265 PyObject * obj1 = 0 ;
9266 char *kwnames[] = {
9267 (char *) "self",(char *) "pt", NULL
9268 };
9269
9270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9272 {
9273 arg2 = &temp2;
9274 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9275 }
9276 {
9277 PyThreadState* __tstate = wxPyBeginAllowThreads();
9278 (arg1)->SetMargins((wxPoint const &)*arg2);
9279
9280 wxPyEndAllowThreads(__tstate);
9281 if (PyErr_Occurred()) SWIG_fail;
9282 }
9283 Py_INCREF(Py_None); resultobj = Py_None;
9284 return resultobj;
9285 fail:
9286 return NULL;
9287}
9288
9289
9290static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9291 PyObject *resultobj;
9292 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9293 wxCoord arg2 ;
9294 wxCoord arg3 ;
9295 PyObject * obj0 = 0 ;
9296 char *kwnames[] = {
9297 (char *) "self",(char *) "x",(char *) "y", NULL
9298 };
9299
9300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9302 {
9303 PyThreadState* __tstate = wxPyBeginAllowThreads();
9304 (arg1)->SetMargins(arg2,arg3);
9305
9306 wxPyEndAllowThreads(__tstate);
9307 if (PyErr_Occurred()) SWIG_fail;
9308 }
9309 Py_INCREF(Py_None); resultobj = Py_None;
9310 return resultobj;
9311 fail:
9312 return NULL;
9313}
9314
9315
9316static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9317 PyObject *resultobj;
9318 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9319 wxColour *arg2 = 0 ;
9320 wxColour temp2 ;
9321 PyObject * obj0 = 0 ;
9322 PyObject * obj1 = 0 ;
9323 char *kwnames[] = {
9324 (char *) "self",(char *) "col", NULL
9325 };
9326
9327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9329 {
9330 arg2 = &temp2;
9331 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9332 }
9333 {
9334 PyThreadState* __tstate = wxPyBeginAllowThreads();
9335 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9336
9337 wxPyEndAllowThreads(__tstate);
9338 if (PyErr_Occurred()) SWIG_fail;
9339 }
9340 Py_INCREF(Py_None); resultobj = Py_None;
9341 return resultobj;
9342 fail:
9343 return NULL;
9344}
9345
9346
9347static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9348 PyObject *obj;
9349 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9350 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9351 Py_INCREF(obj);
9352 return Py_BuildValue((char *)"");
9353}
9354static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9355 PyObject *resultobj;
9356 wxWindow *arg1 = (wxWindow *) 0 ;
9357 wxWindowID arg2 = (wxWindowID) wxID_ANY ;
9358 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9359 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9360 wxSize const &arg4_defvalue = wxDefaultSize ;
9361 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9362 long arg5 = (long) 0 ;
9363 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9364 wxString *arg6 = (wxString *) &arg6_defvalue ;
9365 wxPyHtmlListBox *result;
9366 wxPoint temp3 ;
9367 wxSize temp4 ;
9368 bool temp6 = false ;
9369 PyObject * obj0 = 0 ;
9370 PyObject * obj2 = 0 ;
9371 PyObject * obj3 = 0 ;
9372 PyObject * obj5 = 0 ;
9373 char *kwnames[] = {
9374 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9375 };
9376
9377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9379 if (obj2) {
9380 {
9381 arg3 = &temp3;
9382 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9383 }
9384 }
9385 if (obj3) {
9386 {
9387 arg4 = &temp4;
9388 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9389 }
9390 }
9391 if (obj5) {
9392 {
9393 arg6 = wxString_in_helper(obj5);
9394 if (arg6 == NULL) SWIG_fail;
9395 temp6 = true;
9396 }
9397 }
9398 {
9399 PyThreadState* __tstate = wxPyBeginAllowThreads();
9400 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9401
9402 wxPyEndAllowThreads(__tstate);
9403 if (PyErr_Occurred()) SWIG_fail;
9404 }
9405 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9406 {
9407 if (temp6)
9408 delete arg6;
9409 }
9410 return resultobj;
9411 fail:
9412 {
9413 if (temp6)
9414 delete arg6;
9415 }
9416 return NULL;
9417}
9418
9419
9420static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9421 PyObject *resultobj;
9422 wxPyHtmlListBox *result;
9423 char *kwnames[] = {
9424 NULL
9425 };
9426
9427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9436 return resultobj;
9437 fail:
9438 return NULL;
9439}
9440
9441
9442static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9443 PyObject *resultobj;
9444 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9445 PyObject *arg2 = (PyObject *) 0 ;
9446 PyObject *arg3 = (PyObject *) 0 ;
9447 PyObject * obj0 = 0 ;
9448 PyObject * obj1 = 0 ;
9449 PyObject * obj2 = 0 ;
9450 char *kwnames[] = {
9451 (char *) "self",(char *) "self",(char *) "_class", NULL
9452 };
9453
9454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9456 arg2 = obj1;
9457 arg3 = obj2;
9458 {
9459 PyThreadState* __tstate = wxPyBeginAllowThreads();
9460 (arg1)->_setCallbackInfo(arg2,arg3);
9461
9462 wxPyEndAllowThreads(__tstate);
9463 if (PyErr_Occurred()) SWIG_fail;
9464 }
9465 Py_INCREF(Py_None); resultobj = Py_None;
9466 return resultobj;
9467 fail:
9468 return NULL;
9469}
9470
9471
9472static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9473 PyObject *resultobj;
9474 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9475 wxWindow *arg2 = (wxWindow *) 0 ;
9476 wxWindowID arg3 = (wxWindowID) wxID_ANY ;
9477 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9478 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9479 wxSize const &arg5_defvalue = wxDefaultSize ;
9480 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9481 long arg6 = (long) 0 ;
9482 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9483 wxString *arg7 = (wxString *) &arg7_defvalue ;
9484 bool result;
9485 wxPoint temp4 ;
9486 wxSize temp5 ;
9487 bool temp7 = false ;
9488 PyObject * obj0 = 0 ;
9489 PyObject * obj1 = 0 ;
9490 PyObject * obj3 = 0 ;
9491 PyObject * obj4 = 0 ;
9492 PyObject * obj6 = 0 ;
9493 char *kwnames[] = {
9494 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9495 };
9496
9497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9499 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9500 if (obj3) {
9501 {
9502 arg4 = &temp4;
9503 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9504 }
9505 }
9506 if (obj4) {
9507 {
9508 arg5 = &temp5;
9509 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9510 }
9511 }
9512 if (obj6) {
9513 {
9514 arg7 = wxString_in_helper(obj6);
9515 if (arg7 == NULL) SWIG_fail;
9516 temp7 = true;
9517 }
9518 }
9519 {
9520 PyThreadState* __tstate = wxPyBeginAllowThreads();
9521 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9522
9523 wxPyEndAllowThreads(__tstate);
9524 if (PyErr_Occurred()) SWIG_fail;
9525 }
9526 resultobj = PyInt_FromLong((long)result);
9527 {
9528 if (temp7)
9529 delete arg7;
9530 }
9531 return resultobj;
9532 fail:
9533 {
9534 if (temp7)
9535 delete arg7;
9536 }
9537 return NULL;
9538}
9539
9540
9541static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9542 PyObject *resultobj;
9543 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9544 PyObject * obj0 = 0 ;
9545 char *kwnames[] = {
9546 (char *) "self", NULL
9547 };
9548
9549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9551 {
9552 PyThreadState* __tstate = wxPyBeginAllowThreads();
9553 (arg1)->RefreshAll();
9554
9555 wxPyEndAllowThreads(__tstate);
9556 if (PyErr_Occurred()) SWIG_fail;
9557 }
9558 Py_INCREF(Py_None); resultobj = Py_None;
9559 return resultobj;
9560 fail:
9561 return NULL;
9562}
9563
9564
9565static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9566 PyObject *resultobj;
9567 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9568 size_t arg2 ;
9569 PyObject * obj0 = 0 ;
9570 PyObject * obj1 = 0 ;
9571 char *kwnames[] = {
9572 (char *) "self",(char *) "count", NULL
9573 };
9574
9575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9577 arg2 = (size_t) PyInt_AsLong(obj1);
9578 if (PyErr_Occurred()) SWIG_fail;
9579 {
9580 PyThreadState* __tstate = wxPyBeginAllowThreads();
9581 (arg1)->SetItemCount(arg2);
9582
9583 wxPyEndAllowThreads(__tstate);
9584 if (PyErr_Occurred()) SWIG_fail;
9585 }
9586 Py_INCREF(Py_None); resultobj = Py_None;
9587 return resultobj;
9588 fail:
9589 return NULL;
9590}
9591
9592
9593static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9594 PyObject *obj;
9595 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9596 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9597 Py_INCREF(obj);
9598 return Py_BuildValue((char *)"");
9599}
9600static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9601 PyObject *resultobj;
9602 wxTaskBarIcon *result;
9603 char *kwnames[] = {
9604 NULL
9605 };
9606
9607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9608 {
9609 PyThreadState* __tstate = wxPyBeginAllowThreads();
9610 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9611
9612 wxPyEndAllowThreads(__tstate);
9613 if (PyErr_Occurred()) SWIG_fail;
9614 }
9615 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9616 return resultobj;
9617 fail:
9618 return NULL;
9619}
9620
9621
9622static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9623 PyObject *resultobj;
9624 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9625 PyObject * obj0 = 0 ;
9626 char *kwnames[] = {
9627 (char *) "self", NULL
9628 };
9629
9630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9632 {
9633 PyThreadState* __tstate = wxPyBeginAllowThreads();
9634 delete arg1;
9635
9636 wxPyEndAllowThreads(__tstate);
9637 if (PyErr_Occurred()) SWIG_fail;
9638 }
9639 Py_INCREF(Py_None); resultobj = Py_None;
9640 return resultobj;
9641 fail:
9642 return NULL;
9643}
9644
9645
9646static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9647 PyObject *resultobj;
9648 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9649 bool result;
9650 PyObject * obj0 = 0 ;
9651 char *kwnames[] = {
9652 (char *) "self", NULL
9653 };
9654
9655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9657 {
9658 PyThreadState* __tstate = wxPyBeginAllowThreads();
9659 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9660
9661 wxPyEndAllowThreads(__tstate);
9662 if (PyErr_Occurred()) SWIG_fail;
9663 }
9664 resultobj = PyInt_FromLong((long)result);
9665 return resultobj;
9666 fail:
9667 return NULL;
9668}
9669
9670
9671static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9672 PyObject *resultobj;
9673 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9674 bool result;
9675 PyObject * obj0 = 0 ;
9676 char *kwnames[] = {
9677 (char *) "self", NULL
9678 };
9679
9680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9682 {
9683 PyThreadState* __tstate = wxPyBeginAllowThreads();
9684 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9685
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
9689 resultobj = PyInt_FromLong((long)result);
9690 return resultobj;
9691 fail:
9692 return NULL;
9693}
9694
9695
9696static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9697 PyObject *resultobj;
9698 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9699 wxIcon *arg2 = 0 ;
9700 wxString const &arg3_defvalue = wxPyEmptyString ;
9701 wxString *arg3 = (wxString *) &arg3_defvalue ;
9702 bool result;
9703 bool temp3 = false ;
9704 PyObject * obj0 = 0 ;
9705 PyObject * obj1 = 0 ;
9706 PyObject * obj2 = 0 ;
9707 char *kwnames[] = {
9708 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9709 };
9710
9711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9713 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9714 if (arg2 == NULL) {
9715 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9716 }
9717 if (obj2) {
9718 {
9719 arg3 = wxString_in_helper(obj2);
9720 if (arg3 == NULL) SWIG_fail;
9721 temp3 = true;
9722 }
9723 }
9724 {
9725 PyThreadState* __tstate = wxPyBeginAllowThreads();
9726 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9727
9728 wxPyEndAllowThreads(__tstate);
9729 if (PyErr_Occurred()) SWIG_fail;
9730 }
9731 resultobj = PyInt_FromLong((long)result);
9732 {
9733 if (temp3)
9734 delete arg3;
9735 }
9736 return resultobj;
9737 fail:
9738 {
9739 if (temp3)
9740 delete arg3;
9741 }
9742 return NULL;
9743}
9744
9745
9746static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9747 PyObject *resultobj;
9748 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9749 bool result;
9750 PyObject * obj0 = 0 ;
9751 char *kwnames[] = {
9752 (char *) "self", NULL
9753 };
9754
9755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9757 {
9758 PyThreadState* __tstate = wxPyBeginAllowThreads();
9759 result = (bool)(arg1)->RemoveIcon();
9760
9761 wxPyEndAllowThreads(__tstate);
9762 if (PyErr_Occurred()) SWIG_fail;
9763 }
9764 resultobj = PyInt_FromLong((long)result);
9765 return resultobj;
9766 fail:
9767 return NULL;
9768}
9769
9770
9771static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9772 PyObject *resultobj;
9773 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9774 wxMenu *arg2 = (wxMenu *) 0 ;
9775 bool result;
9776 PyObject * obj0 = 0 ;
9777 PyObject * obj1 = 0 ;
9778 char *kwnames[] = {
9779 (char *) "self",(char *) "menu", NULL
9780 };
9781
9782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9785 {
9786 PyThreadState* __tstate = wxPyBeginAllowThreads();
9787 result = (bool)(arg1)->PopupMenu(arg2);
9788
9789 wxPyEndAllowThreads(__tstate);
9790 if (PyErr_Occurred()) SWIG_fail;
9791 }
9792 resultobj = PyInt_FromLong((long)result);
9793 return resultobj;
9794 fail:
9795 return NULL;
9796}
9797
9798
9799static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9800 PyObject *obj;
9801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9802 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9803 Py_INCREF(obj);
9804 return Py_BuildValue((char *)"");
9805}
9806static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9807 PyObject *resultobj;
9808 wxEventType arg1 ;
9809 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9810 wxTaskBarIconEvent *result;
9811 PyObject * obj1 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "evtType",(char *) "tbIcon", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9817 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9818 {
9819 PyThreadState* __tstate = wxPyBeginAllowThreads();
9820 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9821
9822 wxPyEndAllowThreads(__tstate);
9823 if (PyErr_Occurred()) SWIG_fail;
9824 }
9825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9826 return resultobj;
9827 fail:
9828 return NULL;
9829}
9830
9831
9832static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9833 PyObject *obj;
9834 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9835 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9836 Py_INCREF(obj);
9837 return Py_BuildValue((char *)"");
9838}
9839static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9840 PyObject *resultobj;
9841 wxColourData *result;
9842 char *kwnames[] = {
9843 NULL
9844 };
9845
9846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9847 {
9848 PyThreadState* __tstate = wxPyBeginAllowThreads();
9849 result = (wxColourData *)new wxColourData();
9850
9851 wxPyEndAllowThreads(__tstate);
9852 if (PyErr_Occurred()) SWIG_fail;
9853 }
9854 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9855 return resultobj;
9856 fail:
9857 return NULL;
9858}
9859
9860
9861static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9862 PyObject *resultobj;
9863 wxColourData *arg1 = (wxColourData *) 0 ;
9864 PyObject * obj0 = 0 ;
9865 char *kwnames[] = {
9866 (char *) "self", NULL
9867 };
9868
9869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9871 {
9872 PyThreadState* __tstate = wxPyBeginAllowThreads();
9873 delete arg1;
9874
9875 wxPyEndAllowThreads(__tstate);
9876 if (PyErr_Occurred()) SWIG_fail;
9877 }
9878 Py_INCREF(Py_None); resultobj = Py_None;
9879 return resultobj;
9880 fail:
9881 return NULL;
9882}
9883
9884
9885static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9886 PyObject *resultobj;
9887 wxColourData *arg1 = (wxColourData *) 0 ;
9888 bool result;
9889 PyObject * obj0 = 0 ;
9890 char *kwnames[] = {
9891 (char *) "self", NULL
9892 };
9893
9894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9896 {
9897 PyThreadState* __tstate = wxPyBeginAllowThreads();
9898 result = (bool)(arg1)->GetChooseFull();
9899
9900 wxPyEndAllowThreads(__tstate);
9901 if (PyErr_Occurred()) SWIG_fail;
9902 }
9903 resultobj = PyInt_FromLong((long)result);
9904 return resultobj;
9905 fail:
9906 return NULL;
9907}
9908
9909
9910static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9911 PyObject *resultobj;
9912 wxColourData *arg1 = (wxColourData *) 0 ;
9913 wxColour result;
9914 PyObject * obj0 = 0 ;
9915 char *kwnames[] = {
9916 (char *) "self", NULL
9917 };
9918
9919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9921 {
9922 PyThreadState* __tstate = wxPyBeginAllowThreads();
9923 result = (arg1)->GetColour();
9924
9925 wxPyEndAllowThreads(__tstate);
9926 if (PyErr_Occurred()) SWIG_fail;
9927 }
9928 {
9929 wxColour * resultptr;
9930 resultptr = new wxColour((wxColour &) result);
9931 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9932 }
9933 return resultobj;
9934 fail:
9935 return NULL;
9936}
9937
9938
9939static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9940 PyObject *resultobj;
9941 wxColourData *arg1 = (wxColourData *) 0 ;
9942 int arg2 ;
9943 wxColour result;
9944 PyObject * obj0 = 0 ;
9945 char *kwnames[] = {
9946 (char *) "self",(char *) "i", NULL
9947 };
9948
9949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9951 {
9952 PyThreadState* __tstate = wxPyBeginAllowThreads();
9953 result = (arg1)->GetCustomColour(arg2);
9954
9955 wxPyEndAllowThreads(__tstate);
9956 if (PyErr_Occurred()) SWIG_fail;
9957 }
9958 {
9959 wxColour * resultptr;
9960 resultptr = new wxColour((wxColour &) result);
9961 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9962 }
9963 return resultobj;
9964 fail:
9965 return NULL;
9966}
9967
9968
9969static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9970 PyObject *resultobj;
9971 wxColourData *arg1 = (wxColourData *) 0 ;
9972 int arg2 ;
9973 PyObject * obj0 = 0 ;
9974 char *kwnames[] = {
9975 (char *) "self",(char *) "flag", NULL
9976 };
9977
9978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9980 {
9981 PyThreadState* __tstate = wxPyBeginAllowThreads();
9982 (arg1)->SetChooseFull(arg2);
9983
9984 wxPyEndAllowThreads(__tstate);
9985 if (PyErr_Occurred()) SWIG_fail;
9986 }
9987 Py_INCREF(Py_None); resultobj = Py_None;
9988 return resultobj;
9989 fail:
9990 return NULL;
9991}
9992
9993
9994static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9995 PyObject *resultobj;
9996 wxColourData *arg1 = (wxColourData *) 0 ;
9997 wxColour *arg2 = 0 ;
9998 wxColour temp2 ;
9999 PyObject * obj0 = 0 ;
10000 PyObject * obj1 = 0 ;
10001 char *kwnames[] = {
10002 (char *) "self",(char *) "colour", NULL
10003 };
10004
10005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
10006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10007 {
10008 arg2 = &temp2;
10009 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
10010 }
10011 {
10012 PyThreadState* __tstate = wxPyBeginAllowThreads();
10013 (arg1)->SetColour((wxColour const &)*arg2);
10014
10015 wxPyEndAllowThreads(__tstate);
10016 if (PyErr_Occurred()) SWIG_fail;
10017 }
10018 Py_INCREF(Py_None); resultobj = Py_None;
10019 return resultobj;
10020 fail:
10021 return NULL;
10022}
10023
10024
10025static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
10026 PyObject *resultobj;
10027 wxColourData *arg1 = (wxColourData *) 0 ;
10028 int arg2 ;
10029 wxColour *arg3 = 0 ;
10030 wxColour temp3 ;
10031 PyObject * obj0 = 0 ;
10032 PyObject * obj2 = 0 ;
10033 char *kwnames[] = {
10034 (char *) "self",(char *) "i",(char *) "colour", NULL
10035 };
10036
10037 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
10038 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10039 {
10040 arg3 = &temp3;
10041 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
10042 }
10043 {
10044 PyThreadState* __tstate = wxPyBeginAllowThreads();
10045 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
10046
10047 wxPyEndAllowThreads(__tstate);
10048 if (PyErr_Occurred()) SWIG_fail;
10049 }
10050 Py_INCREF(Py_None); resultobj = Py_None;
10051 return resultobj;
10052 fail:
10053 return NULL;
10054}
10055
10056
10057static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
10058 PyObject *obj;
10059 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10060 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
10061 Py_INCREF(obj);
10062 return Py_BuildValue((char *)"");
10063}
10064static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10065 PyObject *resultobj;
10066 wxWindow *arg1 = (wxWindow *) 0 ;
10067 wxColourData *arg2 = (wxColourData *) NULL ;
10068 wxColourDialog *result;
10069 PyObject * obj0 = 0 ;
10070 PyObject * obj1 = 0 ;
10071 char *kwnames[] = {
10072 (char *) "parent",(char *) "data", NULL
10073 };
10074
10075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
10076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10077 if (obj1) {
10078 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10079 }
10080 {
10081 PyThreadState* __tstate = wxPyBeginAllowThreads();
10082 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
10083
10084 wxPyEndAllowThreads(__tstate);
10085 if (PyErr_Occurred()) SWIG_fail;
10086 }
10087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
10088 return resultobj;
10089 fail:
10090 return NULL;
10091}
10092
10093
10094static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
10095 PyObject *resultobj;
10096 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10097 wxColourData *result;
10098 PyObject * obj0 = 0 ;
10099 char *kwnames[] = {
10100 (char *) "self", NULL
10101 };
10102
10103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
10104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10105 {
10106 PyThreadState* __tstate = wxPyBeginAllowThreads();
10107 {
10108 wxColourData &_result_ref = (arg1)->GetColourData();
10109 result = (wxColourData *) &_result_ref;
10110 }
10111
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
10116 return resultobj;
10117 fail:
10118 return NULL;
10119}
10120
10121
10122static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10123 PyObject *resultobj;
10124 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
10125 int result;
10126 PyObject * obj0 = 0 ;
10127 char *kwnames[] = {
10128 (char *) "self", NULL
10129 };
10130
10131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
10132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10133 {
10134 PyThreadState* __tstate = wxPyBeginAllowThreads();
10135 result = (int)(arg1)->ShowModal();
10136
10137 wxPyEndAllowThreads(__tstate);
10138 if (PyErr_Occurred()) SWIG_fail;
10139 }
10140 resultobj = PyInt_FromLong((long)result);
10141 return resultobj;
10142 fail:
10143 return NULL;
10144}
10145
10146
10147static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
10148 PyObject *obj;
10149 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10150 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10151 Py_INCREF(obj);
10152 return Py_BuildValue((char *)"");
10153}
10154static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10155 PyObject *resultobj;
10156 wxWindow *arg1 = (wxWindow *) 0 ;
10157 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10158 wxString *arg2 = (wxString *) &arg2_defvalue ;
10159 wxString const &arg3_defvalue = wxPyEmptyString ;
10160 wxString *arg3 = (wxString *) &arg3_defvalue ;
10161 long arg4 = (long) 0 ;
10162 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10163 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10164 wxSize const &arg6_defvalue = wxDefaultSize ;
10165 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10166 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10167 wxString *arg7 = (wxString *) &arg7_defvalue ;
10168 wxDirDialog *result;
10169 bool temp2 = false ;
10170 bool temp3 = false ;
10171 wxPoint temp5 ;
10172 wxSize temp6 ;
10173 bool temp7 = false ;
10174 PyObject * obj0 = 0 ;
10175 PyObject * obj1 = 0 ;
10176 PyObject * obj2 = 0 ;
10177 PyObject * obj4 = 0 ;
10178 PyObject * obj5 = 0 ;
10179 PyObject * obj6 = 0 ;
10180 char *kwnames[] = {
10181 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10182 };
10183
10184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
10185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10186 if (obj1) {
10187 {
10188 arg2 = wxString_in_helper(obj1);
10189 if (arg2 == NULL) SWIG_fail;
10190 temp2 = true;
10191 }
10192 }
10193 if (obj2) {
10194 {
10195 arg3 = wxString_in_helper(obj2);
10196 if (arg3 == NULL) SWIG_fail;
10197 temp3 = true;
10198 }
10199 }
10200 if (obj4) {
10201 {
10202 arg5 = &temp5;
10203 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10204 }
10205 }
10206 if (obj5) {
10207 {
10208 arg6 = &temp6;
10209 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10210 }
10211 }
10212 if (obj6) {
10213 {
10214 arg7 = wxString_in_helper(obj6);
10215 if (arg7 == NULL) SWIG_fail;
10216 temp7 = true;
10217 }
10218 }
10219 {
10220 PyThreadState* __tstate = wxPyBeginAllowThreads();
10221 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10222
10223 wxPyEndAllowThreads(__tstate);
10224 if (PyErr_Occurred()) SWIG_fail;
10225 }
10226 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10227 {
10228 if (temp2)
10229 delete arg2;
10230 }
10231 {
10232 if (temp3)
10233 delete arg3;
10234 }
10235 {
10236 if (temp7)
10237 delete arg7;
10238 }
10239 return resultobj;
10240 fail:
10241 {
10242 if (temp2)
10243 delete arg2;
10244 }
10245 {
10246 if (temp3)
10247 delete arg3;
10248 }
10249 {
10250 if (temp7)
10251 delete arg7;
10252 }
10253 return NULL;
10254}
10255
10256
10257static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10258 PyObject *resultobj;
10259 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10260 wxString result;
10261 PyObject * obj0 = 0 ;
10262 char *kwnames[] = {
10263 (char *) "self", NULL
10264 };
10265
10266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10268 {
10269 PyThreadState* __tstate = wxPyBeginAllowThreads();
10270 result = (arg1)->GetPath();
10271
10272 wxPyEndAllowThreads(__tstate);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 }
10275 {
10276#if wxUSE_UNICODE
10277 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10278#else
10279 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10280#endif
10281 }
10282 return resultobj;
10283 fail:
10284 return NULL;
10285}
10286
10287
10288static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10289 PyObject *resultobj;
10290 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10291 wxString result;
10292 PyObject * obj0 = 0 ;
10293 char *kwnames[] = {
10294 (char *) "self", NULL
10295 };
10296
10297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10299 {
10300 PyThreadState* __tstate = wxPyBeginAllowThreads();
10301 result = (arg1)->GetMessage();
10302
10303 wxPyEndAllowThreads(__tstate);
10304 if (PyErr_Occurred()) SWIG_fail;
10305 }
10306 {
10307#if wxUSE_UNICODE
10308 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10309#else
10310 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10311#endif
10312 }
10313 return resultobj;
10314 fail:
10315 return NULL;
10316}
10317
10318
10319static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10320 PyObject *resultobj;
10321 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10322 long result;
10323 PyObject * obj0 = 0 ;
10324 char *kwnames[] = {
10325 (char *) "self", NULL
10326 };
10327
10328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10330 {
10331 PyThreadState* __tstate = wxPyBeginAllowThreads();
10332 result = (long)(arg1)->GetStyle();
10333
10334 wxPyEndAllowThreads(__tstate);
10335 if (PyErr_Occurred()) SWIG_fail;
10336 }
10337 resultobj = PyInt_FromLong((long)result);
10338 return resultobj;
10339 fail:
10340 return NULL;
10341}
10342
10343
10344static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10345 PyObject *resultobj;
10346 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10347 wxString *arg2 = 0 ;
10348 bool temp2 = false ;
10349 PyObject * obj0 = 0 ;
10350 PyObject * obj1 = 0 ;
10351 char *kwnames[] = {
10352 (char *) "self",(char *) "message", NULL
10353 };
10354
10355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10357 {
10358 arg2 = wxString_in_helper(obj1);
10359 if (arg2 == NULL) SWIG_fail;
10360 temp2 = true;
10361 }
10362 {
10363 PyThreadState* __tstate = wxPyBeginAllowThreads();
10364 (arg1)->SetMessage((wxString const &)*arg2);
10365
10366 wxPyEndAllowThreads(__tstate);
10367 if (PyErr_Occurred()) SWIG_fail;
10368 }
10369 Py_INCREF(Py_None); resultobj = Py_None;
10370 {
10371 if (temp2)
10372 delete arg2;
10373 }
10374 return resultobj;
10375 fail:
10376 {
10377 if (temp2)
10378 delete arg2;
10379 }
10380 return NULL;
10381}
10382
10383
10384static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10385 PyObject *resultobj;
10386 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10387 wxString *arg2 = 0 ;
10388 bool temp2 = false ;
10389 PyObject * obj0 = 0 ;
10390 PyObject * obj1 = 0 ;
10391 char *kwnames[] = {
10392 (char *) "self",(char *) "path", NULL
10393 };
10394
10395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10397 {
10398 arg2 = wxString_in_helper(obj1);
10399 if (arg2 == NULL) SWIG_fail;
10400 temp2 = true;
10401 }
10402 {
10403 PyThreadState* __tstate = wxPyBeginAllowThreads();
10404 (arg1)->SetPath((wxString const &)*arg2);
10405
10406 wxPyEndAllowThreads(__tstate);
10407 if (PyErr_Occurred()) SWIG_fail;
10408 }
10409 Py_INCREF(Py_None); resultobj = Py_None;
10410 {
10411 if (temp2)
10412 delete arg2;
10413 }
10414 return resultobj;
10415 fail:
10416 {
10417 if (temp2)
10418 delete arg2;
10419 }
10420 return NULL;
10421}
10422
10423
10424static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10425 PyObject *resultobj;
10426 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10427 int result;
10428 PyObject * obj0 = 0 ;
10429 char *kwnames[] = {
10430 (char *) "self", NULL
10431 };
10432
10433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10435 {
10436 PyThreadState* __tstate = wxPyBeginAllowThreads();
10437 result = (int)(arg1)->ShowModal();
10438
10439 wxPyEndAllowThreads(__tstate);
10440 if (PyErr_Occurred()) SWIG_fail;
10441 }
10442 resultobj = PyInt_FromLong((long)result);
10443 return resultobj;
10444 fail:
10445 return NULL;
10446}
10447
10448
10449static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10450 PyObject *obj;
10451 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10452 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10453 Py_INCREF(obj);
10454 return Py_BuildValue((char *)"");
10455}
10456static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10457 PyObject *resultobj;
10458 wxWindow *arg1 = (wxWindow *) 0 ;
10459 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10460 wxString *arg2 = (wxString *) &arg2_defvalue ;
10461 wxString const &arg3_defvalue = wxPyEmptyString ;
10462 wxString *arg3 = (wxString *) &arg3_defvalue ;
10463 wxString const &arg4_defvalue = wxPyEmptyString ;
10464 wxString *arg4 = (wxString *) &arg4_defvalue ;
10465 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10466 wxString *arg5 = (wxString *) &arg5_defvalue ;
10467 long arg6 = (long) 0 ;
10468 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10469 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10470 wxFileDialog *result;
10471 bool temp2 = false ;
10472 bool temp3 = false ;
10473 bool temp4 = false ;
10474 bool temp5 = false ;
10475 wxPoint temp7 ;
10476 PyObject * obj0 = 0 ;
10477 PyObject * obj1 = 0 ;
10478 PyObject * obj2 = 0 ;
10479 PyObject * obj3 = 0 ;
10480 PyObject * obj4 = 0 ;
10481 PyObject * obj6 = 0 ;
10482 char *kwnames[] = {
10483 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10484 };
10485
10486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10488 if (obj1) {
10489 {
10490 arg2 = wxString_in_helper(obj1);
10491 if (arg2 == NULL) SWIG_fail;
10492 temp2 = true;
10493 }
10494 }
10495 if (obj2) {
10496 {
10497 arg3 = wxString_in_helper(obj2);
10498 if (arg3 == NULL) SWIG_fail;
10499 temp3 = true;
10500 }
10501 }
10502 if (obj3) {
10503 {
10504 arg4 = wxString_in_helper(obj3);
10505 if (arg4 == NULL) SWIG_fail;
10506 temp4 = true;
10507 }
10508 }
10509 if (obj4) {
10510 {
10511 arg5 = wxString_in_helper(obj4);
10512 if (arg5 == NULL) SWIG_fail;
10513 temp5 = true;
10514 }
10515 }
10516 if (obj6) {
10517 {
10518 arg7 = &temp7;
10519 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10520 }
10521 }
10522 {
10523 PyThreadState* __tstate = wxPyBeginAllowThreads();
10524 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10525
10526 wxPyEndAllowThreads(__tstate);
10527 if (PyErr_Occurred()) SWIG_fail;
10528 }
10529 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10530 {
10531 if (temp2)
10532 delete arg2;
10533 }
10534 {
10535 if (temp3)
10536 delete arg3;
10537 }
10538 {
10539 if (temp4)
10540 delete arg4;
10541 }
10542 {
10543 if (temp5)
10544 delete arg5;
10545 }
10546 return resultobj;
10547 fail:
10548 {
10549 if (temp2)
10550 delete arg2;
10551 }
10552 {
10553 if (temp3)
10554 delete arg3;
10555 }
10556 {
10557 if (temp4)
10558 delete arg4;
10559 }
10560 {
10561 if (temp5)
10562 delete arg5;
10563 }
10564 return NULL;
10565}
10566
10567
10568static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10569 PyObject *resultobj;
10570 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10571 wxString *arg2 = 0 ;
10572 bool temp2 = false ;
10573 PyObject * obj0 = 0 ;
10574 PyObject * obj1 = 0 ;
10575 char *kwnames[] = {
10576 (char *) "self",(char *) "message", NULL
10577 };
10578
10579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10581 {
10582 arg2 = wxString_in_helper(obj1);
10583 if (arg2 == NULL) SWIG_fail;
10584 temp2 = true;
10585 }
10586 {
10587 PyThreadState* __tstate = wxPyBeginAllowThreads();
10588 (arg1)->SetMessage((wxString const &)*arg2);
10589
10590 wxPyEndAllowThreads(__tstate);
10591 if (PyErr_Occurred()) SWIG_fail;
10592 }
10593 Py_INCREF(Py_None); resultobj = Py_None;
10594 {
10595 if (temp2)
10596 delete arg2;
10597 }
10598 return resultobj;
10599 fail:
10600 {
10601 if (temp2)
10602 delete arg2;
10603 }
10604 return NULL;
10605}
10606
10607
10608static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10609 PyObject *resultobj;
10610 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10611 wxString *arg2 = 0 ;
10612 bool temp2 = false ;
10613 PyObject * obj0 = 0 ;
10614 PyObject * obj1 = 0 ;
10615 char *kwnames[] = {
10616 (char *) "self",(char *) "path", NULL
10617 };
10618
10619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10621 {
10622 arg2 = wxString_in_helper(obj1);
10623 if (arg2 == NULL) SWIG_fail;
10624 temp2 = true;
10625 }
10626 {
10627 PyThreadState* __tstate = wxPyBeginAllowThreads();
10628 (arg1)->SetPath((wxString const &)*arg2);
10629
10630 wxPyEndAllowThreads(__tstate);
10631 if (PyErr_Occurred()) SWIG_fail;
10632 }
10633 Py_INCREF(Py_None); resultobj = Py_None;
10634 {
10635 if (temp2)
10636 delete arg2;
10637 }
10638 return resultobj;
10639 fail:
10640 {
10641 if (temp2)
10642 delete arg2;
10643 }
10644 return NULL;
10645}
10646
10647
10648static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10649 PyObject *resultobj;
10650 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10651 wxString *arg2 = 0 ;
10652 bool temp2 = false ;
10653 PyObject * obj0 = 0 ;
10654 PyObject * obj1 = 0 ;
10655 char *kwnames[] = {
10656 (char *) "self",(char *) "dir", NULL
10657 };
10658
10659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10661 {
10662 arg2 = wxString_in_helper(obj1);
10663 if (arg2 == NULL) SWIG_fail;
10664 temp2 = true;
10665 }
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 (arg1)->SetDirectory((wxString const &)*arg2);
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 Py_INCREF(Py_None); resultobj = Py_None;
10674 {
10675 if (temp2)
10676 delete arg2;
10677 }
10678 return resultobj;
10679 fail:
10680 {
10681 if (temp2)
10682 delete arg2;
10683 }
10684 return NULL;
10685}
10686
10687
10688static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10689 PyObject *resultobj;
10690 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10691 wxString *arg2 = 0 ;
10692 bool temp2 = false ;
10693 PyObject * obj0 = 0 ;
10694 PyObject * obj1 = 0 ;
10695 char *kwnames[] = {
10696 (char *) "self",(char *) "name", NULL
10697 };
10698
10699 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10700 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10701 {
10702 arg2 = wxString_in_helper(obj1);
10703 if (arg2 == NULL) SWIG_fail;
10704 temp2 = true;
10705 }
10706 {
10707 PyThreadState* __tstate = wxPyBeginAllowThreads();
10708 (arg1)->SetFilename((wxString const &)*arg2);
10709
10710 wxPyEndAllowThreads(__tstate);
10711 if (PyErr_Occurred()) SWIG_fail;
10712 }
10713 Py_INCREF(Py_None); resultobj = Py_None;
10714 {
10715 if (temp2)
10716 delete arg2;
10717 }
10718 return resultobj;
10719 fail:
10720 {
10721 if (temp2)
10722 delete arg2;
10723 }
10724 return NULL;
10725}
10726
10727
10728static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10729 PyObject *resultobj;
10730 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10731 wxString *arg2 = 0 ;
10732 bool temp2 = false ;
10733 PyObject * obj0 = 0 ;
10734 PyObject * obj1 = 0 ;
10735 char *kwnames[] = {
10736 (char *) "self",(char *) "wildCard", NULL
10737 };
10738
10739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10741 {
10742 arg2 = wxString_in_helper(obj1);
10743 if (arg2 == NULL) SWIG_fail;
10744 temp2 = true;
10745 }
10746 {
10747 PyThreadState* __tstate = wxPyBeginAllowThreads();
10748 (arg1)->SetWildcard((wxString const &)*arg2);
10749
10750 wxPyEndAllowThreads(__tstate);
10751 if (PyErr_Occurred()) SWIG_fail;
10752 }
10753 Py_INCREF(Py_None); resultobj = Py_None;
10754 {
10755 if (temp2)
10756 delete arg2;
10757 }
10758 return resultobj;
10759 fail:
10760 {
10761 if (temp2)
10762 delete arg2;
10763 }
10764 return NULL;
10765}
10766
10767
10768static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10769 PyObject *resultobj;
10770 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10771 long arg2 ;
10772 PyObject * obj0 = 0 ;
10773 char *kwnames[] = {
10774 (char *) "self",(char *) "style", NULL
10775 };
10776
10777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10779 {
10780 PyThreadState* __tstate = wxPyBeginAllowThreads();
10781 (arg1)->SetStyle(arg2);
10782
10783 wxPyEndAllowThreads(__tstate);
10784 if (PyErr_Occurred()) SWIG_fail;
10785 }
10786 Py_INCREF(Py_None); resultobj = Py_None;
10787 return resultobj;
10788 fail:
10789 return NULL;
10790}
10791
10792
10793static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10794 PyObject *resultobj;
10795 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10796 int arg2 ;
10797 PyObject * obj0 = 0 ;
10798 char *kwnames[] = {
10799 (char *) "self",(char *) "filterIndex", NULL
10800 };
10801
10802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10804 {
10805 PyThreadState* __tstate = wxPyBeginAllowThreads();
10806 (arg1)->SetFilterIndex(arg2);
10807
10808 wxPyEndAllowThreads(__tstate);
10809 if (PyErr_Occurred()) SWIG_fail;
10810 }
10811 Py_INCREF(Py_None); resultobj = Py_None;
10812 return resultobj;
10813 fail:
10814 return NULL;
10815}
10816
10817
10818static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10819 PyObject *resultobj;
10820 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10821 wxString result;
10822 PyObject * obj0 = 0 ;
10823 char *kwnames[] = {
10824 (char *) "self", NULL
10825 };
10826
10827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10829 {
10830 PyThreadState* __tstate = wxPyBeginAllowThreads();
10831 result = ((wxFileDialog const *)arg1)->GetMessage();
10832
10833 wxPyEndAllowThreads(__tstate);
10834 if (PyErr_Occurred()) SWIG_fail;
10835 }
10836 {
10837#if wxUSE_UNICODE
10838 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10839#else
10840 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10841#endif
10842 }
10843 return resultobj;
10844 fail:
10845 return NULL;
10846}
10847
10848
10849static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10850 PyObject *resultobj;
10851 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10852 wxString result;
10853 PyObject * obj0 = 0 ;
10854 char *kwnames[] = {
10855 (char *) "self", NULL
10856 };
10857
10858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10860 {
10861 PyThreadState* __tstate = wxPyBeginAllowThreads();
10862 result = ((wxFileDialog const *)arg1)->GetPath();
10863
10864 wxPyEndAllowThreads(__tstate);
10865 if (PyErr_Occurred()) SWIG_fail;
10866 }
10867 {
10868#if wxUSE_UNICODE
10869 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10870#else
10871 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10872#endif
10873 }
10874 return resultobj;
10875 fail:
10876 return NULL;
10877}
10878
10879
10880static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10881 PyObject *resultobj;
10882 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10883 wxString result;
10884 PyObject * obj0 = 0 ;
10885 char *kwnames[] = {
10886 (char *) "self", NULL
10887 };
10888
10889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10891 {
10892 PyThreadState* __tstate = wxPyBeginAllowThreads();
10893 result = ((wxFileDialog const *)arg1)->GetDirectory();
10894
10895 wxPyEndAllowThreads(__tstate);
10896 if (PyErr_Occurred()) SWIG_fail;
10897 }
10898 {
10899#if wxUSE_UNICODE
10900 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10901#else
10902 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10903#endif
10904 }
10905 return resultobj;
10906 fail:
10907 return NULL;
10908}
10909
10910
10911static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10912 PyObject *resultobj;
10913 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10914 wxString result;
10915 PyObject * obj0 = 0 ;
10916 char *kwnames[] = {
10917 (char *) "self", NULL
10918 };
10919
10920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10922 {
10923 PyThreadState* __tstate = wxPyBeginAllowThreads();
10924 result = ((wxFileDialog const *)arg1)->GetFilename();
10925
10926 wxPyEndAllowThreads(__tstate);
10927 if (PyErr_Occurred()) SWIG_fail;
10928 }
10929 {
10930#if wxUSE_UNICODE
10931 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10932#else
10933 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10934#endif
10935 }
10936 return resultobj;
10937 fail:
10938 return NULL;
10939}
10940
10941
10942static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10943 PyObject *resultobj;
10944 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10945 wxString result;
10946 PyObject * obj0 = 0 ;
10947 char *kwnames[] = {
10948 (char *) "self", NULL
10949 };
10950
10951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10953 {
10954 PyThreadState* __tstate = wxPyBeginAllowThreads();
10955 result = ((wxFileDialog const *)arg1)->GetWildcard();
10956
10957 wxPyEndAllowThreads(__tstate);
10958 if (PyErr_Occurred()) SWIG_fail;
10959 }
10960 {
10961#if wxUSE_UNICODE
10962 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10963#else
10964 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10965#endif
10966 }
10967 return resultobj;
10968 fail:
10969 return NULL;
10970}
10971
10972
10973static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10974 PyObject *resultobj;
10975 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10976 long result;
10977 PyObject * obj0 = 0 ;
10978 char *kwnames[] = {
10979 (char *) "self", NULL
10980 };
10981
10982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10984 {
10985 PyThreadState* __tstate = wxPyBeginAllowThreads();
10986 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10987
10988 wxPyEndAllowThreads(__tstate);
10989 if (PyErr_Occurred()) SWIG_fail;
10990 }
10991 resultobj = PyInt_FromLong((long)result);
10992 return resultobj;
10993 fail:
10994 return NULL;
10995}
10996
10997
10998static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10999 PyObject *resultobj;
11000 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11001 int result;
11002 PyObject * obj0 = 0 ;
11003 char *kwnames[] = {
11004 (char *) "self", NULL
11005 };
11006
11007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
11008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11009 {
11010 PyThreadState* __tstate = wxPyBeginAllowThreads();
11011 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
11012
11013 wxPyEndAllowThreads(__tstate);
11014 if (PyErr_Occurred()) SWIG_fail;
11015 }
11016 resultobj = PyInt_FromLong((long)result);
11017 return resultobj;
11018 fail:
11019 return NULL;
11020}
11021
11022
11023static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
11024 PyObject *resultobj;
11025 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11026 PyObject *result;
11027 PyObject * obj0 = 0 ;
11028 char *kwnames[] = {
11029 (char *) "self", NULL
11030 };
11031
11032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
11033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11034 {
11035 PyThreadState* __tstate = wxPyBeginAllowThreads();
11036 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
11037
11038 wxPyEndAllowThreads(__tstate);
11039 if (PyErr_Occurred()) SWIG_fail;
11040 }
11041 resultobj = result;
11042 return resultobj;
11043 fail:
11044 return NULL;
11045}
11046
11047
11048static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
11049 PyObject *resultobj;
11050 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
11051 PyObject *result;
11052 PyObject * obj0 = 0 ;
11053 char *kwnames[] = {
11054 (char *) "self", NULL
11055 };
11056
11057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
11058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11059 {
11060 PyThreadState* __tstate = wxPyBeginAllowThreads();
11061 result = (PyObject *)wxFileDialog_GetPaths(arg1);
11062
11063 wxPyEndAllowThreads(__tstate);
11064 if (PyErr_Occurred()) SWIG_fail;
11065 }
11066 resultobj = result;
11067 return resultobj;
11068 fail:
11069 return NULL;
11070}
11071
11072
11073static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
11074 PyObject *obj;
11075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11076 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
11077 Py_INCREF(obj);
11078 return Py_BuildValue((char *)"");
11079}
11080static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11081 PyObject *resultobj;
11082 wxWindow *arg1 = (wxWindow *) 0 ;
11083 wxString *arg2 = 0 ;
11084 wxString *arg3 = 0 ;
11085 int arg4 ;
11086 wxString *arg5 = (wxString *) 0 ;
11087 long arg6 = (long) wxCHOICEDLG_STYLE ;
11088 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11089 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11090 wxMultiChoiceDialog *result;
11091 bool temp2 = false ;
11092 bool temp3 = false ;
11093 wxPoint temp7 ;
11094 PyObject * obj0 = 0 ;
11095 PyObject * obj1 = 0 ;
11096 PyObject * obj2 = 0 ;
11097 PyObject * obj4 = 0 ;
11098 PyObject * obj6 = 0 ;
11099 char *kwnames[] = {
11100 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
11101 };
11102
11103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
11104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11105 {
11106 arg2 = wxString_in_helper(obj1);
11107 if (arg2 == NULL) SWIG_fail;
11108 temp2 = true;
11109 }
11110 {
11111 arg3 = wxString_in_helper(obj2);
11112 if (arg3 == NULL) SWIG_fail;
11113 temp3 = true;
11114 }
11115 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11116 if (obj6) {
11117 {
11118 arg7 = &temp7;
11119 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
11120 }
11121 }
11122 {
11123 PyThreadState* __tstate = wxPyBeginAllowThreads();
11124 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11125
11126 wxPyEndAllowThreads(__tstate);
11127 if (PyErr_Occurred()) SWIG_fail;
11128 }
11129 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
11130 {
11131 if (temp2)
11132 delete arg2;
11133 }
11134 {
11135 if (temp3)
11136 delete arg3;
11137 }
11138 return resultobj;
11139 fail:
11140 {
11141 if (temp2)
11142 delete arg2;
11143 }
11144 {
11145 if (temp3)
11146 delete arg3;
11147 }
11148 return NULL;
11149}
11150
11151
11152static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11153 PyObject *resultobj;
11154 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11155 wxArrayInt *arg2 = 0 ;
11156 PyObject * obj0 = 0 ;
11157 PyObject * obj1 = 0 ;
11158 char *kwnames[] = {
11159 (char *) "self",(char *) "selections", NULL
11160 };
11161
11162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11164 {
11165 if (! PySequence_Check(obj1)) {
11166 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11167 SWIG_fail;
11168 }
11169 arg2 = new wxArrayInt;
11170 int i, len=PySequence_Length(obj1);
11171 for (i=0; i<len; i++) {
11172 PyObject* item = PySequence_GetItem(obj1, i);
11173 PyObject* number = PyNumber_Int(item);
11174 arg2->Add(PyInt_AS_LONG(number));
11175 Py_DECREF(item);
11176 Py_DECREF(number);
11177 }
11178 }
11179 {
11180 PyThreadState* __tstate = wxPyBeginAllowThreads();
11181 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11182
11183 wxPyEndAllowThreads(__tstate);
11184 if (PyErr_Occurred()) SWIG_fail;
11185 }
11186 Py_INCREF(Py_None); resultobj = Py_None;
11187 {
11188 if (arg2) delete arg2;
11189 }
11190 return resultobj;
11191 fail:
11192 {
11193 if (arg2) delete arg2;
11194 }
11195 return NULL;
11196}
11197
11198
11199static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11200 PyObject *resultobj;
11201 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11202 PyObject *result;
11203 PyObject * obj0 = 0 ;
11204 char *kwnames[] = {
11205 (char *) "self", NULL
11206 };
11207
11208 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11209 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11210 {
11211 PyThreadState* __tstate = wxPyBeginAllowThreads();
11212 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11213
11214 wxPyEndAllowThreads(__tstate);
11215 if (PyErr_Occurred()) SWIG_fail;
11216 }
11217 resultobj = result;
11218 return resultobj;
11219 fail:
11220 return NULL;
11221}
11222
11223
11224static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11225 PyObject *obj;
11226 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11227 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11228 Py_INCREF(obj);
11229 return Py_BuildValue((char *)"");
11230}
11231static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11232 PyObject *resultobj;
11233 wxWindow *arg1 = (wxWindow *) 0 ;
11234 wxString *arg2 = 0 ;
11235 wxString *arg3 = 0 ;
11236 int arg4 ;
11237 wxString *arg5 = (wxString *) 0 ;
11238 long arg6 = (long) wxCHOICEDLG_STYLE ;
11239 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11240 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11241 wxSingleChoiceDialog *result;
11242 bool temp2 = false ;
11243 bool temp3 = false ;
11244 wxPoint temp6 ;
11245 PyObject * obj0 = 0 ;
11246 PyObject * obj1 = 0 ;
11247 PyObject * obj2 = 0 ;
11248 PyObject * obj3 = 0 ;
11249 PyObject * obj5 = 0 ;
11250 char *kwnames[] = {
11251 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11252 };
11253
11254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
11255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11256 {
11257 arg2 = wxString_in_helper(obj1);
11258 if (arg2 == NULL) SWIG_fail;
11259 temp2 = true;
11260 }
11261 {
11262 arg3 = wxString_in_helper(obj2);
11263 if (arg3 == NULL) SWIG_fail;
11264 temp3 = true;
11265 }
11266 {
11267 arg4 = PyList_Size(obj3);
11268 arg5 = wxString_LIST_helper(obj3);
11269 if (arg5 == NULL) SWIG_fail;
11270 }
11271 if (obj5) {
11272 {
11273 arg7 = &temp6;
11274 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11275 }
11276 }
11277 {
11278 PyThreadState* __tstate = wxPyBeginAllowThreads();
11279 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11280
11281 wxPyEndAllowThreads(__tstate);
11282 if (PyErr_Occurred()) SWIG_fail;
11283 }
11284 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11285 {
11286 if (temp2)
11287 delete arg2;
11288 }
11289 {
11290 if (temp3)
11291 delete arg3;
11292 }
11293 {
11294 if (arg5) delete [] arg5;
11295 }
11296 return resultobj;
11297 fail:
11298 {
11299 if (temp2)
11300 delete arg2;
11301 }
11302 {
11303 if (temp3)
11304 delete arg3;
11305 }
11306 {
11307 if (arg5) delete [] arg5;
11308 }
11309 return NULL;
11310}
11311
11312
11313static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11314 PyObject *resultobj;
11315 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11316 int result;
11317 PyObject * obj0 = 0 ;
11318 char *kwnames[] = {
11319 (char *) "self", NULL
11320 };
11321
11322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11324 {
11325 PyThreadState* __tstate = wxPyBeginAllowThreads();
11326 result = (int)(arg1)->GetSelection();
11327
11328 wxPyEndAllowThreads(__tstate);
11329 if (PyErr_Occurred()) SWIG_fail;
11330 }
11331 resultobj = PyInt_FromLong((long)result);
11332 return resultobj;
11333 fail:
11334 return NULL;
11335}
11336
11337
11338static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11339 PyObject *resultobj;
11340 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11341 wxString result;
11342 PyObject * obj0 = 0 ;
11343 char *kwnames[] = {
11344 (char *) "self", NULL
11345 };
11346
11347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11349 {
11350 PyThreadState* __tstate = wxPyBeginAllowThreads();
11351 result = (arg1)->GetStringSelection();
11352
11353 wxPyEndAllowThreads(__tstate);
11354 if (PyErr_Occurred()) SWIG_fail;
11355 }
11356 {
11357#if wxUSE_UNICODE
11358 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11359#else
11360 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11361#endif
11362 }
11363 return resultobj;
11364 fail:
11365 return NULL;
11366}
11367
11368
11369static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11370 PyObject *resultobj;
11371 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11372 int arg2 ;
11373 PyObject * obj0 = 0 ;
11374 char *kwnames[] = {
11375 (char *) "self",(char *) "sel", NULL
11376 };
11377
11378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11380 {
11381 PyThreadState* __tstate = wxPyBeginAllowThreads();
11382 (arg1)->SetSelection(arg2);
11383
11384 wxPyEndAllowThreads(__tstate);
11385 if (PyErr_Occurred()) SWIG_fail;
11386 }
11387 Py_INCREF(Py_None); resultobj = Py_None;
11388 return resultobj;
11389 fail:
11390 return NULL;
11391}
11392
11393
11394static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11395 PyObject *resultobj;
11396 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11397 int result;
11398 PyObject * obj0 = 0 ;
11399 char *kwnames[] = {
11400 (char *) "self", NULL
11401 };
11402
11403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11405 {
11406 PyThreadState* __tstate = wxPyBeginAllowThreads();
11407 result = (int)(arg1)->ShowModal();
11408
11409 wxPyEndAllowThreads(__tstate);
11410 if (PyErr_Occurred()) SWIG_fail;
11411 }
11412 resultobj = PyInt_FromLong((long)result);
11413 return resultobj;
11414 fail:
11415 return NULL;
11416}
11417
11418
11419static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11420 PyObject *obj;
11421 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11422 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11423 Py_INCREF(obj);
11424 return Py_BuildValue((char *)"");
11425}
11426static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11427 PyObject *resultobj;
11428 wxWindow *arg1 = (wxWindow *) 0 ;
11429 wxString *arg2 = 0 ;
11430 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11431 wxString *arg3 = (wxString *) &arg3_defvalue ;
11432 wxString const &arg4_defvalue = wxPyEmptyString ;
11433 wxString *arg4 = (wxString *) &arg4_defvalue ;
11434 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11435 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11436 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11437 wxTextEntryDialog *result;
11438 bool temp2 = false ;
11439 bool temp3 = false ;
11440 bool temp4 = false ;
11441 wxPoint temp6 ;
11442 PyObject * obj0 = 0 ;
11443 PyObject * obj1 = 0 ;
11444 PyObject * obj2 = 0 ;
11445 PyObject * obj3 = 0 ;
11446 PyObject * obj5 = 0 ;
11447 char *kwnames[] = {
11448 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11449 };
11450
11451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11453 {
11454 arg2 = wxString_in_helper(obj1);
11455 if (arg2 == NULL) SWIG_fail;
11456 temp2 = true;
11457 }
11458 if (obj2) {
11459 {
11460 arg3 = wxString_in_helper(obj2);
11461 if (arg3 == NULL) SWIG_fail;
11462 temp3 = true;
11463 }
11464 }
11465 if (obj3) {
11466 {
11467 arg4 = wxString_in_helper(obj3);
11468 if (arg4 == NULL) SWIG_fail;
11469 temp4 = true;
11470 }
11471 }
11472 if (obj5) {
11473 {
11474 arg6 = &temp6;
11475 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11476 }
11477 }
11478 {
11479 PyThreadState* __tstate = wxPyBeginAllowThreads();
11480 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11481
11482 wxPyEndAllowThreads(__tstate);
11483 if (PyErr_Occurred()) SWIG_fail;
11484 }
11485 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11486 {
11487 if (temp2)
11488 delete arg2;
11489 }
11490 {
11491 if (temp3)
11492 delete arg3;
11493 }
11494 {
11495 if (temp4)
11496 delete arg4;
11497 }
11498 return resultobj;
11499 fail:
11500 {
11501 if (temp2)
11502 delete arg2;
11503 }
11504 {
11505 if (temp3)
11506 delete arg3;
11507 }
11508 {
11509 if (temp4)
11510 delete arg4;
11511 }
11512 return NULL;
11513}
11514
11515
11516static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11517 PyObject *resultobj;
11518 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11519 wxString result;
11520 PyObject * obj0 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11527 {
11528 PyThreadState* __tstate = wxPyBeginAllowThreads();
11529 result = (arg1)->GetValue();
11530
11531 wxPyEndAllowThreads(__tstate);
11532 if (PyErr_Occurred()) SWIG_fail;
11533 }
11534 {
11535#if wxUSE_UNICODE
11536 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11537#else
11538 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11539#endif
11540 }
11541 return resultobj;
11542 fail:
11543 return NULL;
11544}
11545
11546
11547static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11548 PyObject *resultobj;
11549 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11550 wxString *arg2 = 0 ;
11551 bool temp2 = false ;
11552 PyObject * obj0 = 0 ;
11553 PyObject * obj1 = 0 ;
11554 char *kwnames[] = {
11555 (char *) "self",(char *) "value", NULL
11556 };
11557
11558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11560 {
11561 arg2 = wxString_in_helper(obj1);
11562 if (arg2 == NULL) SWIG_fail;
11563 temp2 = true;
11564 }
11565 {
11566 PyThreadState* __tstate = wxPyBeginAllowThreads();
11567 (arg1)->SetValue((wxString const &)*arg2);
11568
11569 wxPyEndAllowThreads(__tstate);
11570 if (PyErr_Occurred()) SWIG_fail;
11571 }
11572 Py_INCREF(Py_None); resultobj = Py_None;
11573 {
11574 if (temp2)
11575 delete arg2;
11576 }
11577 return resultobj;
11578 fail:
11579 {
11580 if (temp2)
11581 delete arg2;
11582 }
11583 return NULL;
11584}
11585
11586
11587static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11588 PyObject *resultobj;
11589 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11590 int result;
11591 PyObject * obj0 = 0 ;
11592 char *kwnames[] = {
11593 (char *) "self", NULL
11594 };
11595
11596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11598 {
11599 PyThreadState* __tstate = wxPyBeginAllowThreads();
11600 result = (int)(arg1)->ShowModal();
11601
11602 wxPyEndAllowThreads(__tstate);
11603 if (PyErr_Occurred()) SWIG_fail;
11604 }
11605 resultobj = PyInt_FromLong((long)result);
11606 return resultobj;
11607 fail:
11608 return NULL;
11609}
11610
11611
11612static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11613 PyObject *obj;
11614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11615 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11616 Py_INCREF(obj);
11617 return Py_BuildValue((char *)"");
11618}
11619static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11620 PyObject *resultobj;
11621 wxFontData *result;
11622 char *kwnames[] = {
11623 NULL
11624 };
11625
11626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11627 {
11628 PyThreadState* __tstate = wxPyBeginAllowThreads();
11629 result = (wxFontData *)new wxFontData();
11630
11631 wxPyEndAllowThreads(__tstate);
11632 if (PyErr_Occurred()) SWIG_fail;
11633 }
11634 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11635 return resultobj;
11636 fail:
11637 return NULL;
11638}
11639
11640
11641static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11642 PyObject *resultobj;
11643 wxFontData *arg1 = (wxFontData *) 0 ;
11644 PyObject * obj0 = 0 ;
11645 char *kwnames[] = {
11646 (char *) "self", NULL
11647 };
11648
11649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11651 {
11652 PyThreadState* __tstate = wxPyBeginAllowThreads();
11653 delete arg1;
11654
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 Py_INCREF(Py_None); resultobj = Py_None;
11659 return resultobj;
11660 fail:
11661 return NULL;
11662}
11663
11664
11665static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11666 PyObject *resultobj;
11667 wxFontData *arg1 = (wxFontData *) 0 ;
11668 bool arg2 ;
11669 PyObject * obj0 = 0 ;
11670 PyObject * obj1 = 0 ;
11671 char *kwnames[] = {
11672 (char *) "self",(char *) "enable", NULL
11673 };
11674
11675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11677 arg2 = PyInt_AsLong(obj1) ? true : false;
11678 if (PyErr_Occurred()) SWIG_fail;
11679 {
11680 PyThreadState* __tstate = wxPyBeginAllowThreads();
11681 (arg1)->EnableEffects(arg2);
11682
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 Py_INCREF(Py_None); resultobj = Py_None;
11687 return resultobj;
11688 fail:
11689 return NULL;
11690}
11691
11692
11693static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11694 PyObject *resultobj;
11695 wxFontData *arg1 = (wxFontData *) 0 ;
11696 bool result;
11697 PyObject * obj0 = 0 ;
11698 char *kwnames[] = {
11699 (char *) "self", NULL
11700 };
11701
11702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11704 {
11705 PyThreadState* __tstate = wxPyBeginAllowThreads();
11706 result = (bool)(arg1)->GetAllowSymbols();
11707
11708 wxPyEndAllowThreads(__tstate);
11709 if (PyErr_Occurred()) SWIG_fail;
11710 }
11711 resultobj = PyInt_FromLong((long)result);
11712 return resultobj;
11713 fail:
11714 return NULL;
11715}
11716
11717
11718static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11719 PyObject *resultobj;
11720 wxFontData *arg1 = (wxFontData *) 0 ;
11721 wxColour result;
11722 PyObject * obj0 = 0 ;
11723 char *kwnames[] = {
11724 (char *) "self", NULL
11725 };
11726
11727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11729 {
11730 PyThreadState* __tstate = wxPyBeginAllowThreads();
11731 result = (arg1)->GetColour();
11732
11733 wxPyEndAllowThreads(__tstate);
11734 if (PyErr_Occurred()) SWIG_fail;
11735 }
11736 {
11737 wxColour * resultptr;
11738 resultptr = new wxColour((wxColour &) result);
11739 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11740 }
11741 return resultobj;
11742 fail:
11743 return NULL;
11744}
11745
11746
11747static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11748 PyObject *resultobj;
11749 wxFontData *arg1 = (wxFontData *) 0 ;
11750 wxFont result;
11751 PyObject * obj0 = 0 ;
11752 char *kwnames[] = {
11753 (char *) "self", NULL
11754 };
11755
11756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11758 {
11759 PyThreadState* __tstate = wxPyBeginAllowThreads();
11760 result = (arg1)->GetChosenFont();
11761
11762 wxPyEndAllowThreads(__tstate);
11763 if (PyErr_Occurred()) SWIG_fail;
11764 }
11765 {
11766 wxFont * resultptr;
11767 resultptr = new wxFont((wxFont &) result);
11768 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11769 }
11770 return resultobj;
11771 fail:
11772 return NULL;
11773}
11774
11775
11776static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11777 PyObject *resultobj;
11778 wxFontData *arg1 = (wxFontData *) 0 ;
11779 bool result;
11780 PyObject * obj0 = 0 ;
11781 char *kwnames[] = {
11782 (char *) "self", NULL
11783 };
11784
11785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11787 {
11788 PyThreadState* __tstate = wxPyBeginAllowThreads();
11789 result = (bool)(arg1)->GetEnableEffects();
11790
11791 wxPyEndAllowThreads(__tstate);
11792 if (PyErr_Occurred()) SWIG_fail;
11793 }
11794 resultobj = PyInt_FromLong((long)result);
11795 return resultobj;
11796 fail:
11797 return NULL;
11798}
11799
11800
11801static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11802 PyObject *resultobj;
11803 wxFontData *arg1 = (wxFontData *) 0 ;
11804 wxFont result;
11805 PyObject * obj0 = 0 ;
11806 char *kwnames[] = {
11807 (char *) "self", NULL
11808 };
11809
11810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11812 {
11813 PyThreadState* __tstate = wxPyBeginAllowThreads();
11814 result = (arg1)->GetInitialFont();
11815
11816 wxPyEndAllowThreads(__tstate);
11817 if (PyErr_Occurred()) SWIG_fail;
11818 }
11819 {
11820 wxFont * resultptr;
11821 resultptr = new wxFont((wxFont &) result);
11822 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11823 }
11824 return resultobj;
11825 fail:
11826 return NULL;
11827}
11828
11829
11830static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11831 PyObject *resultobj;
11832 wxFontData *arg1 = (wxFontData *) 0 ;
11833 bool result;
11834 PyObject * obj0 = 0 ;
11835 char *kwnames[] = {
11836 (char *) "self", NULL
11837 };
11838
11839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11841 {
11842 PyThreadState* __tstate = wxPyBeginAllowThreads();
11843 result = (bool)(arg1)->GetShowHelp();
11844
11845 wxPyEndAllowThreads(__tstate);
11846 if (PyErr_Occurred()) SWIG_fail;
11847 }
11848 resultobj = PyInt_FromLong((long)result);
11849 return resultobj;
11850 fail:
11851 return NULL;
11852}
11853
11854
11855static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11856 PyObject *resultobj;
11857 wxFontData *arg1 = (wxFontData *) 0 ;
11858 bool arg2 ;
11859 PyObject * obj0 = 0 ;
11860 PyObject * obj1 = 0 ;
11861 char *kwnames[] = {
11862 (char *) "self",(char *) "allowSymbols", NULL
11863 };
11864
11865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11867 arg2 = PyInt_AsLong(obj1) ? true : false;
11868 if (PyErr_Occurred()) SWIG_fail;
11869 {
11870 PyThreadState* __tstate = wxPyBeginAllowThreads();
11871 (arg1)->SetAllowSymbols(arg2);
11872
11873 wxPyEndAllowThreads(__tstate);
11874 if (PyErr_Occurred()) SWIG_fail;
11875 }
11876 Py_INCREF(Py_None); resultobj = Py_None;
11877 return resultobj;
11878 fail:
11879 return NULL;
11880}
11881
11882
11883static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11884 PyObject *resultobj;
11885 wxFontData *arg1 = (wxFontData *) 0 ;
11886 wxFont *arg2 = 0 ;
11887 PyObject * obj0 = 0 ;
11888 PyObject * obj1 = 0 ;
11889 char *kwnames[] = {
11890 (char *) "self",(char *) "font", NULL
11891 };
11892
11893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11895 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11896 if (arg2 == NULL) {
11897 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11898 }
11899 {
11900 PyThreadState* __tstate = wxPyBeginAllowThreads();
11901 (arg1)->SetChosenFont((wxFont const &)*arg2);
11902
11903 wxPyEndAllowThreads(__tstate);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 }
11906 Py_INCREF(Py_None); resultobj = Py_None;
11907 return resultobj;
11908 fail:
11909 return NULL;
11910}
11911
11912
11913static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11914 PyObject *resultobj;
11915 wxFontData *arg1 = (wxFontData *) 0 ;
11916 wxColour *arg2 = 0 ;
11917 wxColour temp2 ;
11918 PyObject * obj0 = 0 ;
11919 PyObject * obj1 = 0 ;
11920 char *kwnames[] = {
11921 (char *) "self",(char *) "colour", NULL
11922 };
11923
11924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11926 {
11927 arg2 = &temp2;
11928 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11929 }
11930 {
11931 PyThreadState* __tstate = wxPyBeginAllowThreads();
11932 (arg1)->SetColour((wxColour const &)*arg2);
11933
11934 wxPyEndAllowThreads(__tstate);
11935 if (PyErr_Occurred()) SWIG_fail;
11936 }
11937 Py_INCREF(Py_None); resultobj = Py_None;
11938 return resultobj;
11939 fail:
11940 return NULL;
11941}
11942
11943
11944static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11945 PyObject *resultobj;
11946 wxFontData *arg1 = (wxFontData *) 0 ;
11947 wxFont *arg2 = 0 ;
11948 PyObject * obj0 = 0 ;
11949 PyObject * obj1 = 0 ;
11950 char *kwnames[] = {
11951 (char *) "self",(char *) "font", NULL
11952 };
11953
11954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11957 if (arg2 == NULL) {
11958 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11959 }
11960 {
11961 PyThreadState* __tstate = wxPyBeginAllowThreads();
11962 (arg1)->SetInitialFont((wxFont const &)*arg2);
11963
11964 wxPyEndAllowThreads(__tstate);
11965 if (PyErr_Occurred()) SWIG_fail;
11966 }
11967 Py_INCREF(Py_None); resultobj = Py_None;
11968 return resultobj;
11969 fail:
11970 return NULL;
11971}
11972
11973
11974static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11975 PyObject *resultobj;
11976 wxFontData *arg1 = (wxFontData *) 0 ;
11977 int arg2 ;
11978 int arg3 ;
11979 PyObject * obj0 = 0 ;
11980 char *kwnames[] = {
11981 (char *) "self",(char *) "min",(char *) "max", NULL
11982 };
11983
11984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11986 {
11987 PyThreadState* __tstate = wxPyBeginAllowThreads();
11988 (arg1)->SetRange(arg2,arg3);
11989
11990 wxPyEndAllowThreads(__tstate);
11991 if (PyErr_Occurred()) SWIG_fail;
11992 }
11993 Py_INCREF(Py_None); resultobj = Py_None;
11994 return resultobj;
11995 fail:
11996 return NULL;
11997}
11998
11999
12000static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
12001 PyObject *resultobj;
12002 wxFontData *arg1 = (wxFontData *) 0 ;
12003 bool arg2 ;
12004 PyObject * obj0 = 0 ;
12005 PyObject * obj1 = 0 ;
12006 char *kwnames[] = {
12007 (char *) "self",(char *) "showHelp", NULL
12008 };
12009
12010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
12011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12012 arg2 = PyInt_AsLong(obj1) ? true : false;
12013 if (PyErr_Occurred()) SWIG_fail;
12014 {
12015 PyThreadState* __tstate = wxPyBeginAllowThreads();
12016 (arg1)->SetShowHelp(arg2);
12017
12018 wxPyEndAllowThreads(__tstate);
12019 if (PyErr_Occurred()) SWIG_fail;
12020 }
12021 Py_INCREF(Py_None); resultobj = Py_None;
12022 return resultobj;
12023 fail:
12024 return NULL;
12025}
12026
12027
12028static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
12029 PyObject *obj;
12030 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12031 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
12032 Py_INCREF(obj);
12033 return Py_BuildValue((char *)"");
12034}
12035static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12036 PyObject *resultobj;
12037 wxWindow *arg1 = (wxWindow *) 0 ;
12038 wxFontData *arg2 = 0 ;
12039 wxFontDialog *result;
12040 PyObject * obj0 = 0 ;
12041 PyObject * obj1 = 0 ;
12042 char *kwnames[] = {
12043 (char *) "parent",(char *) "data", NULL
12044 };
12045
12046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
12047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12048 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12049 if (arg2 == NULL) {
12050 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
12051 }
12052 {
12053 PyThreadState* __tstate = wxPyBeginAllowThreads();
12054 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
12055
12056 wxPyEndAllowThreads(__tstate);
12057 if (PyErr_Occurred()) SWIG_fail;
12058 }
12059 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
12060 return resultobj;
12061 fail:
12062 return NULL;
12063}
12064
12065
12066static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
12067 PyObject *resultobj;
12068 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12069 wxFontData *result;
12070 PyObject * obj0 = 0 ;
12071 char *kwnames[] = {
12072 (char *) "self", NULL
12073 };
12074
12075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
12076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12077 {
12078 PyThreadState* __tstate = wxPyBeginAllowThreads();
12079 {
12080 wxFontData &_result_ref = (arg1)->GetFontData();
12081 result = (wxFontData *) &_result_ref;
12082 }
12083
12084 wxPyEndAllowThreads(__tstate);
12085 if (PyErr_Occurred()) SWIG_fail;
12086 }
12087 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
12088 return resultobj;
12089 fail:
12090 return NULL;
12091}
12092
12093
12094static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12095 PyObject *resultobj;
12096 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
12097 int result;
12098 PyObject * obj0 = 0 ;
12099 char *kwnames[] = {
12100 (char *) "self", NULL
12101 };
12102
12103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
12104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12105 {
12106 PyThreadState* __tstate = wxPyBeginAllowThreads();
12107 result = (int)(arg1)->ShowModal();
12108
12109 wxPyEndAllowThreads(__tstate);
12110 if (PyErr_Occurred()) SWIG_fail;
12111 }
12112 resultobj = PyInt_FromLong((long)result);
12113 return resultobj;
12114 fail:
12115 return NULL;
12116}
12117
12118
12119static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
12120 PyObject *obj;
12121 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12122 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12123 Py_INCREF(obj);
12124 return Py_BuildValue((char *)"");
12125}
12126static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12127 PyObject *resultobj;
12128 wxWindow *arg1 = (wxWindow *) 0 ;
12129 wxString *arg2 = 0 ;
12130 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12131 wxString *arg3 = (wxString *) &arg3_defvalue ;
12132 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12133 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12134 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12135 wxMessageDialog *result;
12136 bool temp2 = false ;
12137 bool temp3 = false ;
12138 wxPoint temp5 ;
12139 PyObject * obj0 = 0 ;
12140 PyObject * obj1 = 0 ;
12141 PyObject * obj2 = 0 ;
12142 PyObject * obj4 = 0 ;
12143 char *kwnames[] = {
12144 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
12148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12149 {
12150 arg2 = wxString_in_helper(obj1);
12151 if (arg2 == NULL) SWIG_fail;
12152 temp2 = true;
12153 }
12154 if (obj2) {
12155 {
12156 arg3 = wxString_in_helper(obj2);
12157 if (arg3 == NULL) SWIG_fail;
12158 temp3 = true;
12159 }
12160 }
12161 if (obj4) {
12162 {
12163 arg5 = &temp5;
12164 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12165 }
12166 }
12167 {
12168 PyThreadState* __tstate = wxPyBeginAllowThreads();
12169 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12170
12171 wxPyEndAllowThreads(__tstate);
12172 if (PyErr_Occurred()) SWIG_fail;
12173 }
12174 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12175 {
12176 if (temp2)
12177 delete arg2;
12178 }
12179 {
12180 if (temp3)
12181 delete arg3;
12182 }
12183 return resultobj;
12184 fail:
12185 {
12186 if (temp2)
12187 delete arg2;
12188 }
12189 {
12190 if (temp3)
12191 delete arg3;
12192 }
12193 return NULL;
12194}
12195
12196
12197static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12198 PyObject *resultobj;
12199 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12200 int result;
12201 PyObject * obj0 = 0 ;
12202 char *kwnames[] = {
12203 (char *) "self", NULL
12204 };
12205
12206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12208 {
12209 PyThreadState* __tstate = wxPyBeginAllowThreads();
12210 result = (int)(arg1)->ShowModal();
12211
12212 wxPyEndAllowThreads(__tstate);
12213 if (PyErr_Occurred()) SWIG_fail;
12214 }
12215 resultobj = PyInt_FromLong((long)result);
12216 return resultobj;
12217 fail:
12218 return NULL;
12219}
12220
12221
12222static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12223 PyObject *obj;
12224 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12225 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12226 Py_INCREF(obj);
12227 return Py_BuildValue((char *)"");
12228}
12229static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12230 PyObject *resultobj;
12231 wxString *arg1 = 0 ;
12232 wxString *arg2 = 0 ;
12233 int arg3 = (int) 100 ;
12234 wxWindow *arg4 = (wxWindow *) NULL ;
12235 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12236 wxProgressDialog *result;
12237 bool temp1 = false ;
12238 bool temp2 = false ;
12239 PyObject * obj0 = 0 ;
12240 PyObject * obj1 = 0 ;
12241 PyObject * obj3 = 0 ;
12242 char *kwnames[] = {
12243 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12244 };
12245
12246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
12247 {
12248 arg1 = wxString_in_helper(obj0);
12249 if (arg1 == NULL) SWIG_fail;
12250 temp1 = true;
12251 }
12252 {
12253 arg2 = wxString_in_helper(obj1);
12254 if (arg2 == NULL) SWIG_fail;
12255 temp2 = true;
12256 }
12257 if (obj3) {
12258 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12259 }
12260 {
12261 PyThreadState* __tstate = wxPyBeginAllowThreads();
12262 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12263
12264 wxPyEndAllowThreads(__tstate);
12265 if (PyErr_Occurred()) SWIG_fail;
12266 }
12267 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12268 {
12269 if (temp1)
12270 delete arg1;
12271 }
12272 {
12273 if (temp2)
12274 delete arg2;
12275 }
12276 return resultobj;
12277 fail:
12278 {
12279 if (temp1)
12280 delete arg1;
12281 }
12282 {
12283 if (temp2)
12284 delete arg2;
12285 }
12286 return NULL;
12287}
12288
12289
12290static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12291 PyObject *resultobj;
12292 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12293 int arg2 ;
12294 wxString const &arg3_defvalue = wxPyEmptyString ;
12295 wxString *arg3 = (wxString *) &arg3_defvalue ;
12296 bool result;
12297 bool temp3 = false ;
12298 PyObject * obj0 = 0 ;
12299 PyObject * obj2 = 0 ;
12300 char *kwnames[] = {
12301 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12302 };
12303
12304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12306 if (obj2) {
12307 {
12308 arg3 = wxString_in_helper(obj2);
12309 if (arg3 == NULL) SWIG_fail;
12310 temp3 = true;
12311 }
12312 }
12313 {
12314 PyThreadState* __tstate = wxPyBeginAllowThreads();
12315 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12316
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
12320 resultobj = PyInt_FromLong((long)result);
12321 {
12322 if (temp3)
12323 delete arg3;
12324 }
12325 return resultobj;
12326 fail:
12327 {
12328 if (temp3)
12329 delete arg3;
12330 }
12331 return NULL;
12332}
12333
12334
12335static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12336 PyObject *resultobj;
12337 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12338 PyObject * obj0 = 0 ;
12339 char *kwnames[] = {
12340 (char *) "self", NULL
12341 };
12342
12343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12345 {
12346 PyThreadState* __tstate = wxPyBeginAllowThreads();
12347 (arg1)->Resume();
12348
12349 wxPyEndAllowThreads(__tstate);
12350 if (PyErr_Occurred()) SWIG_fail;
12351 }
12352 Py_INCREF(Py_None); resultobj = Py_None;
12353 return resultobj;
12354 fail:
12355 return NULL;
12356}
12357
12358
12359static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12360 PyObject *obj;
12361 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12362 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12363 Py_INCREF(obj);
12364 return Py_BuildValue((char *)"");
12365}
12366static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12367 PyObject *resultobj;
12368 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12369 int arg2 = (int) 0 ;
12370 wxFindDialogEvent *result;
12371 char *kwnames[] = {
12372 (char *) "commandType",(char *) "id", NULL
12373 };
12374
12375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12376 {
12377 PyThreadState* __tstate = wxPyBeginAllowThreads();
12378 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12379
12380 wxPyEndAllowThreads(__tstate);
12381 if (PyErr_Occurred()) SWIG_fail;
12382 }
12383 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12384 return resultobj;
12385 fail:
12386 return NULL;
12387}
12388
12389
12390static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12391 PyObject *resultobj;
12392 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12393 int result;
12394 PyObject * obj0 = 0 ;
12395 char *kwnames[] = {
12396 (char *) "self", NULL
12397 };
12398
12399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12401 {
12402 PyThreadState* __tstate = wxPyBeginAllowThreads();
12403 result = (int)(arg1)->GetFlags();
12404
12405 wxPyEndAllowThreads(__tstate);
12406 if (PyErr_Occurred()) SWIG_fail;
12407 }
12408 resultobj = PyInt_FromLong((long)result);
12409 return resultobj;
12410 fail:
12411 return NULL;
12412}
12413
12414
12415static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12416 PyObject *resultobj;
12417 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12418 wxString result;
12419 PyObject * obj0 = 0 ;
12420 char *kwnames[] = {
12421 (char *) "self", NULL
12422 };
12423
12424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12426 {
12427 PyThreadState* __tstate = wxPyBeginAllowThreads();
12428 result = (arg1)->GetFindString();
12429
12430 wxPyEndAllowThreads(__tstate);
12431 if (PyErr_Occurred()) SWIG_fail;
12432 }
12433 {
12434#if wxUSE_UNICODE
12435 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12436#else
12437 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12438#endif
12439 }
12440 return resultobj;
12441 fail:
12442 return NULL;
12443}
12444
12445
12446static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12447 PyObject *resultobj;
12448 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12449 wxString *result;
12450 PyObject * obj0 = 0 ;
12451 char *kwnames[] = {
12452 (char *) "self", NULL
12453 };
12454
12455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12457 {
12458 PyThreadState* __tstate = wxPyBeginAllowThreads();
12459 {
12460 wxString const &_result_ref = (arg1)->GetReplaceString();
12461 result = (wxString *) &_result_ref;
12462 }
12463
12464 wxPyEndAllowThreads(__tstate);
12465 if (PyErr_Occurred()) SWIG_fail;
12466 }
12467 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12468 return resultobj;
12469 fail:
12470 return NULL;
12471}
12472
12473
12474static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12475 PyObject *resultobj;
12476 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12477 wxFindReplaceDialog *result;
12478 PyObject * obj0 = 0 ;
12479 char *kwnames[] = {
12480 (char *) "self", NULL
12481 };
12482
12483 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12484 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12485 {
12486 PyThreadState* __tstate = wxPyBeginAllowThreads();
12487 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12488
12489 wxPyEndAllowThreads(__tstate);
12490 if (PyErr_Occurred()) SWIG_fail;
12491 }
12492 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12493 return resultobj;
12494 fail:
12495 return NULL;
12496}
12497
12498
12499static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj;
12501 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12502 int arg2 ;
12503 PyObject * obj0 = 0 ;
12504 char *kwnames[] = {
12505 (char *) "self",(char *) "flags", NULL
12506 };
12507
12508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12510 {
12511 PyThreadState* __tstate = wxPyBeginAllowThreads();
12512 (arg1)->SetFlags(arg2);
12513
12514 wxPyEndAllowThreads(__tstate);
12515 if (PyErr_Occurred()) SWIG_fail;
12516 }
12517 Py_INCREF(Py_None); resultobj = Py_None;
12518 return resultobj;
12519 fail:
12520 return NULL;
12521}
12522
12523
12524static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12525 PyObject *resultobj;
12526 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12527 wxString *arg2 = 0 ;
12528 bool temp2 = false ;
12529 PyObject * obj0 = 0 ;
12530 PyObject * obj1 = 0 ;
12531 char *kwnames[] = {
12532 (char *) "self",(char *) "str", NULL
12533 };
12534
12535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12537 {
12538 arg2 = wxString_in_helper(obj1);
12539 if (arg2 == NULL) SWIG_fail;
12540 temp2 = true;
12541 }
12542 {
12543 PyThreadState* __tstate = wxPyBeginAllowThreads();
12544 (arg1)->SetFindString((wxString const &)*arg2);
12545
12546 wxPyEndAllowThreads(__tstate);
12547 if (PyErr_Occurred()) SWIG_fail;
12548 }
12549 Py_INCREF(Py_None); resultobj = Py_None;
12550 {
12551 if (temp2)
12552 delete arg2;
12553 }
12554 return resultobj;
12555 fail:
12556 {
12557 if (temp2)
12558 delete arg2;
12559 }
12560 return NULL;
12561}
12562
12563
12564static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12565 PyObject *resultobj;
12566 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12567 wxString *arg2 = 0 ;
12568 bool temp2 = false ;
12569 PyObject * obj0 = 0 ;
12570 PyObject * obj1 = 0 ;
12571 char *kwnames[] = {
12572 (char *) "self",(char *) "str", NULL
12573 };
12574
12575 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12576 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12577 {
12578 arg2 = wxString_in_helper(obj1);
12579 if (arg2 == NULL) SWIG_fail;
12580 temp2 = true;
12581 }
12582 {
12583 PyThreadState* __tstate = wxPyBeginAllowThreads();
12584 (arg1)->SetReplaceString((wxString const &)*arg2);
12585
12586 wxPyEndAllowThreads(__tstate);
12587 if (PyErr_Occurred()) SWIG_fail;
12588 }
12589 Py_INCREF(Py_None); resultobj = Py_None;
12590 {
12591 if (temp2)
12592 delete arg2;
12593 }
12594 return resultobj;
12595 fail:
12596 {
12597 if (temp2)
12598 delete arg2;
12599 }
12600 return NULL;
12601}
12602
12603
12604static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12605 PyObject *obj;
12606 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12607 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12608 Py_INCREF(obj);
12609 return Py_BuildValue((char *)"");
12610}
12611static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12612 PyObject *resultobj;
12613 int arg1 = (int) 0 ;
12614 wxFindReplaceData *result;
12615 char *kwnames[] = {
12616 (char *) "flags", NULL
12617 };
12618
12619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12620 {
12621 PyThreadState* __tstate = wxPyBeginAllowThreads();
12622 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12623
12624 wxPyEndAllowThreads(__tstate);
12625 if (PyErr_Occurred()) SWIG_fail;
12626 }
12627 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12628 return resultobj;
12629 fail:
12630 return NULL;
12631}
12632
12633
12634static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12635 PyObject *resultobj;
12636 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12637 PyObject * obj0 = 0 ;
12638 char *kwnames[] = {
12639 (char *) "self", NULL
12640 };
12641
12642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12644 {
12645 PyThreadState* __tstate = wxPyBeginAllowThreads();
12646 delete arg1;
12647
12648 wxPyEndAllowThreads(__tstate);
12649 if (PyErr_Occurred()) SWIG_fail;
12650 }
12651 Py_INCREF(Py_None); resultobj = Py_None;
12652 return resultobj;
12653 fail:
12654 return NULL;
12655}
12656
12657
12658static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12659 PyObject *resultobj;
12660 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12661 wxString *result;
12662 PyObject * obj0 = 0 ;
12663 char *kwnames[] = {
12664 (char *) "self", NULL
12665 };
12666
12667 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12668 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12669 {
12670 PyThreadState* __tstate = wxPyBeginAllowThreads();
12671 {
12672 wxString const &_result_ref = (arg1)->GetFindString();
12673 result = (wxString *) &_result_ref;
12674 }
12675
12676 wxPyEndAllowThreads(__tstate);
12677 if (PyErr_Occurred()) SWIG_fail;
12678 }
12679 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12680 return resultobj;
12681 fail:
12682 return NULL;
12683}
12684
12685
12686static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12687 PyObject *resultobj;
12688 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12689 wxString *result;
12690 PyObject * obj0 = 0 ;
12691 char *kwnames[] = {
12692 (char *) "self", NULL
12693 };
12694
12695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12697 {
12698 PyThreadState* __tstate = wxPyBeginAllowThreads();
12699 {
12700 wxString const &_result_ref = (arg1)->GetReplaceString();
12701 result = (wxString *) &_result_ref;
12702 }
12703
12704 wxPyEndAllowThreads(__tstate);
12705 if (PyErr_Occurred()) SWIG_fail;
12706 }
12707 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12708 return resultobj;
12709 fail:
12710 return NULL;
12711}
12712
12713
12714static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12715 PyObject *resultobj;
12716 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12717 int result;
12718 PyObject * obj0 = 0 ;
12719 char *kwnames[] = {
12720 (char *) "self", NULL
12721 };
12722
12723 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12724 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12725 {
12726 PyThreadState* __tstate = wxPyBeginAllowThreads();
12727 result = (int)(arg1)->GetFlags();
12728
12729 wxPyEndAllowThreads(__tstate);
12730 if (PyErr_Occurred()) SWIG_fail;
12731 }
12732 resultobj = PyInt_FromLong((long)result);
12733 return resultobj;
12734 fail:
12735 return NULL;
12736}
12737
12738
12739static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12740 PyObject *resultobj;
12741 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12742 int arg2 ;
12743 PyObject * obj0 = 0 ;
12744 char *kwnames[] = {
12745 (char *) "self",(char *) "flags", NULL
12746 };
12747
12748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12750 {
12751 PyThreadState* __tstate = wxPyBeginAllowThreads();
12752 (arg1)->SetFlags(arg2);
12753
12754 wxPyEndAllowThreads(__tstate);
12755 if (PyErr_Occurred()) SWIG_fail;
12756 }
12757 Py_INCREF(Py_None); resultobj = Py_None;
12758 return resultobj;
12759 fail:
12760 return NULL;
12761}
12762
12763
12764static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12765 PyObject *resultobj;
12766 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12767 wxString *arg2 = 0 ;
12768 bool temp2 = false ;
12769 PyObject * obj0 = 0 ;
12770 PyObject * obj1 = 0 ;
12771 char *kwnames[] = {
12772 (char *) "self",(char *) "str", NULL
12773 };
12774
12775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12777 {
12778 arg2 = wxString_in_helper(obj1);
12779 if (arg2 == NULL) SWIG_fail;
12780 temp2 = true;
12781 }
12782 {
12783 PyThreadState* __tstate = wxPyBeginAllowThreads();
12784 (arg1)->SetFindString((wxString const &)*arg2);
12785
12786 wxPyEndAllowThreads(__tstate);
12787 if (PyErr_Occurred()) SWIG_fail;
12788 }
12789 Py_INCREF(Py_None); resultobj = Py_None;
12790 {
12791 if (temp2)
12792 delete arg2;
12793 }
12794 return resultobj;
12795 fail:
12796 {
12797 if (temp2)
12798 delete arg2;
12799 }
12800 return NULL;
12801}
12802
12803
12804static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12805 PyObject *resultobj;
12806 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12807 wxString *arg2 = 0 ;
12808 bool temp2 = false ;
12809 PyObject * obj0 = 0 ;
12810 PyObject * obj1 = 0 ;
12811 char *kwnames[] = {
12812 (char *) "self",(char *) "str", NULL
12813 };
12814
12815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12817 {
12818 arg2 = wxString_in_helper(obj1);
12819 if (arg2 == NULL) SWIG_fail;
12820 temp2 = true;
12821 }
12822 {
12823 PyThreadState* __tstate = wxPyBeginAllowThreads();
12824 (arg1)->SetReplaceString((wxString const &)*arg2);
12825
12826 wxPyEndAllowThreads(__tstate);
12827 if (PyErr_Occurred()) SWIG_fail;
12828 }
12829 Py_INCREF(Py_None); resultobj = Py_None;
12830 {
12831 if (temp2)
12832 delete arg2;
12833 }
12834 return resultobj;
12835 fail:
12836 {
12837 if (temp2)
12838 delete arg2;
12839 }
12840 return NULL;
12841}
12842
12843
12844static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12845 PyObject *obj;
12846 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12847 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12848 Py_INCREF(obj);
12849 return Py_BuildValue((char *)"");
12850}
12851static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12852 PyObject *resultobj;
12853 wxWindow *arg1 = (wxWindow *) 0 ;
12854 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12855 wxString *arg3 = 0 ;
12856 int arg4 = (int) 0 ;
12857 wxFindReplaceDialog *result;
12858 bool temp3 = false ;
12859 PyObject * obj0 = 0 ;
12860 PyObject * obj1 = 0 ;
12861 PyObject * obj2 = 0 ;
12862 char *kwnames[] = {
12863 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12864 };
12865
12866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12868 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12869 {
12870 arg3 = wxString_in_helper(obj2);
12871 if (arg3 == NULL) SWIG_fail;
12872 temp3 = true;
12873 }
12874 {
12875 PyThreadState* __tstate = wxPyBeginAllowThreads();
12876 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12877
12878 wxPyEndAllowThreads(__tstate);
12879 if (PyErr_Occurred()) SWIG_fail;
12880 }
12881 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12882 {
12883 if (temp3)
12884 delete arg3;
12885 }
12886 return resultobj;
12887 fail:
12888 {
12889 if (temp3)
12890 delete arg3;
12891 }
12892 return NULL;
12893}
12894
12895
12896static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12897 PyObject *resultobj;
12898 wxFindReplaceDialog *result;
12899 char *kwnames[] = {
12900 NULL
12901 };
12902
12903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12907
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12912 return resultobj;
12913 fail:
12914 return NULL;
12915}
12916
12917
12918static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12919 PyObject *resultobj;
12920 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12921 wxWindow *arg2 = (wxWindow *) 0 ;
12922 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12923 wxString *arg4 = 0 ;
12924 int arg5 = (int) 0 ;
12925 bool result;
12926 bool temp4 = false ;
12927 PyObject * obj0 = 0 ;
12928 PyObject * obj1 = 0 ;
12929 PyObject * obj2 = 0 ;
12930 PyObject * obj3 = 0 ;
12931 char *kwnames[] = {
12932 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12933 };
12934
12935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12936 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12937 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12938 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12939 {
12940 arg4 = wxString_in_helper(obj3);
12941 if (arg4 == NULL) SWIG_fail;
12942 temp4 = true;
12943 }
12944 {
12945 PyThreadState* __tstate = wxPyBeginAllowThreads();
12946 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12947
12948 wxPyEndAllowThreads(__tstate);
12949 if (PyErr_Occurred()) SWIG_fail;
12950 }
12951 resultobj = PyInt_FromLong((long)result);
12952 {
12953 if (temp4)
12954 delete arg4;
12955 }
12956 return resultobj;
12957 fail:
12958 {
12959 if (temp4)
12960 delete arg4;
12961 }
12962 return NULL;
12963}
12964
12965
12966static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12967 PyObject *resultobj;
12968 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12969 wxFindReplaceData *result;
12970 PyObject * obj0 = 0 ;
12971 char *kwnames[] = {
12972 (char *) "self", NULL
12973 };
12974
12975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 result = (wxFindReplaceData *)(arg1)->GetData();
12980
12981 wxPyEndAllowThreads(__tstate);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
12984 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12985 return resultobj;
12986 fail:
12987 return NULL;
12988}
12989
12990
12991static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12992 PyObject *resultobj;
12993 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12994 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12995 PyObject * obj0 = 0 ;
12996 PyObject * obj1 = 0 ;
12997 char *kwnames[] = {
12998 (char *) "self",(char *) "data", NULL
12999 };
13000
13001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
13002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13003 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13004 {
13005 PyThreadState* __tstate = wxPyBeginAllowThreads();
13006 (arg1)->SetData(arg2);
13007
13008 wxPyEndAllowThreads(__tstate);
13009 if (PyErr_Occurred()) SWIG_fail;
13010 }
13011 Py_INCREF(Py_None); resultobj = Py_None;
13012 return resultobj;
13013 fail:
13014 return NULL;
13015}
13016
13017
13018static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
13019 PyObject *obj;
13020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13021 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
13022 Py_INCREF(obj);
13023 return Py_BuildValue((char *)"");
13024}
13025static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13026 PyObject *resultobj;
13027 wxWindow *arg1 = (wxWindow *) 0 ;
13028 wxWindowID arg2 ;
13029 wxString *arg3 = 0 ;
13030 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13031 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13032 wxSize const &arg5_defvalue = wxDefaultSize ;
13033 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13034 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13035 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13036 wxString *arg7 = (wxString *) &arg7_defvalue ;
13037 wxMDIParentFrame *result;
13038 bool temp3 = false ;
13039 wxPoint temp4 ;
13040 wxSize temp5 ;
13041 bool temp7 = false ;
13042 PyObject * obj0 = 0 ;
13043 PyObject * obj2 = 0 ;
13044 PyObject * obj3 = 0 ;
13045 PyObject * obj4 = 0 ;
13046 PyObject * obj6 = 0 ;
13047 char *kwnames[] = {
13048 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13049 };
13050
13051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13053 {
13054 arg3 = wxString_in_helper(obj2);
13055 if (arg3 == NULL) SWIG_fail;
13056 temp3 = true;
13057 }
13058 if (obj3) {
13059 {
13060 arg4 = &temp4;
13061 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13062 }
13063 }
13064 if (obj4) {
13065 {
13066 arg5 = &temp5;
13067 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13068 }
13069 }
13070 if (obj6) {
13071 {
13072 arg7 = wxString_in_helper(obj6);
13073 if (arg7 == NULL) SWIG_fail;
13074 temp7 = true;
13075 }
13076 }
13077 {
13078 PyThreadState* __tstate = wxPyBeginAllowThreads();
13079 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13080
13081 wxPyEndAllowThreads(__tstate);
13082 if (PyErr_Occurred()) SWIG_fail;
13083 }
13084 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13085 {
13086 if (temp3)
13087 delete arg3;
13088 }
13089 {
13090 if (temp7)
13091 delete arg7;
13092 }
13093 return resultobj;
13094 fail:
13095 {
13096 if (temp3)
13097 delete arg3;
13098 }
13099 {
13100 if (temp7)
13101 delete arg7;
13102 }
13103 return NULL;
13104}
13105
13106
13107static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13108 PyObject *resultobj;
13109 wxMDIParentFrame *result;
13110 char *kwnames[] = {
13111 NULL
13112 };
13113
13114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13115 {
13116 PyThreadState* __tstate = wxPyBeginAllowThreads();
13117 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13118
13119 wxPyEndAllowThreads(__tstate);
13120 if (PyErr_Occurred()) SWIG_fail;
13121 }
13122 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13123 return resultobj;
13124 fail:
13125 return NULL;
13126}
13127
13128
13129static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13130 PyObject *resultobj;
13131 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13132 wxWindow *arg2 = (wxWindow *) 0 ;
13133 wxWindowID arg3 ;
13134 wxString *arg4 = 0 ;
13135 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13136 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13137 wxSize const &arg6_defvalue = wxDefaultSize ;
13138 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13139 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13140 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13141 wxString *arg8 = (wxString *) &arg8_defvalue ;
13142 bool result;
13143 bool temp4 = false ;
13144 wxPoint temp5 ;
13145 wxSize temp6 ;
13146 bool temp8 = false ;
13147 PyObject * obj0 = 0 ;
13148 PyObject * obj1 = 0 ;
13149 PyObject * obj3 = 0 ;
13150 PyObject * obj4 = 0 ;
13151 PyObject * obj5 = 0 ;
13152 PyObject * obj7 = 0 ;
13153 char *kwnames[] = {
13154 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13155 };
13156
13157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13159 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13160 {
13161 arg4 = wxString_in_helper(obj3);
13162 if (arg4 == NULL) SWIG_fail;
13163 temp4 = true;
13164 }
13165 if (obj4) {
13166 {
13167 arg5 = &temp5;
13168 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13169 }
13170 }
13171 if (obj5) {
13172 {
13173 arg6 = &temp6;
13174 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13175 }
13176 }
13177 if (obj7) {
13178 {
13179 arg8 = wxString_in_helper(obj7);
13180 if (arg8 == NULL) SWIG_fail;
13181 temp8 = true;
13182 }
13183 }
13184 {
13185 PyThreadState* __tstate = wxPyBeginAllowThreads();
13186 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13187
13188 wxPyEndAllowThreads(__tstate);
13189 if (PyErr_Occurred()) SWIG_fail;
13190 }
13191 resultobj = PyInt_FromLong((long)result);
13192 {
13193 if (temp4)
13194 delete arg4;
13195 }
13196 {
13197 if (temp8)
13198 delete arg8;
13199 }
13200 return resultobj;
13201 fail:
13202 {
13203 if (temp4)
13204 delete arg4;
13205 }
13206 {
13207 if (temp8)
13208 delete arg8;
13209 }
13210 return NULL;
13211}
13212
13213
13214static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
13215 PyObject *resultobj;
13216 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13217 PyObject * obj0 = 0 ;
13218 char *kwnames[] = {
13219 (char *) "self", NULL
13220 };
13221
13222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13224 {
13225 PyThreadState* __tstate = wxPyBeginAllowThreads();
13226 (arg1)->ActivateNext();
13227
13228 wxPyEndAllowThreads(__tstate);
13229 if (PyErr_Occurred()) SWIG_fail;
13230 }
13231 Py_INCREF(Py_None); resultobj = Py_None;
13232 return resultobj;
13233 fail:
13234 return NULL;
13235}
13236
13237
13238static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
13239 PyObject *resultobj;
13240 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13241 PyObject * obj0 = 0 ;
13242 char *kwnames[] = {
13243 (char *) "self", NULL
13244 };
13245
13246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13248 {
13249 PyThreadState* __tstate = wxPyBeginAllowThreads();
13250 (arg1)->ActivatePrevious();
13251
13252 wxPyEndAllowThreads(__tstate);
13253 if (PyErr_Occurred()) SWIG_fail;
13254 }
13255 Py_INCREF(Py_None); resultobj = Py_None;
13256 return resultobj;
13257 fail:
13258 return NULL;
13259}
13260
13261
13262static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
13263 PyObject *resultobj;
13264 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13265 PyObject * obj0 = 0 ;
13266 char *kwnames[] = {
13267 (char *) "self", NULL
13268 };
13269
13270 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13271 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13272 {
13273 PyThreadState* __tstate = wxPyBeginAllowThreads();
13274 (arg1)->ArrangeIcons();
13275
13276 wxPyEndAllowThreads(__tstate);
13277 if (PyErr_Occurred()) SWIG_fail;
13278 }
13279 Py_INCREF(Py_None); resultobj = Py_None;
13280 return resultobj;
13281 fail:
13282 return NULL;
13283}
13284
13285
13286static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
13287 PyObject *resultobj;
13288 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13289 PyObject * obj0 = 0 ;
13290 char *kwnames[] = {
13291 (char *) "self", NULL
13292 };
13293
13294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13296 {
13297 PyThreadState* __tstate = wxPyBeginAllowThreads();
13298 (arg1)->Cascade();
13299
13300 wxPyEndAllowThreads(__tstate);
13301 if (PyErr_Occurred()) SWIG_fail;
13302 }
13303 Py_INCREF(Py_None); resultobj = Py_None;
13304 return resultobj;
13305 fail:
13306 return NULL;
13307}
13308
13309
13310static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13311 PyObject *resultobj;
13312 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13313 wxMDIChildFrame *result;
13314 PyObject * obj0 = 0 ;
13315 char *kwnames[] = {
13316 (char *) "self", NULL
13317 };
13318
13319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13321 {
13322 PyThreadState* __tstate = wxPyBeginAllowThreads();
13323 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13324
13325 wxPyEndAllowThreads(__tstate);
13326 if (PyErr_Occurred()) SWIG_fail;
13327 }
13328 {
13329 resultobj = wxPyMake_wxObject(result);
13330 }
13331 return resultobj;
13332 fail:
13333 return NULL;
13334}
13335
13336
13337static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13338 PyObject *resultobj;
13339 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13340 wxMDIClientWindow *result;
13341 PyObject * obj0 = 0 ;
13342 char *kwnames[] = {
13343 (char *) "self", NULL
13344 };
13345
13346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13348 {
13349 PyThreadState* __tstate = wxPyBeginAllowThreads();
13350 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13351
13352 wxPyEndAllowThreads(__tstate);
13353 if (PyErr_Occurred()) SWIG_fail;
13354 }
13355 {
13356 resultobj = wxPyMake_wxObject(result);
13357 }
13358 return resultobj;
13359 fail:
13360 return NULL;
13361}
13362
13363
13364static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13365 PyObject *resultobj;
13366 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13367 wxWindow *result;
13368 PyObject * obj0 = 0 ;
13369 char *kwnames[] = {
13370 (char *) "self", NULL
13371 };
13372
13373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13375 {
13376 PyThreadState* __tstate = wxPyBeginAllowThreads();
13377 result = (wxWindow *)(arg1)->GetToolBar();
13378
13379 wxPyEndAllowThreads(__tstate);
13380 if (PyErr_Occurred()) SWIG_fail;
13381 }
13382 {
13383 resultobj = wxPyMake_wxObject(result);
13384 }
13385 return resultobj;
13386 fail:
13387 return NULL;
13388}
13389
13390
13391static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13392 PyObject *resultobj;
13393 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13394 wxMenu *result;
13395 PyObject * obj0 = 0 ;
13396 char *kwnames[] = {
13397 (char *) "self", NULL
13398 };
13399
13400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
13401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13402 {
13403 PyThreadState* __tstate = wxPyBeginAllowThreads();
13404 result = (wxMenu *)(arg1)->GetWindowMenu();
13405
13406 wxPyEndAllowThreads(__tstate);
13407 if (PyErr_Occurred()) SWIG_fail;
13408 }
13409 {
13410 resultobj = wxPyMake_wxObject(result);
13411 }
13412 return resultobj;
13413 fail:
13414 return NULL;
13415}
13416
13417
13418static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13421 wxMenu *arg2 = (wxMenu *) 0 ;
13422 PyObject * obj0 = 0 ;
13423 PyObject * obj1 = 0 ;
13424 char *kwnames[] = {
13425 (char *) "self",(char *) "menu", NULL
13426 };
13427
13428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
13429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13430 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13431 {
13432 PyThreadState* __tstate = wxPyBeginAllowThreads();
13433 (arg1)->SetWindowMenu(arg2);
13434
13435 wxPyEndAllowThreads(__tstate);
13436 if (PyErr_Occurred()) SWIG_fail;
13437 }
13438 Py_INCREF(Py_None); resultobj = Py_None;
13439 return resultobj;
13440 fail:
13441 return NULL;
13442}
13443
13444
13445static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13446 PyObject *resultobj;
13447 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13448 wxToolBar *arg2 = (wxToolBar *) 0 ;
13449 PyObject * obj0 = 0 ;
13450 PyObject * obj1 = 0 ;
13451 char *kwnames[] = {
13452 (char *) "self",(char *) "toolbar", NULL
13453 };
13454
13455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
13456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13457 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13458 {
13459 PyThreadState* __tstate = wxPyBeginAllowThreads();
13460 (arg1)->SetToolBar(arg2);
13461
13462 wxPyEndAllowThreads(__tstate);
13463 if (PyErr_Occurred()) SWIG_fail;
13464 }
13465 Py_INCREF(Py_None); resultobj = Py_None;
13466 return resultobj;
13467 fail:
13468 return NULL;
13469}
13470
13471
13472static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13473 PyObject *resultobj;
13474 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13475 PyObject * obj0 = 0 ;
13476 char *kwnames[] = {
13477 (char *) "self", NULL
13478 };
13479
13480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13482 {
13483 PyThreadState* __tstate = wxPyBeginAllowThreads();
13484 (arg1)->Tile();
13485
13486 wxPyEndAllowThreads(__tstate);
13487 if (PyErr_Occurred()) SWIG_fail;
13488 }
13489 Py_INCREF(Py_None); resultobj = Py_None;
13490 return resultobj;
13491 fail:
13492 return NULL;
13493}
13494
13495
13496static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13497 PyObject *obj;
13498 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13499 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13500 Py_INCREF(obj);
13501 return Py_BuildValue((char *)"");
13502}
13503static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13504 PyObject *resultobj;
13505 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13506 wxWindowID arg2 ;
13507 wxString *arg3 = 0 ;
13508 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13509 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13510 wxSize const &arg5_defvalue = wxDefaultSize ;
13511 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13512 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13513 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13514 wxString *arg7 = (wxString *) &arg7_defvalue ;
13515 wxMDIChildFrame *result;
13516 bool temp3 = false ;
13517 wxPoint temp4 ;
13518 wxSize temp5 ;
13519 bool temp7 = false ;
13520 PyObject * obj0 = 0 ;
13521 PyObject * obj2 = 0 ;
13522 PyObject * obj3 = 0 ;
13523 PyObject * obj4 = 0 ;
13524 PyObject * obj6 = 0 ;
13525 char *kwnames[] = {
13526 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13527 };
13528
13529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13531 {
13532 arg3 = wxString_in_helper(obj2);
13533 if (arg3 == NULL) SWIG_fail;
13534 temp3 = true;
13535 }
13536 if (obj3) {
13537 {
13538 arg4 = &temp4;
13539 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13540 }
13541 }
13542 if (obj4) {
13543 {
13544 arg5 = &temp5;
13545 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13546 }
13547 }
13548 if (obj6) {
13549 {
13550 arg7 = wxString_in_helper(obj6);
13551 if (arg7 == NULL) SWIG_fail;
13552 temp7 = true;
13553 }
13554 }
13555 {
13556 PyThreadState* __tstate = wxPyBeginAllowThreads();
13557 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13558
13559 wxPyEndAllowThreads(__tstate);
13560 if (PyErr_Occurred()) SWIG_fail;
13561 }
13562 {
13563 resultobj = wxPyMake_wxObject(result);
13564 }
13565 {
13566 if (temp3)
13567 delete arg3;
13568 }
13569 {
13570 if (temp7)
13571 delete arg7;
13572 }
13573 return resultobj;
13574 fail:
13575 {
13576 if (temp3)
13577 delete arg3;
13578 }
13579 {
13580 if (temp7)
13581 delete arg7;
13582 }
13583 return NULL;
13584}
13585
13586
13587static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13588 PyObject *resultobj;
13589 wxMDIChildFrame *result;
13590 char *kwnames[] = {
13591 NULL
13592 };
13593
13594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13595 {
13596 PyThreadState* __tstate = wxPyBeginAllowThreads();
13597 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13598
13599 wxPyEndAllowThreads(__tstate);
13600 if (PyErr_Occurred()) SWIG_fail;
13601 }
13602 {
13603 resultobj = wxPyMake_wxObject(result);
13604 }
13605 return resultobj;
13606 fail:
13607 return NULL;
13608}
13609
13610
13611static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13612 PyObject *resultobj;
13613 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13614 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13615 wxWindowID arg3 ;
13616 wxString *arg4 = 0 ;
13617 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13618 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13619 wxSize const &arg6_defvalue = wxDefaultSize ;
13620 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13621 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13622 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13623 wxString *arg8 = (wxString *) &arg8_defvalue ;
13624 bool result;
13625 bool temp4 = false ;
13626 wxPoint temp5 ;
13627 wxSize temp6 ;
13628 bool temp8 = false ;
13629 PyObject * obj0 = 0 ;
13630 PyObject * obj1 = 0 ;
13631 PyObject * obj3 = 0 ;
13632 PyObject * obj4 = 0 ;
13633 PyObject * obj5 = 0 ;
13634 PyObject * obj7 = 0 ;
13635 char *kwnames[] = {
13636 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13637 };
13638
13639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13641 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13642 {
13643 arg4 = wxString_in_helper(obj3);
13644 if (arg4 == NULL) SWIG_fail;
13645 temp4 = true;
13646 }
13647 if (obj4) {
13648 {
13649 arg5 = &temp5;
13650 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13651 }
13652 }
13653 if (obj5) {
13654 {
13655 arg6 = &temp6;
13656 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13657 }
13658 }
13659 if (obj7) {
13660 {
13661 arg8 = wxString_in_helper(obj7);
13662 if (arg8 == NULL) SWIG_fail;
13663 temp8 = true;
13664 }
13665 }
13666 {
13667 PyThreadState* __tstate = wxPyBeginAllowThreads();
13668 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13669
13670 wxPyEndAllowThreads(__tstate);
13671 if (PyErr_Occurred()) SWIG_fail;
13672 }
13673 resultobj = PyInt_FromLong((long)result);
13674 {
13675 if (temp4)
13676 delete arg4;
13677 }
13678 {
13679 if (temp8)
13680 delete arg8;
13681 }
13682 return resultobj;
13683 fail:
13684 {
13685 if (temp4)
13686 delete arg4;
13687 }
13688 {
13689 if (temp8)
13690 delete arg8;
13691 }
13692 return NULL;
13693}
13694
13695
13696static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13697 PyObject *resultobj;
13698 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13699 PyObject * obj0 = 0 ;
13700 char *kwnames[] = {
13701 (char *) "self", NULL
13702 };
13703
13704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13706 {
13707 PyThreadState* __tstate = wxPyBeginAllowThreads();
13708 (arg1)->Activate();
13709
13710 wxPyEndAllowThreads(__tstate);
13711 if (PyErr_Occurred()) SWIG_fail;
13712 }
13713 Py_INCREF(Py_None); resultobj = Py_None;
13714 return resultobj;
13715 fail:
13716 return NULL;
13717}
13718
13719
13720static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13721 PyObject *resultobj;
13722 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13723 bool arg2 ;
13724 PyObject * obj0 = 0 ;
13725 PyObject * obj1 = 0 ;
13726 char *kwnames[] = {
13727 (char *) "self",(char *) "maximize", NULL
13728 };
13729
13730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13732 arg2 = PyInt_AsLong(obj1) ? true : false;
13733 if (PyErr_Occurred()) SWIG_fail;
13734 {
13735 PyThreadState* __tstate = wxPyBeginAllowThreads();
13736 (arg1)->Maximize(arg2);
13737
13738 wxPyEndAllowThreads(__tstate);
13739 if (PyErr_Occurred()) SWIG_fail;
13740 }
13741 Py_INCREF(Py_None); resultobj = Py_None;
13742 return resultobj;
13743 fail:
13744 return NULL;
13745}
13746
13747
13748static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13749 PyObject *resultobj;
13750 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13751 PyObject * obj0 = 0 ;
13752 char *kwnames[] = {
13753 (char *) "self", NULL
13754 };
13755
13756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13758 {
13759 PyThreadState* __tstate = wxPyBeginAllowThreads();
13760 (arg1)->Restore();
13761
13762 wxPyEndAllowThreads(__tstate);
13763 if (PyErr_Occurred()) SWIG_fail;
13764 }
13765 Py_INCREF(Py_None); resultobj = Py_None;
13766 return resultobj;
13767 fail:
13768 return NULL;
13769}
13770
13771
13772static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13773 PyObject *obj;
13774 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13775 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13776 Py_INCREF(obj);
13777 return Py_BuildValue((char *)"");
13778}
13779static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13780 PyObject *resultobj;
13781 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13782 long arg2 = (long) 0 ;
13783 wxMDIClientWindow *result;
13784 PyObject * obj0 = 0 ;
13785 char *kwnames[] = {
13786 (char *) "parent",(char *) "style", NULL
13787 };
13788
13789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13791 {
13792 PyThreadState* __tstate = wxPyBeginAllowThreads();
13793 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13794
13795 wxPyEndAllowThreads(__tstate);
13796 if (PyErr_Occurred()) SWIG_fail;
13797 }
13798 {
13799 resultobj = wxPyMake_wxObject(result);
13800 }
13801 return resultobj;
13802 fail:
13803 return NULL;
13804}
13805
13806
13807static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13808 PyObject *resultobj;
13809 wxMDIClientWindow *result;
13810 char *kwnames[] = {
13811 NULL
13812 };
13813
13814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13815 {
13816 PyThreadState* __tstate = wxPyBeginAllowThreads();
13817 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13818
13819 wxPyEndAllowThreads(__tstate);
13820 if (PyErr_Occurred()) SWIG_fail;
13821 }
13822 {
13823 resultobj = wxPyMake_wxObject(result);
13824 }
13825 return resultobj;
13826 fail:
13827 return NULL;
13828}
13829
13830
13831static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13832 PyObject *resultobj;
13833 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13834 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13835 long arg3 = (long) 0 ;
13836 bool result;
13837 PyObject * obj0 = 0 ;
13838 PyObject * obj1 = 0 ;
13839 char *kwnames[] = {
13840 (char *) "self",(char *) "parent",(char *) "style", NULL
13841 };
13842
13843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13845 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13846 {
13847 PyThreadState* __tstate = wxPyBeginAllowThreads();
13848 result = (bool)(arg1)->Create(arg2,arg3);
13849
13850 wxPyEndAllowThreads(__tstate);
13851 if (PyErr_Occurred()) SWIG_fail;
13852 }
13853 resultobj = PyInt_FromLong((long)result);
13854 return resultobj;
13855 fail:
13856 return NULL;
13857}
13858
13859
13860static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13861 PyObject *obj;
13862 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13863 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13864 Py_INCREF(obj);
13865 return Py_BuildValue((char *)"");
13866}
13867static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13868 PyObject *resultobj;
13869 wxWindow *arg1 = (wxWindow *) 0 ;
13870 wxWindowID arg2 ;
13871 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13872 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13873 wxSize const &arg4_defvalue = wxDefaultSize ;
13874 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13875 long arg5 = (long) 0 ;
13876 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13877 wxString *arg6 = (wxString *) &arg6_defvalue ;
13878 wxPyWindow *result;
13879 wxPoint temp3 ;
13880 wxSize temp4 ;
13881 bool temp6 = false ;
13882 PyObject * obj0 = 0 ;
13883 PyObject * obj2 = 0 ;
13884 PyObject * obj3 = 0 ;
13885 PyObject * obj5 = 0 ;
13886 char *kwnames[] = {
13887 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13888 };
13889
13890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13892 if (obj2) {
13893 {
13894 arg3 = &temp3;
13895 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13896 }
13897 }
13898 if (obj3) {
13899 {
13900 arg4 = &temp4;
13901 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13902 }
13903 }
13904 if (obj5) {
13905 {
13906 arg6 = wxString_in_helper(obj5);
13907 if (arg6 == NULL) SWIG_fail;
13908 temp6 = true;
13909 }
13910 }
13911 {
13912 PyThreadState* __tstate = wxPyBeginAllowThreads();
13913 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13914
13915 wxPyEndAllowThreads(__tstate);
13916 if (PyErr_Occurred()) SWIG_fail;
13917 }
13918 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13919 {
13920 if (temp6)
13921 delete arg6;
13922 }
13923 return resultobj;
13924 fail:
13925 {
13926 if (temp6)
13927 delete arg6;
13928 }
13929 return NULL;
13930}
13931
13932
13933static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13934 PyObject *resultobj;
13935 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13936 PyObject *arg2 = (PyObject *) 0 ;
13937 PyObject *arg3 = (PyObject *) 0 ;
13938 PyObject * obj0 = 0 ;
13939 PyObject * obj1 = 0 ;
13940 PyObject * obj2 = 0 ;
13941 char *kwnames[] = {
13942 (char *) "self",(char *) "self",(char *) "_class", NULL
13943 };
13944
13945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13947 arg2 = obj1;
13948 arg3 = obj2;
13949 {
13950 PyThreadState* __tstate = wxPyBeginAllowThreads();
13951 (arg1)->_setCallbackInfo(arg2,arg3);
13952
13953 wxPyEndAllowThreads(__tstate);
13954 if (PyErr_Occurred()) SWIG_fail;
13955 }
13956 Py_INCREF(Py_None); resultobj = Py_None;
13957 return resultobj;
13958 fail:
13959 return NULL;
13960}
13961
13962
13963static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13964 PyObject *resultobj;
13965 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13966 int arg2 ;
13967 int arg3 ;
13968 int arg4 ;
13969 int arg5 ;
13970 PyObject * obj0 = 0 ;
13971 char *kwnames[] = {
13972 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13973 };
13974
13975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13977 {
13978 PyThreadState* __tstate = wxPyBeginAllowThreads();
13979 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13980
13981 wxPyEndAllowThreads(__tstate);
13982 if (PyErr_Occurred()) SWIG_fail;
13983 }
13984 Py_INCREF(Py_None); resultobj = Py_None;
13985 return resultobj;
13986 fail:
13987 return NULL;
13988}
13989
13990
13991static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13992 PyObject *resultobj;
13993 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13994 int arg2 ;
13995 int arg3 ;
13996 int arg4 ;
13997 int arg5 ;
13998 int arg6 = (int) wxSIZE_AUTO ;
13999 PyObject * obj0 = 0 ;
14000 char *kwnames[] = {
14001 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14002 };
14003
14004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14006 {
14007 PyThreadState* __tstate = wxPyBeginAllowThreads();
14008 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14009
14010 wxPyEndAllowThreads(__tstate);
14011 if (PyErr_Occurred()) SWIG_fail;
14012 }
14013 Py_INCREF(Py_None); resultobj = Py_None;
14014 return resultobj;
14015 fail:
14016 return NULL;
14017}
14018
14019
14020static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14021 PyObject *resultobj;
14022 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14023 int arg2 ;
14024 int arg3 ;
14025 PyObject * obj0 = 0 ;
14026 char *kwnames[] = {
14027 (char *) "self",(char *) "width",(char *) "height", NULL
14028 };
14029
14030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 (arg1)->base_DoSetClientSize(arg2,arg3);
14035
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 Py_INCREF(Py_None); resultobj = Py_None;
14040 return resultobj;
14041 fail:
14042 return NULL;
14043}
14044
14045
14046static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14047 PyObject *resultobj;
14048 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14049 int arg2 ;
14050 int arg3 ;
14051 PyObject * obj0 = 0 ;
14052 char *kwnames[] = {
14053 (char *) "self",(char *) "x",(char *) "y", NULL
14054 };
14055
14056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14058 {
14059 PyThreadState* __tstate = wxPyBeginAllowThreads();
14060 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14061
14062 wxPyEndAllowThreads(__tstate);
14063 if (PyErr_Occurred()) SWIG_fail;
14064 }
14065 Py_INCREF(Py_None); resultobj = Py_None;
14066 return resultobj;
14067 fail:
14068 return NULL;
14069}
14070
14071
14072static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14073 PyObject *resultobj;
14074 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14075 int *arg2 = (int *) 0 ;
14076 int *arg3 = (int *) 0 ;
14077 int temp2 ;
14078 int temp3 ;
14079 PyObject * obj0 = 0 ;
14080 char *kwnames[] = {
14081 (char *) "self", NULL
14082 };
14083
14084 arg2 = &temp2;
14085 arg3 = &temp3;
14086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
14087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
14091
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 Py_INCREF(Py_None); resultobj = Py_None;
14096 {
14097 PyObject *o = PyInt_FromLong((long) (*arg2));
14098 resultobj = t_output_helper(resultobj,o);
14099 }
14100 {
14101 PyObject *o = PyInt_FromLong((long) (*arg3));
14102 resultobj = t_output_helper(resultobj,o);
14103 }
14104 return resultobj;
14105 fail:
14106 return NULL;
14107}
14108
14109
14110static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14111 PyObject *resultobj;
14112 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14113 int *arg2 = (int *) 0 ;
14114 int *arg3 = (int *) 0 ;
14115 int temp2 ;
14116 int temp3 ;
14117 PyObject * obj0 = 0 ;
14118 char *kwnames[] = {
14119 (char *) "self", NULL
14120 };
14121
14122 arg2 = &temp2;
14123 arg3 = &temp3;
14124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14126 {
14127 PyThreadState* __tstate = wxPyBeginAllowThreads();
14128 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
14129
14130 wxPyEndAllowThreads(__tstate);
14131 if (PyErr_Occurred()) SWIG_fail;
14132 }
14133 Py_INCREF(Py_None); resultobj = Py_None;
14134 {
14135 PyObject *o = PyInt_FromLong((long) (*arg2));
14136 resultobj = t_output_helper(resultobj,o);
14137 }
14138 {
14139 PyObject *o = PyInt_FromLong((long) (*arg3));
14140 resultobj = t_output_helper(resultobj,o);
14141 }
14142 return resultobj;
14143 fail:
14144 return NULL;
14145}
14146
14147
14148static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14149 PyObject *resultobj;
14150 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14151 int *arg2 = (int *) 0 ;
14152 int *arg3 = (int *) 0 ;
14153 int temp2 ;
14154 int temp3 ;
14155 PyObject * obj0 = 0 ;
14156 char *kwnames[] = {
14157 (char *) "self", NULL
14158 };
14159
14160 arg2 = &temp2;
14161 arg3 = &temp3;
14162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
14163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14164 {
14165 PyThreadState* __tstate = wxPyBeginAllowThreads();
14166 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
14167
14168 wxPyEndAllowThreads(__tstate);
14169 if (PyErr_Occurred()) SWIG_fail;
14170 }
14171 Py_INCREF(Py_None); resultobj = Py_None;
14172 {
14173 PyObject *o = PyInt_FromLong((long) (*arg2));
14174 resultobj = t_output_helper(resultobj,o);
14175 }
14176 {
14177 PyObject *o = PyInt_FromLong((long) (*arg3));
14178 resultobj = t_output_helper(resultobj,o);
14179 }
14180 return resultobj;
14181 fail:
14182 return NULL;
14183}
14184
14185
14186static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14187 PyObject *resultobj;
14188 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14189 wxSize result;
14190 PyObject * obj0 = 0 ;
14191 char *kwnames[] = {
14192 (char *) "self", NULL
14193 };
14194
14195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14197 {
14198 PyThreadState* __tstate = wxPyBeginAllowThreads();
14199 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
14200
14201 wxPyEndAllowThreads(__tstate);
14202 if (PyErr_Occurred()) SWIG_fail;
14203 }
14204 {
14205 wxSize * resultptr;
14206 resultptr = new wxSize((wxSize &) result);
14207 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14208 }
14209 return resultobj;
14210 fail:
14211 return NULL;
14212}
14213
14214
14215static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14216 PyObject *resultobj;
14217 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14218 wxSize result;
14219 PyObject * obj0 = 0 ;
14220 char *kwnames[] = {
14221 (char *) "self", NULL
14222 };
14223
14224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14226 {
14227 PyThreadState* __tstate = wxPyBeginAllowThreads();
14228 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
14229
14230 wxPyEndAllowThreads(__tstate);
14231 if (PyErr_Occurred()) SWIG_fail;
14232 }
14233 {
14234 wxSize * resultptr;
14235 resultptr = new wxSize((wxSize &) result);
14236 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14237 }
14238 return resultobj;
14239 fail:
14240 return NULL;
14241}
14242
14243
14244static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14245 PyObject *resultobj;
14246 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14247 PyObject * obj0 = 0 ;
14248 char *kwnames[] = {
14249 (char *) "self", NULL
14250 };
14251
14252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
14253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14254 {
14255 PyThreadState* __tstate = wxPyBeginAllowThreads();
14256 (arg1)->base_InitDialog();
14257
14258 wxPyEndAllowThreads(__tstate);
14259 if (PyErr_Occurred()) SWIG_fail;
14260 }
14261 Py_INCREF(Py_None); resultobj = Py_None;
14262 return resultobj;
14263 fail:
14264 return NULL;
14265}
14266
14267
14268static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14269 PyObject *resultobj;
14270 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14271 bool result;
14272 PyObject * obj0 = 0 ;
14273 char *kwnames[] = {
14274 (char *) "self", NULL
14275 };
14276
14277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14279 {
14280 PyThreadState* __tstate = wxPyBeginAllowThreads();
14281 result = (bool)(arg1)->base_TransferDataToWindow();
14282
14283 wxPyEndAllowThreads(__tstate);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 resultobj = PyInt_FromLong((long)result);
14287 return resultobj;
14288 fail:
14289 return NULL;
14290}
14291
14292
14293static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14294 PyObject *resultobj;
14295 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14296 bool result;
14297 PyObject * obj0 = 0 ;
14298 char *kwnames[] = {
14299 (char *) "self", NULL
14300 };
14301
14302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14304 {
14305 PyThreadState* __tstate = wxPyBeginAllowThreads();
14306 result = (bool)(arg1)->base_TransferDataFromWindow();
14307
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 resultobj = PyInt_FromLong((long)result);
14312 return resultobj;
14313 fail:
14314 return NULL;
14315}
14316
14317
14318static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14319 PyObject *resultobj;
14320 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14321 bool result;
14322 PyObject * obj0 = 0 ;
14323 char *kwnames[] = {
14324 (char *) "self", NULL
14325 };
14326
14327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
14328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14329 {
14330 PyThreadState* __tstate = wxPyBeginAllowThreads();
14331 result = (bool)(arg1)->base_Validate();
14332
14333 wxPyEndAllowThreads(__tstate);
14334 if (PyErr_Occurred()) SWIG_fail;
14335 }
14336 resultobj = PyInt_FromLong((long)result);
14337 return resultobj;
14338 fail:
14339 return NULL;
14340}
14341
14342
14343static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14344 PyObject *resultobj;
14345 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14346 bool result;
14347 PyObject * obj0 = 0 ;
14348 char *kwnames[] = {
14349 (char *) "self", NULL
14350 };
14351
14352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14354 {
14355 PyThreadState* __tstate = wxPyBeginAllowThreads();
14356 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14357
14358 wxPyEndAllowThreads(__tstate);
14359 if (PyErr_Occurred()) SWIG_fail;
14360 }
14361 resultobj = PyInt_FromLong((long)result);
14362 return resultobj;
14363 fail:
14364 return NULL;
14365}
14366
14367
14368static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14369 PyObject *resultobj;
14370 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14371 bool result;
14372 PyObject * obj0 = 0 ;
14373 char *kwnames[] = {
14374 (char *) "self", NULL
14375 };
14376
14377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14379 {
14380 PyThreadState* __tstate = wxPyBeginAllowThreads();
14381 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14382
14383 wxPyEndAllowThreads(__tstate);
14384 if (PyErr_Occurred()) SWIG_fail;
14385 }
14386 resultobj = PyInt_FromLong((long)result);
14387 return resultobj;
14388 fail:
14389 return NULL;
14390}
14391
14392
14393static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14394 PyObject *resultobj;
14395 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14396 wxSize result;
14397 PyObject * obj0 = 0 ;
14398 char *kwnames[] = {
14399 (char *) "self", NULL
14400 };
14401
14402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14404 {
14405 PyThreadState* __tstate = wxPyBeginAllowThreads();
14406 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14407
14408 wxPyEndAllowThreads(__tstate);
14409 if (PyErr_Occurred()) SWIG_fail;
14410 }
14411 {
14412 wxSize * resultptr;
14413 resultptr = new wxSize((wxSize &) result);
14414 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14415 }
14416 return resultobj;
14417 fail:
14418 return NULL;
14419}
14420
14421
14422static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14423 PyObject *resultobj;
14424 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14425 wxWindow *arg2 = (wxWindow *) 0 ;
14426 PyObject * obj0 = 0 ;
14427 PyObject * obj1 = 0 ;
14428 char *kwnames[] = {
14429 (char *) "self",(char *) "child", NULL
14430 };
14431
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14434 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14435 {
14436 PyThreadState* __tstate = wxPyBeginAllowThreads();
14437 (arg1)->base_AddChild(arg2);
14438
14439 wxPyEndAllowThreads(__tstate);
14440 if (PyErr_Occurred()) SWIG_fail;
14441 }
14442 Py_INCREF(Py_None); resultobj = Py_None;
14443 return resultobj;
14444 fail:
14445 return NULL;
14446}
14447
14448
14449static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14450 PyObject *resultobj;
14451 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14452 wxWindow *arg2 = (wxWindow *) 0 ;
14453 PyObject * obj0 = 0 ;
14454 PyObject * obj1 = 0 ;
14455 char *kwnames[] = {
14456 (char *) "self",(char *) "child", NULL
14457 };
14458
14459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14462 {
14463 PyThreadState* __tstate = wxPyBeginAllowThreads();
14464 (arg1)->base_RemoveChild(arg2);
14465
14466 wxPyEndAllowThreads(__tstate);
14467 if (PyErr_Occurred()) SWIG_fail;
14468 }
14469 Py_INCREF(Py_None); resultobj = Py_None;
14470 return resultobj;
14471 fail:
14472 return NULL;
14473}
14474
14475
14476static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14477 PyObject *obj;
14478 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14479 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14480 Py_INCREF(obj);
14481 return Py_BuildValue((char *)"");
14482}
14483static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14484 PyObject *resultobj;
14485 wxWindow *arg1 = (wxWindow *) 0 ;
14486 wxWindowID arg2 ;
14487 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14488 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14489 wxSize const &arg4_defvalue = wxDefaultSize ;
14490 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14491 long arg5 = (long) 0 ;
14492 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14493 wxString *arg6 = (wxString *) &arg6_defvalue ;
14494 wxPyPanel *result;
14495 wxPoint temp3 ;
14496 wxSize temp4 ;
14497 bool temp6 = false ;
14498 PyObject * obj0 = 0 ;
14499 PyObject * obj2 = 0 ;
14500 PyObject * obj3 = 0 ;
14501 PyObject * obj5 = 0 ;
14502 char *kwnames[] = {
14503 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14504 };
14505
14506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14508 if (obj2) {
14509 {
14510 arg3 = &temp3;
14511 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14512 }
14513 }
14514 if (obj3) {
14515 {
14516 arg4 = &temp4;
14517 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14518 }
14519 }
14520 if (obj5) {
14521 {
14522 arg6 = wxString_in_helper(obj5);
14523 if (arg6 == NULL) SWIG_fail;
14524 temp6 = true;
14525 }
14526 }
14527 {
14528 PyThreadState* __tstate = wxPyBeginAllowThreads();
14529 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14530
14531 wxPyEndAllowThreads(__tstate);
14532 if (PyErr_Occurred()) SWIG_fail;
14533 }
14534 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14535 {
14536 if (temp6)
14537 delete arg6;
14538 }
14539 return resultobj;
14540 fail:
14541 {
14542 if (temp6)
14543 delete arg6;
14544 }
14545 return NULL;
14546}
14547
14548
14549static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14550 PyObject *resultobj;
14551 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14552 PyObject *arg2 = (PyObject *) 0 ;
14553 PyObject *arg3 = (PyObject *) 0 ;
14554 PyObject * obj0 = 0 ;
14555 PyObject * obj1 = 0 ;
14556 PyObject * obj2 = 0 ;
14557 char *kwnames[] = {
14558 (char *) "self",(char *) "self",(char *) "_class", NULL
14559 };
14560
14561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14563 arg2 = obj1;
14564 arg3 = obj2;
14565 {
14566 PyThreadState* __tstate = wxPyBeginAllowThreads();
14567 (arg1)->_setCallbackInfo(arg2,arg3);
14568
14569 wxPyEndAllowThreads(__tstate);
14570 if (PyErr_Occurred()) SWIG_fail;
14571 }
14572 Py_INCREF(Py_None); resultobj = Py_None;
14573 return resultobj;
14574 fail:
14575 return NULL;
14576}
14577
14578
14579static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14580 PyObject *resultobj;
14581 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14582 int arg2 ;
14583 int arg3 ;
14584 int arg4 ;
14585 int arg5 ;
14586 PyObject * obj0 = 0 ;
14587 char *kwnames[] = {
14588 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14589 };
14590
14591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14593 {
14594 PyThreadState* __tstate = wxPyBeginAllowThreads();
14595 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14596
14597 wxPyEndAllowThreads(__tstate);
14598 if (PyErr_Occurred()) SWIG_fail;
14599 }
14600 Py_INCREF(Py_None); resultobj = Py_None;
14601 return resultobj;
14602 fail:
14603 return NULL;
14604}
14605
14606
14607static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14608 PyObject *resultobj;
14609 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14610 int arg2 ;
14611 int arg3 ;
14612 int arg4 ;
14613 int arg5 ;
14614 int arg6 = (int) wxSIZE_AUTO ;
14615 PyObject * obj0 = 0 ;
14616 char *kwnames[] = {
14617 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14618 };
14619
14620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14622 {
14623 PyThreadState* __tstate = wxPyBeginAllowThreads();
14624 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14625
14626 wxPyEndAllowThreads(__tstate);
14627 if (PyErr_Occurred()) SWIG_fail;
14628 }
14629 Py_INCREF(Py_None); resultobj = Py_None;
14630 return resultobj;
14631 fail:
14632 return NULL;
14633}
14634
14635
14636static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14637 PyObject *resultobj;
14638 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14639 int arg2 ;
14640 int arg3 ;
14641 PyObject * obj0 = 0 ;
14642 char *kwnames[] = {
14643 (char *) "self",(char *) "width",(char *) "height", NULL
14644 };
14645
14646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14648 {
14649 PyThreadState* __tstate = wxPyBeginAllowThreads();
14650 (arg1)->base_DoSetClientSize(arg2,arg3);
14651
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 Py_INCREF(Py_None); resultobj = Py_None;
14656 return resultobj;
14657 fail:
14658 return NULL;
14659}
14660
14661
14662static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj;
14664 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14665 int arg2 ;
14666 int arg3 ;
14667 PyObject * obj0 = 0 ;
14668 char *kwnames[] = {
14669 (char *) "self",(char *) "x",(char *) "y", NULL
14670 };
14671
14672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14674 {
14675 PyThreadState* __tstate = wxPyBeginAllowThreads();
14676 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14677
14678 wxPyEndAllowThreads(__tstate);
14679 if (PyErr_Occurred()) SWIG_fail;
14680 }
14681 Py_INCREF(Py_None); resultobj = Py_None;
14682 return resultobj;
14683 fail:
14684 return NULL;
14685}
14686
14687
14688static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14689 PyObject *resultobj;
14690 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14691 int *arg2 = (int *) 0 ;
14692 int *arg3 = (int *) 0 ;
14693 int temp2 ;
14694 int temp3 ;
14695 PyObject * obj0 = 0 ;
14696 char *kwnames[] = {
14697 (char *) "self", NULL
14698 };
14699
14700 arg2 = &temp2;
14701 arg3 = &temp3;
14702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14707
14708 wxPyEndAllowThreads(__tstate);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 Py_INCREF(Py_None); resultobj = Py_None;
14712 {
14713 PyObject *o = PyInt_FromLong((long) (*arg2));
14714 resultobj = t_output_helper(resultobj,o);
14715 }
14716 {
14717 PyObject *o = PyInt_FromLong((long) (*arg3));
14718 resultobj = t_output_helper(resultobj,o);
14719 }
14720 return resultobj;
14721 fail:
14722 return NULL;
14723}
14724
14725
14726static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14727 PyObject *resultobj;
14728 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14729 int *arg2 = (int *) 0 ;
14730 int *arg3 = (int *) 0 ;
14731 int temp2 ;
14732 int temp3 ;
14733 PyObject * obj0 = 0 ;
14734 char *kwnames[] = {
14735 (char *) "self", NULL
14736 };
14737
14738 arg2 = &temp2;
14739 arg3 = &temp3;
14740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14745
14746 wxPyEndAllowThreads(__tstate);
14747 if (PyErr_Occurred()) SWIG_fail;
14748 }
14749 Py_INCREF(Py_None); resultobj = Py_None;
14750 {
14751 PyObject *o = PyInt_FromLong((long) (*arg2));
14752 resultobj = t_output_helper(resultobj,o);
14753 }
14754 {
14755 PyObject *o = PyInt_FromLong((long) (*arg3));
14756 resultobj = t_output_helper(resultobj,o);
14757 }
14758 return resultobj;
14759 fail:
14760 return NULL;
14761}
14762
14763
14764static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14765 PyObject *resultobj;
14766 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14767 int *arg2 = (int *) 0 ;
14768 int *arg3 = (int *) 0 ;
14769 int temp2 ;
14770 int temp3 ;
14771 PyObject * obj0 = 0 ;
14772 char *kwnames[] = {
14773 (char *) "self", NULL
14774 };
14775
14776 arg2 = &temp2;
14777 arg3 = &temp3;
14778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14780 {
14781 PyThreadState* __tstate = wxPyBeginAllowThreads();
14782 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14783
14784 wxPyEndAllowThreads(__tstate);
14785 if (PyErr_Occurred()) SWIG_fail;
14786 }
14787 Py_INCREF(Py_None); resultobj = Py_None;
14788 {
14789 PyObject *o = PyInt_FromLong((long) (*arg2));
14790 resultobj = t_output_helper(resultobj,o);
14791 }
14792 {
14793 PyObject *o = PyInt_FromLong((long) (*arg3));
14794 resultobj = t_output_helper(resultobj,o);
14795 }
14796 return resultobj;
14797 fail:
14798 return NULL;
14799}
14800
14801
14802static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14803 PyObject *resultobj;
14804 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14805 wxSize result;
14806 PyObject * obj0 = 0 ;
14807 char *kwnames[] = {
14808 (char *) "self", NULL
14809 };
14810
14811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14813 {
14814 PyThreadState* __tstate = wxPyBeginAllowThreads();
14815 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14816
14817 wxPyEndAllowThreads(__tstate);
14818 if (PyErr_Occurred()) SWIG_fail;
14819 }
14820 {
14821 wxSize * resultptr;
14822 resultptr = new wxSize((wxSize &) result);
14823 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14824 }
14825 return resultobj;
14826 fail:
14827 return NULL;
14828}
14829
14830
14831static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14832 PyObject *resultobj;
14833 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14834 wxSize result;
14835 PyObject * obj0 = 0 ;
14836 char *kwnames[] = {
14837 (char *) "self", NULL
14838 };
14839
14840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14842 {
14843 PyThreadState* __tstate = wxPyBeginAllowThreads();
14844 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14845
14846 wxPyEndAllowThreads(__tstate);
14847 if (PyErr_Occurred()) SWIG_fail;
14848 }
14849 {
14850 wxSize * resultptr;
14851 resultptr = new wxSize((wxSize &) result);
14852 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14853 }
14854 return resultobj;
14855 fail:
14856 return NULL;
14857}
14858
14859
14860static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14861 PyObject *resultobj;
14862 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14863 PyObject * obj0 = 0 ;
14864 char *kwnames[] = {
14865 (char *) "self", NULL
14866 };
14867
14868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14870 {
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 (arg1)->base_InitDialog();
14873
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
14877 Py_INCREF(Py_None); resultobj = Py_None;
14878 return resultobj;
14879 fail:
14880 return NULL;
14881}
14882
14883
14884static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14887 bool result;
14888 PyObject * obj0 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (bool)(arg1)->base_TransferDataToWindow();
14898
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 resultobj = PyInt_FromLong((long)result);
14903 return resultobj;
14904 fail:
14905 return NULL;
14906}
14907
14908
14909static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj;
14911 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14912 bool result;
14913 PyObject * obj0 = 0 ;
14914 char *kwnames[] = {
14915 (char *) "self", NULL
14916 };
14917
14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14920 {
14921 PyThreadState* __tstate = wxPyBeginAllowThreads();
14922 result = (bool)(arg1)->base_TransferDataFromWindow();
14923
14924 wxPyEndAllowThreads(__tstate);
14925 if (PyErr_Occurred()) SWIG_fail;
14926 }
14927 resultobj = PyInt_FromLong((long)result);
14928 return resultobj;
14929 fail:
14930 return NULL;
14931}
14932
14933
14934static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14935 PyObject *resultobj;
14936 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14937 bool result;
14938 PyObject * obj0 = 0 ;
14939 char *kwnames[] = {
14940 (char *) "self", NULL
14941 };
14942
14943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14945 {
14946 PyThreadState* __tstate = wxPyBeginAllowThreads();
14947 result = (bool)(arg1)->base_Validate();
14948
14949 wxPyEndAllowThreads(__tstate);
14950 if (PyErr_Occurred()) SWIG_fail;
14951 }
14952 resultobj = PyInt_FromLong((long)result);
14953 return resultobj;
14954 fail:
14955 return NULL;
14956}
14957
14958
14959static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14960 PyObject *resultobj;
14961 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14962 bool result;
14963 PyObject * obj0 = 0 ;
14964 char *kwnames[] = {
14965 (char *) "self", NULL
14966 };
14967
14968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14970 {
14971 PyThreadState* __tstate = wxPyBeginAllowThreads();
14972 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14973
14974 wxPyEndAllowThreads(__tstate);
14975 if (PyErr_Occurred()) SWIG_fail;
14976 }
14977 resultobj = PyInt_FromLong((long)result);
14978 return resultobj;
14979 fail:
14980 return NULL;
14981}
14982
14983
14984static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14985 PyObject *resultobj;
14986 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14987 bool result;
14988 PyObject * obj0 = 0 ;
14989 char *kwnames[] = {
14990 (char *) "self", NULL
14991 };
14992
14993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14995 {
14996 PyThreadState* __tstate = wxPyBeginAllowThreads();
14997 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14998
14999 wxPyEndAllowThreads(__tstate);
15000 if (PyErr_Occurred()) SWIG_fail;
15001 }
15002 resultobj = PyInt_FromLong((long)result);
15003 return resultobj;
15004 fail:
15005 return NULL;
15006}
15007
15008
15009static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15010 PyObject *resultobj;
15011 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15012 wxSize result;
15013 PyObject * obj0 = 0 ;
15014 char *kwnames[] = {
15015 (char *) "self", NULL
15016 };
15017
15018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
15019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15020 {
15021 PyThreadState* __tstate = wxPyBeginAllowThreads();
15022 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
15023
15024 wxPyEndAllowThreads(__tstate);
15025 if (PyErr_Occurred()) SWIG_fail;
15026 }
15027 {
15028 wxSize * resultptr;
15029 resultptr = new wxSize((wxSize &) result);
15030 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
15031 }
15032 return resultobj;
15033 fail:
15034 return NULL;
15035}
15036
15037
15038static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15039 PyObject *resultobj;
15040 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15041 wxWindow *arg2 = (wxWindow *) 0 ;
15042 PyObject * obj0 = 0 ;
15043 PyObject * obj1 = 0 ;
15044 char *kwnames[] = {
15045 (char *) "self",(char *) "child", NULL
15046 };
15047
15048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
15049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15050 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15051 {
15052 PyThreadState* __tstate = wxPyBeginAllowThreads();
15053 (arg1)->base_AddChild(arg2);
15054
15055 wxPyEndAllowThreads(__tstate);
15056 if (PyErr_Occurred()) SWIG_fail;
15057 }
15058 Py_INCREF(Py_None); resultobj = Py_None;
15059 return resultobj;
15060 fail:
15061 return NULL;
15062}
15063
15064
15065static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
15066 PyObject *resultobj;
15067 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
15068 wxWindow *arg2 = (wxWindow *) 0 ;
15069 PyObject * obj0 = 0 ;
15070 PyObject * obj1 = 0 ;
15071 char *kwnames[] = {
15072 (char *) "self",(char *) "child", NULL
15073 };
15074
15075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
15076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15077 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15078 {
15079 PyThreadState* __tstate = wxPyBeginAllowThreads();
15080 (arg1)->base_RemoveChild(arg2);
15081
15082 wxPyEndAllowThreads(__tstate);
15083 if (PyErr_Occurred()) SWIG_fail;
15084 }
15085 Py_INCREF(Py_None); resultobj = Py_None;
15086 return resultobj;
15087 fail:
15088 return NULL;
15089}
15090
15091
15092static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
15093 PyObject *obj;
15094 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15095 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
15096 Py_INCREF(obj);
15097 return Py_BuildValue((char *)"");
15098}
15099static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15100 PyObject *resultobj;
15101 wxPrintData *result;
15102 char *kwnames[] = {
15103 NULL
15104 };
15105
15106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
15107 {
15108 PyThreadState* __tstate = wxPyBeginAllowThreads();
15109 result = (wxPrintData *)new wxPrintData();
15110
15111 wxPyEndAllowThreads(__tstate);
15112 if (PyErr_Occurred()) SWIG_fail;
15113 }
15114 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
15115 return resultobj;
15116 fail:
15117 return NULL;
15118}
15119
15120
15121static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15122 PyObject *resultobj;
15123 wxPrintData *arg1 = (wxPrintData *) 0 ;
15124 PyObject * obj0 = 0 ;
15125 char *kwnames[] = {
15126 (char *) "self", NULL
15127 };
15128
15129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
15130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15131 {
15132 PyThreadState* __tstate = wxPyBeginAllowThreads();
15133 delete arg1;
15134
15135 wxPyEndAllowThreads(__tstate);
15136 if (PyErr_Occurred()) SWIG_fail;
15137 }
15138 Py_INCREF(Py_None); resultobj = Py_None;
15139 return resultobj;
15140 fail:
15141 return NULL;
15142}
15143
15144
15145static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15146 PyObject *resultobj;
15147 wxPrintData *arg1 = (wxPrintData *) 0 ;
15148 int result;
15149 PyObject * obj0 = 0 ;
15150 char *kwnames[] = {
15151 (char *) "self", NULL
15152 };
15153
15154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
15155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15156 {
15157 PyThreadState* __tstate = wxPyBeginAllowThreads();
15158 result = (int)(arg1)->GetNoCopies();
15159
15160 wxPyEndAllowThreads(__tstate);
15161 if (PyErr_Occurred()) SWIG_fail;
15162 }
15163 resultobj = PyInt_FromLong((long)result);
15164 return resultobj;
15165 fail:
15166 return NULL;
15167}
15168
15169
15170static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15171 PyObject *resultobj;
15172 wxPrintData *arg1 = (wxPrintData *) 0 ;
15173 bool result;
15174 PyObject * obj0 = 0 ;
15175 char *kwnames[] = {
15176 (char *) "self", NULL
15177 };
15178
15179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15181 {
15182 PyThreadState* __tstate = wxPyBeginAllowThreads();
15183 result = (bool)(arg1)->GetCollate();
15184
15185 wxPyEndAllowThreads(__tstate);
15186 if (PyErr_Occurred()) SWIG_fail;
15187 }
15188 resultobj = PyInt_FromLong((long)result);
15189 return resultobj;
15190 fail:
15191 return NULL;
15192}
15193
15194
15195static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15196 PyObject *resultobj;
15197 wxPrintData *arg1 = (wxPrintData *) 0 ;
15198 int result;
15199 PyObject * obj0 = 0 ;
15200 char *kwnames[] = {
15201 (char *) "self", NULL
15202 };
15203
15204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15206 {
15207 PyThreadState* __tstate = wxPyBeginAllowThreads();
15208 result = (int)(arg1)->GetOrientation();
15209
15210 wxPyEndAllowThreads(__tstate);
15211 if (PyErr_Occurred()) SWIG_fail;
15212 }
15213 resultobj = PyInt_FromLong((long)result);
15214 return resultobj;
15215 fail:
15216 return NULL;
15217}
15218
15219
15220static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
15221 PyObject *resultobj;
15222 wxPrintData *arg1 = (wxPrintData *) 0 ;
15223 bool result;
15224 PyObject * obj0 = 0 ;
15225 char *kwnames[] = {
15226 (char *) "self", NULL
15227 };
15228
15229 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15230 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15231 {
15232 PyThreadState* __tstate = wxPyBeginAllowThreads();
15233 result = (bool)(arg1)->Ok();
15234
15235 wxPyEndAllowThreads(__tstate);
15236 if (PyErr_Occurred()) SWIG_fail;
15237 }
15238 resultobj = PyInt_FromLong((long)result);
15239 return resultobj;
15240 fail:
15241 return NULL;
15242}
15243
15244
15245static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15246 PyObject *resultobj;
15247 wxPrintData *arg1 = (wxPrintData *) 0 ;
15248 wxString *result;
15249 PyObject * obj0 = 0 ;
15250 char *kwnames[] = {
15251 (char *) "self", NULL
15252 };
15253
15254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15255 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15256 {
15257 PyThreadState* __tstate = wxPyBeginAllowThreads();
15258 {
15259 wxString const &_result_ref = (arg1)->GetPrinterName();
15260 result = (wxString *) &_result_ref;
15261 }
15262
15263 wxPyEndAllowThreads(__tstate);
15264 if (PyErr_Occurred()) SWIG_fail;
15265 }
15266 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15267 return resultobj;
15268 fail:
15269 return NULL;
15270}
15271
15272
15273static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15274 PyObject *resultobj;
15275 wxPrintData *arg1 = (wxPrintData *) 0 ;
15276 bool result;
15277 PyObject * obj0 = 0 ;
15278 char *kwnames[] = {
15279 (char *) "self", NULL
15280 };
15281
15282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15284 {
15285 PyThreadState* __tstate = wxPyBeginAllowThreads();
15286 result = (bool)(arg1)->GetColour();
15287
15288 wxPyEndAllowThreads(__tstate);
15289 if (PyErr_Occurred()) SWIG_fail;
15290 }
15291 resultobj = PyInt_FromLong((long)result);
15292 return resultobj;
15293 fail:
15294 return NULL;
15295}
15296
15297
15298static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15299 PyObject *resultobj;
15300 wxPrintData *arg1 = (wxPrintData *) 0 ;
15301 int result;
15302 PyObject * obj0 = 0 ;
15303 char *kwnames[] = {
15304 (char *) "self", NULL
15305 };
15306
15307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15309 {
15310 PyThreadState* __tstate = wxPyBeginAllowThreads();
15311 result = (int)(arg1)->GetDuplex();
15312
15313 wxPyEndAllowThreads(__tstate);
15314 if (PyErr_Occurred()) SWIG_fail;
15315 }
15316 resultobj = PyInt_FromLong((long)result);
15317 return resultobj;
15318 fail:
15319 return NULL;
15320}
15321
15322
15323static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15324 PyObject *resultobj;
15325 wxPrintData *arg1 = (wxPrintData *) 0 ;
15326 int result;
15327 PyObject * obj0 = 0 ;
15328 char *kwnames[] = {
15329 (char *) "self", NULL
15330 };
15331
15332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15334 {
15335 PyThreadState* __tstate = wxPyBeginAllowThreads();
15336 result = (int)(arg1)->GetPaperId();
15337
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
15341 resultobj = PyInt_FromLong((long)result);
15342 return resultobj;
15343 fail:
15344 return NULL;
15345}
15346
15347
15348static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15349 PyObject *resultobj;
15350 wxPrintData *arg1 = (wxPrintData *) 0 ;
15351 wxSize *result;
15352 PyObject * obj0 = 0 ;
15353 char *kwnames[] = {
15354 (char *) "self", NULL
15355 };
15356
15357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15359 {
15360 PyThreadState* __tstate = wxPyBeginAllowThreads();
15361 {
15362 wxSize const &_result_ref = (arg1)->GetPaperSize();
15363 result = (wxSize *) &_result_ref;
15364 }
15365
15366 wxPyEndAllowThreads(__tstate);
15367 if (PyErr_Occurred()) SWIG_fail;
15368 }
15369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15370 return resultobj;
15371 fail:
15372 return NULL;
15373}
15374
15375
15376static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15377 PyObject *resultobj;
15378 wxPrintData *arg1 = (wxPrintData *) 0 ;
15379 wxPrintQuality result;
15380 PyObject * obj0 = 0 ;
15381 char *kwnames[] = {
15382 (char *) "self", NULL
15383 };
15384
15385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15387 {
15388 PyThreadState* __tstate = wxPyBeginAllowThreads();
15389 result = (arg1)->GetQuality();
15390
15391 wxPyEndAllowThreads(__tstate);
15392 if (PyErr_Occurred()) SWIG_fail;
15393 }
15394 {
15395 wxPrintQuality * resultptr;
15396 resultptr = new wxPrintQuality((wxPrintQuality &) result);
15397 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
15398 }
15399 return resultobj;
15400 fail:
15401 return NULL;
15402}
15403
15404
15405static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15406 PyObject *resultobj;
15407 wxPrintData *arg1 = (wxPrintData *) 0 ;
15408 int arg2 ;
15409 PyObject * obj0 = 0 ;
15410 char *kwnames[] = {
15411 (char *) "self",(char *) "v", NULL
15412 };
15413
15414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15416 {
15417 PyThreadState* __tstate = wxPyBeginAllowThreads();
15418 (arg1)->SetNoCopies(arg2);
15419
15420 wxPyEndAllowThreads(__tstate);
15421 if (PyErr_Occurred()) SWIG_fail;
15422 }
15423 Py_INCREF(Py_None); resultobj = Py_None;
15424 return resultobj;
15425 fail:
15426 return NULL;
15427}
15428
15429
15430static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15431 PyObject *resultobj;
15432 wxPrintData *arg1 = (wxPrintData *) 0 ;
15433 bool arg2 ;
15434 PyObject * obj0 = 0 ;
15435 PyObject * obj1 = 0 ;
15436 char *kwnames[] = {
15437 (char *) "self",(char *) "flag", NULL
15438 };
15439
15440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15442 arg2 = PyInt_AsLong(obj1) ? true : false;
15443 if (PyErr_Occurred()) SWIG_fail;
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 (arg1)->SetCollate(arg2);
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 Py_INCREF(Py_None); resultobj = Py_None;
15452 return resultobj;
15453 fail:
15454 return NULL;
15455}
15456
15457
15458static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15459 PyObject *resultobj;
15460 wxPrintData *arg1 = (wxPrintData *) 0 ;
15461 int arg2 ;
15462 PyObject * obj0 = 0 ;
15463 char *kwnames[] = {
15464 (char *) "self",(char *) "orient", NULL
15465 };
15466
15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 (arg1)->SetOrientation(arg2);
15472
15473 wxPyEndAllowThreads(__tstate);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 }
15476 Py_INCREF(Py_None); resultobj = Py_None;
15477 return resultobj;
15478 fail:
15479 return NULL;
15480}
15481
15482
15483static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15484 PyObject *resultobj;
15485 wxPrintData *arg1 = (wxPrintData *) 0 ;
15486 wxString *arg2 = 0 ;
15487 bool temp2 = false ;
15488 PyObject * obj0 = 0 ;
15489 PyObject * obj1 = 0 ;
15490 char *kwnames[] = {
15491 (char *) "self",(char *) "name", NULL
15492 };
15493
15494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15496 {
15497 arg2 = wxString_in_helper(obj1);
15498 if (arg2 == NULL) SWIG_fail;
15499 temp2 = true;
15500 }
15501 {
15502 PyThreadState* __tstate = wxPyBeginAllowThreads();
15503 (arg1)->SetPrinterName((wxString const &)*arg2);
15504
15505 wxPyEndAllowThreads(__tstate);
15506 if (PyErr_Occurred()) SWIG_fail;
15507 }
15508 Py_INCREF(Py_None); resultobj = Py_None;
15509 {
15510 if (temp2)
15511 delete arg2;
15512 }
15513 return resultobj;
15514 fail:
15515 {
15516 if (temp2)
15517 delete arg2;
15518 }
15519 return NULL;
15520}
15521
15522
15523static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15524 PyObject *resultobj;
15525 wxPrintData *arg1 = (wxPrintData *) 0 ;
15526 bool arg2 ;
15527 PyObject * obj0 = 0 ;
15528 PyObject * obj1 = 0 ;
15529 char *kwnames[] = {
15530 (char *) "self",(char *) "colour", NULL
15531 };
15532
15533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15535 arg2 = PyInt_AsLong(obj1) ? true : false;
15536 if (PyErr_Occurred()) SWIG_fail;
15537 {
15538 PyThreadState* __tstate = wxPyBeginAllowThreads();
15539 (arg1)->SetColour(arg2);
15540
15541 wxPyEndAllowThreads(__tstate);
15542 if (PyErr_Occurred()) SWIG_fail;
15543 }
15544 Py_INCREF(Py_None); resultobj = Py_None;
15545 return resultobj;
15546 fail:
15547 return NULL;
15548}
15549
15550
15551static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15552 PyObject *resultobj;
15553 wxPrintData *arg1 = (wxPrintData *) 0 ;
15554 int arg2 ;
15555 PyObject * obj0 = 0 ;
15556 char *kwnames[] = {
15557 (char *) "self",(char *) "duplex", NULL
15558 };
15559
15560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15562 {
15563 PyThreadState* __tstate = wxPyBeginAllowThreads();
15564 (arg1)->SetDuplex((wxDuplexMode )arg2);
15565
15566 wxPyEndAllowThreads(__tstate);
15567 if (PyErr_Occurred()) SWIG_fail;
15568 }
15569 Py_INCREF(Py_None); resultobj = Py_None;
15570 return resultobj;
15571 fail:
15572 return NULL;
15573}
15574
15575
15576static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15577 PyObject *resultobj;
15578 wxPrintData *arg1 = (wxPrintData *) 0 ;
15579 int arg2 ;
15580 PyObject * obj0 = 0 ;
15581 char *kwnames[] = {
15582 (char *) "self",(char *) "sizeId", NULL
15583 };
15584
15585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15587 {
15588 PyThreadState* __tstate = wxPyBeginAllowThreads();
15589 (arg1)->SetPaperId((wxPaperSize )arg2);
15590
15591 wxPyEndAllowThreads(__tstate);
15592 if (PyErr_Occurred()) SWIG_fail;
15593 }
15594 Py_INCREF(Py_None); resultobj = Py_None;
15595 return resultobj;
15596 fail:
15597 return NULL;
15598}
15599
15600
15601static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15602 PyObject *resultobj;
15603 wxPrintData *arg1 = (wxPrintData *) 0 ;
15604 wxSize *arg2 = 0 ;
15605 wxSize temp2 ;
15606 PyObject * obj0 = 0 ;
15607 PyObject * obj1 = 0 ;
15608 char *kwnames[] = {
15609 (char *) "self",(char *) "sz", NULL
15610 };
15611
15612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15614 {
15615 arg2 = &temp2;
15616 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15617 }
15618 {
15619 PyThreadState* __tstate = wxPyBeginAllowThreads();
15620 (arg1)->SetPaperSize((wxSize const &)*arg2);
15621
15622 wxPyEndAllowThreads(__tstate);
15623 if (PyErr_Occurred()) SWIG_fail;
15624 }
15625 Py_INCREF(Py_None); resultobj = Py_None;
15626 return resultobj;
15627 fail:
15628 return NULL;
15629}
15630
15631
15632static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15633 PyObject *resultobj;
15634 wxPrintData *arg1 = (wxPrintData *) 0 ;
15635 wxPrintQuality arg2 ;
15636 wxPrintQuality *argp2 ;
15637 PyObject * obj0 = 0 ;
15638 PyObject * obj1 = 0 ;
15639 char *kwnames[] = {
15640 (char *) "self",(char *) "quality", NULL
15641 };
15642
15643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15645 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15646 arg2 = *argp2;
15647 {
15648 PyThreadState* __tstate = wxPyBeginAllowThreads();
15649 (arg1)->SetQuality(arg2);
15650
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
15654 Py_INCREF(Py_None); resultobj = Py_None;
15655 return resultobj;
15656 fail:
15657 return NULL;
15658}
15659
15660
15661static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15662 PyObject *resultobj;
15663 wxPrintData *arg1 = (wxPrintData *) 0 ;
15664 wxString *result;
15665 PyObject * obj0 = 0 ;
15666 char *kwnames[] = {
15667 (char *) "self", NULL
15668 };
15669
15670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15672 {
15673 PyThreadState* __tstate = wxPyBeginAllowThreads();
15674 {
15675 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15676 result = (wxString *) &_result_ref;
15677 }
15678
15679 wxPyEndAllowThreads(__tstate);
15680 if (PyErr_Occurred()) SWIG_fail;
15681 }
15682 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15683 return resultobj;
15684 fail:
15685 return NULL;
15686}
15687
15688
15689static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15690 PyObject *resultobj;
15691 wxPrintData *arg1 = (wxPrintData *) 0 ;
15692 wxString *result;
15693 PyObject * obj0 = 0 ;
15694 char *kwnames[] = {
15695 (char *) "self", NULL
15696 };
15697
15698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15700 {
15701 PyThreadState* __tstate = wxPyBeginAllowThreads();
15702 {
15703 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15704 result = (wxString *) &_result_ref;
15705 }
15706
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15711 return resultobj;
15712 fail:
15713 return NULL;
15714}
15715
15716
15717static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15718 PyObject *resultobj;
15719 wxPrintData *arg1 = (wxPrintData *) 0 ;
15720 wxString *result;
15721 PyObject * obj0 = 0 ;
15722 char *kwnames[] = {
15723 (char *) "self", NULL
15724 };
15725
15726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15728 {
15729 PyThreadState* __tstate = wxPyBeginAllowThreads();
15730 {
15731 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15732 result = (wxString *) &_result_ref;
15733 }
15734
15735 wxPyEndAllowThreads(__tstate);
15736 if (PyErr_Occurred()) SWIG_fail;
15737 }
15738 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15739 return resultobj;
15740 fail:
15741 return NULL;
15742}
15743
15744
15745static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15746 PyObject *resultobj;
15747 wxPrintData *arg1 = (wxPrintData *) 0 ;
15748 wxString *result;
15749 PyObject * obj0 = 0 ;
15750 char *kwnames[] = {
15751 (char *) "self", NULL
15752 };
15753
15754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15756 {
15757 PyThreadState* __tstate = wxPyBeginAllowThreads();
15758 {
15759 wxString const &_result_ref = (arg1)->GetFilename();
15760 result = (wxString *) &_result_ref;
15761 }
15762
15763 wxPyEndAllowThreads(__tstate);
15764 if (PyErr_Occurred()) SWIG_fail;
15765 }
15766 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15767 return resultobj;
15768 fail:
15769 return NULL;
15770}
15771
15772
15773static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15774 PyObject *resultobj;
15775 wxPrintData *arg1 = (wxPrintData *) 0 ;
15776 wxString *result;
15777 PyObject * obj0 = 0 ;
15778 char *kwnames[] = {
15779 (char *) "self", NULL
15780 };
15781
15782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15784 {
15785 PyThreadState* __tstate = wxPyBeginAllowThreads();
15786 {
15787 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15788 result = (wxString *) &_result_ref;
15789 }
15790
15791 wxPyEndAllowThreads(__tstate);
15792 if (PyErr_Occurred()) SWIG_fail;
15793 }
15794 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15795 return resultobj;
15796 fail:
15797 return NULL;
15798}
15799
15800
15801static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15802 PyObject *resultobj;
15803 wxPrintData *arg1 = (wxPrintData *) 0 ;
15804 double result;
15805 PyObject * obj0 = 0 ;
15806 char *kwnames[] = {
15807 (char *) "self", NULL
15808 };
15809
15810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15812 {
15813 PyThreadState* __tstate = wxPyBeginAllowThreads();
15814 result = (double)(arg1)->GetPrinterScaleX();
15815
15816 wxPyEndAllowThreads(__tstate);
15817 if (PyErr_Occurred()) SWIG_fail;
15818 }
15819 resultobj = PyFloat_FromDouble(result);
15820 return resultobj;
15821 fail:
15822 return NULL;
15823}
15824
15825
15826static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15827 PyObject *resultobj;
15828 wxPrintData *arg1 = (wxPrintData *) 0 ;
15829 double result;
15830 PyObject * obj0 = 0 ;
15831 char *kwnames[] = {
15832 (char *) "self", NULL
15833 };
15834
15835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15837 {
15838 PyThreadState* __tstate = wxPyBeginAllowThreads();
15839 result = (double)(arg1)->GetPrinterScaleY();
15840
15841 wxPyEndAllowThreads(__tstate);
15842 if (PyErr_Occurred()) SWIG_fail;
15843 }
15844 resultobj = PyFloat_FromDouble(result);
15845 return resultobj;
15846 fail:
15847 return NULL;
15848}
15849
15850
15851static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15852 PyObject *resultobj;
15853 wxPrintData *arg1 = (wxPrintData *) 0 ;
15854 long result;
15855 PyObject * obj0 = 0 ;
15856 char *kwnames[] = {
15857 (char *) "self", NULL
15858 };
15859
15860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15862 {
15863 PyThreadState* __tstate = wxPyBeginAllowThreads();
15864 result = (long)(arg1)->GetPrinterTranslateX();
15865
15866 wxPyEndAllowThreads(__tstate);
15867 if (PyErr_Occurred()) SWIG_fail;
15868 }
15869 resultobj = PyInt_FromLong((long)result);
15870 return resultobj;
15871 fail:
15872 return NULL;
15873}
15874
15875
15876static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15877 PyObject *resultobj;
15878 wxPrintData *arg1 = (wxPrintData *) 0 ;
15879 long result;
15880 PyObject * obj0 = 0 ;
15881 char *kwnames[] = {
15882 (char *) "self", NULL
15883 };
15884
15885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15887 {
15888 PyThreadState* __tstate = wxPyBeginAllowThreads();
15889 result = (long)(arg1)->GetPrinterTranslateY();
15890
15891 wxPyEndAllowThreads(__tstate);
15892 if (PyErr_Occurred()) SWIG_fail;
15893 }
15894 resultobj = PyInt_FromLong((long)result);
15895 return resultobj;
15896 fail:
15897 return NULL;
15898}
15899
15900
15901static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15902 PyObject *resultobj;
15903 wxPrintData *arg1 = (wxPrintData *) 0 ;
15904 int result;
15905 PyObject * obj0 = 0 ;
15906 char *kwnames[] = {
15907 (char *) "self", NULL
15908 };
15909
15910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15912 {
15913 PyThreadState* __tstate = wxPyBeginAllowThreads();
15914 result = (int)(arg1)->GetPrintMode();
15915
15916 wxPyEndAllowThreads(__tstate);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 }
15919 resultobj = PyInt_FromLong((long)result);
15920 return resultobj;
15921 fail:
15922 return NULL;
15923}
15924
15925
15926static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15927 PyObject *resultobj;
15928 wxPrintData *arg1 = (wxPrintData *) 0 ;
15929 wxString *arg2 = 0 ;
15930 bool temp2 = false ;
15931 PyObject * obj0 = 0 ;
15932 PyObject * obj1 = 0 ;
15933 char *kwnames[] = {
15934 (char *) "self",(char *) "command", NULL
15935 };
15936
15937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15939 {
15940 arg2 = wxString_in_helper(obj1);
15941 if (arg2 == NULL) SWIG_fail;
15942 temp2 = true;
15943 }
15944 {
15945 PyThreadState* __tstate = wxPyBeginAllowThreads();
15946 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15947
15948 wxPyEndAllowThreads(__tstate);
15949 if (PyErr_Occurred()) SWIG_fail;
15950 }
15951 Py_INCREF(Py_None); resultobj = Py_None;
15952 {
15953 if (temp2)
15954 delete arg2;
15955 }
15956 return resultobj;
15957 fail:
15958 {
15959 if (temp2)
15960 delete arg2;
15961 }
15962 return NULL;
15963}
15964
15965
15966static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15967 PyObject *resultobj;
15968 wxPrintData *arg1 = (wxPrintData *) 0 ;
15969 wxString *arg2 = 0 ;
15970 bool temp2 = false ;
15971 PyObject * obj0 = 0 ;
15972 PyObject * obj1 = 0 ;
15973 char *kwnames[] = {
15974 (char *) "self",(char *) "options", NULL
15975 };
15976
15977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15979 {
15980 arg2 = wxString_in_helper(obj1);
15981 if (arg2 == NULL) SWIG_fail;
15982 temp2 = true;
15983 }
15984 {
15985 PyThreadState* __tstate = wxPyBeginAllowThreads();
15986 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15987
15988 wxPyEndAllowThreads(__tstate);
15989 if (PyErr_Occurred()) SWIG_fail;
15990 }
15991 Py_INCREF(Py_None); resultobj = Py_None;
15992 {
15993 if (temp2)
15994 delete arg2;
15995 }
15996 return resultobj;
15997 fail:
15998 {
15999 if (temp2)
16000 delete arg2;
16001 }
16002 return NULL;
16003}
16004
16005
16006static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
16007 PyObject *resultobj;
16008 wxPrintData *arg1 = (wxPrintData *) 0 ;
16009 wxString *arg2 = 0 ;
16010 bool temp2 = false ;
16011 PyObject * obj0 = 0 ;
16012 PyObject * obj1 = 0 ;
16013 char *kwnames[] = {
16014 (char *) "self",(char *) "command", NULL
16015 };
16016
16017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
16018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16019 {
16020 arg2 = wxString_in_helper(obj1);
16021 if (arg2 == NULL) SWIG_fail;
16022 temp2 = true;
16023 }
16024 {
16025 PyThreadState* __tstate = wxPyBeginAllowThreads();
16026 (arg1)->SetPreviewCommand((wxString const &)*arg2);
16027
16028 wxPyEndAllowThreads(__tstate);
16029 if (PyErr_Occurred()) SWIG_fail;
16030 }
16031 Py_INCREF(Py_None); resultobj = Py_None;
16032 {
16033 if (temp2)
16034 delete arg2;
16035 }
16036 return resultobj;
16037 fail:
16038 {
16039 if (temp2)
16040 delete arg2;
16041 }
16042 return NULL;
16043}
16044
16045
16046static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
16047 PyObject *resultobj;
16048 wxPrintData *arg1 = (wxPrintData *) 0 ;
16049 wxString *arg2 = 0 ;
16050 bool temp2 = false ;
16051 PyObject * obj0 = 0 ;
16052 PyObject * obj1 = 0 ;
16053 char *kwnames[] = {
16054 (char *) "self",(char *) "filename", NULL
16055 };
16056
16057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
16058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16059 {
16060 arg2 = wxString_in_helper(obj1);
16061 if (arg2 == NULL) SWIG_fail;
16062 temp2 = true;
16063 }
16064 {
16065 PyThreadState* __tstate = wxPyBeginAllowThreads();
16066 (arg1)->SetFilename((wxString const &)*arg2);
16067
16068 wxPyEndAllowThreads(__tstate);
16069 if (PyErr_Occurred()) SWIG_fail;
16070 }
16071 Py_INCREF(Py_None); resultobj = Py_None;
16072 {
16073 if (temp2)
16074 delete arg2;
16075 }
16076 return resultobj;
16077 fail:
16078 {
16079 if (temp2)
16080 delete arg2;
16081 }
16082 return NULL;
16083}
16084
16085
16086static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
16087 PyObject *resultobj;
16088 wxPrintData *arg1 = (wxPrintData *) 0 ;
16089 wxString *arg2 = 0 ;
16090 bool temp2 = false ;
16091 PyObject * obj0 = 0 ;
16092 PyObject * obj1 = 0 ;
16093 char *kwnames[] = {
16094 (char *) "self",(char *) "path", NULL
16095 };
16096
16097 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
16098 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16099 {
16100 arg2 = wxString_in_helper(obj1);
16101 if (arg2 == NULL) SWIG_fail;
16102 temp2 = true;
16103 }
16104 {
16105 PyThreadState* __tstate = wxPyBeginAllowThreads();
16106 (arg1)->SetFontMetricPath((wxString const &)*arg2);
16107
16108 wxPyEndAllowThreads(__tstate);
16109 if (PyErr_Occurred()) SWIG_fail;
16110 }
16111 Py_INCREF(Py_None); resultobj = Py_None;
16112 {
16113 if (temp2)
16114 delete arg2;
16115 }
16116 return resultobj;
16117 fail:
16118 {
16119 if (temp2)
16120 delete arg2;
16121 }
16122 return NULL;
16123}
16124
16125
16126static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
16127 PyObject *resultobj;
16128 wxPrintData *arg1 = (wxPrintData *) 0 ;
16129 double arg2 ;
16130 PyObject * obj0 = 0 ;
16131 char *kwnames[] = {
16132 (char *) "self",(char *) "x", NULL
16133 };
16134
16135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
16136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16137 {
16138 PyThreadState* __tstate = wxPyBeginAllowThreads();
16139 (arg1)->SetPrinterScaleX(arg2);
16140
16141 wxPyEndAllowThreads(__tstate);
16142 if (PyErr_Occurred()) SWIG_fail;
16143 }
16144 Py_INCREF(Py_None); resultobj = Py_None;
16145 return resultobj;
16146 fail:
16147 return NULL;
16148}
16149
16150
16151static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16152 PyObject *resultobj;
16153 wxPrintData *arg1 = (wxPrintData *) 0 ;
16154 double arg2 ;
16155 PyObject * obj0 = 0 ;
16156 char *kwnames[] = {
16157 (char *) "self",(char *) "y", NULL
16158 };
16159
16160 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
16161 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16162 {
16163 PyThreadState* __tstate = wxPyBeginAllowThreads();
16164 (arg1)->SetPrinterScaleY(arg2);
16165
16166 wxPyEndAllowThreads(__tstate);
16167 if (PyErr_Occurred()) SWIG_fail;
16168 }
16169 Py_INCREF(Py_None); resultobj = Py_None;
16170 return resultobj;
16171 fail:
16172 return NULL;
16173}
16174
16175
16176static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
16177 PyObject *resultobj;
16178 wxPrintData *arg1 = (wxPrintData *) 0 ;
16179 double arg2 ;
16180 double arg3 ;
16181 PyObject * obj0 = 0 ;
16182 char *kwnames[] = {
16183 (char *) "self",(char *) "x",(char *) "y", NULL
16184 };
16185
16186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
16187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16188 {
16189 PyThreadState* __tstate = wxPyBeginAllowThreads();
16190 (arg1)->SetPrinterScaling(arg2,arg3);
16191
16192 wxPyEndAllowThreads(__tstate);
16193 if (PyErr_Occurred()) SWIG_fail;
16194 }
16195 Py_INCREF(Py_None); resultobj = Py_None;
16196 return resultobj;
16197 fail:
16198 return NULL;
16199}
16200
16201
16202static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16203 PyObject *resultobj;
16204 wxPrintData *arg1 = (wxPrintData *) 0 ;
16205 long arg2 ;
16206 PyObject * obj0 = 0 ;
16207 char *kwnames[] = {
16208 (char *) "self",(char *) "x", NULL
16209 };
16210
16211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
16212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16213 {
16214 PyThreadState* __tstate = wxPyBeginAllowThreads();
16215 (arg1)->SetPrinterTranslateX(arg2);
16216
16217 wxPyEndAllowThreads(__tstate);
16218 if (PyErr_Occurred()) SWIG_fail;
16219 }
16220 Py_INCREF(Py_None); resultobj = Py_None;
16221 return resultobj;
16222 fail:
16223 return NULL;
16224}
16225
16226
16227static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16228 PyObject *resultobj;
16229 wxPrintData *arg1 = (wxPrintData *) 0 ;
16230 long arg2 ;
16231 PyObject * obj0 = 0 ;
16232 char *kwnames[] = {
16233 (char *) "self",(char *) "y", NULL
16234 };
16235
16236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
16237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16238 {
16239 PyThreadState* __tstate = wxPyBeginAllowThreads();
16240 (arg1)->SetPrinterTranslateY(arg2);
16241
16242 wxPyEndAllowThreads(__tstate);
16243 if (PyErr_Occurred()) SWIG_fail;
16244 }
16245 Py_INCREF(Py_None); resultobj = Py_None;
16246 return resultobj;
16247 fail:
16248 return NULL;
16249}
16250
16251
16252static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
16253 PyObject *resultobj;
16254 wxPrintData *arg1 = (wxPrintData *) 0 ;
16255 long arg2 ;
16256 long arg3 ;
16257 PyObject * obj0 = 0 ;
16258 char *kwnames[] = {
16259 (char *) "self",(char *) "x",(char *) "y", NULL
16260 };
16261
16262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
16263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16264 {
16265 PyThreadState* __tstate = wxPyBeginAllowThreads();
16266 (arg1)->SetPrinterTranslation(arg2,arg3);
16267
16268 wxPyEndAllowThreads(__tstate);
16269 if (PyErr_Occurred()) SWIG_fail;
16270 }
16271 Py_INCREF(Py_None); resultobj = Py_None;
16272 return resultobj;
16273 fail:
16274 return NULL;
16275}
16276
16277
16278static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16279 PyObject *resultobj;
16280 wxPrintData *arg1 = (wxPrintData *) 0 ;
16281 int arg2 ;
16282 PyObject * obj0 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "self",(char *) "printMode", NULL
16285 };
16286
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
16288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16289 {
16290 PyThreadState* __tstate = wxPyBeginAllowThreads();
16291 (arg1)->SetPrintMode((wxPrintMode )arg2);
16292
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 Py_INCREF(Py_None); resultobj = Py_None;
16297 return resultobj;
16298 fail:
16299 return NULL;
16300}
16301
16302
16303static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
16304 PyObject *obj;
16305 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16306 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
16307 Py_INCREF(obj);
16308 return Py_BuildValue((char *)"");
16309}
16310static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16311 PyObject *resultobj;
16312 wxPageSetupDialogData *result;
16313 char *kwnames[] = {
16314 NULL
16315 };
16316
16317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16318 {
16319 PyThreadState* __tstate = wxPyBeginAllowThreads();
16320 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16321
16322 wxPyEndAllowThreads(__tstate);
16323 if (PyErr_Occurred()) SWIG_fail;
16324 }
16325 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16326 return resultobj;
16327 fail:
16328 return NULL;
16329}
16330
16331
16332static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16333 PyObject *resultobj;
16334 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16335 PyObject * obj0 = 0 ;
16336 char *kwnames[] = {
16337 (char *) "self", NULL
16338 };
16339
16340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16342 {
16343 PyThreadState* __tstate = wxPyBeginAllowThreads();
16344 delete arg1;
16345
16346 wxPyEndAllowThreads(__tstate);
16347 if (PyErr_Occurred()) SWIG_fail;
16348 }
16349 Py_INCREF(Py_None); resultobj = Py_None;
16350 return resultobj;
16351 fail:
16352 return NULL;
16353}
16354
16355
16356static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16357 PyObject *resultobj;
16358 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16359 bool arg2 ;
16360 PyObject * obj0 = 0 ;
16361 PyObject * obj1 = 0 ;
16362 char *kwnames[] = {
16363 (char *) "self",(char *) "flag", NULL
16364 };
16365
16366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16368 arg2 = PyInt_AsLong(obj1) ? true : false;
16369 if (PyErr_Occurred()) SWIG_fail;
16370 {
16371 PyThreadState* __tstate = wxPyBeginAllowThreads();
16372 (arg1)->EnableHelp(arg2);
16373
16374 wxPyEndAllowThreads(__tstate);
16375 if (PyErr_Occurred()) SWIG_fail;
16376 }
16377 Py_INCREF(Py_None); resultobj = Py_None;
16378 return resultobj;
16379 fail:
16380 return NULL;
16381}
16382
16383
16384static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16385 PyObject *resultobj;
16386 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16387 bool arg2 ;
16388 PyObject * obj0 = 0 ;
16389 PyObject * obj1 = 0 ;
16390 char *kwnames[] = {
16391 (char *) "self",(char *) "flag", NULL
16392 };
16393
16394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16396 arg2 = PyInt_AsLong(obj1) ? true : false;
16397 if (PyErr_Occurred()) SWIG_fail;
16398 {
16399 PyThreadState* __tstate = wxPyBeginAllowThreads();
16400 (arg1)->EnableMargins(arg2);
16401
16402 wxPyEndAllowThreads(__tstate);
16403 if (PyErr_Occurred()) SWIG_fail;
16404 }
16405 Py_INCREF(Py_None); resultobj = Py_None;
16406 return resultobj;
16407 fail:
16408 return NULL;
16409}
16410
16411
16412static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16413 PyObject *resultobj;
16414 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16415 bool arg2 ;
16416 PyObject * obj0 = 0 ;
16417 PyObject * obj1 = 0 ;
16418 char *kwnames[] = {
16419 (char *) "self",(char *) "flag", NULL
16420 };
16421
16422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16424 arg2 = PyInt_AsLong(obj1) ? true : false;
16425 if (PyErr_Occurred()) SWIG_fail;
16426 {
16427 PyThreadState* __tstate = wxPyBeginAllowThreads();
16428 (arg1)->EnableOrientation(arg2);
16429
16430 wxPyEndAllowThreads(__tstate);
16431 if (PyErr_Occurred()) SWIG_fail;
16432 }
16433 Py_INCREF(Py_None); resultobj = Py_None;
16434 return resultobj;
16435 fail:
16436 return NULL;
16437}
16438
16439
16440static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16441 PyObject *resultobj;
16442 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16443 bool arg2 ;
16444 PyObject * obj0 = 0 ;
16445 PyObject * obj1 = 0 ;
16446 char *kwnames[] = {
16447 (char *) "self",(char *) "flag", NULL
16448 };
16449
16450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16452 arg2 = PyInt_AsLong(obj1) ? true : false;
16453 if (PyErr_Occurred()) SWIG_fail;
16454 {
16455 PyThreadState* __tstate = wxPyBeginAllowThreads();
16456 (arg1)->EnablePaper(arg2);
16457
16458 wxPyEndAllowThreads(__tstate);
16459 if (PyErr_Occurred()) SWIG_fail;
16460 }
16461 Py_INCREF(Py_None); resultobj = Py_None;
16462 return resultobj;
16463 fail:
16464 return NULL;
16465}
16466
16467
16468static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16469 PyObject *resultobj;
16470 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16471 bool arg2 ;
16472 PyObject * obj0 = 0 ;
16473 PyObject * obj1 = 0 ;
16474 char *kwnames[] = {
16475 (char *) "self",(char *) "flag", NULL
16476 };
16477
16478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16480 arg2 = PyInt_AsLong(obj1) ? true : false;
16481 if (PyErr_Occurred()) SWIG_fail;
16482 {
16483 PyThreadState* __tstate = wxPyBeginAllowThreads();
16484 (arg1)->EnablePrinter(arg2);
16485
16486 wxPyEndAllowThreads(__tstate);
16487 if (PyErr_Occurred()) SWIG_fail;
16488 }
16489 Py_INCREF(Py_None); resultobj = Py_None;
16490 return resultobj;
16491 fail:
16492 return NULL;
16493}
16494
16495
16496static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16497 PyObject *resultobj;
16498 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16499 bool result;
16500 PyObject * obj0 = 0 ;
16501 char *kwnames[] = {
16502 (char *) "self", NULL
16503 };
16504
16505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16507 {
16508 PyThreadState* __tstate = wxPyBeginAllowThreads();
16509 result = (bool)(arg1)->GetDefaultMinMargins();
16510
16511 wxPyEndAllowThreads(__tstate);
16512 if (PyErr_Occurred()) SWIG_fail;
16513 }
16514 resultobj = PyInt_FromLong((long)result);
16515 return resultobj;
16516 fail:
16517 return NULL;
16518}
16519
16520
16521static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16522 PyObject *resultobj;
16523 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16524 bool result;
16525 PyObject * obj0 = 0 ;
16526 char *kwnames[] = {
16527 (char *) "self", NULL
16528 };
16529
16530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16532 {
16533 PyThreadState* __tstate = wxPyBeginAllowThreads();
16534 result = (bool)(arg1)->GetEnableMargins();
16535
16536 wxPyEndAllowThreads(__tstate);
16537 if (PyErr_Occurred()) SWIG_fail;
16538 }
16539 resultobj = PyInt_FromLong((long)result);
16540 return resultobj;
16541 fail:
16542 return NULL;
16543}
16544
16545
16546static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16547 PyObject *resultobj;
16548 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16549 bool result;
16550 PyObject * obj0 = 0 ;
16551 char *kwnames[] = {
16552 (char *) "self", NULL
16553 };
16554
16555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16557 {
16558 PyThreadState* __tstate = wxPyBeginAllowThreads();
16559 result = (bool)(arg1)->GetEnableOrientation();
16560
16561 wxPyEndAllowThreads(__tstate);
16562 if (PyErr_Occurred()) SWIG_fail;
16563 }
16564 resultobj = PyInt_FromLong((long)result);
16565 return resultobj;
16566 fail:
16567 return NULL;
16568}
16569
16570
16571static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16572 PyObject *resultobj;
16573 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16574 bool result;
16575 PyObject * obj0 = 0 ;
16576 char *kwnames[] = {
16577 (char *) "self", NULL
16578 };
16579
16580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16582 {
16583 PyThreadState* __tstate = wxPyBeginAllowThreads();
16584 result = (bool)(arg1)->GetEnablePaper();
16585
16586 wxPyEndAllowThreads(__tstate);
16587 if (PyErr_Occurred()) SWIG_fail;
16588 }
16589 resultobj = PyInt_FromLong((long)result);
16590 return resultobj;
16591 fail:
16592 return NULL;
16593}
16594
16595
16596static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16597 PyObject *resultobj;
16598 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16599 bool result;
16600 PyObject * obj0 = 0 ;
16601 char *kwnames[] = {
16602 (char *) "self", NULL
16603 };
16604
16605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16607 {
16608 PyThreadState* __tstate = wxPyBeginAllowThreads();
16609 result = (bool)(arg1)->GetEnablePrinter();
16610
16611 wxPyEndAllowThreads(__tstate);
16612 if (PyErr_Occurred()) SWIG_fail;
16613 }
16614 resultobj = PyInt_FromLong((long)result);
16615 return resultobj;
16616 fail:
16617 return NULL;
16618}
16619
16620
16621static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16622 PyObject *resultobj;
16623 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16624 bool result;
16625 PyObject * obj0 = 0 ;
16626 char *kwnames[] = {
16627 (char *) "self", NULL
16628 };
16629
16630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16632 {
16633 PyThreadState* __tstate = wxPyBeginAllowThreads();
16634 result = (bool)(arg1)->GetEnableHelp();
16635
16636 wxPyEndAllowThreads(__tstate);
16637 if (PyErr_Occurred()) SWIG_fail;
16638 }
16639 resultobj = PyInt_FromLong((long)result);
16640 return resultobj;
16641 fail:
16642 return NULL;
16643}
16644
16645
16646static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16647 PyObject *resultobj;
16648 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16649 bool result;
16650 PyObject * obj0 = 0 ;
16651 char *kwnames[] = {
16652 (char *) "self", NULL
16653 };
16654
16655 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16656 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16657 {
16658 PyThreadState* __tstate = wxPyBeginAllowThreads();
16659 result = (bool)(arg1)->GetDefaultInfo();
16660
16661 wxPyEndAllowThreads(__tstate);
16662 if (PyErr_Occurred()) SWIG_fail;
16663 }
16664 resultobj = PyInt_FromLong((long)result);
16665 return resultobj;
16666 fail:
16667 return NULL;
16668}
16669
16670
16671static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16672 PyObject *resultobj;
16673 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16674 wxPoint result;
16675 PyObject * obj0 = 0 ;
16676 char *kwnames[] = {
16677 (char *) "self", NULL
16678 };
16679
16680 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16681 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16682 {
16683 PyThreadState* __tstate = wxPyBeginAllowThreads();
16684 result = (arg1)->GetMarginTopLeft();
16685
16686 wxPyEndAllowThreads(__tstate);
16687 if (PyErr_Occurred()) SWIG_fail;
16688 }
16689 {
16690 wxPoint * resultptr;
16691 resultptr = new wxPoint((wxPoint &) result);
16692 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16693 }
16694 return resultobj;
16695 fail:
16696 return NULL;
16697}
16698
16699
16700static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16701 PyObject *resultobj;
16702 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16703 wxPoint result;
16704 PyObject * obj0 = 0 ;
16705 char *kwnames[] = {
16706 (char *) "self", NULL
16707 };
16708
16709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16711 {
16712 PyThreadState* __tstate = wxPyBeginAllowThreads();
16713 result = (arg1)->GetMarginBottomRight();
16714
16715 wxPyEndAllowThreads(__tstate);
16716 if (PyErr_Occurred()) SWIG_fail;
16717 }
16718 {
16719 wxPoint * resultptr;
16720 resultptr = new wxPoint((wxPoint &) result);
16721 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16722 }
16723 return resultobj;
16724 fail:
16725 return NULL;
16726}
16727
16728
16729static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16730 PyObject *resultobj;
16731 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16732 wxPoint result;
16733 PyObject * obj0 = 0 ;
16734 char *kwnames[] = {
16735 (char *) "self", NULL
16736 };
16737
16738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16740 {
16741 PyThreadState* __tstate = wxPyBeginAllowThreads();
16742 result = (arg1)->GetMinMarginTopLeft();
16743
16744 wxPyEndAllowThreads(__tstate);
16745 if (PyErr_Occurred()) SWIG_fail;
16746 }
16747 {
16748 wxPoint * resultptr;
16749 resultptr = new wxPoint((wxPoint &) result);
16750 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16751 }
16752 return resultobj;
16753 fail:
16754 return NULL;
16755}
16756
16757
16758static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16759 PyObject *resultobj;
16760 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16761 wxPoint result;
16762 PyObject * obj0 = 0 ;
16763 char *kwnames[] = {
16764 (char *) "self", NULL
16765 };
16766
16767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16769 {
16770 PyThreadState* __tstate = wxPyBeginAllowThreads();
16771 result = (arg1)->GetMinMarginBottomRight();
16772
16773 wxPyEndAllowThreads(__tstate);
16774 if (PyErr_Occurred()) SWIG_fail;
16775 }
16776 {
16777 wxPoint * resultptr;
16778 resultptr = new wxPoint((wxPoint &) result);
16779 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16780 }
16781 return resultobj;
16782 fail:
16783 return NULL;
16784}
16785
16786
16787static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16788 PyObject *resultobj;
16789 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16790 int result;
16791 PyObject * obj0 = 0 ;
16792 char *kwnames[] = {
16793 (char *) "self", NULL
16794 };
16795
16796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16798 {
16799 PyThreadState* __tstate = wxPyBeginAllowThreads();
16800 result = (int)(arg1)->GetPaperId();
16801
16802 wxPyEndAllowThreads(__tstate);
16803 if (PyErr_Occurred()) SWIG_fail;
16804 }
16805 resultobj = PyInt_FromLong((long)result);
16806 return resultobj;
16807 fail:
16808 return NULL;
16809}
16810
16811
16812static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16813 PyObject *resultobj;
16814 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16815 wxSize result;
16816 PyObject * obj0 = 0 ;
16817 char *kwnames[] = {
16818 (char *) "self", NULL
16819 };
16820
16821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16823 {
16824 PyThreadState* __tstate = wxPyBeginAllowThreads();
16825 result = (arg1)->GetPaperSize();
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 {
16831 wxSize * resultptr;
16832 resultptr = new wxSize((wxSize &) result);
16833 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16834 }
16835 return resultobj;
16836 fail:
16837 return NULL;
16838}
16839
16840
16841static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16842 PyObject *resultobj;
16843 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16844 wxPrintData *result;
16845 PyObject * obj0 = 0 ;
16846 char *kwnames[] = {
16847 (char *) "self", NULL
16848 };
16849
16850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16852 {
16853 PyThreadState* __tstate = wxPyBeginAllowThreads();
16854 {
16855 wxPrintData &_result_ref = (arg1)->GetPrintData();
16856 result = (wxPrintData *) &_result_ref;
16857 }
16858
16859 wxPyEndAllowThreads(__tstate);
16860 if (PyErr_Occurred()) SWIG_fail;
16861 }
16862 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16863 return resultobj;
16864 fail:
16865 return NULL;
16866}
16867
16868
16869static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16870 PyObject *resultobj;
16871 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16872 bool result;
16873 PyObject * obj0 = 0 ;
16874 char *kwnames[] = {
16875 (char *) "self", NULL
16876 };
16877
16878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16880 {
16881 PyThreadState* __tstate = wxPyBeginAllowThreads();
16882 result = (bool)(arg1)->Ok();
16883
16884 wxPyEndAllowThreads(__tstate);
16885 if (PyErr_Occurred()) SWIG_fail;
16886 }
16887 resultobj = PyInt_FromLong((long)result);
16888 return resultobj;
16889 fail:
16890 return NULL;
16891}
16892
16893
16894static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16895 PyObject *resultobj;
16896 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16897 bool arg2 ;
16898 PyObject * obj0 = 0 ;
16899 PyObject * obj1 = 0 ;
16900 char *kwnames[] = {
16901 (char *) "self",(char *) "flag", NULL
16902 };
16903
16904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16906 arg2 = PyInt_AsLong(obj1) ? true : false;
16907 if (PyErr_Occurred()) SWIG_fail;
16908 {
16909 PyThreadState* __tstate = wxPyBeginAllowThreads();
16910 (arg1)->SetDefaultInfo(arg2);
16911
16912 wxPyEndAllowThreads(__tstate);
16913 if (PyErr_Occurred()) SWIG_fail;
16914 }
16915 Py_INCREF(Py_None); resultobj = Py_None;
16916 return resultobj;
16917 fail:
16918 return NULL;
16919}
16920
16921
16922static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16923 PyObject *resultobj;
16924 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16925 bool arg2 ;
16926 PyObject * obj0 = 0 ;
16927 PyObject * obj1 = 0 ;
16928 char *kwnames[] = {
16929 (char *) "self",(char *) "flag", NULL
16930 };
16931
16932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16934 arg2 = PyInt_AsLong(obj1) ? true : false;
16935 if (PyErr_Occurred()) SWIG_fail;
16936 {
16937 PyThreadState* __tstate = wxPyBeginAllowThreads();
16938 (arg1)->SetDefaultMinMargins(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_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16951 PyObject *resultobj;
16952 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16953 wxPoint *arg2 = 0 ;
16954 wxPoint temp2 ;
16955 PyObject * obj0 = 0 ;
16956 PyObject * obj1 = 0 ;
16957 char *kwnames[] = {
16958 (char *) "self",(char *) "pt", NULL
16959 };
16960
16961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16963 {
16964 arg2 = &temp2;
16965 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16966 }
16967 {
16968 PyThreadState* __tstate = wxPyBeginAllowThreads();
16969 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16970
16971 wxPyEndAllowThreads(__tstate);
16972 if (PyErr_Occurred()) SWIG_fail;
16973 }
16974 Py_INCREF(Py_None); resultobj = Py_None;
16975 return resultobj;
16976 fail:
16977 return NULL;
16978}
16979
16980
16981static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16982 PyObject *resultobj;
16983 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16984 wxPoint *arg2 = 0 ;
16985 wxPoint temp2 ;
16986 PyObject * obj0 = 0 ;
16987 PyObject * obj1 = 0 ;
16988 char *kwnames[] = {
16989 (char *) "self",(char *) "pt", NULL
16990 };
16991
16992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16994 {
16995 arg2 = &temp2;
16996 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16997 }
16998 {
16999 PyThreadState* __tstate = wxPyBeginAllowThreads();
17000 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
17001
17002 wxPyEndAllowThreads(__tstate);
17003 if (PyErr_Occurred()) SWIG_fail;
17004 }
17005 Py_INCREF(Py_None); resultobj = Py_None;
17006 return resultobj;
17007 fail:
17008 return NULL;
17009}
17010
17011
17012static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
17013 PyObject *resultobj;
17014 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17015 wxPoint *arg2 = 0 ;
17016 wxPoint temp2 ;
17017 PyObject * obj0 = 0 ;
17018 PyObject * obj1 = 0 ;
17019 char *kwnames[] = {
17020 (char *) "self",(char *) "pt", NULL
17021 };
17022
17023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
17024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17025 {
17026 arg2 = &temp2;
17027 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17028 }
17029 {
17030 PyThreadState* __tstate = wxPyBeginAllowThreads();
17031 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
17032
17033 wxPyEndAllowThreads(__tstate);
17034 if (PyErr_Occurred()) SWIG_fail;
17035 }
17036 Py_INCREF(Py_None); resultobj = Py_None;
17037 return resultobj;
17038 fail:
17039 return NULL;
17040}
17041
17042
17043static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17044 PyObject *resultobj;
17045 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17046 wxPoint *arg2 = 0 ;
17047 wxPoint temp2 ;
17048 PyObject * obj0 = 0 ;
17049 PyObject * obj1 = 0 ;
17050 char *kwnames[] = {
17051 (char *) "self",(char *) "pt", NULL
17052 };
17053
17054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
17055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17056 {
17057 arg2 = &temp2;
17058 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17059 }
17060 {
17061 PyThreadState* __tstate = wxPyBeginAllowThreads();
17062 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
17063
17064 wxPyEndAllowThreads(__tstate);
17065 if (PyErr_Occurred()) SWIG_fail;
17066 }
17067 Py_INCREF(Py_None); resultobj = Py_None;
17068 return resultobj;
17069 fail:
17070 return NULL;
17071}
17072
17073
17074static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17075 PyObject *resultobj;
17076 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17077 int arg2 ;
17078 PyObject * obj0 = 0 ;
17079 char *kwnames[] = {
17080 (char *) "self",(char *) "id", NULL
17081 };
17082
17083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
17084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17085 {
17086 PyThreadState* __tstate = wxPyBeginAllowThreads();
17087 (arg1)->SetPaperId((wxPaperSize )arg2);
17088
17089 wxPyEndAllowThreads(__tstate);
17090 if (PyErr_Occurred()) SWIG_fail;
17091 }
17092 Py_INCREF(Py_None); resultobj = Py_None;
17093 return resultobj;
17094 fail:
17095 return NULL;
17096}
17097
17098
17099static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17100 PyObject *resultobj;
17101 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17102 wxSize *arg2 = 0 ;
17103 wxSize temp2 ;
17104 PyObject * obj0 = 0 ;
17105 PyObject * obj1 = 0 ;
17106 char *kwnames[] = {
17107 (char *) "self",(char *) "size", NULL
17108 };
17109
17110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17112 {
17113 arg2 = &temp2;
17114 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17115 }
17116 {
17117 PyThreadState* __tstate = wxPyBeginAllowThreads();
17118 (arg1)->SetPaperSize((wxSize const &)*arg2);
17119
17120 wxPyEndAllowThreads(__tstate);
17121 if (PyErr_Occurred()) SWIG_fail;
17122 }
17123 Py_INCREF(Py_None); resultobj = Py_None;
17124 return resultobj;
17125 fail:
17126 return NULL;
17127}
17128
17129
17130static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17131 PyObject *resultobj;
17132 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17133 wxPrintData *arg2 = 0 ;
17134 PyObject * obj0 = 0 ;
17135 PyObject * obj1 = 0 ;
17136 char *kwnames[] = {
17137 (char *) "self",(char *) "printData", NULL
17138 };
17139
17140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17142 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17143 if (arg2 == NULL) {
17144 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17145 }
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 Py_INCREF(Py_None); resultobj = Py_None;
17154 return resultobj;
17155 fail:
17156 return NULL;
17157}
17158
17159
17160static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
17161 PyObject *obj;
17162 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17163 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
17164 Py_INCREF(obj);
17165 return Py_BuildValue((char *)"");
17166}
17167static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj;
17169 wxWindow *arg1 = (wxWindow *) 0 ;
17170 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
17171 wxPageSetupDialog *result;
17172 PyObject * obj0 = 0 ;
17173 PyObject * obj1 = 0 ;
17174 char *kwnames[] = {
17175 (char *) "parent",(char *) "data", NULL
17176 };
17177
17178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17180 if (obj1) {
17181 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17182 }
17183 {
17184 PyThreadState* __tstate = wxPyBeginAllowThreads();
17185 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
17186
17187 wxPyEndAllowThreads(__tstate);
17188 if (PyErr_Occurred()) SWIG_fail;
17189 }
17190 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
17191 return resultobj;
17192 fail:
17193 return NULL;
17194}
17195
17196
17197static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
17198 PyObject *resultobj;
17199 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17200 wxPageSetupDialogData *result;
17201 PyObject * obj0 = 0 ;
17202 char *kwnames[] = {
17203 (char *) "self", NULL
17204 };
17205
17206 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
17207 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17208 {
17209 PyThreadState* __tstate = wxPyBeginAllowThreads();
17210 {
17211 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
17212 result = (wxPageSetupDialogData *) &_result_ref;
17213 }
17214
17215 wxPyEndAllowThreads(__tstate);
17216 if (PyErr_Occurred()) SWIG_fail;
17217 }
17218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
17219 return resultobj;
17220 fail:
17221 return NULL;
17222}
17223
17224
17225static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17226 PyObject *resultobj;
17227 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17228 int result;
17229 PyObject * obj0 = 0 ;
17230 char *kwnames[] = {
17231 (char *) "self", NULL
17232 };
17233
17234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
17235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17236 {
17237 PyThreadState* __tstate = wxPyBeginAllowThreads();
17238 result = (int)(arg1)->ShowModal();
17239
17240 wxPyEndAllowThreads(__tstate);
17241 if (PyErr_Occurred()) SWIG_fail;
17242 }
17243 resultobj = PyInt_FromLong((long)result);
17244 return resultobj;
17245 fail:
17246 return NULL;
17247}
17248
17249
17250static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
17251 PyObject *obj;
17252 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17253 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
17254 Py_INCREF(obj);
17255 return Py_BuildValue((char *)"");
17256}
17257static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17258 PyObject *resultobj;
17259 wxPrintDialogData *result;
17260 char *kwnames[] = {
17261 NULL
17262 };
17263
17264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
17265 {
17266 PyThreadState* __tstate = wxPyBeginAllowThreads();
17267 result = (wxPrintDialogData *)new wxPrintDialogData();
17268
17269 wxPyEndAllowThreads(__tstate);
17270 if (PyErr_Occurred()) SWIG_fail;
17271 }
17272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
17273 return resultobj;
17274 fail:
17275 return NULL;
17276}
17277
17278
17279static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17280 PyObject *resultobj;
17281 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17282 PyObject * obj0 = 0 ;
17283 char *kwnames[] = {
17284 (char *) "self", NULL
17285 };
17286
17287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
17288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17289 {
17290 PyThreadState* __tstate = wxPyBeginAllowThreads();
17291 delete arg1;
17292
17293 wxPyEndAllowThreads(__tstate);
17294 if (PyErr_Occurred()) SWIG_fail;
17295 }
17296 Py_INCREF(Py_None); resultobj = Py_None;
17297 return resultobj;
17298 fail:
17299 return NULL;
17300}
17301
17302
17303static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17304 PyObject *resultobj;
17305 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17306 int result;
17307 PyObject * obj0 = 0 ;
17308 char *kwnames[] = {
17309 (char *) "self", NULL
17310 };
17311
17312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17314 {
17315 PyThreadState* __tstate = wxPyBeginAllowThreads();
17316 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17317
17318 wxPyEndAllowThreads(__tstate);
17319 if (PyErr_Occurred()) SWIG_fail;
17320 }
17321 resultobj = PyInt_FromLong((long)result);
17322 return resultobj;
17323 fail:
17324 return NULL;
17325}
17326
17327
17328static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17329 PyObject *resultobj;
17330 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17331 int result;
17332 PyObject * obj0 = 0 ;
17333 char *kwnames[] = {
17334 (char *) "self", NULL
17335 };
17336
17337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17339 {
17340 PyThreadState* __tstate = wxPyBeginAllowThreads();
17341 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17342
17343 wxPyEndAllowThreads(__tstate);
17344 if (PyErr_Occurred()) SWIG_fail;
17345 }
17346 resultobj = PyInt_FromLong((long)result);
17347 return resultobj;
17348 fail:
17349 return NULL;
17350}
17351
17352
17353static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17354 PyObject *resultobj;
17355 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17356 int result;
17357 PyObject * obj0 = 0 ;
17358 char *kwnames[] = {
17359 (char *) "self", NULL
17360 };
17361
17362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17364 {
17365 PyThreadState* __tstate = wxPyBeginAllowThreads();
17366 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17367
17368 wxPyEndAllowThreads(__tstate);
17369 if (PyErr_Occurred()) SWIG_fail;
17370 }
17371 resultobj = PyInt_FromLong((long)result);
17372 return resultobj;
17373 fail:
17374 return NULL;
17375}
17376
17377
17378static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17379 PyObject *resultobj;
17380 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17381 int result;
17382 PyObject * obj0 = 0 ;
17383 char *kwnames[] = {
17384 (char *) "self", NULL
17385 };
17386
17387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17389 {
17390 PyThreadState* __tstate = wxPyBeginAllowThreads();
17391 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17392
17393 wxPyEndAllowThreads(__tstate);
17394 if (PyErr_Occurred()) SWIG_fail;
17395 }
17396 resultobj = PyInt_FromLong((long)result);
17397 return resultobj;
17398 fail:
17399 return NULL;
17400}
17401
17402
17403static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17404 PyObject *resultobj;
17405 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17406 int result;
17407 PyObject * obj0 = 0 ;
17408 char *kwnames[] = {
17409 (char *) "self", NULL
17410 };
17411
17412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17414 {
17415 PyThreadState* __tstate = wxPyBeginAllowThreads();
17416 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17417
17418 wxPyEndAllowThreads(__tstate);
17419 if (PyErr_Occurred()) SWIG_fail;
17420 }
17421 resultobj = PyInt_FromLong((long)result);
17422 return resultobj;
17423 fail:
17424 return NULL;
17425}
17426
17427
17428static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17429 PyObject *resultobj;
17430 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17431 bool result;
17432 PyObject * obj0 = 0 ;
17433 char *kwnames[] = {
17434 (char *) "self", NULL
17435 };
17436
17437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17439 {
17440 PyThreadState* __tstate = wxPyBeginAllowThreads();
17441 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17442
17443 wxPyEndAllowThreads(__tstate);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 resultobj = PyInt_FromLong((long)result);
17447 return resultobj;
17448 fail:
17449 return NULL;
17450}
17451
17452
17453static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17456 bool result;
17457 PyObject * obj0 = 0 ;
17458 char *kwnames[] = {
17459 (char *) "self", NULL
17460 };
17461
17462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17464 {
17465 PyThreadState* __tstate = wxPyBeginAllowThreads();
17466 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17467
17468 wxPyEndAllowThreads(__tstate);
17469 if (PyErr_Occurred()) SWIG_fail;
17470 }
17471 resultobj = PyInt_FromLong((long)result);
17472 return resultobj;
17473 fail:
17474 return NULL;
17475}
17476
17477
17478static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17479 PyObject *resultobj;
17480 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17481 bool result;
17482 PyObject * obj0 = 0 ;
17483 char *kwnames[] = {
17484 (char *) "self", NULL
17485 };
17486
17487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17489 {
17490 PyThreadState* __tstate = wxPyBeginAllowThreads();
17491 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17492
17493 wxPyEndAllowThreads(__tstate);
17494 if (PyErr_Occurred()) SWIG_fail;
17495 }
17496 resultobj = PyInt_FromLong((long)result);
17497 return resultobj;
17498 fail:
17499 return NULL;
17500}
17501
17502
17503static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17504 PyObject *resultobj;
17505 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17506 bool result;
17507 PyObject * obj0 = 0 ;
17508 char *kwnames[] = {
17509 (char *) "self", NULL
17510 };
17511
17512 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17513 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17514 {
17515 PyThreadState* __tstate = wxPyBeginAllowThreads();
17516 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17517
17518 wxPyEndAllowThreads(__tstate);
17519 if (PyErr_Occurred()) SWIG_fail;
17520 }
17521 resultobj = PyInt_FromLong((long)result);
17522 return resultobj;
17523 fail:
17524 return NULL;
17525}
17526
17527
17528static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17529 PyObject *resultobj;
17530 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17531 bool result;
17532 PyObject * obj0 = 0 ;
17533 char *kwnames[] = {
17534 (char *) "self", NULL
17535 };
17536
17537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17539 {
17540 PyThreadState* __tstate = wxPyBeginAllowThreads();
17541 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17542
17543 wxPyEndAllowThreads(__tstate);
17544 if (PyErr_Occurred()) SWIG_fail;
17545 }
17546 resultobj = PyInt_FromLong((long)result);
17547 return resultobj;
17548 fail:
17549 return NULL;
17550}
17551
17552
17553static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17554 PyObject *resultobj;
17555 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17556 int arg2 ;
17557 PyObject * obj0 = 0 ;
17558 char *kwnames[] = {
17559 (char *) "self",(char *) "v", NULL
17560 };
17561
17562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17564 {
17565 PyThreadState* __tstate = wxPyBeginAllowThreads();
17566 (arg1)->SetFromPage(arg2);
17567
17568 wxPyEndAllowThreads(__tstate);
17569 if (PyErr_Occurred()) SWIG_fail;
17570 }
17571 Py_INCREF(Py_None); resultobj = Py_None;
17572 return resultobj;
17573 fail:
17574 return NULL;
17575}
17576
17577
17578static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17579 PyObject *resultobj;
17580 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17581 int arg2 ;
17582 PyObject * obj0 = 0 ;
17583 char *kwnames[] = {
17584 (char *) "self",(char *) "v", NULL
17585 };
17586
17587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17589 {
17590 PyThreadState* __tstate = wxPyBeginAllowThreads();
17591 (arg1)->SetToPage(arg2);
17592
17593 wxPyEndAllowThreads(__tstate);
17594 if (PyErr_Occurred()) SWIG_fail;
17595 }
17596 Py_INCREF(Py_None); resultobj = Py_None;
17597 return resultobj;
17598 fail:
17599 return NULL;
17600}
17601
17602
17603static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17604 PyObject *resultobj;
17605 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17606 int arg2 ;
17607 PyObject * obj0 = 0 ;
17608 char *kwnames[] = {
17609 (char *) "self",(char *) "v", NULL
17610 };
17611
17612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17614 {
17615 PyThreadState* __tstate = wxPyBeginAllowThreads();
17616 (arg1)->SetMinPage(arg2);
17617
17618 wxPyEndAllowThreads(__tstate);
17619 if (PyErr_Occurred()) SWIG_fail;
17620 }
17621 Py_INCREF(Py_None); resultobj = Py_None;
17622 return resultobj;
17623 fail:
17624 return NULL;
17625}
17626
17627
17628static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17629 PyObject *resultobj;
17630 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17631 int arg2 ;
17632 PyObject * obj0 = 0 ;
17633 char *kwnames[] = {
17634 (char *) "self",(char *) "v", NULL
17635 };
17636
17637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17639 {
17640 PyThreadState* __tstate = wxPyBeginAllowThreads();
17641 (arg1)->SetMaxPage(arg2);
17642
17643 wxPyEndAllowThreads(__tstate);
17644 if (PyErr_Occurred()) SWIG_fail;
17645 }
17646 Py_INCREF(Py_None); resultobj = Py_None;
17647 return resultobj;
17648 fail:
17649 return NULL;
17650}
17651
17652
17653static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17654 PyObject *resultobj;
17655 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17656 int arg2 ;
17657 PyObject * obj0 = 0 ;
17658 char *kwnames[] = {
17659 (char *) "self",(char *) "v", NULL
17660 };
17661
17662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17664 {
17665 PyThreadState* __tstate = wxPyBeginAllowThreads();
17666 (arg1)->SetNoCopies(arg2);
17667
17668 wxPyEndAllowThreads(__tstate);
17669 if (PyErr_Occurred()) SWIG_fail;
17670 }
17671 Py_INCREF(Py_None); resultobj = Py_None;
17672 return resultobj;
17673 fail:
17674 return NULL;
17675}
17676
17677
17678static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17679 PyObject *resultobj;
17680 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17681 bool arg2 ;
17682 PyObject * obj0 = 0 ;
17683 PyObject * obj1 = 0 ;
17684 char *kwnames[] = {
17685 (char *) "self",(char *) "flag", NULL
17686 };
17687
17688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17690 arg2 = PyInt_AsLong(obj1) ? true : false;
17691 if (PyErr_Occurred()) SWIG_fail;
17692 {
17693 PyThreadState* __tstate = wxPyBeginAllowThreads();
17694 (arg1)->SetAllPages(arg2);
17695
17696 wxPyEndAllowThreads(__tstate);
17697 if (PyErr_Occurred()) SWIG_fail;
17698 }
17699 Py_INCREF(Py_None); resultobj = Py_None;
17700 return resultobj;
17701 fail:
17702 return NULL;
17703}
17704
17705
17706static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17707 PyObject *resultobj;
17708 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17709 bool arg2 ;
17710 PyObject * obj0 = 0 ;
17711 PyObject * obj1 = 0 ;
17712 char *kwnames[] = {
17713 (char *) "self",(char *) "flag", NULL
17714 };
17715
17716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17718 arg2 = PyInt_AsLong(obj1) ? true : false;
17719 if (PyErr_Occurred()) SWIG_fail;
17720 {
17721 PyThreadState* __tstate = wxPyBeginAllowThreads();
17722 (arg1)->SetSelection(arg2);
17723
17724 wxPyEndAllowThreads(__tstate);
17725 if (PyErr_Occurred()) SWIG_fail;
17726 }
17727 Py_INCREF(Py_None); resultobj = Py_None;
17728 return resultobj;
17729 fail:
17730 return NULL;
17731}
17732
17733
17734static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17735 PyObject *resultobj;
17736 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17737 bool arg2 ;
17738 PyObject * obj0 = 0 ;
17739 PyObject * obj1 = 0 ;
17740 char *kwnames[] = {
17741 (char *) "self",(char *) "flag", NULL
17742 };
17743
17744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17746 arg2 = PyInt_AsLong(obj1) ? true : false;
17747 if (PyErr_Occurred()) SWIG_fail;
17748 {
17749 PyThreadState* __tstate = wxPyBeginAllowThreads();
17750 (arg1)->SetCollate(arg2);
17751
17752 wxPyEndAllowThreads(__tstate);
17753 if (PyErr_Occurred()) SWIG_fail;
17754 }
17755 Py_INCREF(Py_None); resultobj = Py_None;
17756 return resultobj;
17757 fail:
17758 return NULL;
17759}
17760
17761
17762static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17763 PyObject *resultobj;
17764 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17765 bool arg2 ;
17766 PyObject * obj0 = 0 ;
17767 PyObject * obj1 = 0 ;
17768 char *kwnames[] = {
17769 (char *) "self",(char *) "flag", NULL
17770 };
17771
17772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17774 arg2 = PyInt_AsLong(obj1) ? true : false;
17775 if (PyErr_Occurred()) SWIG_fail;
17776 {
17777 PyThreadState* __tstate = wxPyBeginAllowThreads();
17778 (arg1)->SetPrintToFile(arg2);
17779
17780 wxPyEndAllowThreads(__tstate);
17781 if (PyErr_Occurred()) SWIG_fail;
17782 }
17783 Py_INCREF(Py_None); resultobj = Py_None;
17784 return resultobj;
17785 fail:
17786 return NULL;
17787}
17788
17789
17790static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17791 PyObject *resultobj;
17792 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17793 bool arg2 ;
17794 PyObject * obj0 = 0 ;
17795 PyObject * obj1 = 0 ;
17796 char *kwnames[] = {
17797 (char *) "self",(char *) "flag", NULL
17798 };
17799
17800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17802 arg2 = PyInt_AsLong(obj1) ? true : false;
17803 if (PyErr_Occurred()) SWIG_fail;
17804 {
17805 PyThreadState* __tstate = wxPyBeginAllowThreads();
17806 (arg1)->SetSetupDialog(arg2);
17807
17808 wxPyEndAllowThreads(__tstate);
17809 if (PyErr_Occurred()) SWIG_fail;
17810 }
17811 Py_INCREF(Py_None); resultobj = Py_None;
17812 return resultobj;
17813 fail:
17814 return NULL;
17815}
17816
17817
17818static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17819 PyObject *resultobj;
17820 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17821 bool arg2 ;
17822 PyObject * obj0 = 0 ;
17823 PyObject * obj1 = 0 ;
17824 char *kwnames[] = {
17825 (char *) "self",(char *) "flag", NULL
17826 };
17827
17828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17830 arg2 = PyInt_AsLong(obj1) ? true : false;
17831 if (PyErr_Occurred()) SWIG_fail;
17832 {
17833 PyThreadState* __tstate = wxPyBeginAllowThreads();
17834 (arg1)->EnablePrintToFile(arg2);
17835
17836 wxPyEndAllowThreads(__tstate);
17837 if (PyErr_Occurred()) SWIG_fail;
17838 }
17839 Py_INCREF(Py_None); resultobj = Py_None;
17840 return resultobj;
17841 fail:
17842 return NULL;
17843}
17844
17845
17846static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17847 PyObject *resultobj;
17848 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17849 bool arg2 ;
17850 PyObject * obj0 = 0 ;
17851 PyObject * obj1 = 0 ;
17852 char *kwnames[] = {
17853 (char *) "self",(char *) "flag", NULL
17854 };
17855
17856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17858 arg2 = PyInt_AsLong(obj1) ? true : false;
17859 if (PyErr_Occurred()) SWIG_fail;
17860 {
17861 PyThreadState* __tstate = wxPyBeginAllowThreads();
17862 (arg1)->EnableSelection(arg2);
17863
17864 wxPyEndAllowThreads(__tstate);
17865 if (PyErr_Occurred()) SWIG_fail;
17866 }
17867 Py_INCREF(Py_None); resultobj = Py_None;
17868 return resultobj;
17869 fail:
17870 return NULL;
17871}
17872
17873
17874static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17875 PyObject *resultobj;
17876 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17877 bool arg2 ;
17878 PyObject * obj0 = 0 ;
17879 PyObject * obj1 = 0 ;
17880 char *kwnames[] = {
17881 (char *) "self",(char *) "flag", NULL
17882 };
17883
17884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17886 arg2 = PyInt_AsLong(obj1) ? true : false;
17887 if (PyErr_Occurred()) SWIG_fail;
17888 {
17889 PyThreadState* __tstate = wxPyBeginAllowThreads();
17890 (arg1)->EnablePageNumbers(arg2);
17891
17892 wxPyEndAllowThreads(__tstate);
17893 if (PyErr_Occurred()) SWIG_fail;
17894 }
17895 Py_INCREF(Py_None); resultobj = Py_None;
17896 return resultobj;
17897 fail:
17898 return NULL;
17899}
17900
17901
17902static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17903 PyObject *resultobj;
17904 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17905 bool arg2 ;
17906 PyObject * obj0 = 0 ;
17907 PyObject * obj1 = 0 ;
17908 char *kwnames[] = {
17909 (char *) "self",(char *) "flag", NULL
17910 };
17911
17912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17914 arg2 = PyInt_AsLong(obj1) ? true : false;
17915 if (PyErr_Occurred()) SWIG_fail;
17916 {
17917 PyThreadState* __tstate = wxPyBeginAllowThreads();
17918 (arg1)->EnableHelp(arg2);
17919
17920 wxPyEndAllowThreads(__tstate);
17921 if (PyErr_Occurred()) SWIG_fail;
17922 }
17923 Py_INCREF(Py_None); resultobj = Py_None;
17924 return resultobj;
17925 fail:
17926 return NULL;
17927}
17928
17929
17930static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17931 PyObject *resultobj;
17932 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17933 bool result;
17934 PyObject * obj0 = 0 ;
17935 char *kwnames[] = {
17936 (char *) "self", NULL
17937 };
17938
17939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17941 {
17942 PyThreadState* __tstate = wxPyBeginAllowThreads();
17943 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17944
17945 wxPyEndAllowThreads(__tstate);
17946 if (PyErr_Occurred()) SWIG_fail;
17947 }
17948 resultobj = PyInt_FromLong((long)result);
17949 return resultobj;
17950 fail:
17951 return NULL;
17952}
17953
17954
17955static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17956 PyObject *resultobj;
17957 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17958 bool result;
17959 PyObject * obj0 = 0 ;
17960 char *kwnames[] = {
17961 (char *) "self", NULL
17962 };
17963
17964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17966 {
17967 PyThreadState* __tstate = wxPyBeginAllowThreads();
17968 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17969
17970 wxPyEndAllowThreads(__tstate);
17971 if (PyErr_Occurred()) SWIG_fail;
17972 }
17973 resultobj = PyInt_FromLong((long)result);
17974 return resultobj;
17975 fail:
17976 return NULL;
17977}
17978
17979
17980static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17981 PyObject *resultobj;
17982 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17983 bool result;
17984 PyObject * obj0 = 0 ;
17985 char *kwnames[] = {
17986 (char *) "self", NULL
17987 };
17988
17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17991 {
17992 PyThreadState* __tstate = wxPyBeginAllowThreads();
17993 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17994
17995 wxPyEndAllowThreads(__tstate);
17996 if (PyErr_Occurred()) SWIG_fail;
17997 }
17998 resultobj = PyInt_FromLong((long)result);
17999 return resultobj;
18000 fail:
18001 return NULL;
18002}
18003
18004
18005static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
18006 PyObject *resultobj;
18007 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18008 bool result;
18009 PyObject * obj0 = 0 ;
18010 char *kwnames[] = {
18011 (char *) "self", NULL
18012 };
18013
18014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
18015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18016 {
18017 PyThreadState* __tstate = wxPyBeginAllowThreads();
18018 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
18019
18020 wxPyEndAllowThreads(__tstate);
18021 if (PyErr_Occurred()) SWIG_fail;
18022 }
18023 resultobj = PyInt_FromLong((long)result);
18024 return resultobj;
18025 fail:
18026 return NULL;
18027}
18028
18029
18030static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
18031 PyObject *resultobj;
18032 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18033 bool result;
18034 PyObject * obj0 = 0 ;
18035 char *kwnames[] = {
18036 (char *) "self", NULL
18037 };
18038
18039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
18040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18041 {
18042 PyThreadState* __tstate = wxPyBeginAllowThreads();
18043 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
18044
18045 wxPyEndAllowThreads(__tstate);
18046 if (PyErr_Occurred()) SWIG_fail;
18047 }
18048 resultobj = PyInt_FromLong((long)result);
18049 return resultobj;
18050 fail:
18051 return NULL;
18052}
18053
18054
18055static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18056 PyObject *resultobj;
18057 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18058 wxPrintData *result;
18059 PyObject * obj0 = 0 ;
18060 char *kwnames[] = {
18061 (char *) "self", NULL
18062 };
18063
18064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18066 {
18067 PyThreadState* __tstate = wxPyBeginAllowThreads();
18068 {
18069 wxPrintData &_result_ref = (arg1)->GetPrintData();
18070 result = (wxPrintData *) &_result_ref;
18071 }
18072
18073 wxPyEndAllowThreads(__tstate);
18074 if (PyErr_Occurred()) SWIG_fail;
18075 }
18076 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
18077 return resultobj;
18078 fail:
18079 return NULL;
18080}
18081
18082
18083static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18084 PyObject *resultobj;
18085 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18086 wxPrintData *arg2 = 0 ;
18087 PyObject * obj0 = 0 ;
18088 PyObject * obj1 = 0 ;
18089 char *kwnames[] = {
18090 (char *) "self",(char *) "printData", NULL
18091 };
18092
18093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18095 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18096 if (arg2 == NULL) {
18097 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18098 }
18099 {
18100 PyThreadState* __tstate = wxPyBeginAllowThreads();
18101 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18102
18103 wxPyEndAllowThreads(__tstate);
18104 if (PyErr_Occurred()) SWIG_fail;
18105 }
18106 Py_INCREF(Py_None); resultobj = Py_None;
18107 return resultobj;
18108 fail:
18109 return NULL;
18110}
18111
18112
18113static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
18114 PyObject *obj;
18115 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18116 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
18117 Py_INCREF(obj);
18118 return Py_BuildValue((char *)"");
18119}
18120static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18121 PyObject *resultobj;
18122 wxWindow *arg1 = (wxWindow *) 0 ;
18123 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
18124 wxPrintDialog *result;
18125 PyObject * obj0 = 0 ;
18126 PyObject * obj1 = 0 ;
18127 char *kwnames[] = {
18128 (char *) "parent",(char *) "data", NULL
18129 };
18130
18131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18133 if (obj1) {
18134 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18135 }
18136 {
18137 PyThreadState* __tstate = wxPyBeginAllowThreads();
18138 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
18139
18140 wxPyEndAllowThreads(__tstate);
18141 if (PyErr_Occurred()) SWIG_fail;
18142 }
18143 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
18144 return resultobj;
18145 fail:
18146 return NULL;
18147}
18148
18149
18150static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18151 PyObject *resultobj;
18152 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18153 wxPrintDialogData *result;
18154 PyObject * obj0 = 0 ;
18155 char *kwnames[] = {
18156 (char *) "self", NULL
18157 };
18158
18159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
18160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18161 {
18162 PyThreadState* __tstate = wxPyBeginAllowThreads();
18163 {
18164 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18165 result = (wxPrintDialogData *) &_result_ref;
18166 }
18167
18168 wxPyEndAllowThreads(__tstate);
18169 if (PyErr_Occurred()) SWIG_fail;
18170 }
18171 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18172 return resultobj;
18173 fail:
18174 return NULL;
18175}
18176
18177
18178static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18179 PyObject *resultobj;
18180 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18181 wxDC *result;
18182 PyObject * obj0 = 0 ;
18183 char *kwnames[] = {
18184 (char *) "self", NULL
18185 };
18186
18187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
18188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18189 {
18190 PyThreadState* __tstate = wxPyBeginAllowThreads();
18191 result = (wxDC *)(arg1)->GetPrintDC();
18192
18193 wxPyEndAllowThreads(__tstate);
18194 if (PyErr_Occurred()) SWIG_fail;
18195 }
18196 {
18197 resultobj = wxPyMake_wxObject(result);
18198 }
18199 return resultobj;
18200 fail:
18201 return NULL;
18202}
18203
18204
18205static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18206 PyObject *resultobj;
18207 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18208 int result;
18209 PyObject * obj0 = 0 ;
18210 char *kwnames[] = {
18211 (char *) "self", NULL
18212 };
18213
18214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
18215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18216 {
18217 PyThreadState* __tstate = wxPyBeginAllowThreads();
18218 result = (int)(arg1)->ShowModal();
18219
18220 wxPyEndAllowThreads(__tstate);
18221 if (PyErr_Occurred()) SWIG_fail;
18222 }
18223 resultobj = PyInt_FromLong((long)result);
18224 return resultobj;
18225 fail:
18226 return NULL;
18227}
18228
18229
18230static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
18231 PyObject *obj;
18232 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18233 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
18234 Py_INCREF(obj);
18235 return Py_BuildValue((char *)"");
18236}
18237static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18238 PyObject *resultobj;
18239 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
18240 wxPrinter *result;
18241 PyObject * obj0 = 0 ;
18242 char *kwnames[] = {
18243 (char *) "data", NULL
18244 };
18245
18246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
18247 if (obj0) {
18248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18249 }
18250 {
18251 PyThreadState* __tstate = wxPyBeginAllowThreads();
18252 result = (wxPrinter *)new wxPrinter(arg1);
18253
18254 wxPyEndAllowThreads(__tstate);
18255 if (PyErr_Occurred()) SWIG_fail;
18256 }
18257 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
18258 return resultobj;
18259 fail:
18260 return NULL;
18261}
18262
18263
18264static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18265 PyObject *resultobj;
18266 wxPrinter *arg1 = (wxPrinter *) 0 ;
18267 PyObject * obj0 = 0 ;
18268 char *kwnames[] = {
18269 (char *) "self", NULL
18270 };
18271
18272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
18273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18274 {
18275 PyThreadState* __tstate = wxPyBeginAllowThreads();
18276 delete arg1;
18277
18278 wxPyEndAllowThreads(__tstate);
18279 if (PyErr_Occurred()) SWIG_fail;
18280 }
18281 Py_INCREF(Py_None); resultobj = Py_None;
18282 return resultobj;
18283 fail:
18284 return NULL;
18285}
18286
18287
18288static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18289 PyObject *resultobj;
18290 wxPrinter *arg1 = (wxPrinter *) 0 ;
18291 wxWindow *arg2 = (wxWindow *) 0 ;
18292 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18293 PyObject * obj0 = 0 ;
18294 PyObject * obj1 = 0 ;
18295 PyObject * obj2 = 0 ;
18296 char *kwnames[] = {
18297 (char *) "self",(char *) "parent",(char *) "printout", NULL
18298 };
18299
18300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
18301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18302 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18303 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18304 {
18305 PyThreadState* __tstate = wxPyBeginAllowThreads();
18306 (arg1)->CreateAbortWindow(arg2,arg3);
18307
18308 wxPyEndAllowThreads(__tstate);
18309 if (PyErr_Occurred()) SWIG_fail;
18310 }
18311 Py_INCREF(Py_None); resultobj = Py_None;
18312 return resultobj;
18313 fail:
18314 return NULL;
18315}
18316
18317
18318static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18319 PyObject *resultobj;
18320 wxPrinter *arg1 = (wxPrinter *) 0 ;
18321 wxPrintDialogData *result;
18322 PyObject * obj0 = 0 ;
18323 char *kwnames[] = {
18324 (char *) "self", NULL
18325 };
18326
18327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18329 {
18330 PyThreadState* __tstate = wxPyBeginAllowThreads();
18331 {
18332 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18333 result = (wxPrintDialogData *) &_result_ref;
18334 }
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18340 return resultobj;
18341 fail:
18342 return NULL;
18343}
18344
18345
18346static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18347 PyObject *resultobj;
18348 wxPrinter *arg1 = (wxPrinter *) 0 ;
18349 wxWindow *arg2 = (wxWindow *) 0 ;
18350 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18351 int arg4 = (int) TRUE ;
18352 bool result;
18353 PyObject * obj0 = 0 ;
18354 PyObject * obj1 = 0 ;
18355 PyObject * obj2 = 0 ;
18356 char *kwnames[] = {
18357 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18358 };
18359
18360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18362 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18363 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18364 {
18365 PyThreadState* __tstate = wxPyBeginAllowThreads();
18366 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18367
18368 wxPyEndAllowThreads(__tstate);
18369 if (PyErr_Occurred()) SWIG_fail;
18370 }
18371 resultobj = PyInt_FromLong((long)result);
18372 return resultobj;
18373 fail:
18374 return NULL;
18375}
18376
18377
18378static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18379 PyObject *resultobj;
18380 wxPrinter *arg1 = (wxPrinter *) 0 ;
18381 wxWindow *arg2 = (wxWindow *) 0 ;
18382 wxDC *result;
18383 PyObject * obj0 = 0 ;
18384 PyObject * obj1 = 0 ;
18385 char *kwnames[] = {
18386 (char *) "self",(char *) "parent", NULL
18387 };
18388
18389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18391 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18392 {
18393 PyThreadState* __tstate = wxPyBeginAllowThreads();
18394 result = (wxDC *)(arg1)->PrintDialog(arg2);
18395
18396 wxPyEndAllowThreads(__tstate);
18397 if (PyErr_Occurred()) SWIG_fail;
18398 }
18399 {
18400 resultobj = wxPyMake_wxObject(result);
18401 }
18402 return resultobj;
18403 fail:
18404 return NULL;
18405}
18406
18407
18408static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18409 PyObject *resultobj;
18410 wxPrinter *arg1 = (wxPrinter *) 0 ;
18411 wxWindow *arg2 = (wxWindow *) 0 ;
18412 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18413 wxString *arg4 = 0 ;
18414 bool temp4 = false ;
18415 PyObject * obj0 = 0 ;
18416 PyObject * obj1 = 0 ;
18417 PyObject * obj2 = 0 ;
18418 PyObject * obj3 = 0 ;
18419 char *kwnames[] = {
18420 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18421 };
18422
18423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18426 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18427 {
18428 arg4 = wxString_in_helper(obj3);
18429 if (arg4 == NULL) SWIG_fail;
18430 temp4 = true;
18431 }
18432 {
18433 PyThreadState* __tstate = wxPyBeginAllowThreads();
18434 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18435
18436 wxPyEndAllowThreads(__tstate);
18437 if (PyErr_Occurred()) SWIG_fail;
18438 }
18439 Py_INCREF(Py_None); resultobj = Py_None;
18440 {
18441 if (temp4)
18442 delete arg4;
18443 }
18444 return resultobj;
18445 fail:
18446 {
18447 if (temp4)
18448 delete arg4;
18449 }
18450 return NULL;
18451}
18452
18453
18454static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18455 PyObject *resultobj;
18456 wxPrinter *arg1 = (wxPrinter *) 0 ;
18457 wxWindow *arg2 = (wxWindow *) 0 ;
18458 bool result;
18459 PyObject * obj0 = 0 ;
18460 PyObject * obj1 = 0 ;
18461 char *kwnames[] = {
18462 (char *) "self",(char *) "parent", NULL
18463 };
18464
18465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18467 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18468 {
18469 PyThreadState* __tstate = wxPyBeginAllowThreads();
18470 result = (bool)(arg1)->Setup(arg2);
18471
18472 wxPyEndAllowThreads(__tstate);
18473 if (PyErr_Occurred()) SWIG_fail;
18474 }
18475 resultobj = PyInt_FromLong((long)result);
18476 return resultobj;
18477 fail:
18478 return NULL;
18479}
18480
18481
18482static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18483 PyObject *resultobj;
18484 wxPrinter *arg1 = (wxPrinter *) 0 ;
18485 bool result;
18486 PyObject * obj0 = 0 ;
18487 char *kwnames[] = {
18488 (char *) "self", NULL
18489 };
18490
18491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18493 {
18494 PyThreadState* __tstate = wxPyBeginAllowThreads();
18495 result = (bool)(arg1)->GetAbort();
18496
18497 wxPyEndAllowThreads(__tstate);
18498 if (PyErr_Occurred()) SWIG_fail;
18499 }
18500 resultobj = PyInt_FromLong((long)result);
18501 return resultobj;
18502 fail:
18503 return NULL;
18504}
18505
18506
18507static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18508 PyObject *resultobj;
18509 int result;
18510 char *kwnames[] = {
18511 NULL
18512 };
18513
18514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18515 {
18516 PyThreadState* __tstate = wxPyBeginAllowThreads();
18517 result = (int)wxPrinter::GetLastError();
18518
18519 wxPyEndAllowThreads(__tstate);
18520 if (PyErr_Occurred()) SWIG_fail;
18521 }
18522 resultobj = PyInt_FromLong((long)result);
18523 return resultobj;
18524 fail:
18525 return NULL;
18526}
18527
18528
18529static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18530 PyObject *obj;
18531 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18532 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18533 Py_INCREF(obj);
18534 return Py_BuildValue((char *)"");
18535}
18536static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18537 PyObject *resultobj;
18538 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18539 wxString *arg1 = (wxString *) &arg1_defvalue ;
18540 wxPyPrintout *result;
18541 bool temp1 = false ;
18542 PyObject * obj0 = 0 ;
18543 char *kwnames[] = {
18544 (char *) "title", NULL
18545 };
18546
18547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18548 if (obj0) {
18549 {
18550 arg1 = wxString_in_helper(obj0);
18551 if (arg1 == NULL) SWIG_fail;
18552 temp1 = true;
18553 }
18554 }
18555 {
18556 PyThreadState* __tstate = wxPyBeginAllowThreads();
18557 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18558
18559 wxPyEndAllowThreads(__tstate);
18560 if (PyErr_Occurred()) SWIG_fail;
18561 }
18562 {
18563 resultobj = wxPyMake_wxObject(result);
18564 }
18565 {
18566 if (temp1)
18567 delete arg1;
18568 }
18569 return resultobj;
18570 fail:
18571 {
18572 if (temp1)
18573 delete arg1;
18574 }
18575 return NULL;
18576}
18577
18578
18579static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18580 PyObject *resultobj;
18581 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18582 PyObject *arg2 = (PyObject *) 0 ;
18583 PyObject *arg3 = (PyObject *) 0 ;
18584 PyObject * obj0 = 0 ;
18585 PyObject * obj1 = 0 ;
18586 PyObject * obj2 = 0 ;
18587 char *kwnames[] = {
18588 (char *) "self",(char *) "self",(char *) "_class", NULL
18589 };
18590
18591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18593 arg2 = obj1;
18594 arg3 = obj2;
18595 {
18596 PyThreadState* __tstate = wxPyBeginAllowThreads();
18597 (arg1)->_setCallbackInfo(arg2,arg3);
18598
18599 wxPyEndAllowThreads(__tstate);
18600 if (PyErr_Occurred()) SWIG_fail;
18601 }
18602 Py_INCREF(Py_None); resultobj = Py_None;
18603 return resultobj;
18604 fail:
18605 return NULL;
18606}
18607
18608
18609static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18610 PyObject *resultobj;
18611 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18612 wxString result;
18613 PyObject * obj0 = 0 ;
18614 char *kwnames[] = {
18615 (char *) "self", NULL
18616 };
18617
18618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18620 {
18621 PyThreadState* __tstate = wxPyBeginAllowThreads();
18622 result = ((wxPyPrintout const *)arg1)->GetTitle();
18623
18624 wxPyEndAllowThreads(__tstate);
18625 if (PyErr_Occurred()) SWIG_fail;
18626 }
18627 {
18628#if wxUSE_UNICODE
18629 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18630#else
18631 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18632#endif
18633 }
18634 return resultobj;
18635 fail:
18636 return NULL;
18637}
18638
18639
18640static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18641 PyObject *resultobj;
18642 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18643 wxDC *result;
18644 PyObject * obj0 = 0 ;
18645 char *kwnames[] = {
18646 (char *) "self", NULL
18647 };
18648
18649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18651 {
18652 PyThreadState* __tstate = wxPyBeginAllowThreads();
18653 result = (wxDC *)(arg1)->GetDC();
18654
18655 wxPyEndAllowThreads(__tstate);
18656 if (PyErr_Occurred()) SWIG_fail;
18657 }
18658 {
18659 resultobj = wxPyMake_wxObject(result);
18660 }
18661 return resultobj;
18662 fail:
18663 return NULL;
18664}
18665
18666
18667static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18668 PyObject *resultobj;
18669 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18670 wxDC *arg2 = (wxDC *) 0 ;
18671 PyObject * obj0 = 0 ;
18672 PyObject * obj1 = 0 ;
18673 char *kwnames[] = {
18674 (char *) "self",(char *) "dc", NULL
18675 };
18676
18677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18679 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18680 {
18681 PyThreadState* __tstate = wxPyBeginAllowThreads();
18682 (arg1)->SetDC(arg2);
18683
18684 wxPyEndAllowThreads(__tstate);
18685 if (PyErr_Occurred()) SWIG_fail;
18686 }
18687 Py_INCREF(Py_None); resultobj = Py_None;
18688 return resultobj;
18689 fail:
18690 return NULL;
18691}
18692
18693
18694static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18695 PyObject *resultobj;
18696 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18697 int *arg2 = (int *) 0 ;
18698 int *arg3 = (int *) 0 ;
18699 int temp2 ;
18700 int temp3 ;
18701 PyObject * obj0 = 0 ;
18702 char *kwnames[] = {
18703 (char *) "self", NULL
18704 };
18705
18706 arg2 = &temp2;
18707 arg3 = &temp3;
18708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
18709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18710 {
18711 PyThreadState* __tstate = wxPyBeginAllowThreads();
18712 (arg1)->GetPageSizePixels(arg2,arg3);
18713
18714 wxPyEndAllowThreads(__tstate);
18715 if (PyErr_Occurred()) SWIG_fail;
18716 }
18717 Py_INCREF(Py_None); resultobj = Py_None;
18718 {
18719 PyObject *o = PyInt_FromLong((long) (*arg2));
18720 resultobj = t_output_helper(resultobj,o);
18721 }
18722 {
18723 PyObject *o = PyInt_FromLong((long) (*arg3));
18724 resultobj = t_output_helper(resultobj,o);
18725 }
18726 return resultobj;
18727 fail:
18728 return NULL;
18729}
18730
18731
18732static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
18733 PyObject *resultobj;
18734 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18735 int arg2 ;
18736 int arg3 ;
18737 PyObject * obj0 = 0 ;
18738 char *kwnames[] = {
18739 (char *) "self",(char *) "w",(char *) "h", NULL
18740 };
18741
18742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
18743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18744 {
18745 PyThreadState* __tstate = wxPyBeginAllowThreads();
18746 (arg1)->SetPageSizePixels(arg2,arg3);
18747
18748 wxPyEndAllowThreads(__tstate);
18749 if (PyErr_Occurred()) SWIG_fail;
18750 }
18751 Py_INCREF(Py_None); resultobj = Py_None;
18752 return resultobj;
18753 fail:
18754 return NULL;
18755}
18756
18757
18758static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18759 PyObject *resultobj;
18760 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18761 int arg2 ;
18762 int arg3 ;
18763 PyObject * obj0 = 0 ;
18764 char *kwnames[] = {
18765 (char *) "self",(char *) "w",(char *) "h", NULL
18766 };
18767
18768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18770 {
18771 PyThreadState* __tstate = wxPyBeginAllowThreads();
18772 (arg1)->SetPageSizeMM(arg2,arg3);
18773
18774 wxPyEndAllowThreads(__tstate);
18775 if (PyErr_Occurred()) SWIG_fail;
18776 }
18777 Py_INCREF(Py_None); resultobj = Py_None;
18778 return resultobj;
18779 fail:
18780 return NULL;
18781}
18782
18783
18784static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18785 PyObject *resultobj;
18786 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18787 int *arg2 = (int *) 0 ;
18788 int *arg3 = (int *) 0 ;
18789 int temp2 ;
18790 int temp3 ;
18791 PyObject * obj0 = 0 ;
18792 char *kwnames[] = {
18793 (char *) "self", NULL
18794 };
18795
18796 arg2 = &temp2;
18797 arg3 = &temp3;
18798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18800 {
18801 PyThreadState* __tstate = wxPyBeginAllowThreads();
18802 (arg1)->GetPageSizeMM(arg2,arg3);
18803
18804 wxPyEndAllowThreads(__tstate);
18805 if (PyErr_Occurred()) SWIG_fail;
18806 }
18807 Py_INCREF(Py_None); resultobj = Py_None;
18808 {
18809 PyObject *o = PyInt_FromLong((long) (*arg2));
18810 resultobj = t_output_helper(resultobj,o);
18811 }
18812 {
18813 PyObject *o = PyInt_FromLong((long) (*arg3));
18814 resultobj = t_output_helper(resultobj,o);
18815 }
18816 return resultobj;
18817 fail:
18818 return NULL;
18819}
18820
18821
18822static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18823 PyObject *resultobj;
18824 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18825 int arg2 ;
18826 int arg3 ;
18827 PyObject * obj0 = 0 ;
18828 char *kwnames[] = {
18829 (char *) "self",(char *) "x",(char *) "y", NULL
18830 };
18831
18832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18834 {
18835 PyThreadState* __tstate = wxPyBeginAllowThreads();
18836 (arg1)->SetPPIScreen(arg2,arg3);
18837
18838 wxPyEndAllowThreads(__tstate);
18839 if (PyErr_Occurred()) SWIG_fail;
18840 }
18841 Py_INCREF(Py_None); resultobj = Py_None;
18842 return resultobj;
18843 fail:
18844 return NULL;
18845}
18846
18847
18848static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18849 PyObject *resultobj;
18850 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18851 int *arg2 = (int *) 0 ;
18852 int *arg3 = (int *) 0 ;
18853 int temp2 ;
18854 int temp3 ;
18855 PyObject * obj0 = 0 ;
18856 char *kwnames[] = {
18857 (char *) "self", NULL
18858 };
18859
18860 arg2 = &temp2;
18861 arg3 = &temp3;
18862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 (arg1)->GetPPIScreen(arg2,arg3);
18867
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 Py_INCREF(Py_None); resultobj = Py_None;
18872 {
18873 PyObject *o = PyInt_FromLong((long) (*arg2));
18874 resultobj = t_output_helper(resultobj,o);
18875 }
18876 {
18877 PyObject *o = PyInt_FromLong((long) (*arg3));
18878 resultobj = t_output_helper(resultobj,o);
18879 }
18880 return resultobj;
18881 fail:
18882 return NULL;
18883}
18884
18885
18886static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18887 PyObject *resultobj;
18888 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18889 int arg2 ;
18890 int arg3 ;
18891 PyObject * obj0 = 0 ;
18892 char *kwnames[] = {
18893 (char *) "self",(char *) "x",(char *) "y", NULL
18894 };
18895
18896 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18897 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18898 {
18899 PyThreadState* __tstate = wxPyBeginAllowThreads();
18900 (arg1)->SetPPIPrinter(arg2,arg3);
18901
18902 wxPyEndAllowThreads(__tstate);
18903 if (PyErr_Occurred()) SWIG_fail;
18904 }
18905 Py_INCREF(Py_None); resultobj = Py_None;
18906 return resultobj;
18907 fail:
18908 return NULL;
18909}
18910
18911
18912static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18913 PyObject *resultobj;
18914 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18915 int *arg2 = (int *) 0 ;
18916 int *arg3 = (int *) 0 ;
18917 int temp2 ;
18918 int temp3 ;
18919 PyObject * obj0 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "self", NULL
18922 };
18923
18924 arg2 = &temp2;
18925 arg3 = &temp3;
18926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18928 {
18929 PyThreadState* __tstate = wxPyBeginAllowThreads();
18930 (arg1)->GetPPIPrinter(arg2,arg3);
18931
18932 wxPyEndAllowThreads(__tstate);
18933 if (PyErr_Occurred()) SWIG_fail;
18934 }
18935 Py_INCREF(Py_None); resultobj = Py_None;
18936 {
18937 PyObject *o = PyInt_FromLong((long) (*arg2));
18938 resultobj = t_output_helper(resultobj,o);
18939 }
18940 {
18941 PyObject *o = PyInt_FromLong((long) (*arg3));
18942 resultobj = t_output_helper(resultobj,o);
18943 }
18944 return resultobj;
18945 fail:
18946 return NULL;
18947}
18948
18949
18950static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18951 PyObject *resultobj;
18952 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18953 bool result;
18954 PyObject * obj0 = 0 ;
18955 char *kwnames[] = {
18956 (char *) "self", NULL
18957 };
18958
18959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18961 {
18962 PyThreadState* __tstate = wxPyBeginAllowThreads();
18963 result = (bool)(arg1)->IsPreview();
18964
18965 wxPyEndAllowThreads(__tstate);
18966 if (PyErr_Occurred()) SWIG_fail;
18967 }
18968 resultobj = PyInt_FromLong((long)result);
18969 return resultobj;
18970 fail:
18971 return NULL;
18972}
18973
18974
18975static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18976 PyObject *resultobj;
18977 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18978 bool arg2 ;
18979 PyObject * obj0 = 0 ;
18980 PyObject * obj1 = 0 ;
18981 char *kwnames[] = {
18982 (char *) "self",(char *) "p", NULL
18983 };
18984
18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18987 arg2 = PyInt_AsLong(obj1) ? true : false;
18988 if (PyErr_Occurred()) SWIG_fail;
18989 {
18990 PyThreadState* __tstate = wxPyBeginAllowThreads();
18991 (arg1)->SetIsPreview(arg2);
18992
18993 wxPyEndAllowThreads(__tstate);
18994 if (PyErr_Occurred()) SWIG_fail;
18995 }
18996 Py_INCREF(Py_None); resultobj = Py_None;
18997 return resultobj;
18998 fail:
18999 return NULL;
19000}
19001
19002
19003static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
19004 PyObject *resultobj;
19005 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19006 int arg2 ;
19007 int arg3 ;
19008 bool result;
19009 PyObject * obj0 = 0 ;
19010 char *kwnames[] = {
19011 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
19012 };
19013
19014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
19015 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19016 {
19017 PyThreadState* __tstate = wxPyBeginAllowThreads();
19018 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
19019
19020 wxPyEndAllowThreads(__tstate);
19021 if (PyErr_Occurred()) SWIG_fail;
19022 }
19023 resultobj = PyInt_FromLong((long)result);
19024 return resultobj;
19025 fail:
19026 return NULL;
19027}
19028
19029
19030static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
19031 PyObject *resultobj;
19032 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19033 PyObject * obj0 = 0 ;
19034 char *kwnames[] = {
19035 (char *) "self", NULL
19036 };
19037
19038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
19039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19040 {
19041 PyThreadState* __tstate = wxPyBeginAllowThreads();
19042 (arg1)->base_OnEndDocument();
19043
19044 wxPyEndAllowThreads(__tstate);
19045 if (PyErr_Occurred()) SWIG_fail;
19046 }
19047 Py_INCREF(Py_None); resultobj = Py_None;
19048 return resultobj;
19049 fail:
19050 return NULL;
19051}
19052
19053
19054static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19055 PyObject *resultobj;
19056 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19057 PyObject * obj0 = 0 ;
19058 char *kwnames[] = {
19059 (char *) "self", NULL
19060 };
19061
19062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
19063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19064 {
19065 PyThreadState* __tstate = wxPyBeginAllowThreads();
19066 (arg1)->base_OnBeginPrinting();
19067
19068 wxPyEndAllowThreads(__tstate);
19069 if (PyErr_Occurred()) SWIG_fail;
19070 }
19071 Py_INCREF(Py_None); resultobj = Py_None;
19072 return resultobj;
19073 fail:
19074 return NULL;
19075}
19076
19077
19078static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19079 PyObject *resultobj;
19080 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19081 PyObject * obj0 = 0 ;
19082 char *kwnames[] = {
19083 (char *) "self", NULL
19084 };
19085
19086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
19087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19088 {
19089 PyThreadState* __tstate = wxPyBeginAllowThreads();
19090 (arg1)->base_OnEndPrinting();
19091
19092 wxPyEndAllowThreads(__tstate);
19093 if (PyErr_Occurred()) SWIG_fail;
19094 }
19095 Py_INCREF(Py_None); resultobj = Py_None;
19096 return resultobj;
19097 fail:
19098 return NULL;
19099}
19100
19101
19102static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19103 PyObject *resultobj;
19104 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19105 PyObject * obj0 = 0 ;
19106 char *kwnames[] = {
19107 (char *) "self", NULL
19108 };
19109
19110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
19111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19112 {
19113 PyThreadState* __tstate = wxPyBeginAllowThreads();
19114 (arg1)->base_OnPreparePrinting();
19115
19116 wxPyEndAllowThreads(__tstate);
19117 if (PyErr_Occurred()) SWIG_fail;
19118 }
19119 Py_INCREF(Py_None); resultobj = Py_None;
19120 return resultobj;
19121 fail:
19122 return NULL;
19123}
19124
19125
19126static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19127 PyObject *resultobj;
19128 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19129 int *arg2 = (int *) 0 ;
19130 int *arg3 = (int *) 0 ;
19131 int *arg4 = (int *) 0 ;
19132 int *arg5 = (int *) 0 ;
19133 int temp2 ;
19134 int temp3 ;
19135 int temp4 ;
19136 int temp5 ;
19137 PyObject * obj0 = 0 ;
19138 char *kwnames[] = {
19139 (char *) "self", NULL
19140 };
19141
19142 arg2 = &temp2;
19143 arg3 = &temp3;
19144 arg4 = &temp4;
19145 arg5 = &temp5;
19146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
19147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19148 {
19149 PyThreadState* __tstate = wxPyBeginAllowThreads();
19150 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
19151
19152 wxPyEndAllowThreads(__tstate);
19153 if (PyErr_Occurred()) SWIG_fail;
19154 }
19155 Py_INCREF(Py_None); resultobj = Py_None;
19156 {
19157 PyObject *o = PyInt_FromLong((long) (*arg2));
19158 resultobj = t_output_helper(resultobj,o);
19159 }
19160 {
19161 PyObject *o = PyInt_FromLong((long) (*arg3));
19162 resultobj = t_output_helper(resultobj,o);
19163 }
19164 {
19165 PyObject *o = PyInt_FromLong((long) (*arg4));
19166 resultobj = t_output_helper(resultobj,o);
19167 }
19168 {
19169 PyObject *o = PyInt_FromLong((long) (*arg5));
19170 resultobj = t_output_helper(resultobj,o);
19171 }
19172 return resultobj;
19173 fail:
19174 return NULL;
19175}
19176
19177
19178static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19179 PyObject *resultobj;
19180 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19181 int arg2 ;
19182 bool result;
19183 PyObject * obj0 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "self",(char *) "page", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
19189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19190 {
19191 PyThreadState* __tstate = wxPyBeginAllowThreads();
19192 result = (bool)(arg1)->base_HasPage(arg2);
19193
19194 wxPyEndAllowThreads(__tstate);
19195 if (PyErr_Occurred()) SWIG_fail;
19196 }
19197 resultobj = PyInt_FromLong((long)result);
19198 return resultobj;
19199 fail:
19200 return NULL;
19201}
19202
19203
19204static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
19205 PyObject *obj;
19206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19207 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
19208 Py_INCREF(obj);
19209 return Py_BuildValue((char *)"");
19210}
19211static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19212 PyObject *resultobj;
19213 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19214 wxWindow *arg2 = (wxWindow *) 0 ;
19215 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19216 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19217 wxSize const &arg4_defvalue = wxDefaultSize ;
19218 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19219 long arg5 = (long) 0 ;
19220 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
19221 wxString *arg6 = (wxString *) &arg6_defvalue ;
19222 wxPreviewCanvas *result;
19223 wxPoint temp3 ;
19224 wxSize temp4 ;
19225 bool temp6 = false ;
19226 PyObject * obj0 = 0 ;
19227 PyObject * obj1 = 0 ;
19228 PyObject * obj2 = 0 ;
19229 PyObject * obj3 = 0 ;
19230 PyObject * obj5 = 0 ;
19231 char *kwnames[] = {
19232 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19233 };
19234
19235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
19236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19237 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19238 if (obj2) {
19239 {
19240 arg3 = &temp3;
19241 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19242 }
19243 }
19244 if (obj3) {
19245 {
19246 arg4 = &temp4;
19247 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19248 }
19249 }
19250 if (obj5) {
19251 {
19252 arg6 = wxString_in_helper(obj5);
19253 if (arg6 == NULL) SWIG_fail;
19254 temp6 = true;
19255 }
19256 }
19257 {
19258 PyThreadState* __tstate = wxPyBeginAllowThreads();
19259 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19260
19261 wxPyEndAllowThreads(__tstate);
19262 if (PyErr_Occurred()) SWIG_fail;
19263 }
19264 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
19265 {
19266 if (temp6)
19267 delete arg6;
19268 }
19269 return resultobj;
19270 fail:
19271 {
19272 if (temp6)
19273 delete arg6;
19274 }
19275 return NULL;
19276}
19277
19278
19279static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
19280 PyObject *obj;
19281 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19282 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
19283 Py_INCREF(obj);
19284 return Py_BuildValue((char *)"");
19285}
19286static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19287 PyObject *resultobj;
19288 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19289 wxFrame *arg2 = (wxFrame *) 0 ;
19290 wxString *arg3 = 0 ;
19291 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19292 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19293 wxSize const &arg5_defvalue = wxDefaultSize ;
19294 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19295 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19296 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19297 wxString *arg7 = (wxString *) &arg7_defvalue ;
19298 wxPreviewFrame *result;
19299 bool temp3 = false ;
19300 wxPoint temp4 ;
19301 wxSize temp5 ;
19302 bool temp7 = false ;
19303 PyObject * obj0 = 0 ;
19304 PyObject * obj1 = 0 ;
19305 PyObject * obj2 = 0 ;
19306 PyObject * obj3 = 0 ;
19307 PyObject * obj4 = 0 ;
19308 PyObject * obj6 = 0 ;
19309 char *kwnames[] = {
19310 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19311 };
19312
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19315 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19316 {
19317 arg3 = wxString_in_helper(obj2);
19318 if (arg3 == NULL) SWIG_fail;
19319 temp3 = true;
19320 }
19321 if (obj3) {
19322 {
19323 arg4 = &temp4;
19324 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19325 }
19326 }
19327 if (obj4) {
19328 {
19329 arg5 = &temp5;
19330 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19331 }
19332 }
19333 if (obj6) {
19334 {
19335 arg7 = wxString_in_helper(obj6);
19336 if (arg7 == NULL) SWIG_fail;
19337 temp7 = true;
19338 }
19339 }
19340 {
19341 PyThreadState* __tstate = wxPyBeginAllowThreads();
19342 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19343
19344 wxPyEndAllowThreads(__tstate);
19345 if (PyErr_Occurred()) SWIG_fail;
19346 }
19347 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19348 {
19349 if (temp3)
19350 delete arg3;
19351 }
19352 {
19353 if (temp7)
19354 delete arg7;
19355 }
19356 return resultobj;
19357 fail:
19358 {
19359 if (temp3)
19360 delete arg3;
19361 }
19362 {
19363 if (temp7)
19364 delete arg7;
19365 }
19366 return NULL;
19367}
19368
19369
19370static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19371 PyObject *resultobj;
19372 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19373 PyObject * obj0 = 0 ;
19374 char *kwnames[] = {
19375 (char *) "self", NULL
19376 };
19377
19378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19380 {
19381 PyThreadState* __tstate = wxPyBeginAllowThreads();
19382 (arg1)->Initialize();
19383
19384 wxPyEndAllowThreads(__tstate);
19385 if (PyErr_Occurred()) SWIG_fail;
19386 }
19387 Py_INCREF(Py_None); resultobj = Py_None;
19388 return resultobj;
19389 fail:
19390 return NULL;
19391}
19392
19393
19394static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19395 PyObject *resultobj;
19396 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19397 PyObject * obj0 = 0 ;
19398 char *kwnames[] = {
19399 (char *) "self", NULL
19400 };
19401
19402 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19403 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19404 {
19405 PyThreadState* __tstate = wxPyBeginAllowThreads();
19406 (arg1)->CreateControlBar();
19407
19408 wxPyEndAllowThreads(__tstate);
19409 if (PyErr_Occurred()) SWIG_fail;
19410 }
19411 Py_INCREF(Py_None); resultobj = Py_None;
19412 return resultobj;
19413 fail:
19414 return NULL;
19415}
19416
19417
19418static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19419 PyObject *resultobj;
19420 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19421 PyObject * obj0 = 0 ;
19422 char *kwnames[] = {
19423 (char *) "self", NULL
19424 };
19425
19426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19428 {
19429 PyThreadState* __tstate = wxPyBeginAllowThreads();
19430 (arg1)->CreateCanvas();
19431
19432 wxPyEndAllowThreads(__tstate);
19433 if (PyErr_Occurred()) SWIG_fail;
19434 }
19435 Py_INCREF(Py_None); resultobj = Py_None;
19436 return resultobj;
19437 fail:
19438 return NULL;
19439}
19440
19441
19442static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19443 PyObject *resultobj;
19444 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19445 wxPreviewControlBar *result;
19446 PyObject * obj0 = 0 ;
19447 char *kwnames[] = {
19448 (char *) "self", NULL
19449 };
19450
19451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19461 return resultobj;
19462 fail:
19463 return NULL;
19464}
19465
19466
19467static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19468 PyObject *obj;
19469 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19470 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19471 Py_INCREF(obj);
19472 return Py_BuildValue((char *)"");
19473}
19474static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19475 PyObject *resultobj;
19476 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19477 long arg2 ;
19478 wxWindow *arg3 = (wxWindow *) 0 ;
19479 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19480 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19481 wxSize const &arg5_defvalue = wxDefaultSize ;
19482 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19483 long arg6 = (long) wxTAB_TRAVERSAL ;
19484 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19485 wxString *arg7 = (wxString *) &arg7_defvalue ;
19486 wxPreviewControlBar *result;
19487 wxPoint temp4 ;
19488 wxSize temp5 ;
19489 bool temp7 = false ;
19490 PyObject * obj0 = 0 ;
19491 PyObject * obj2 = 0 ;
19492 PyObject * obj3 = 0 ;
19493 PyObject * obj4 = 0 ;
19494 PyObject * obj6 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19501 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19502 if (obj3) {
19503 {
19504 arg4 = &temp4;
19505 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19506 }
19507 }
19508 if (obj4) {
19509 {
19510 arg5 = &temp5;
19511 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19512 }
19513 }
19514 if (obj6) {
19515 {
19516 arg7 = wxString_in_helper(obj6);
19517 if (arg7 == NULL) SWIG_fail;
19518 temp7 = true;
19519 }
19520 }
19521 {
19522 PyThreadState* __tstate = wxPyBeginAllowThreads();
19523 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19524
19525 wxPyEndAllowThreads(__tstate);
19526 if (PyErr_Occurred()) SWIG_fail;
19527 }
19528 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19529 {
19530 if (temp7)
19531 delete arg7;
19532 }
19533 return resultobj;
19534 fail:
19535 {
19536 if (temp7)
19537 delete arg7;
19538 }
19539 return NULL;
19540}
19541
19542
19543static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19544 PyObject *resultobj;
19545 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19546 int result;
19547 PyObject * obj0 = 0 ;
19548 char *kwnames[] = {
19549 (char *) "self", NULL
19550 };
19551
19552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19554 {
19555 PyThreadState* __tstate = wxPyBeginAllowThreads();
19556 result = (int)(arg1)->GetZoomControl();
19557
19558 wxPyEndAllowThreads(__tstate);
19559 if (PyErr_Occurred()) SWIG_fail;
19560 }
19561 resultobj = PyInt_FromLong((long)result);
19562 return resultobj;
19563 fail:
19564 return NULL;
19565}
19566
19567
19568static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19569 PyObject *resultobj;
19570 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19571 int arg2 ;
19572 PyObject * obj0 = 0 ;
19573 char *kwnames[] = {
19574 (char *) "self",(char *) "zoom", NULL
19575 };
19576
19577 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19578 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19579 {
19580 PyThreadState* __tstate = wxPyBeginAllowThreads();
19581 (arg1)->SetZoomControl(arg2);
19582
19583 wxPyEndAllowThreads(__tstate);
19584 if (PyErr_Occurred()) SWIG_fail;
19585 }
19586 Py_INCREF(Py_None); resultobj = Py_None;
19587 return resultobj;
19588 fail:
19589 return NULL;
19590}
19591
19592
19593static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19594 PyObject *resultobj;
19595 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19596 wxPrintPreview *result;
19597 PyObject * obj0 = 0 ;
19598 char *kwnames[] = {
19599 (char *) "self", NULL
19600 };
19601
19602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19604 {
19605 PyThreadState* __tstate = wxPyBeginAllowThreads();
19606 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19607
19608 wxPyEndAllowThreads(__tstate);
19609 if (PyErr_Occurred()) SWIG_fail;
19610 }
19611 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19612 return resultobj;
19613 fail:
19614 return NULL;
19615}
19616
19617
19618static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19619 PyObject *resultobj;
19620 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19621 PyObject * obj0 = 0 ;
19622 char *kwnames[] = {
19623 (char *) "self", NULL
19624 };
19625
19626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19628 {
19629 PyThreadState* __tstate = wxPyBeginAllowThreads();
19630 (arg1)->OnNext();
19631
19632 wxPyEndAllowThreads(__tstate);
19633 if (PyErr_Occurred()) SWIG_fail;
19634 }
19635 Py_INCREF(Py_None); resultobj = Py_None;
19636 return resultobj;
19637 fail:
19638 return NULL;
19639}
19640
19641
19642static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19643 PyObject *resultobj;
19644 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19645 PyObject * obj0 = 0 ;
19646 char *kwnames[] = {
19647 (char *) "self", NULL
19648 };
19649
19650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19652 {
19653 PyThreadState* __tstate = wxPyBeginAllowThreads();
19654 (arg1)->OnPrevious();
19655
19656 wxPyEndAllowThreads(__tstate);
19657 if (PyErr_Occurred()) SWIG_fail;
19658 }
19659 Py_INCREF(Py_None); resultobj = Py_None;
19660 return resultobj;
19661 fail:
19662 return NULL;
19663}
19664
19665
19666static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19667 PyObject *resultobj;
19668 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19669 PyObject * obj0 = 0 ;
19670 char *kwnames[] = {
19671 (char *) "self", NULL
19672 };
19673
19674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19676 {
19677 PyThreadState* __tstate = wxPyBeginAllowThreads();
19678 (arg1)->OnFirst();
19679
19680 wxPyEndAllowThreads(__tstate);
19681 if (PyErr_Occurred()) SWIG_fail;
19682 }
19683 Py_INCREF(Py_None); resultobj = Py_None;
19684 return resultobj;
19685 fail:
19686 return NULL;
19687}
19688
19689
19690static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19691 PyObject *resultobj;
19692 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19693 PyObject * obj0 = 0 ;
19694 char *kwnames[] = {
19695 (char *) "self", NULL
19696 };
19697
19698 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19699 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19700 {
19701 PyThreadState* __tstate = wxPyBeginAllowThreads();
19702 (arg1)->OnLast();
19703
19704 wxPyEndAllowThreads(__tstate);
19705 if (PyErr_Occurred()) SWIG_fail;
19706 }
19707 Py_INCREF(Py_None); resultobj = Py_None;
19708 return resultobj;
19709 fail:
19710 return NULL;
19711}
19712
19713
19714static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19715 PyObject *resultobj;
19716 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19717 PyObject * obj0 = 0 ;
19718 char *kwnames[] = {
19719 (char *) "self", NULL
19720 };
19721
19722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19724 {
19725 PyThreadState* __tstate = wxPyBeginAllowThreads();
19726 (arg1)->OnGoto();
19727
19728 wxPyEndAllowThreads(__tstate);
19729 if (PyErr_Occurred()) SWIG_fail;
19730 }
19731 Py_INCREF(Py_None); resultobj = Py_None;
19732 return resultobj;
19733 fail:
19734 return NULL;
19735}
19736
19737
19738static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19739 PyObject *obj;
19740 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19741 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19742 Py_INCREF(obj);
19743 return Py_BuildValue((char *)"");
19744}
19745static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19746 PyObject *resultobj;
19747 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19748 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19749 wxPrintData *arg3 = (wxPrintData *) NULL ;
19750 wxPrintPreview *result;
19751 PyObject * obj0 = 0 ;
19752 PyObject * obj1 = 0 ;
19753 PyObject * obj2 = 0 ;
19754 char *kwnames[] = {
19755 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19756 };
19757
19758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19760 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19761 if (obj2) {
19762 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19763 }
19764 {
19765 PyThreadState* __tstate = wxPyBeginAllowThreads();
19766 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19767
19768 wxPyEndAllowThreads(__tstate);
19769 if (PyErr_Occurred()) SWIG_fail;
19770 }
19771 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19772 return resultobj;
19773 fail:
19774 return NULL;
19775}
19776
19777
19778static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19779 PyObject *resultobj;
19780 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19781 int arg2 ;
19782 bool result;
19783 PyObject * obj0 = 0 ;
19784 char *kwnames[] = {
19785 (char *) "self",(char *) "pageNum", NULL
19786 };
19787
19788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19790 {
19791 PyThreadState* __tstate = wxPyBeginAllowThreads();
19792 result = (bool)(arg1)->SetCurrentPage(arg2);
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 resultobj = PyInt_FromLong((long)result);
19798 return resultobj;
19799 fail:
19800 return NULL;
19801}
19802
19803
19804static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19805 PyObject *resultobj;
19806 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19807 int result;
19808 PyObject * obj0 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19815 {
19816 PyThreadState* __tstate = wxPyBeginAllowThreads();
19817 result = (int)(arg1)->GetCurrentPage();
19818
19819 wxPyEndAllowThreads(__tstate);
19820 if (PyErr_Occurred()) SWIG_fail;
19821 }
19822 resultobj = PyInt_FromLong((long)result);
19823 return resultobj;
19824 fail:
19825 return NULL;
19826}
19827
19828
19829static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj;
19831 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19832 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19833 PyObject * obj0 = 0 ;
19834 PyObject * obj1 = 0 ;
19835 char *kwnames[] = {
19836 (char *) "self",(char *) "printout", NULL
19837 };
19838
19839 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19840 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19841 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19842 {
19843 PyThreadState* __tstate = wxPyBeginAllowThreads();
19844 (arg1)->SetPrintout(arg2);
19845
19846 wxPyEndAllowThreads(__tstate);
19847 if (PyErr_Occurred()) SWIG_fail;
19848 }
19849 Py_INCREF(Py_None); resultobj = Py_None;
19850 return resultobj;
19851 fail:
19852 return NULL;
19853}
19854
19855
19856static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19857 PyObject *resultobj;
19858 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19859 wxPyPrintout *result;
19860 PyObject * obj0 = 0 ;
19861 char *kwnames[] = {
19862 (char *) "self", NULL
19863 };
19864
19865 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19866 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19867 {
19868 PyThreadState* __tstate = wxPyBeginAllowThreads();
19869 result = (wxPyPrintout *)(arg1)->GetPrintout();
19870
19871 wxPyEndAllowThreads(__tstate);
19872 if (PyErr_Occurred()) SWIG_fail;
19873 }
19874 {
19875 resultobj = wxPyMake_wxObject(result);
19876 }
19877 return resultobj;
19878 fail:
19879 return NULL;
19880}
19881
19882
19883static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19884 PyObject *resultobj;
19885 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19886 wxPyPrintout *result;
19887 PyObject * obj0 = 0 ;
19888 char *kwnames[] = {
19889 (char *) "self", NULL
19890 };
19891
19892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19894 {
19895 PyThreadState* __tstate = wxPyBeginAllowThreads();
19896 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19897
19898 wxPyEndAllowThreads(__tstate);
19899 if (PyErr_Occurred()) SWIG_fail;
19900 }
19901 {
19902 resultobj = wxPyMake_wxObject(result);
19903 }
19904 return resultobj;
19905 fail:
19906 return NULL;
19907}
19908
19909
19910static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19911 PyObject *resultobj;
19912 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19913 wxFrame *arg2 = (wxFrame *) 0 ;
19914 PyObject * obj0 = 0 ;
19915 PyObject * obj1 = 0 ;
19916 char *kwnames[] = {
19917 (char *) "self",(char *) "frame", NULL
19918 };
19919
19920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19922 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19923 {
19924 PyThreadState* __tstate = wxPyBeginAllowThreads();
19925 (arg1)->SetFrame(arg2);
19926
19927 wxPyEndAllowThreads(__tstate);
19928 if (PyErr_Occurred()) SWIG_fail;
19929 }
19930 Py_INCREF(Py_None); resultobj = Py_None;
19931 return resultobj;
19932 fail:
19933 return NULL;
19934}
19935
19936
19937static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19938 PyObject *resultobj;
19939 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19940 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19941 PyObject * obj0 = 0 ;
19942 PyObject * obj1 = 0 ;
19943 char *kwnames[] = {
19944 (char *) "self",(char *) "canvas", NULL
19945 };
19946
19947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19949 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19950 {
19951 PyThreadState* __tstate = wxPyBeginAllowThreads();
19952 (arg1)->SetCanvas(arg2);
19953
19954 wxPyEndAllowThreads(__tstate);
19955 if (PyErr_Occurred()) SWIG_fail;
19956 }
19957 Py_INCREF(Py_None); resultobj = Py_None;
19958 return resultobj;
19959 fail:
19960 return NULL;
19961}
19962
19963
19964static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19965 PyObject *resultobj;
19966 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19967 wxFrame *result;
19968 PyObject * obj0 = 0 ;
19969 char *kwnames[] = {
19970 (char *) "self", NULL
19971 };
19972
19973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19975 {
19976 PyThreadState* __tstate = wxPyBeginAllowThreads();
19977 result = (wxFrame *)(arg1)->GetFrame();
19978
19979 wxPyEndAllowThreads(__tstate);
19980 if (PyErr_Occurred()) SWIG_fail;
19981 }
19982 {
19983 resultobj = wxPyMake_wxObject(result);
19984 }
19985 return resultobj;
19986 fail:
19987 return NULL;
19988}
19989
19990
19991static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19992 PyObject *resultobj;
19993 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19994 wxPreviewCanvas *result;
19995 PyObject * obj0 = 0 ;
19996 char *kwnames[] = {
19997 (char *) "self", NULL
19998 };
19999
20000 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
20001 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20002 {
20003 PyThreadState* __tstate = wxPyBeginAllowThreads();
20004 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
20005
20006 wxPyEndAllowThreads(__tstate);
20007 if (PyErr_Occurred()) SWIG_fail;
20008 }
20009 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
20010 return resultobj;
20011 fail:
20012 return NULL;
20013}
20014
20015
20016static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20017 PyObject *resultobj;
20018 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20019 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20020 wxDC *arg3 = 0 ;
20021 bool result;
20022 PyObject * obj0 = 0 ;
20023 PyObject * obj1 = 0 ;
20024 PyObject * obj2 = 0 ;
20025 char *kwnames[] = {
20026 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20027 };
20028
20029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20032 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20033 if (arg3 == NULL) {
20034 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20035 }
20036 {
20037 PyThreadState* __tstate = wxPyBeginAllowThreads();
20038 result = (bool)(arg1)->PaintPage(arg2,*arg3);
20039
20040 wxPyEndAllowThreads(__tstate);
20041 if (PyErr_Occurred()) SWIG_fail;
20042 }
20043 resultobj = PyInt_FromLong((long)result);
20044 return resultobj;
20045 fail:
20046 return NULL;
20047}
20048
20049
20050static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20051 PyObject *resultobj;
20052 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20053 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20054 wxDC *arg3 = 0 ;
20055 bool result;
20056 PyObject * obj0 = 0 ;
20057 PyObject * obj1 = 0 ;
20058 PyObject * obj2 = 0 ;
20059 char *kwnames[] = {
20060 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20061 };
20062
20063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20065 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20066 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20067 if (arg3 == NULL) {
20068 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20069 }
20070 {
20071 PyThreadState* __tstate = wxPyBeginAllowThreads();
20072 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
20073
20074 wxPyEndAllowThreads(__tstate);
20075 if (PyErr_Occurred()) SWIG_fail;
20076 }
20077 resultobj = PyInt_FromLong((long)result);
20078 return resultobj;
20079 fail:
20080 return NULL;
20081}
20082
20083
20084static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20085 PyObject *resultobj;
20086 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20087 int arg2 ;
20088 bool result;
20089 PyObject * obj0 = 0 ;
20090 char *kwnames[] = {
20091 (char *) "self",(char *) "pageNum", NULL
20092 };
20093
20094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20096 {
20097 PyThreadState* __tstate = wxPyBeginAllowThreads();
20098 result = (bool)(arg1)->RenderPage(arg2);
20099
20100 wxPyEndAllowThreads(__tstate);
20101 if (PyErr_Occurred()) SWIG_fail;
20102 }
20103 resultobj = PyInt_FromLong((long)result);
20104 return resultobj;
20105 fail:
20106 return NULL;
20107}
20108
20109
20110static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
20111 PyObject *resultobj;
20112 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20113 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20114 PyObject * obj0 = 0 ;
20115 PyObject * obj1 = 0 ;
20116 char *kwnames[] = {
20117 (char *) "self",(char *) "canvas", NULL
20118 };
20119
20120 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
20121 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20122 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20123 {
20124 PyThreadState* __tstate = wxPyBeginAllowThreads();
20125 (arg1)->AdjustScrollbars(arg2);
20126
20127 wxPyEndAllowThreads(__tstate);
20128 if (PyErr_Occurred()) SWIG_fail;
20129 }
20130 Py_INCREF(Py_None); resultobj = Py_None;
20131 return resultobj;
20132 fail:
20133 return NULL;
20134}
20135
20136
20137static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20138 PyObject *resultobj;
20139 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20140 wxPrintDialogData *result;
20141 PyObject * obj0 = 0 ;
20142 char *kwnames[] = {
20143 (char *) "self", NULL
20144 };
20145
20146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
20147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20148 {
20149 PyThreadState* __tstate = wxPyBeginAllowThreads();
20150 {
20151 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20152 result = (wxPrintDialogData *) &_result_ref;
20153 }
20154
20155 wxPyEndAllowThreads(__tstate);
20156 if (PyErr_Occurred()) SWIG_fail;
20157 }
20158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
20159 return resultobj;
20160 fail:
20161 return NULL;
20162}
20163
20164
20165static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20166 PyObject *resultobj;
20167 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20168 int arg2 ;
20169 PyObject * obj0 = 0 ;
20170 char *kwnames[] = {
20171 (char *) "self",(char *) "percent", NULL
20172 };
20173
20174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20176 {
20177 PyThreadState* __tstate = wxPyBeginAllowThreads();
20178 (arg1)->SetZoom(arg2);
20179
20180 wxPyEndAllowThreads(__tstate);
20181 if (PyErr_Occurred()) SWIG_fail;
20182 }
20183 Py_INCREF(Py_None); resultobj = Py_None;
20184 return resultobj;
20185 fail:
20186 return NULL;
20187}
20188
20189
20190static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20191 PyObject *resultobj;
20192 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20193 int result;
20194 PyObject * obj0 = 0 ;
20195 char *kwnames[] = {
20196 (char *) "self", NULL
20197 };
20198
20199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
20200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20201 {
20202 PyThreadState* __tstate = wxPyBeginAllowThreads();
20203 result = (int)(arg1)->GetZoom();
20204
20205 wxPyEndAllowThreads(__tstate);
20206 if (PyErr_Occurred()) SWIG_fail;
20207 }
20208 resultobj = PyInt_FromLong((long)result);
20209 return resultobj;
20210 fail:
20211 return NULL;
20212}
20213
20214
20215static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20216 PyObject *resultobj;
20217 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20218 int result;
20219 PyObject * obj0 = 0 ;
20220 char *kwnames[] = {
20221 (char *) "self", NULL
20222 };
20223
20224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
20225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20226 {
20227 PyThreadState* __tstate = wxPyBeginAllowThreads();
20228 result = (int)(arg1)->GetMaxPage();
20229
20230 wxPyEndAllowThreads(__tstate);
20231 if (PyErr_Occurred()) SWIG_fail;
20232 }
20233 resultobj = PyInt_FromLong((long)result);
20234 return resultobj;
20235 fail:
20236 return NULL;
20237}
20238
20239
20240static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20241 PyObject *resultobj;
20242 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20243 int result;
20244 PyObject * obj0 = 0 ;
20245 char *kwnames[] = {
20246 (char *) "self", NULL
20247 };
20248
20249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
20250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20251 {
20252 PyThreadState* __tstate = wxPyBeginAllowThreads();
20253 result = (int)(arg1)->GetMinPage();
20254
20255 wxPyEndAllowThreads(__tstate);
20256 if (PyErr_Occurred()) SWIG_fail;
20257 }
20258 resultobj = PyInt_FromLong((long)result);
20259 return resultobj;
20260 fail:
20261 return NULL;
20262}
20263
20264
20265static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20266 PyObject *resultobj;
20267 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20268 bool result;
20269 PyObject * obj0 = 0 ;
20270 char *kwnames[] = {
20271 (char *) "self", NULL
20272 };
20273
20274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
20275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20276 {
20277 PyThreadState* __tstate = wxPyBeginAllowThreads();
20278 result = (bool)(arg1)->Ok();
20279
20280 wxPyEndAllowThreads(__tstate);
20281 if (PyErr_Occurred()) SWIG_fail;
20282 }
20283 resultobj = PyInt_FromLong((long)result);
20284 return resultobj;
20285 fail:
20286 return NULL;
20287}
20288
20289
20290static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20291 PyObject *resultobj;
20292 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20293 bool arg2 ;
20294 PyObject * obj0 = 0 ;
20295 PyObject * obj1 = 0 ;
20296 char *kwnames[] = {
20297 (char *) "self",(char *) "ok", NULL
20298 };
20299
20300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
20301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20302 arg2 = PyInt_AsLong(obj1) ? true : false;
20303 if (PyErr_Occurred()) SWIG_fail;
20304 {
20305 PyThreadState* __tstate = wxPyBeginAllowThreads();
20306 (arg1)->SetOk(arg2);
20307
20308 wxPyEndAllowThreads(__tstate);
20309 if (PyErr_Occurred()) SWIG_fail;
20310 }
20311 Py_INCREF(Py_None); resultobj = Py_None;
20312 return resultobj;
20313 fail:
20314 return NULL;
20315}
20316
20317
20318static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20319 PyObject *resultobj;
20320 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20321 bool arg2 ;
20322 bool result;
20323 PyObject * obj0 = 0 ;
20324 PyObject * obj1 = 0 ;
20325 char *kwnames[] = {
20326 (char *) "self",(char *) "interactive", NULL
20327 };
20328
20329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20331 arg2 = PyInt_AsLong(obj1) ? true : false;
20332 if (PyErr_Occurred()) SWIG_fail;
20333 {
20334 PyThreadState* __tstate = wxPyBeginAllowThreads();
20335 result = (bool)(arg1)->Print(arg2);
20336
20337 wxPyEndAllowThreads(__tstate);
20338 if (PyErr_Occurred()) SWIG_fail;
20339 }
20340 resultobj = PyInt_FromLong((long)result);
20341 return resultobj;
20342 fail:
20343 return NULL;
20344}
20345
20346
20347static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20348 PyObject *resultobj;
20349 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20350 PyObject * obj0 = 0 ;
20351 char *kwnames[] = {
20352 (char *) "self", NULL
20353 };
20354
20355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20357 {
20358 PyThreadState* __tstate = wxPyBeginAllowThreads();
20359 (arg1)->DetermineScaling();
20360
20361 wxPyEndAllowThreads(__tstate);
20362 if (PyErr_Occurred()) SWIG_fail;
20363 }
20364 Py_INCREF(Py_None); resultobj = Py_None;
20365 return resultobj;
20366 fail:
20367 return NULL;
20368}
20369
20370
20371static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20372 PyObject *obj;
20373 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20374 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20375 Py_INCREF(obj);
20376 return Py_BuildValue((char *)"");
20377}
20378static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20379 PyObject *resultobj;
20380 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20381 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20382 wxPrintData *arg3 = (wxPrintData *) NULL ;
20383 wxPyPrintPreview *result;
20384 PyObject * obj0 = 0 ;
20385 PyObject * obj1 = 0 ;
20386 PyObject * obj2 = 0 ;
20387 char *kwnames[] = {
20388 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20389 };
20390
20391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20394 if (obj2) {
20395 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20396 }
20397 {
20398 PyThreadState* __tstate = wxPyBeginAllowThreads();
20399 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20400
20401 wxPyEndAllowThreads(__tstate);
20402 if (PyErr_Occurred()) SWIG_fail;
20403 }
20404 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20405 return resultobj;
20406 fail:
20407 return NULL;
20408}
20409
20410
20411static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20412 PyObject *resultobj;
20413 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20414 PyObject *arg2 = (PyObject *) 0 ;
20415 PyObject *arg3 = (PyObject *) 0 ;
20416 PyObject * obj0 = 0 ;
20417 PyObject * obj1 = 0 ;
20418 PyObject * obj2 = 0 ;
20419 char *kwnames[] = {
20420 (char *) "self",(char *) "self",(char *) "_class", NULL
20421 };
20422
20423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20425 arg2 = obj1;
20426 arg3 = obj2;
20427 {
20428 PyThreadState* __tstate = wxPyBeginAllowThreads();
20429 (arg1)->_setCallbackInfo(arg2,arg3);
20430
20431 wxPyEndAllowThreads(__tstate);
20432 if (PyErr_Occurred()) SWIG_fail;
20433 }
20434 Py_INCREF(Py_None); resultobj = Py_None;
20435 return resultobj;
20436 fail:
20437 return NULL;
20438}
20439
20440
20441static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20442 PyObject *resultobj;
20443 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20444 int arg2 ;
20445 bool result;
20446 PyObject * obj0 = 0 ;
20447 char *kwnames[] = {
20448 (char *) "self",(char *) "pageNum", NULL
20449 };
20450
20451 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20452 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20453 {
20454 PyThreadState* __tstate = wxPyBeginAllowThreads();
20455 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20456
20457 wxPyEndAllowThreads(__tstate);
20458 if (PyErr_Occurred()) SWIG_fail;
20459 }
20460 resultobj = PyInt_FromLong((long)result);
20461 return resultobj;
20462 fail:
20463 return NULL;
20464}
20465
20466
20467static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20468 PyObject *resultobj;
20469 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20470 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20471 wxDC *arg3 = 0 ;
20472 bool result;
20473 PyObject * obj0 = 0 ;
20474 PyObject * obj1 = 0 ;
20475 PyObject * obj2 = 0 ;
20476 char *kwnames[] = {
20477 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20478 };
20479
20480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20483 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20484 if (arg3 == NULL) {
20485 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20486 }
20487 {
20488 PyThreadState* __tstate = wxPyBeginAllowThreads();
20489 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20490
20491 wxPyEndAllowThreads(__tstate);
20492 if (PyErr_Occurred()) SWIG_fail;
20493 }
20494 resultobj = PyInt_FromLong((long)result);
20495 return resultobj;
20496 fail:
20497 return NULL;
20498}
20499
20500
20501static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20502 PyObject *resultobj;
20503 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20504 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20505 wxDC *arg3 = 0 ;
20506 bool result;
20507 PyObject * obj0 = 0 ;
20508 PyObject * obj1 = 0 ;
20509 PyObject * obj2 = 0 ;
20510 char *kwnames[] = {
20511 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20512 };
20513
20514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20516 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20517 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20518 if (arg3 == NULL) {
20519 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20520 }
20521 {
20522 PyThreadState* __tstate = wxPyBeginAllowThreads();
20523 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20524
20525 wxPyEndAllowThreads(__tstate);
20526 if (PyErr_Occurred()) SWIG_fail;
20527 }
20528 resultobj = PyInt_FromLong((long)result);
20529 return resultobj;
20530 fail:
20531 return NULL;
20532}
20533
20534
20535static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20536 PyObject *resultobj;
20537 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20538 int arg2 ;
20539 bool result;
20540 PyObject * obj0 = 0 ;
20541 char *kwnames[] = {
20542 (char *) "self",(char *) "pageNum", NULL
20543 };
20544
20545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20547 {
20548 PyThreadState* __tstate = wxPyBeginAllowThreads();
20549 result = (bool)(arg1)->base_RenderPage(arg2);
20550
20551 wxPyEndAllowThreads(__tstate);
20552 if (PyErr_Occurred()) SWIG_fail;
20553 }
20554 resultobj = PyInt_FromLong((long)result);
20555 return resultobj;
20556 fail:
20557 return NULL;
20558}
20559
20560
20561static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20562 PyObject *resultobj;
20563 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20564 int arg2 ;
20565 PyObject * obj0 = 0 ;
20566 char *kwnames[] = {
20567 (char *) "self",(char *) "percent", NULL
20568 };
20569
20570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20572 {
20573 PyThreadState* __tstate = wxPyBeginAllowThreads();
20574 (arg1)->base_SetZoom(arg2);
20575
20576 wxPyEndAllowThreads(__tstate);
20577 if (PyErr_Occurred()) SWIG_fail;
20578 }
20579 Py_INCREF(Py_None); resultobj = Py_None;
20580 return resultobj;
20581 fail:
20582 return NULL;
20583}
20584
20585
20586static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20587 PyObject *resultobj;
20588 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20589 bool arg2 ;
20590 bool result;
20591 PyObject * obj0 = 0 ;
20592 PyObject * obj1 = 0 ;
20593 char *kwnames[] = {
20594 (char *) "self",(char *) "interactive", NULL
20595 };
20596
20597 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20598 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20599 arg2 = PyInt_AsLong(obj1) ? true : false;
20600 if (PyErr_Occurred()) SWIG_fail;
20601 {
20602 PyThreadState* __tstate = wxPyBeginAllowThreads();
20603 result = (bool)(arg1)->base_Print(arg2);
20604
20605 wxPyEndAllowThreads(__tstate);
20606 if (PyErr_Occurred()) SWIG_fail;
20607 }
20608 resultobj = PyInt_FromLong((long)result);
20609 return resultobj;
20610 fail:
20611 return NULL;
20612}
20613
20614
20615static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20616 PyObject *resultobj;
20617 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20618 PyObject * obj0 = 0 ;
20619 char *kwnames[] = {
20620 (char *) "self", NULL
20621 };
20622
20623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20625 {
20626 PyThreadState* __tstate = wxPyBeginAllowThreads();
20627 (arg1)->base_DetermineScaling();
20628
20629 wxPyEndAllowThreads(__tstate);
20630 if (PyErr_Occurred()) SWIG_fail;
20631 }
20632 Py_INCREF(Py_None); resultobj = Py_None;
20633 return resultobj;
20634 fail:
20635 return NULL;
20636}
20637
20638
20639static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20640 PyObject *obj;
20641 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20642 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20643 Py_INCREF(obj);
20644 return Py_BuildValue((char *)"");
20645}
20646static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20647 PyObject *resultobj;
20648 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20649 wxFrame *arg2 = (wxFrame *) 0 ;
20650 wxString *arg3 = 0 ;
20651 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20652 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20653 wxSize const &arg5_defvalue = wxDefaultSize ;
20654 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20655 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20656 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20657 wxString *arg7 = (wxString *) &arg7_defvalue ;
20658 wxPyPreviewFrame *result;
20659 bool temp3 = false ;
20660 wxPoint temp4 ;
20661 wxSize temp5 ;
20662 bool temp7 = false ;
20663 PyObject * obj0 = 0 ;
20664 PyObject * obj1 = 0 ;
20665 PyObject * obj2 = 0 ;
20666 PyObject * obj3 = 0 ;
20667 PyObject * obj4 = 0 ;
20668 PyObject * obj6 = 0 ;
20669 char *kwnames[] = {
20670 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20671 };
20672
20673 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20674 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20675 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20676 {
20677 arg3 = wxString_in_helper(obj2);
20678 if (arg3 == NULL) SWIG_fail;
20679 temp3 = true;
20680 }
20681 if (obj3) {
20682 {
20683 arg4 = &temp4;
20684 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20685 }
20686 }
20687 if (obj4) {
20688 {
20689 arg5 = &temp5;
20690 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20691 }
20692 }
20693 if (obj6) {
20694 {
20695 arg7 = wxString_in_helper(obj6);
20696 if (arg7 == NULL) SWIG_fail;
20697 temp7 = true;
20698 }
20699 }
20700 {
20701 PyThreadState* __tstate = wxPyBeginAllowThreads();
20702 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20703
20704 wxPyEndAllowThreads(__tstate);
20705 if (PyErr_Occurred()) SWIG_fail;
20706 }
20707 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20708 {
20709 if (temp3)
20710 delete arg3;
20711 }
20712 {
20713 if (temp7)
20714 delete arg7;
20715 }
20716 return resultobj;
20717 fail:
20718 {
20719 if (temp3)
20720 delete arg3;
20721 }
20722 {
20723 if (temp7)
20724 delete arg7;
20725 }
20726 return NULL;
20727}
20728
20729
20730static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20731 PyObject *resultobj;
20732 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20733 PyObject *arg2 = (PyObject *) 0 ;
20734 PyObject *arg3 = (PyObject *) 0 ;
20735 PyObject * obj0 = 0 ;
20736 PyObject * obj1 = 0 ;
20737 PyObject * obj2 = 0 ;
20738 char *kwnames[] = {
20739 (char *) "self",(char *) "self",(char *) "_class", NULL
20740 };
20741
20742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20744 arg2 = obj1;
20745 arg3 = obj2;
20746 {
20747 PyThreadState* __tstate = wxPyBeginAllowThreads();
20748 (arg1)->_setCallbackInfo(arg2,arg3);
20749
20750 wxPyEndAllowThreads(__tstate);
20751 if (PyErr_Occurred()) SWIG_fail;
20752 }
20753 Py_INCREF(Py_None); resultobj = Py_None;
20754 return resultobj;
20755 fail:
20756 return NULL;
20757}
20758
20759
20760static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20761 PyObject *resultobj;
20762 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20763 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20764 PyObject * obj0 = 0 ;
20765 PyObject * obj1 = 0 ;
20766 char *kwnames[] = {
20767 (char *) "self",(char *) "canvas", NULL
20768 };
20769
20770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20772 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20773 {
20774 PyThreadState* __tstate = wxPyBeginAllowThreads();
20775 (arg1)->SetPreviewCanvas(arg2);
20776
20777 wxPyEndAllowThreads(__tstate);
20778 if (PyErr_Occurred()) SWIG_fail;
20779 }
20780 Py_INCREF(Py_None); resultobj = Py_None;
20781 return resultobj;
20782 fail:
20783 return NULL;
20784}
20785
20786
20787static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20788 PyObject *resultobj;
20789 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20790 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20791 PyObject * obj0 = 0 ;
20792 PyObject * obj1 = 0 ;
20793 char *kwnames[] = {
20794 (char *) "self",(char *) "bar", NULL
20795 };
20796
20797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20799 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20800 {
20801 PyThreadState* __tstate = wxPyBeginAllowThreads();
20802 (arg1)->SetControlBar(arg2);
20803
20804 wxPyEndAllowThreads(__tstate);
20805 if (PyErr_Occurred()) SWIG_fail;
20806 }
20807 Py_INCREF(Py_None); resultobj = Py_None;
20808 return resultobj;
20809 fail:
20810 return NULL;
20811}
20812
20813
20814static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20815 PyObject *resultobj;
20816 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20817 PyObject * obj0 = 0 ;
20818 char *kwnames[] = {
20819 (char *) "self", NULL
20820 };
20821
20822 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20823 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20824 {
20825 PyThreadState* __tstate = wxPyBeginAllowThreads();
20826 (arg1)->base_Initialize();
20827
20828 wxPyEndAllowThreads(__tstate);
20829 if (PyErr_Occurred()) SWIG_fail;
20830 }
20831 Py_INCREF(Py_None); resultobj = Py_None;
20832 return resultobj;
20833 fail:
20834 return NULL;
20835}
20836
20837
20838static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20839 PyObject *resultobj;
20840 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20841 PyObject * obj0 = 0 ;
20842 char *kwnames[] = {
20843 (char *) "self", NULL
20844 };
20845
20846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20848 {
20849 PyThreadState* __tstate = wxPyBeginAllowThreads();
20850 (arg1)->base_CreateCanvas();
20851
20852 wxPyEndAllowThreads(__tstate);
20853 if (PyErr_Occurred()) SWIG_fail;
20854 }
20855 Py_INCREF(Py_None); resultobj = Py_None;
20856 return resultobj;
20857 fail:
20858 return NULL;
20859}
20860
20861
20862static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20863 PyObject *resultobj;
20864 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20865 PyObject * obj0 = 0 ;
20866 char *kwnames[] = {
20867 (char *) "self", NULL
20868 };
20869
20870 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20871 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20872 {
20873 PyThreadState* __tstate = wxPyBeginAllowThreads();
20874 (arg1)->base_CreateControlBar();
20875
20876 wxPyEndAllowThreads(__tstate);
20877 if (PyErr_Occurred()) SWIG_fail;
20878 }
20879 Py_INCREF(Py_None); resultobj = Py_None;
20880 return resultobj;
20881 fail:
20882 return NULL;
20883}
20884
20885
20886static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20887 PyObject *obj;
20888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20889 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20890 Py_INCREF(obj);
20891 return Py_BuildValue((char *)"");
20892}
20893static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20894 PyObject *resultobj;
20895 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20896 long arg2 ;
20897 wxWindow *arg3 = (wxWindow *) 0 ;
20898 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20899 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20900 wxSize const &arg5_defvalue = wxDefaultSize ;
20901 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20902 long arg6 = (long) 0 ;
20903 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20904 wxString *arg7 = (wxString *) &arg7_defvalue ;
20905 wxPyPreviewControlBar *result;
20906 wxPoint temp4 ;
20907 wxSize temp5 ;
20908 bool temp7 = false ;
20909 PyObject * obj0 = 0 ;
20910 PyObject * obj2 = 0 ;
20911 PyObject * obj3 = 0 ;
20912 PyObject * obj4 = 0 ;
20913 PyObject * obj6 = 0 ;
20914 char *kwnames[] = {
20915 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20916 };
20917
20918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20920 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20921 if (obj3) {
20922 {
20923 arg4 = &temp4;
20924 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20925 }
20926 }
20927 if (obj4) {
20928 {
20929 arg5 = &temp5;
20930 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20931 }
20932 }
20933 if (obj6) {
20934 {
20935 arg7 = wxString_in_helper(obj6);
20936 if (arg7 == NULL) SWIG_fail;
20937 temp7 = true;
20938 }
20939 }
20940 {
20941 PyThreadState* __tstate = wxPyBeginAllowThreads();
20942 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20943
20944 wxPyEndAllowThreads(__tstate);
20945 if (PyErr_Occurred()) SWIG_fail;
20946 }
20947 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20948 {
20949 if (temp7)
20950 delete arg7;
20951 }
20952 return resultobj;
20953 fail:
20954 {
20955 if (temp7)
20956 delete arg7;
20957 }
20958 return NULL;
20959}
20960
20961
20962static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20963 PyObject *resultobj;
20964 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20965 PyObject *arg2 = (PyObject *) 0 ;
20966 PyObject *arg3 = (PyObject *) 0 ;
20967 PyObject * obj0 = 0 ;
20968 PyObject * obj1 = 0 ;
20969 PyObject * obj2 = 0 ;
20970 char *kwnames[] = {
20971 (char *) "self",(char *) "self",(char *) "_class", NULL
20972 };
20973
20974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20976 arg2 = obj1;
20977 arg3 = obj2;
20978 {
20979 PyThreadState* __tstate = wxPyBeginAllowThreads();
20980 (arg1)->_setCallbackInfo(arg2,arg3);
20981
20982 wxPyEndAllowThreads(__tstate);
20983 if (PyErr_Occurred()) SWIG_fail;
20984 }
20985 Py_INCREF(Py_None); resultobj = Py_None;
20986 return resultobj;
20987 fail:
20988 return NULL;
20989}
20990
20991
20992static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20993 PyObject *resultobj;
20994 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20995 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20996 PyObject * obj0 = 0 ;
20997 PyObject * obj1 = 0 ;
20998 char *kwnames[] = {
20999 (char *) "self",(char *) "preview", NULL
21000 };
21001
21002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
21003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21005 {
21006 PyThreadState* __tstate = wxPyBeginAllowThreads();
21007 (arg1)->SetPrintPreview(arg2);
21008
21009 wxPyEndAllowThreads(__tstate);
21010 if (PyErr_Occurred()) SWIG_fail;
21011 }
21012 Py_INCREF(Py_None); resultobj = Py_None;
21013 return resultobj;
21014 fail:
21015 return NULL;
21016}
21017
21018
21019static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
21020 PyObject *resultobj;
21021 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21022 PyObject * obj0 = 0 ;
21023 char *kwnames[] = {
21024 (char *) "self", NULL
21025 };
21026
21027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
21028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21029 {
21030 PyThreadState* __tstate = wxPyBeginAllowThreads();
21031 (arg1)->base_CreateButtons();
21032
21033 wxPyEndAllowThreads(__tstate);
21034 if (PyErr_Occurred()) SWIG_fail;
21035 }
21036 Py_INCREF(Py_None); resultobj = Py_None;
21037 return resultobj;
21038 fail:
21039 return NULL;
21040}
21041
21042
21043static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21044 PyObject *resultobj;
21045 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21046 int arg2 ;
21047 PyObject * obj0 = 0 ;
21048 char *kwnames[] = {
21049 (char *) "self",(char *) "zoom", NULL
21050 };
21051
21052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
21053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21054 {
21055 PyThreadState* __tstate = wxPyBeginAllowThreads();
21056 (arg1)->base_SetZoomControl(arg2);
21057
21058 wxPyEndAllowThreads(__tstate);
21059 if (PyErr_Occurred()) SWIG_fail;
21060 }
21061 Py_INCREF(Py_None); resultobj = Py_None;
21062 return resultobj;
21063 fail:
21064 return NULL;
21065}
21066
21067
21068static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21069 PyObject *obj;
21070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21071 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
21072 Py_INCREF(obj);
21073 return Py_BuildValue((char *)"");
21074}
21075static PyMethodDef SwigMethods[] = {
21076 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
21081 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
21096 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
21097 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
21104 { (char *)"new_AcceleratorEntry", (PyCFunction) _wrap_new_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"delete_AcceleratorEntry", (PyCFunction) _wrap_delete_AcceleratorEntry, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"AcceleratorEntry_Set", (PyCFunction) _wrap_AcceleratorEntry_Set, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"AcceleratorEntry_SetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_SetMenuItem, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"AcceleratorEntry_GetMenuItem", (PyCFunction) _wrap_AcceleratorEntry_GetMenuItem, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"AcceleratorEntry_GetFlags", (PyCFunction) _wrap_AcceleratorEntry_GetFlags, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"AcceleratorEntry_GetKeyCode", (PyCFunction) _wrap_AcceleratorEntry_GetKeyCode, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"AcceleratorEntry_GetCommand", (PyCFunction) _wrap_AcceleratorEntry_GetCommand, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"AcceleratorEntry_swigregister", AcceleratorEntry_swigregister, METH_VARARGS },
21113 { (char *)"new_AcceleratorTable", (PyCFunction) _wrap_new_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"delete_AcceleratorTable", (PyCFunction) _wrap_delete_AcceleratorTable, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"AcceleratorTable_Ok", (PyCFunction) _wrap_AcceleratorTable_Ok, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"AcceleratorTable_swigregister", AcceleratorTable_swigregister, METH_VARARGS },
21117 { (char *)"GetAccelFromString", (PyCFunction) _wrap_GetAccelFromString, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
21132 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
21155 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
21168 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
21172 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
21176 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
21181 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
21196 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
21222 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
21229 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
21252 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
21260 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
21272 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
21278 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
21287 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
21293 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
21298 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
21304 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
21308 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21326 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21352 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21359 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21367 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21369 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21372 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21378 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21382 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21388 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21390 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21392 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21393 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21403 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21408 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21412 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21418 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21421 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21422 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21423 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21425 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21428 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21429 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21434 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21436 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21437 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21438 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21439 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21440 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21441 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21442 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21443 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21444 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21445 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21446 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21447 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21448 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21449 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21450 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21451 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21452 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21453 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21454 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21455 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21456 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21457 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21458 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21459 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21460 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21461 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21462 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21463 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21464 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21465 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21466 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21467 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21468 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21469 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21470 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21471 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21472 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21473 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21474 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21475 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21476 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21477 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21478 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21479 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21480 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21481 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21482 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21483 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21484 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21485 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21486 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21487 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21488 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21489 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21490 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21491 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21492 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21493 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21494 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21495 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21496 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21497 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21498 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21499 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21500 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21501 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21502 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21503 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21504 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21505 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21506 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21507 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21508 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21509 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21510 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21511 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21512 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21513 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21514 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21515 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21516 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21517 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21518 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21519 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21520 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21521 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21522 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21523 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21524 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21525 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21526 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21527 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21528 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21529 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21530 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21531 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21532 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21533 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21534 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21535 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21536 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21537 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21538 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21539 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21540 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21541 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21542 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21543 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21544 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21545 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21546 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21547 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21548 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21549 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21550 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21551 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21552 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21553 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21554 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21555 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21556 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21557 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21558 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21559 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21560 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21561 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21562 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21563 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21564 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21565 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21566 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21567 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21568 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21569 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21570 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21571 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21572 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21573 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21574 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21575 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21576 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21577 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21578 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21579 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21580 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21581 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21582 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21583 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21584 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21585 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21586 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21587 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21588 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21589 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21590 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21591 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21592 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21593 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21594 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21595 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21596 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21597 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21598 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21599 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21600 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21601 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21602 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21603 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21604 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21605 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21606 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21607 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21608 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21609 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21610 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21611 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21612 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21613 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21614 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21615 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21616 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21617 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21618 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21619 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21620 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21621 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21622 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21623 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21624 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21625 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21626 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21627 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21628 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21629 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21630 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21631 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21632 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21633 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21634 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21635 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21636 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21637 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21638 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21639 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21640 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21641 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21642 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21643 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21644 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21645 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21646 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21647 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21648 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21649 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21650 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21651 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21652 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21653 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21654 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21655 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21656 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21657 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21658 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21659 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21660 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21661 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21662 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21663 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21664 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21665 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21666 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21667 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21668 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21669 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21670 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21671 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21672 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21673 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21674 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21675 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21676 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
21677 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21678 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
21679 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21680 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21681 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21682 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21683 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21684 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21685 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21686 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21687 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21688 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21689 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21690 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21691 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
21692 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
21693 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
21694 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21695 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21696 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21697 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21698 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21699 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21700 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21701 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21702 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21703 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21704 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21705 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21706 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21707 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21708 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21709 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21710 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21711 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21712 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21713 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21714 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21715 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21716 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21717 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21718 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21719 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21720 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21721 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21722 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21723 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21724 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21725 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21726 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21727 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21728 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21729 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21730 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21731 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21732 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21733 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21734 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21735 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21736 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21737 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21738 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21739 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21740 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21741 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21742 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21743 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21744 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21745 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21746 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21747 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21748 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21749 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21750 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21751 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21752 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21753 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21754 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21755 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21756 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21757 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21758 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21759 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21760 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21761 { NULL, NULL }
21762};
21763
21764
21765/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21766
21767static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21768 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21769}
21770static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21771 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21772}
21773static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21774 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21775}
21776static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21777 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21778}
21779static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21780 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21781}
21782static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21783 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21784}
21785static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21786 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21787}
21788static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21789 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21790}
21791static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21792 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21793}
21794static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21795 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21796}
21797static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21798 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21799}
21800static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21801 return (void *)((wxEvent *) ((wxPyEvent *) x));
21802}
21803static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21804 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21805}
21806static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21807 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21808}
21809static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21810 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21811}
21812static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21813 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21814}
21815static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21816 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21817}
21818static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21819 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21820}
21821static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21822 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21823}
21824static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21825 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21826}
21827static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21828 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21829}
21830static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21831 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21832}
21833static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21834 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21835}
21836static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21837 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21838}
21839static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21840 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21841}
21842static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21843 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21844}
21845static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21846 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21847}
21848static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21849 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21850}
21851static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21852 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21853}
21854static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21855 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21856}
21857static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21858 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21859}
21860static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21861 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21862}
21863static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21864 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21865}
21866static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21867 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21868}
21869static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21870 return (void *)((wxEvent *) ((wxShowEvent *) x));
21871}
21872static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21873 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21874}
21875static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21876 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21877}
21878static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21879 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21880}
21881static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21882 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21883}
21884static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21885 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21886}
21887static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21888 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21889}
21890static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21891 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21892}
21893static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21894 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21895}
21896static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21897 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21898}
21899static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21900 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21901}
21902static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21903 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21904}
21905static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21906 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21907}
21908static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21909 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21910}
21911static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21912 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21913}
21914static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21915 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21916}
21917static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21918 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21919}
21920static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21921 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21922}
21923static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21924 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21925}
21926static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21927 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21928}
21929static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21930 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21931}
21932static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21933 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21934}
21935static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21936 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21937}
21938static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21939 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21940}
21941static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21942 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21943}
21944static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21945 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21946}
21947static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21948 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21949}
21950static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21951 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21952}
21953static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21954 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21955}
21956static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21957 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21958}
21959static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21960 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21961}
21962static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21963 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21964}
21965static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21966 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21967}
21968static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21969 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21970}
21971static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21972 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21973}
21974static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21975 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21976}
21977static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21978 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21979}
21980static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21981 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21982}
21983static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21984 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21985}
21986static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21987 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21988}
21989static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21990 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21991}
21992static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21993 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21994}
21995static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21996 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21997}
21998static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21999 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
22000}
22001static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
22002 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22003}
22004static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
22005 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22006}
22007static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
22008 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22009}
22010static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
22011 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22012}
22013static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
22014 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22015}
22016static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
22017 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
22018}
22019static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
22020 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22021}
22022static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
22023 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22024}
22025static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
22026 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22027}
22028static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
22029 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22030}
22031static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
22032 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22033}
22034static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
22035 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22036}
22037static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
22038 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22039}
22040static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
22041 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22042}
22043static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
22044 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
22045}
22046static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
22047 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
22048}
22049static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
22050 return (void *)((wxFrame *) ((wxProgressDialog *) x));
22051}
22052static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
22053 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
22054}
22055static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
22056 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22057}
22058static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
22059 return (void *)((wxFrame *) ((wxMiniFrame *) x));
22060}
22061static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
22062 return (void *)((wxFrame *) ((wxSplashScreen *) x));
22063}
22064static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
22065 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
22066}
22067static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
22068 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
22069}
22070static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
22071 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
22072}
22073static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
22074 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22075}
22076static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
22077 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22078}
22079static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
22080 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
22081}
22082static void *_p_wxSizerItemTo_p_wxObject(void *x) {
22083 return (void *)((wxObject *) ((wxSizerItem *) x));
22084}
22085static void *_p_wxScrollEventTo_p_wxObject(void *x) {
22086 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
22087}
22088static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
22089 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
22090}
22091static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
22092 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
22093}
22094static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
22095 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
22096}
22097static void *_p_wxSizerTo_p_wxObject(void *x) {
22098 return (void *)((wxObject *) ((wxSizer *) x));
22099}
22100static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
22101 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
22102}
22103static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
22104 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
22105}
22106static void *_p_wxPyPanelTo_p_wxObject(void *x) {
22107 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
22108}
22109static void *_p_wxEventTo_p_wxObject(void *x) {
22110 return (void *)((wxObject *) ((wxEvent *) x));
22111}
22112static void *_p_wxFontDataTo_p_wxObject(void *x) {
22113 return (void *)((wxObject *) ((wxFontData *) x));
22114}
22115static void *_p_wxPrintDataTo_p_wxObject(void *x) {
22116 return (void *)((wxObject *) ((wxPrintData *) x));
22117}
22118static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
22119 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
22120}
22121static void *_p_wxGridSizerTo_p_wxObject(void *x) {
22122 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
22123}
22124static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
22125 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
22126}
22127static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
22128 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
22129}
22130static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
22131 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
22132}
22133static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
22134 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
22135}
22136static void *_p_wxPaintEventTo_p_wxObject(void *x) {
22137 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
22138}
22139static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
22140 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
22141}
22142static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
22143 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
22144}
22145static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
22146 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
22147}
22148static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
22149 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22150}
22151static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
22152 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
22153}
22154static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
22155 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22156}
22157static void *_p_wxControlTo_p_wxObject(void *x) {
22158 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
22159}
22160static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
22161 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
22162}
22163static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
22164 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
22165}
22166static void *_p_wxFSFileTo_p_wxObject(void *x) {
22167 return (void *)((wxObject *) ((wxFSFile *) x));
22168}
22169static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
22170 return (void *)((wxObject *) ((wxFindReplaceData *) x));
22171}
22172static void *_p_wxPySizerTo_p_wxObject(void *x) {
22173 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
22174}
22175static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
22176 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22177}
22178static void *_p_wxColourDataTo_p_wxObject(void *x) {
22179 return (void *)((wxObject *) ((wxColourData *) x));
22180}
22181static void *_p_wxPyEventTo_p_wxObject(void *x) {
22182 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
22183}
22184static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
22185 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
22186}
22187static void *_p_wxPyWindowTo_p_wxObject(void *x) {
22188 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
22189}
22190static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
22191 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22192}
22193static void *_p_wxFileDialogTo_p_wxObject(void *x) {
22194 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22195}
22196static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
22197 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22198}
22199static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
22200 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22201}
22202static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
22203 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22204}
22205static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
22206 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22207}
22208static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
22209 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22210}
22211static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
22212 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22213}
22214static void *_p_wxShowEventTo_p_wxObject(void *x) {
22215 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22216}
22217static void *_p_wxPrinterTo_p_wxObject(void *x) {
22218 return (void *)((wxObject *) ((wxPrinter *) x));
22219}
22220static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22221 return (void *)((wxObject *) ((wxMenuItem *) x));
22222}
22223static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22224 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22225}
22226static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22227 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22228}
22229static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22230 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22231}
22232static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22233 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22234}
22235static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22236 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22237}
22238static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22239 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22240}
22241static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22242 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22243}
22244static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22245 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22246}
22247static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22248 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22249}
22250static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22251 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22252}
22253static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22254 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22255}
22256static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22257 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22258}
22259static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22260 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22261}
22262static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22263 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22264}
22265static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22266 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22267}
22268static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22269 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22270}
22271static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22272 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22273}
22274static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22275 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22276}
22277static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22278 return (void *)((wxObject *) ((wxImageHandler *) x));
22279}
22280static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22281 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22282}
22283static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22284 return (void *)((wxObject *) ((wxEvtHandler *) x));
22285}
22286static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
22287 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
22288}
22289static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
22290 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22291}
22292static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
22293 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22294}
22295static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22296 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22297}
22298static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
22299 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22300}
22301static void *_p_wxImageTo_p_wxObject(void *x) {
22302 return (void *)((wxObject *) ((wxImage *) x));
22303}
22304static void *_p_wxFrameTo_p_wxObject(void *x) {
22305 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22306}
22307static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
22308 return (void *)((wxObject *) ((wxPyPrintout *) x));
22309}
22310static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22311 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22312}
22313static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
22314 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
22315}
22316static void *_p_wxStatusBarTo_p_wxObject(void *x) {
22317 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
22318}
22319static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
22320 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22321}
22322static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22323 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22324}
22325static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22326 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22327}
22328static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22329 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22330}
22331static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22332 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22333}
22334static void *_p_wxWindowTo_p_wxObject(void *x) {
22335 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22336}
22337static void *_p_wxMenuTo_p_wxObject(void *x) {
22338 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22339}
22340static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22341 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22342}
22343static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22344 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22345}
22346static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22347 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22348}
22349static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22350 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22351}
22352static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22353 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22354}
22355static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22356 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22357}
22358static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22359 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22360}
22361static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22362 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22363}
22364static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22365 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22366}
22367static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22368 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22369}
22370static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22371 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22372}
22373static void *_p_wxSashEventTo_p_wxObject(void *x) {
22374 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22375}
22376static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22377 return (void *)((wxObject *) ((wxPrintPreview *) x));
22378}
22379static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22380 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22381}
22382static void *_p_wxPanelTo_p_wxObject(void *x) {
22383 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22384}
22385static void *_p_wxDialogTo_p_wxObject(void *x) {
22386 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22387}
22388static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22389 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22390}
22391static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22392 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22393}
22394static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22395 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22396}
22397static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22398 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22399}
22400static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22401 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22402}
22403static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22404 return (void *)((wxObject *) ((wxFileSystem *) x));
22405}
22406static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22407 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22408}
22409static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22410 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22411}
22412static void *_p_wxPyAppTo_p_wxObject(void *x) {
22413 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22414}
22415static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22416 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22417}
22418static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22419 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22420}
22421static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22422 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22423}
22424static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22425 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22426}
22427static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22428 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22429}
22430static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22431 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22432}
22433static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22434 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22435}
22436static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22437 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22438}
22439static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22440 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22441}
22442static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22443 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22444}
22445static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22446 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22447}
22448static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22449 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22450}
22451static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22452 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22453}
22454static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22455 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22456}
22457static void *_p_wxValidatorTo_p_wxObject(void *x) {
22458 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22459}
22460static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22461 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22462}
22463static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22464 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22465}
22466static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22467 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22468}
22469static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22470 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22471}
22472static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22473 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22474}
22475static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22476 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22477}
22478static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22479 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22480}
22481static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22482 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22483}
22484static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22485 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22486}
22487static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22488 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22489}
22490static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22491 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22492}
22493static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22494 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22495}
22496static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22497 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22498}
22499static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22500 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22501}
22502static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22503 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22504}
22505static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22506 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22507}
22508static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22509 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22510}
22511static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22512 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22513}
22514static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22515 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22516}
22517static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22518 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22519}
22520static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22521 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22522}
22523static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22524 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22525}
22526static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22527 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22528}
22529static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22530 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22531}
22532static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22533 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22534}
22535static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22536 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22537}
22538static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22539 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22540}
22541static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22542 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22543}
22544static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22545 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22546}
22547static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22548 return (void *)((wxWindow *) ((wxMenuBar *) x));
22549}
22550static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22551 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22552}
22553static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22554 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22555}
22556static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22557 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22558}
22559static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22560 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22561}
22562static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22563 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22564}
22565static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22566 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22567}
22568static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22569 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22570}
22571static void *_p_wxPanelTo_p_wxWindow(void *x) {
22572 return (void *)((wxWindow *) ((wxPanel *) x));
22573}
22574static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22575 return (void *)((wxWindow *) ((wxStatusBar *) x));
22576}
22577static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22578 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22579}
22580static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22581 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22582}
22583static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22584 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22585}
22586static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22587 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22588}
22589static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22590 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22591}
22592static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22593 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22594}
22595static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22596 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22597}
22598static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22599 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22600}
22601static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22602 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22603}
22604static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22605 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22606}
22607static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22608 return (void *)((wxWindow *) ((wxSashWindow *) x));
22609}
22610static void *_p_wxControlTo_p_wxWindow(void *x) {
22611 return (void *)((wxWindow *) ((wxControl *) x));
22612}
22613static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22614 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22615}
22616static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22617 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22618}
22619static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22620 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22621}
22622static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22623 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22624}
22625static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22626 return (void *)((wxWindow *) ((wxPyWindow *) x));
22627}
22628static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22629 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22630}
22631static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22632 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22633}
22634static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22635 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22636}
22637static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22638 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22639}
22640static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22641 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22642}
22643static void *_p_wxFrameTo_p_wxWindow(void *x) {
22644 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22645}
22646static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22647 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22648}
22649static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22650 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22651}
22652static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22653 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22654}
22655static void *_p_wxDialogTo_p_wxWindow(void *x) {
22656 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22657}
22658static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22659 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22660}
22661static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22662 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22663}
22664static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22665 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22666}
22667static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22668 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22669}
22670static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22671 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22672}
22673static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22674 return (void *)((wxDialog *) ((wxColourDialog *) x));
22675}
22676static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22677 return (void *)((wxDialog *) ((wxDirDialog *) x));
22678}
22679static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22680 return (void *)((wxDialog *) ((wxFontDialog *) x));
22681}
22682static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22683 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22684}
22685static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22686 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22687}
22688static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22689 return (void *)((wxDialog *) ((wxFileDialog *) x));
22690}
22691static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22692 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22693}
22694static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22695 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22696}
22697static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22698 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22699}
22700static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22701 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22702}
22703static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22704 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22705}
22706static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22707 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22708}
22709static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22710 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22711}
22712static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22713 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22714}
22715static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22716 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22717}
22718static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22719 return (void *)((wxPanel *) ((wxPyPanel *) x));
22720}
22721static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22722 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22723}
22724static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22725 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22726}
22727static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22728 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22729}
22730static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22731 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22732}
22733static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22734 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22735}
22736static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22737 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22738}
22739static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22740 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22741}
22742static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22743 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22744}
22745static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22746 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22747}
22748static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22749 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22750}
22751static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22752 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22753}
22754static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22755 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22756}
22757static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22758 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22759}
22760static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22761 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22762}
22763static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22764 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22765}
22766static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22767static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22768static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
22769static swig_type_info _swigt__p_wxAcceleratorEntry[] = {{"_p_wxAcceleratorEntry", 0, "wxAcceleratorEntry *", 0},{"_p_wxAcceleratorEntry"},{0}};
22770static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22771static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22772static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22773static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22774static 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}};
22775static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22776static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22777static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22778static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22779static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22780static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22781static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22782static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22783static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22784static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22785static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22786static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22787static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22788static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22789static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22790static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22791static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22792static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22793static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22794static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22795static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22796static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22797static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22798static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22799static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22800static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
22801static swig_type_info _swigt__p_wxMenuItem[] = {{"_p_wxMenuItem", 0, "wxMenuItem *", 0},{"_p_wxMenuItem"},{0}};
22802static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22803static 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}};
22804static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22805static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22806static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22807static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
22808static swig_type_info _swigt__p_wxAcceleratorTable[] = {{"_p_wxAcceleratorTable", 0, "wxAcceleratorTable *", 0},{"_p_wxAcceleratorTable"},{0}};
22809static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22810static 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}};
22811static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22812static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22813static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22814static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22815static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22816static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22817static 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}};
22818static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22819static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22820static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22821static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22822static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
22823static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
22824static 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}};
22825static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22826static 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}};
22827static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22828static 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}};
22829static 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}};
22830static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
22831static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22832static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22833static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22834static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22835static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
22836static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22837static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22838static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22839static 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}};
22840static 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}};
22841static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
22842static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22843static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22844static 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}};
22845static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22846static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22847static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22848static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22849static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22850static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22851static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22852
22853static swig_type_info *swig_types_initial[] = {
22854_swigt__p_wxQueryLayoutInfoEvent,
22855_swigt__p_wxPreviewFrame,
22856_swigt__p_wxPyPreviewFrame,
22857_swigt__p_wxAcceleratorEntry,
22858_swigt__p_wxPyPanel,
22859_swigt__p_wxMenu,
22860_swigt__p_wxPrintData,
22861_swigt__p_wxFontData,
22862_swigt__p_wxEvent,
22863_swigt__p_wxTaskBarIcon,
22864_swigt__p_wxIconBundle,
22865_swigt__p_wxLayoutAlgorithm,
22866_swigt__p_wxFindDialogEvent,
22867_swigt__p_wxPreviewCanvas,
22868_swigt__p_wxFont,
22869_swigt__p_wxSplitterEvent,
22870_swigt__p_wxRegion,
22871_swigt__p_wxFindReplaceData,
22872_swigt__p_int,
22873_swigt__p_wxSize,
22874_swigt__p_wxDC,
22875_swigt__p_wxIcon,
22876_swigt__p_wxMDIChildFrame,
22877_swigt__p_wxColourData,
22878_swigt__p_wxNotifyEvent,
22879_swigt__p_wxPyWindow,
22880_swigt__p_wxSplashScreen,
22881_swigt__p_wxFindReplaceDialog,
22882_swigt__p_wxProgressDialog,
22883_swigt__p_wxMessageDialog,
22884_swigt__p_wxTextEntryDialog,
22885_swigt__p_wxSingleChoiceDialog,
22886_swigt__p_wxMultiChoiceDialog,
22887_swigt__p_wxFileDialog,
22888_swigt__p_wxPrinter,
22889_swigt__p_wxMenuItem,
22890_swigt__p_wxArrayInt,
22891_swigt__p_wxEvtHandler,
22892_swigt__p_wxCalculateLayoutEvent,
22893_swigt__p_wxPyHtmlListBox,
22894_swigt__p_wxPyVListBox,
22895_swigt__p_wxRect,
22896_swigt__p_wxAcceleratorTable,
22897_swigt__p_wxMiniFrame,
22898_swigt__p_wxFrame,
22899_swigt__p_wxPyPrintout,
22900_swigt__p_wxTaskBarIconEvent,
22901_swigt__p_wxScrollWinEvent,
22902_swigt__p_wxStatusBar,
22903_swigt__p_wxMDIParentFrame,
22904_swigt__p_wxPoint,
22905_swigt__p_wxObject,
22906_swigt__p_unsigned_long,
22907_swigt__p_wxMDIClientWindow,
22908_swigt__p_wxTipWindow,
22909_swigt__p_wxSashLayoutWindow,
22910_swigt__p_wxSplitterWindow,
22911_swigt__p_wxSplashScreenWindow,
22912_swigt__p_wxPyVScrolledWindow,
22913_swigt__p_wxPyPopupTransientWindow,
22914_swigt__p_wxPopupWindow,
22915_swigt__p_wxSashWindow,
22916_swigt__p_wxTopLevelWindow,
22917_swigt__p_wxWindow,
22918_swigt__p_wxScrolledWindow,
22919_swigt__p_wxMenuBar,
22920_swigt__p_wxPrintPreview,
22921_swigt__p_wxSashEvent,
22922_swigt__p_wxString,
22923_swigt__p_wxPyPrintPreview,
22924_swigt__p_wxFontDialog,
22925_swigt__p_wxDirDialog,
22926_swigt__p_wxColourDialog,
22927_swigt__p_wxDialog,
22928_swigt__p_wxPanel,
22929_swigt__p_wxPageSetupDialog,
22930_swigt__p_wxPrintDialog,
22931_swigt__p_wxBitmap,
22932_swigt__p_wxCommandEvent,
22933_swigt__p_wxPrintQuality,
22934_swigt__p_wxPreviewControlBar,
22935_swigt__p_wxPyPreviewControlBar,
22936_swigt__p_wxColour,
22937_swigt__p_wxToolBar,
22938_swigt__p_wxPageSetupDialogData,
22939_swigt__p_wxPrintDialogData,
229400
22941};
22942
22943
22944/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22945
22946static swig_const_info swig_const_table[] = {
22947{ SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22948{ SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22949{ SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22950{ SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22951{ SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22952{ SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22953{ SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22954{ SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22955{ SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22956{ SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22957{ SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22958{ SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22959{ SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22960{ SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22961{ SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22962{ SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22963{ SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22964{ SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22965{ SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22966{ SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22967{ SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22968{ SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22969{ SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22970{ SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22971{ SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22972{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22973{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22974{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22975{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22976{ SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22977{ SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22978{ SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22979{ SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22980{ SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22981{ SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22982{ SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22983{ SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22984{ SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22985{ SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22986{ SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22987{ SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22988{ SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22989{ SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22990{ SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22991{ SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22992{ SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22993{ SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22994{ SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22995{ SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22996{ SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22997{ SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22998{ SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22999{ SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
23000{ SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
23001{ SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
23002{ SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
23003{ SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
23004{ SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
23005{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
23006{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
23007{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
23008{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
23009{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
23010{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
23011{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
23012{ SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
23013{ SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
23014{ SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
23015{ SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
23016{ SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
23017{ SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
23018{ SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
23019{ SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
23020{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
23021{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
23022{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
23023{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
23024{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
23025{ SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
23026{ SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
23027{ SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
23028{ SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
23029{ SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
23030{ SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
23031{ SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
23032{ SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
23033{ SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
23034{ SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
23035{ SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
23036{ SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
23037{ SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
23038{ SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
23039{ SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
23040{ SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
23041{ SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
23042{ SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
23043{ SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
23044{ SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
23045{ SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
23046{ SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
23047{ SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
23048{ SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
23049{ SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
23050{ SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
23051{ SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
23052{ SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
23053{ SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
23054{ SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
23055{ SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
23056{0}};
23057
23058#ifdef __cplusplus
23059}
23060#endif
23061
23062#ifdef __cplusplus
23063extern "C"
23064#endif
23065SWIGEXPORT(void) SWIG_init(void) {
23066 static PyObject *SWIG_globals = 0;
23067 static int typeinit = 0;
23068 PyObject *m, *d;
23069 int i;
23070 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
23071 m = Py_InitModule((char *) SWIG_name, SwigMethods);
23072 d = PyModule_GetDict(m);
23073
23074 if (!typeinit) {
23075 for (i = 0; swig_types_initial[i]; i++) {
23076 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
23077 }
23078 typeinit = 1;
23079 }
23080 SWIG_InstallConstants(d,swig_const_table);
23081
23082 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
23083 SWIG_addvarlink(SWIG_globals,(char*)"NullAcceleratorTable",_wrap_NullAcceleratorTable_get, _wrap_NullAcceleratorTable_set);
23084 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
23085 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
23086 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
23087 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
23088 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
23089 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
23090 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
23091
23092 // Map renamed classes back to their common name for OOR
23093 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
23094 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
23095 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
23096
23097 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
23098 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
23099 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
23100 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
23101 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
23102 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
23103 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
23104 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
23105 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
23106 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
23107 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
23108 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
23109
23110 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
23111
23112}
23113