]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/windows_wrap.cpp
Out typemap for wxString&
[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 {
423f194a 100 const char *name;
d14a1e28
RD
101 swig_converter_func converter;
102 const char *str;
423f194a 103 void *clientdata;
d14a1e28
RD
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}
423f194a 121
d14a1e28
RD
122#endif
123
124/***********************************************************************
125 * pyrun.swg for wxPython
126 *
127 * Include only the function prototypes and such from SWIG's pyrun.swg,
128 * but not the runtime functions themselves. This helps keep the
129 * wrapper files clean of unnecessary stuff that is in the libpy.c file
130 * anyway.
131 *
132 ************************************************************************/
133
134
135#include "Python.h"
136
137#ifdef __cplusplus
138extern "C" {
139#endif
140
141#define SWIG_PY_INT 1
142#define SWIG_PY_FLOAT 2
143#define SWIG_PY_STRING 3
144#define SWIG_PY_POINTER 4
145#define SWIG_PY_BINARY 5
146
147/* Flags for pointer conversion */
148
149#define SWIG_POINTER_EXCEPTION 0x1
150#define SWIG_POINTER_DISOWN 0x2
151
152/* Exception handling in wrappers */
153#define SWIG_fail goto fail
154
155/* Constant information structure */
156typedef struct swig_const_info {
157 int type;
158 char *name;
159 long lvalue;
160 double dvalue;
161 void *pvalue;
162 swig_type_info **ptype;
163} swig_const_info;
164
165
166
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
182#define SWIG_PackData(c, ptr, sz) \
183 SWIG_Python_PackData(c, ptr, sz)
184#define SWIG_UnpackData(c, ptr, sz) \
185 SWIG_Python_UnpackData(c, ptr, sz)
186#define SWIG_NewPackedObj(ptr, sz, type) \
187 SWIG_Python_NewPackedObj(ptr, sz, type)
188#define SWIG_InstallConstants(d, constants) \
189 SWIG_Python_InstallConstants(d, constants)
190
191
192SWIGEXPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
193SWIGEXPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
194SWIGEXPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
195
196SWIGEXPORT(PyObject *) SWIG_Python_newvarlink(void);
197SWIGEXPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
198SWIGEXPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
199SWIGEXPORT(char *) SWIG_Python_PackData(char *c, void *, int);
200SWIGEXPORT(char *) SWIG_Python_UnpackData(char *c, void *, int);
201SWIGEXPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
202SWIGEXPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
203
204
205/* Contract support */
206
423f194a 207#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 208
d14a1e28
RD
209
210#ifdef __cplusplus
211}
212#endif
213
214
215
216/* -------- TYPES TABLE (BEGIN) -------- */
217
218#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
219#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
220#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
41f1cec7
RD
221#define SWIGTYPE_p_wxPyPanel swig_types[3]
222#define SWIGTYPE_p_wxMenu swig_types[4]
223#define SWIGTYPE_p_wxPrintData swig_types[5]
224#define SWIGTYPE_p_wxFontData swig_types[6]
225#define SWIGTYPE_p_wxEvent swig_types[7]
226#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
227#define SWIGTYPE_p_wxIconBundle swig_types[9]
228#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
229#define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
230#define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
231#define SWIGTYPE_p_wxFont swig_types[13]
232#define SWIGTYPE_p_wxSplitterEvent swig_types[14]
233#define SWIGTYPE_p_wxRegion swig_types[15]
234#define SWIGTYPE_p_wxFindReplaceData swig_types[16]
235#define SWIGTYPE_p_int swig_types[17]
236#define SWIGTYPE_p_wxSize swig_types[18]
237#define SWIGTYPE_p_wxDC swig_types[19]
238#define SWIGTYPE_p_wxIcon swig_types[20]
239#define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
240#define SWIGTYPE_p_wxColourData swig_types[22]
241#define SWIGTYPE_p_wxNotifyEvent swig_types[23]
242#define SWIGTYPE_p_wxPyWindow swig_types[24]
243#define SWIGTYPE_p_wxSplashScreen swig_types[25]
244#define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
245#define SWIGTYPE_p_wxProgressDialog swig_types[27]
246#define SWIGTYPE_p_wxMessageDialog swig_types[28]
247#define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
248#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
249#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
250#define SWIGTYPE_p_wxFileDialog swig_types[32]
251#define SWIGTYPE_p_wxPrinter swig_types[33]
252#define SWIGTYPE_p_wxArrayInt swig_types[34]
253#define SWIGTYPE_p_wxEvtHandler swig_types[35]
254#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
255#define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
256#define SWIGTYPE_p_wxPyVListBox swig_types[38]
257#define SWIGTYPE_p_wxRect swig_types[39]
258#define SWIGTYPE_p_wxMiniFrame swig_types[40]
259#define SWIGTYPE_p_wxFrame swig_types[41]
260#define SWIGTYPE_p_wxPyPrintout swig_types[42]
261#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
262#define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
263#define SWIGTYPE_p_wxStatusBar swig_types[45]
264#define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
265#define SWIGTYPE_p_wxPoint swig_types[47]
266#define SWIGTYPE_p_wxObject swig_types[48]
267#define SWIGTYPE_p_unsigned_long swig_types[49]
268#define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
269#define SWIGTYPE_p_wxTipWindow swig_types[51]
270#define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
271#define SWIGTYPE_p_wxSplitterWindow swig_types[53]
272#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
273#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
274#define SWIGTYPE_p_wxPopupWindow swig_types[56]
275#define SWIGTYPE_p_wxSashWindow swig_types[57]
276#define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
277#define SWIGTYPE_p_wxWindow swig_types[59]
278#define SWIGTYPE_p_wxScrolledWindow swig_types[60]
279#define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
280#define SWIGTYPE_p_wxMenuBar swig_types[62]
281#define SWIGTYPE_p_wxPrintPreview swig_types[63]
282#define SWIGTYPE_p_wxSashEvent swig_types[64]
283#define SWIGTYPE_p_wxString swig_types[65]
284#define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
285#define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
286#define SWIGTYPE_p_wxFontDialog swig_types[68]
287#define SWIGTYPE_p_wxDirDialog swig_types[69]
288#define SWIGTYPE_p_wxColourDialog swig_types[70]
289#define SWIGTYPE_p_wxDialog swig_types[71]
290#define SWIGTYPE_p_wxPanel swig_types[72]
291#define SWIGTYPE_p_wxPrintDialog swig_types[73]
292#define SWIGTYPE_p_wxBitmap swig_types[74]
293#define SWIGTYPE_p_wxCommandEvent swig_types[75]
294#define SWIGTYPE_p_wxPrintQuality swig_types[76]
295#define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
296#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
297#define SWIGTYPE_p_wxColour swig_types[79]
298#define SWIGTYPE_p_wxToolBar swig_types[80]
299#define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
300#define SWIGTYPE_p_wxPrintDialogData swig_types[82]
301static swig_type_info *swig_types[84];
d14a1e28
RD
302
303/* -------- TYPES TABLE (END) -------- */
304
305
306/*-----------------------------------------------
307 @(target):= _windows.so
308 ------------------------------------------------*/
309#define SWIG_init init_windows
310
311#define SWIG_name "_windows"
312
313#include "wx/wxPython/wxPython.h"
314#include "wx/wxPython/pyclasses.h"
315
316 DECLARE_DEF_STRING(PanelNameStr);
317 DECLARE_DEF_STRING(EmptyString);
318
319
320
321
322
323static PyObject* t_output_helper(PyObject* target, PyObject* o) {
324 PyObject* o2;
325 PyObject* o3;
326
327 if (!target) {
328 target = o;
329 } else if (target == Py_None) {
330 Py_DECREF(Py_None);
331 target = o;
332 } else {
333 if (!PyTuple_Check(target)) {
334 o2 = target;
335 target = PyTuple_New(1);
336 PyTuple_SetItem(target, 0, o2);
337 }
338 o3 = PyTuple_New(1);
339 PyTuple_SetItem(o3, 0, o);
340
341 o2 = target;
342 target = PySequence_Concat(o2, o3);
343 Py_DECREF(o2);
344 Py_DECREF(o3);
345 }
346 return target;
347}
348
349
350 // Put some wx default wxChar* values into wxStrings.
351 DECLARE_DEF_STRING(FrameNameStr);
352 DECLARE_DEF_STRING(DialogNameStr);
353 DECLARE_DEF_STRING(StatusLineNameStr);
354 DECLARE_DEF_STRING(ToolBarNameStr);
355
356bool wxDialog_IsModalShowing(wxDialog *self){
357
358
359
360 return self->IsModalShowing();
361
362 }
363
364
44127b65
RD
365wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
366 wxRect r;
367 self->GetFieldRect(i, r);
368 return r;
369 }
d14a1e28
RD
370
371 static const wxChar* wxSplitterNameStr = wxT("splitter");
372 DECLARE_DEF_STRING(SplitterNameStr);
373
374
375 static const wxChar* wxSashNameStr = wxT("sashWindow");
376 DECLARE_DEF_STRING(SashNameStr);
377 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
378 DECLARE_DEF_STRING(SashLayoutNameStr);
379
380
381#include <wx/popupwin.h>
382
383
384class wxPyPopupTransientWindow : public wxPopupTransientWindow
385{
386public:
387 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
388 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
389 : wxPopupTransientWindow(parent, style) {}
390
391 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
392 DEC_PYCALLBACK__(OnDismiss);
393 DEC_PYCALLBACK_BOOL_(CanDismiss);
394 PYPRIVATE;
395};
396
397
398IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
399IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
400IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
401
402
403#include <wx/tipwin.h>
404
8a0b029b
RD
405wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
406 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
d14a1e28
RD
407 }
408
409#include <wx/tipwin.h>
410
411
412#include <wx/vscroll.h>
413
414
415class wxPyVScrolledWindow : public wxVScrolledWindow
416{
417 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
418public:
419 wxPyVScrolledWindow() : wxVScrolledWindow() {}
420
421 wxPyVScrolledWindow(wxWindow *parent,
422 wxWindowID id = wxID_ANY,
423 const wxPoint& pos = wxDefaultPosition,
424 const wxSize& size = wxDefaultSize,
425 long style = 0,
426 const wxString& name = wxPyPanelNameStr)
427 : wxVScrolledWindow(parent, id, pos, size, style, name)
428 {}
429
430 // Overridable virtuals
431
432 // this function must be overridden in the derived class and it should
433 // return the height of the given line in pixels
434 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
435
436
437 // this function doesn't have to be overridden but it may be useful to do
438 // it if calculating the lines heights is a relatively expensive operation
439 // as it gives the user code a possibility to calculate several of them at
440 // once
441 //
442 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
443 // shouldn't rely on the latter being called for all lines in the interval
444 // specified here. It is also possible that OnGetLineHeight() will be
445 // called for the lines outside of this interval, so this is really just a
446 // hint, not a promise.
447 //
448 // finally note that lineMin is inclusive, while lineMax is exclusive, as
449 // usual
450 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
451
452
453 // when the number of lines changes, we try to estimate the total height
454 // of all lines which is a rather expensive operation in terms of lines
455 // access, so if the user code may estimate the average height
456 // better/faster than we do, it should override this function to implement
457 // its own logic
458 //
459 // this function should return the best guess for the total height it may
460 // make
461 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
462
463
464 // Also expose some other interesting protected methods
465
466
467 // find the index of the line we need to show at the top of the window such
468 // that the last (fully or partially) visible line is the given one
423f194a 469 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
d14a1e28
RD
470 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
471
472 // get the total height of the lines between lineMin (inclusive) and
473 // lineMax (exclusive)
474 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
475 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
476
477
478 PYPRIVATE;
479};
480
481IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
482
483IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
484IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
485IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
486
487
488#include <wx/vlbox.h>
489DECLARE_DEF_STRING(VListBoxNameStr);
490
491
492class wxPyVListBox : public wxVListBox
493{
494 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
495public:
496 wxPyVListBox() : wxVListBox() {}
497
498 wxPyVListBox(wxWindow *parent,
499 wxWindowID id = wxID_ANY,
500 const wxPoint& pos = wxDefaultPosition,
501 const wxSize& size = wxDefaultSize,
502 long style = 0,
503 const wxString& name = wxPyVListBoxNameStr)
504 : wxVListBox(parent, id, pos, size, style, name)
505 {}
506
507 // Overridable virtuals
508
509 // the derived class must implement this function to actually draw the item
510 // with the given index on the provided DC
511 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
512 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
513
514
515 // the derived class must implement this method to return the height of the
516 // specified item
517 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
518 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
519
520
521 // this method may be used to draw separators between the lines; note that
522 // the rectangle may be modified, typically to deflate it a bit before
523 // passing to OnDrawItem()
524 //
525 // the base class version doesn't do anything
526 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
527 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
528
529
530 // this method is used to draw the items background and, maybe, a border
531 // around it
532 //
533 // the base class version implements a reasonable default behaviour which
534 // consists in drawing the selected item with the standard background
535 // colour and drawing a border around the item if it is either selected or
536 // current
537 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
538 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
539
540
541 PYPRIVATE;
542};
543
544IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
545
546IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
547IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
548IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
549IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
550
551
552
553#include <wx/htmllbox.h>
554
555
556class wxPyHtmlListBox : public wxHtmlListBox
557{
558 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
559public:
560 wxPyHtmlListBox() : wxHtmlListBox() {}
561
562 wxPyHtmlListBox(wxWindow *parent,
563 wxWindowID id = wxID_ANY,
564 const wxPoint& pos = wxDefaultPosition,
565 const wxSize& size = wxDefaultSize,
566 long style = 0,
567 const wxString& name = wxPyVListBoxNameStr)
568 : wxHtmlListBox(parent, id, pos, size, style, name)
569 {}
570
571 // Overridable virtuals
572
573 // this method must be implemented in the derived class and should return
574 // the body (i.e. without <html>) of the HTML for the given item
575 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
576
577 // this function may be overridden to decorate HTML returned by OnGetItem()
578 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
579
580// TODO:
581// // this method allows to customize the selection appearance: it may be used
582// // to specify the colour of the text which normally has the given colour
583// // colFg when it is inside the selection
584// //
585// // by default, the original colour is not used at all and all text has the
586// // same (default for this system) colour inside selection
587// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
588
589// // this is the same as GetSelectedTextColour() but allows to customize the
590// // background colour -- this is even more rarely used as you can change it
591// // globally using SetSelectionBackground()
592// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
593
594
595 PYPRIVATE;
596};
597
598
599IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
600
601IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
602IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
603
604
605
606
607
608#ifdef __WXMAC__
609// implement dummy classes and such for wxMac
610
611class wxTaskBarIcon : public wxEvtHandler
612{
613public:
614 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
615};
616
617
618class wxTaskBarIconEvent : public wxEvent
619{
620public:
621 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
622 { PyErr_SetNone(PyExc_NotImplementedError); }
623 virtual wxEvent* Clone() const { return NULL; }
624};
625
626enum {
627 wxEVT_TASKBAR_MOVE = 0,
628 wxEVT_TASKBAR_LEFT_DOWN = 0,
629 wxEVT_TASKBAR_LEFT_UP = 0,
630 wxEVT_TASKBAR_RIGHT_DOWN = 0,
631 wxEVT_TASKBAR_RIGHT_UP = 0,
632 wxEVT_TASKBAR_LEFT_DCLICK = 0,
633 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
634};
635#endif
636
637
638
639 DECLARE_DEF_STRING(FileSelectorPromptStr);
640 DECLARE_DEF_STRING(DirSelectorPromptStr);
641 DECLARE_DEF_STRING(DirDialogNameStr);
642 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
643 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
644 DECLARE_DEF_STRING(MessageBoxCaptionStr);
645
646
647PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
648 wxArrayString arr;
649 self->GetFilenames(arr);
650 return wxArrayString2PyList_helper(arr);
651 }
652PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
653 wxArrayString arr;
654 self->GetPaths(arr);
655 return wxArrayString2PyList_helper(arr);
656 }
657PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
658 return wxArrayInt2PyList_helper(self->GetSelections());
659 }
660wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
661 return new wxSingleChoiceDialog(parent, message, caption,
662 choices, choices_array, NULL, style, pos);
663 }
664
665#include <wx/mdi.h>
666
667 // C++ version of Python aware wxWindow
668class wxPyWindow : public wxWindow
669{
670 DECLARE_DYNAMIC_CLASS(wxPyWindow)
671public:
672 wxPyWindow() : wxWindow() {}
673 wxPyWindow(wxWindow* parent, const wxWindowID id,
674 const wxPoint& pos = wxDefaultPosition,
675 const wxSize& size = wxDefaultSize,
676 long style = 0,
677 const wxString& name = wxPyPanelNameStr)
678 : wxWindow(parent, id, pos, size, style, name) {}
679
680
681 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
682 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
683 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
684 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
685
686 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
687 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
688 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
689
690 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
691 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
692
693 DEC_PYCALLBACK__(InitDialog);
694 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
695 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
696 DEC_PYCALLBACK_BOOL_(Validate);
697
698 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
699 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
700 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
701
702 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
703 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
704
705 PYPRIVATE;
706};
707
708IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
709
710IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
711IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
712IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
713IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
714
715IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
716IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
717IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
718
719IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
720IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
721
722IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
723IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
724IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
725IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
726
727IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
728IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
729IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
730
731IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
732IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
733
734
735 // C++ version of Python aware wxPanel
736class wxPyPanel : public wxPanel
737{
738 DECLARE_DYNAMIC_CLASS(wxPyPanel)
739public:
740 wxPyPanel() : wxPanel() {}
741 wxPyPanel(wxWindow* parent, const wxWindowID id,
742 const wxPoint& pos = wxDefaultPosition,
743 const wxSize& size = wxDefaultSize,
744 long style = 0,
745 const wxString& name = wxPyPanelNameStr)
746 : wxPanel(parent, id, pos, size, style, name) {}
747
748
749 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
750 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
751 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
752 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
753
754 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
755 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
756 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
757
758 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
759 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
760
761 DEC_PYCALLBACK__(InitDialog);
762 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
763 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
764 DEC_PYCALLBACK_BOOL_(Validate);
765
766 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
767 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
768 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
769
770 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
771 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
772
773 PYPRIVATE;
774};
775
776IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
777
778IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
779IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
780IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
781IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
782
783IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
784IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
785IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
786
787IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
788IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
789
790IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
791IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
792IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
793IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
794
795IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
796IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
797IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
798
799IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
800IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
801
802
803
804#include "wx/wxPython/printfw.h"
805
806 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
807 DECLARE_DEF_STRING(PrintoutTitleStr);
808 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
809 DECLARE_DEF_STRING(PreviewCanvasNameStr);
810
811
812
813
814
815// Since this one would be tough and ugly to do with the Macros...
816void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
423f194a 817 bool hadErr = False;
d14a1e28
RD
818 bool found;
819
820 wxPyBeginBlockThreads();
821 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
822 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
823 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
824 PyObject* val;
825
826 val = PyTuple_GetItem(result, 0);
827 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
423f194a 828 else hadErr = True;
d14a1e28
RD
829
830 val = PyTuple_GetItem(result, 1);
831 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
423f194a 832 else hadErr = True;
d14a1e28
RD
833
834 val = PyTuple_GetItem(result, 2);
835 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
423f194a 836 else hadErr = True;
d14a1e28
RD
837
838 val = PyTuple_GetItem(result, 3);
839 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
423f194a 840 else hadErr = True;
d14a1e28
RD
841 }
842 else
423f194a 843 hadErr = True;
d14a1e28
RD
844
845 if (hadErr) {
846 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
847 PyErr_Print();
848 }
849 Py_DECREF(result);
850 }
851 wxPyEndBlockThreads();
852 if (! found)
853 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
854}
855
856void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
857 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
858}
859
860
861IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
862IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
863IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
864IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
865IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
866IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
867IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
868
869
870
871
872
873#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
874 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
875 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
876
877
878#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
879 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
423f194a 880 bool rval=False; \
d14a1e28
RD
881 bool found; \
882 wxPyBeginBlockThreads(); \
883 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
884 PyObject* win = wxPyMake_wxObject(a); \
885 PyObject* dc = wxPyMake_wxObject(&b); \
886 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
887 Py_DECREF(win); \
888 Py_DECREF(dc); \
889 } \
890 wxPyEndBlockThreads(); \
891 if (! found) \
892 rval = PCLASS::CBNAME(a, b); \
893 return rval; \
894 } \
895 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
896 return PCLASS::CBNAME(a, b); \
897 }
898
899
900
901
902class wxPyPrintPreview : public wxPrintPreview
903{
904 DECLARE_CLASS(wxPyPrintPreview)
905public:
906 wxPyPrintPreview(wxPyPrintout* printout,
907 wxPyPrintout* printoutForPrinting,
908 wxPrintData* data=NULL)
909 : wxPrintPreview(printout, printoutForPrinting, data)
910 {}
911
912 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
913 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
914 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
915 DEC_PYCALLBACK_BOOL_INT(RenderPage);
916 DEC_PYCALLBACK_VOID_INT(SetZoom);
917 DEC_PYCALLBACK_BOOL_BOOL(Print);
918 DEC_PYCALLBACK_VOID_(DetermineScaling);
919
920 PYPRIVATE;
921};
922
923// Stupid renamed classes... Fix this in 2.5...
924#if defined(__WXMSW__)
925IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
926#elif defined(__WXMAC__)
927IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
928#else
929IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
930#endif
931
932IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
933IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
934IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
935IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
936IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
937IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
938IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
939
940
941class wxPyPreviewFrame : public wxPreviewFrame
942{
943 DECLARE_CLASS(wxPyPreviewFrame);
944public:
945 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
946 const wxString& title,
947 const wxPoint& pos = wxDefaultPosition,
948 const wxSize& size = wxDefaultSize,
949 long style = wxDEFAULT_FRAME_STYLE,
950 const wxString& name = wxPyFrameNameStr)
951 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
952 {}
953
954 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
955 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
956
957 DEC_PYCALLBACK_VOID_(Initialize);
958 DEC_PYCALLBACK_VOID_(CreateCanvas);
959 DEC_PYCALLBACK_VOID_(CreateControlBar);
960
961 PYPRIVATE;
962};
963
964IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
965
966IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
967IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
968IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
969
970
971class wxPyPreviewControlBar : public wxPreviewControlBar
972{
973 DECLARE_CLASS(wxPyPreviewControlBar);
974public:
975 wxPyPreviewControlBar(wxPrintPreview *preview,
976 long buttons,
977 wxWindow *parent,
978 const wxPoint& pos = wxDefaultPosition,
979 const wxSize& size = wxDefaultSize,
980 long style = 0,
981 const wxString& name = wxPyPanelNameStr)
982 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
983 {}
984
985 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
986
987 DEC_PYCALLBACK_VOID_(CreateButtons);
988 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
989
990 PYPRIVATE;
991};
992
993IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
994IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
995IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
996
997#ifdef __cplusplus
998extern "C" {
999#endif
1000static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
1001 PyObject *resultobj;
1002 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1003 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1004 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1005 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1006 wxSize const &arg4_defvalue = wxDefaultSize ;
1007 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1008 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1009 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1010 wxString *arg6 = (wxString *) &arg6_defvalue ;
1011 wxPanel *result;
1012 wxPoint temp3 ;
1013 wxSize temp4 ;
423f194a 1014 bool temp6 = False ;
d14a1e28
RD
1015 PyObject * obj0 = 0 ;
1016 PyObject * obj2 = 0 ;
1017 PyObject * obj3 = 0 ;
1018 PyObject * obj5 = 0 ;
1019 char *kwnames[] = {
1020 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1021 };
1022
423f194a 1023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
d14a1e28
RD
1024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1025 if (obj2) {
1026 {
1027 arg3 = &temp3;
1028 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1029 }
1030 }
1031 if (obj3) {
1032 {
1033 arg4 = &temp4;
1034 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1035 }
1036 }
1037 if (obj5) {
1038 {
1039 arg6 = wxString_in_helper(obj5);
1040 if (arg6 == NULL) SWIG_fail;
423f194a 1041 temp6 = True;
d14a1e28
RD
1042 }
1043 }
1044 {
1045 PyThreadState* __tstate = wxPyBeginAllowThreads();
1046 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1047
1048 wxPyEndAllowThreads(__tstate);
1049 if (PyErr_Occurred()) SWIG_fail;
1050 }
1051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1052 {
1053 if (temp6)
1054 delete arg6;
1055 }
1056 return resultobj;
1057 fail:
1058 {
1059 if (temp6)
1060 delete arg6;
1061 }
1062 return NULL;
1063}
1064
1065
1066static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1067 PyObject *resultobj;
1068 wxPanel *result;
1069 char *kwnames[] = {
1070 NULL
1071 };
1072
1073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1074 {
1075 PyThreadState* __tstate = wxPyBeginAllowThreads();
1076 result = (wxPanel *)new wxPanel();
1077
1078 wxPyEndAllowThreads(__tstate);
1079 if (PyErr_Occurred()) SWIG_fail;
1080 }
1081 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1082 return resultobj;
1083 fail:
1084 return NULL;
1085}
1086
1087
1088static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1089 PyObject *resultobj;
1090 wxPanel *arg1 = (wxPanel *) 0 ;
1091 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1092 int arg3 ;
d14a1e28
RD
1093 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1094 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1095 wxSize const &arg5_defvalue = wxDefaultSize ;
1096 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1097 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1098 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1099 wxString *arg7 = (wxString *) &arg7_defvalue ;
1100 bool result;
1101 wxPoint temp4 ;
1102 wxSize temp5 ;
423f194a 1103 bool temp7 = False ;
d14a1e28
RD
1104 PyObject * obj0 = 0 ;
1105 PyObject * obj1 = 0 ;
1106 PyObject * obj3 = 0 ;
1107 PyObject * obj4 = 0 ;
1108 PyObject * obj6 = 0 ;
1109 char *kwnames[] = {
1110 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1111 };
1112
1113 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1114 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1115 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1116 if (obj3) {
1117 {
1118 arg4 = &temp4;
1119 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1120 }
1121 }
1122 if (obj4) {
1123 {
1124 arg5 = &temp5;
1125 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1126 }
1127 }
1128 if (obj6) {
1129 {
1130 arg7 = wxString_in_helper(obj6);
1131 if (arg7 == NULL) SWIG_fail;
423f194a 1132 temp7 = True;
d14a1e28
RD
1133 }
1134 }
1135 {
1136 PyThreadState* __tstate = wxPyBeginAllowThreads();
1137 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1138
1139 wxPyEndAllowThreads(__tstate);
1140 if (PyErr_Occurred()) SWIG_fail;
1141 }
1142 resultobj = PyInt_FromLong((long)result);
1143 {
1144 if (temp7)
1145 delete arg7;
1146 }
1147 return resultobj;
1148 fail:
1149 {
1150 if (temp7)
1151 delete arg7;
1152 }
1153 return NULL;
1154}
1155
1156
1157static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1158 PyObject *resultobj;
1159 wxPanel *arg1 = (wxPanel *) 0 ;
1160 PyObject * obj0 = 0 ;
1161 char *kwnames[] = {
1162 (char *) "self", NULL
1163 };
1164
1165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1167 {
1168 PyThreadState* __tstate = wxPyBeginAllowThreads();
1169 (arg1)->InitDialog();
1170
1171 wxPyEndAllowThreads(__tstate);
1172 if (PyErr_Occurred()) SWIG_fail;
1173 }
1174 Py_INCREF(Py_None); resultobj = Py_None;
1175 return resultobj;
1176 fail:
1177 return NULL;
1178}
1179
1180
1181static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1182 PyObject *obj;
1183 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1184 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1185 Py_INCREF(obj);
1186 return Py_BuildValue((char *)"");
1187}
1188static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1189 PyObject *resultobj;
1190 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1191 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1192 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1193 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1194 wxSize const &arg4_defvalue = wxDefaultSize ;
1195 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1196 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1197 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1198 wxString *arg6 = (wxString *) &arg6_defvalue ;
1199 wxScrolledWindow *result;
1200 wxPoint temp3 ;
1201 wxSize temp4 ;
423f194a 1202 bool temp6 = False ;
d14a1e28
RD
1203 PyObject * obj0 = 0 ;
1204 PyObject * obj2 = 0 ;
1205 PyObject * obj3 = 0 ;
1206 PyObject * obj5 = 0 ;
1207 char *kwnames[] = {
1208 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1209 };
1210
1211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1213 if (obj2) {
1214 {
1215 arg3 = &temp3;
1216 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1217 }
1218 }
1219 if (obj3) {
1220 {
1221 arg4 = &temp4;
1222 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1223 }
1224 }
1225 if (obj5) {
1226 {
1227 arg6 = wxString_in_helper(obj5);
1228 if (arg6 == NULL) SWIG_fail;
423f194a 1229 temp6 = True;
d14a1e28
RD
1230 }
1231 }
1232 {
1233 PyThreadState* __tstate = wxPyBeginAllowThreads();
1234 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1235
1236 wxPyEndAllowThreads(__tstate);
1237 if (PyErr_Occurred()) SWIG_fail;
1238 }
1239 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1240 {
1241 if (temp6)
1242 delete arg6;
1243 }
1244 return resultobj;
1245 fail:
1246 {
1247 if (temp6)
1248 delete arg6;
1249 }
1250 return NULL;
1251}
1252
1253
1254static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1255 PyObject *resultobj;
1256 wxScrolledWindow *result;
1257 char *kwnames[] = {
1258 NULL
1259 };
1260
1261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1262 {
1263 PyThreadState* __tstate = wxPyBeginAllowThreads();
1264 result = (wxScrolledWindow *)new wxScrolledWindow();
1265
1266 wxPyEndAllowThreads(__tstate);
1267 if (PyErr_Occurred()) SWIG_fail;
1268 }
1269 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1270 return resultobj;
1271 fail:
1272 return NULL;
1273}
1274
1275
1276static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1277 PyObject *resultobj;
1278 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1279 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1280 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1281 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1282 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1283 wxSize const &arg5_defvalue = wxDefaultSize ;
1284 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1285 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1286 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1287 wxString *arg7 = (wxString *) &arg7_defvalue ;
1288 bool result;
1289 wxPoint temp4 ;
1290 wxSize temp5 ;
423f194a 1291 bool temp7 = False ;
d14a1e28
RD
1292 PyObject * obj0 = 0 ;
1293 PyObject * obj1 = 0 ;
1294 PyObject * obj3 = 0 ;
1295 PyObject * obj4 = 0 ;
1296 PyObject * obj6 = 0 ;
1297 char *kwnames[] = {
1298 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1299 };
1300
1301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1303 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1304 if (obj3) {
1305 {
1306 arg4 = &temp4;
1307 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1308 }
1309 }
1310 if (obj4) {
1311 {
1312 arg5 = &temp5;
1313 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1314 }
1315 }
1316 if (obj6) {
1317 {
1318 arg7 = wxString_in_helper(obj6);
1319 if (arg7 == NULL) SWIG_fail;
423f194a 1320 temp7 = True;
d14a1e28
RD
1321 }
1322 }
1323 {
1324 PyThreadState* __tstate = wxPyBeginAllowThreads();
1325 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1326
1327 wxPyEndAllowThreads(__tstate);
1328 if (PyErr_Occurred()) SWIG_fail;
1329 }
1330 resultobj = PyInt_FromLong((long)result);
1331 {
1332 if (temp7)
1333 delete arg7;
1334 }
1335 return resultobj;
1336 fail:
1337 {
1338 if (temp7)
1339 delete arg7;
1340 }
1341 return NULL;
1342}
1343
1344
1345static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1346 PyObject *resultobj;
1347 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1348 int arg2 ;
1349 int arg3 ;
1350 int arg4 ;
1351 int arg5 ;
1352 int arg6 = (int) 0 ;
1353 int arg7 = (int) 0 ;
423f194a 1354 bool arg8 = (bool) False ;
d14a1e28
RD
1355 PyObject * obj0 = 0 ;
1356 PyObject * obj7 = 0 ;
1357 char *kwnames[] = {
1358 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1359 };
1360
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1363 if (obj7) {
1364 arg8 = PyInt_AsLong(obj7) ? true : false;
1365 if (PyErr_Occurred()) SWIG_fail;
1366 }
1367 {
1368 PyThreadState* __tstate = wxPyBeginAllowThreads();
1369 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1370
1371 wxPyEndAllowThreads(__tstate);
1372 if (PyErr_Occurred()) SWIG_fail;
1373 }
1374 Py_INCREF(Py_None); resultobj = Py_None;
1375 return resultobj;
1376 fail:
1377 return NULL;
1378}
1379
1380
1381static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1382 PyObject *resultobj;
1383 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1384 int arg2 ;
1385 int arg3 ;
1386 PyObject * obj0 = 0 ;
1387 char *kwnames[] = {
1388 (char *) "self",(char *) "x",(char *) "y", NULL
1389 };
1390
1391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1393 {
1394 PyThreadState* __tstate = wxPyBeginAllowThreads();
1395 (arg1)->Scroll(arg2,arg3);
1396
1397 wxPyEndAllowThreads(__tstate);
1398 if (PyErr_Occurred()) SWIG_fail;
1399 }
1400 Py_INCREF(Py_None); resultobj = Py_None;
1401 return resultobj;
1402 fail:
1403 return NULL;
1404}
1405
1406
1407static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1408 PyObject *resultobj;
1409 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1410 int arg2 ;
1411 int result;
1412 PyObject * obj0 = 0 ;
1413 char *kwnames[] = {
1414 (char *) "self",(char *) "orient", NULL
1415 };
1416
1417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1419 {
1420 PyThreadState* __tstate = wxPyBeginAllowThreads();
1421 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1422
1423 wxPyEndAllowThreads(__tstate);
1424 if (PyErr_Occurred()) SWIG_fail;
1425 }
1426 resultobj = PyInt_FromLong((long)result);
1427 return resultobj;
1428 fail:
1429 return NULL;
1430}
1431
1432
1433static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1434 PyObject *resultobj;
1435 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1436 int arg2 ;
1437 int arg3 ;
1438 PyObject * obj0 = 0 ;
1439 char *kwnames[] = {
1440 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1441 };
1442
1443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1445 {
1446 PyThreadState* __tstate = wxPyBeginAllowThreads();
1447 (arg1)->SetScrollPageSize(arg2,arg3);
1448
1449 wxPyEndAllowThreads(__tstate);
1450 if (PyErr_Occurred()) SWIG_fail;
1451 }
1452 Py_INCREF(Py_None); resultobj = Py_None;
1453 return resultobj;
1454 fail:
1455 return NULL;
1456}
1457
1458
1459static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1460 PyObject *resultobj;
1461 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1462 int arg2 ;
1463 int arg3 ;
1464 PyObject * obj0 = 0 ;
1465 char *kwnames[] = {
1466 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1467 };
1468
1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1471 {
1472 PyThreadState* __tstate = wxPyBeginAllowThreads();
1473 (arg1)->SetScrollRate(arg2,arg3);
1474
1475 wxPyEndAllowThreads(__tstate);
1476 if (PyErr_Occurred()) SWIG_fail;
1477 }
1478 Py_INCREF(Py_None); resultobj = Py_None;
1479 return resultobj;
1480 fail:
1481 return NULL;
1482}
1483
1484
1485static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1486 PyObject *resultobj;
1487 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1488 int *arg2 = (int *) 0 ;
1489 int *arg3 = (int *) 0 ;
1490 int temp2 ;
1491 int temp3 ;
1492 PyObject * obj0 = 0 ;
1493 char *kwnames[] = {
1494 (char *) "self", NULL
1495 };
1496
1497 arg2 = &temp2;
1498 arg3 = &temp3;
1499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1501 {
1502 PyThreadState* __tstate = wxPyBeginAllowThreads();
1503 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1504
1505 wxPyEndAllowThreads(__tstate);
1506 if (PyErr_Occurred()) SWIG_fail;
1507 }
1508 Py_INCREF(Py_None); resultobj = Py_None;
1509 {
1510 PyObject *o = PyInt_FromLong((long) (*arg2));
1511 resultobj = t_output_helper(resultobj,o);
1512 }
1513 {
1514 PyObject *o = PyInt_FromLong((long) (*arg3));
1515 resultobj = t_output_helper(resultobj,o);
1516 }
1517 return resultobj;
1518 fail:
1519 return NULL;
1520}
1521
1522
1523static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1524 PyObject *resultobj;
1525 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1526 bool arg2 ;
1527 bool arg3 ;
1528 PyObject * obj0 = 0 ;
1529 PyObject * obj1 = 0 ;
1530 PyObject * obj2 = 0 ;
1531 char *kwnames[] = {
1532 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1533 };
1534
1535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1537 arg2 = PyInt_AsLong(obj1) ? true : false;
1538 if (PyErr_Occurred()) SWIG_fail;
1539 arg3 = PyInt_AsLong(obj2) ? true : false;
1540 if (PyErr_Occurred()) SWIG_fail;
1541 {
1542 PyThreadState* __tstate = wxPyBeginAllowThreads();
1543 (arg1)->EnableScrolling(arg2,arg3);
1544
1545 wxPyEndAllowThreads(__tstate);
1546 if (PyErr_Occurred()) SWIG_fail;
1547 }
1548 Py_INCREF(Py_None); resultobj = Py_None;
1549 return resultobj;
1550 fail:
1551 return NULL;
1552}
1553
1554
1555static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1556 PyObject *resultobj;
1557 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1558 int *arg2 = (int *) 0 ;
1559 int *arg3 = (int *) 0 ;
1560 int temp2 ;
1561 int temp3 ;
1562 PyObject * obj0 = 0 ;
1563 char *kwnames[] = {
1564 (char *) "self", NULL
1565 };
1566
1567 arg2 = &temp2;
1568 arg3 = &temp3;
1569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1571 {
1572 PyThreadState* __tstate = wxPyBeginAllowThreads();
1573 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1574
1575 wxPyEndAllowThreads(__tstate);
1576 if (PyErr_Occurred()) SWIG_fail;
1577 }
1578 Py_INCREF(Py_None); resultobj = Py_None;
1579 {
1580 PyObject *o = PyInt_FromLong((long) (*arg2));
1581 resultobj = t_output_helper(resultobj,o);
1582 }
1583 {
1584 PyObject *o = PyInt_FromLong((long) (*arg3));
1585 resultobj = t_output_helper(resultobj,o);
1586 }
1587 return resultobj;
1588 fail:
1589 return NULL;
1590}
1591
1592
1593static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1594 PyObject *resultobj;
1595 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1596 double arg2 ;
1597 double arg3 ;
1598 PyObject * obj0 = 0 ;
1599 char *kwnames[] = {
1600 (char *) "self",(char *) "xs",(char *) "ys", NULL
1601 };
1602
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1605 {
1606 PyThreadState* __tstate = wxPyBeginAllowThreads();
1607 (arg1)->SetScale(arg2,arg3);
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 Py_INCREF(Py_None); resultobj = Py_None;
1613 return resultobj;
1614 fail:
1615 return NULL;
1616}
1617
1618
1619static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1620 PyObject *resultobj;
1621 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1622 double result;
1623 PyObject * obj0 = 0 ;
1624 char *kwnames[] = {
1625 (char *) "self", NULL
1626 };
1627
1628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1630 {
1631 PyThreadState* __tstate = wxPyBeginAllowThreads();
1632 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1633
1634 wxPyEndAllowThreads(__tstate);
1635 if (PyErr_Occurred()) SWIG_fail;
1636 }
1637 resultobj = PyFloat_FromDouble(result);
1638 return resultobj;
1639 fail:
1640 return NULL;
1641}
1642
1643
1644static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1645 PyObject *resultobj;
1646 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1647 double result;
1648 PyObject * obj0 = 0 ;
1649 char *kwnames[] = {
1650 (char *) "self", NULL
1651 };
1652
1653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1655 {
1656 PyThreadState* __tstate = wxPyBeginAllowThreads();
1657 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1658
1659 wxPyEndAllowThreads(__tstate);
1660 if (PyErr_Occurred()) SWIG_fail;
1661 }
1662 resultobj = PyFloat_FromDouble(result);
1663 return resultobj;
1664 fail:
1665 return NULL;
1666}
1667
1668
1669static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1670 PyObject *resultobj;
1671 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1672 wxPoint *arg2 = 0 ;
1673 wxPoint result;
1674 wxPoint temp2 ;
d14a1e28 1675 PyObject * obj0 = 0 ;
44127b65 1676 PyObject * obj1 = 0 ;
d14a1e28 1677
44127b65 1678 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
d14a1e28 1679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
44127b65
RD
1680 {
1681 arg2 = &temp2;
1682 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1683 }
d14a1e28
RD
1684 {
1685 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1686 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
1687
1688 wxPyEndAllowThreads(__tstate);
1689 if (PyErr_Occurred()) SWIG_fail;
1690 }
d14a1e28 1691 {
44127b65
RD
1692 wxPoint * resultptr;
1693 resultptr = new wxPoint((wxPoint &) result);
1694 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
1695 }
1696 return resultobj;
1697 fail:
1698 return NULL;
1699}
1700
1701
1702static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1703 PyObject *resultobj;
1704 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1705 int arg2 ;
1706 int arg3 ;
1707 int *arg4 = (int *) 0 ;
1708 int *arg5 = (int *) 0 ;
1709 int temp4 ;
1710 int temp5 ;
d14a1e28 1711 PyObject * obj0 = 0 ;
d14a1e28 1712
44127b65
RD
1713 arg4 = &temp4;
1714 arg5 = &temp5;
1715 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
d14a1e28 1716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
1717 {
1718 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1719 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
1720
1721 wxPyEndAllowThreads(__tstate);
1722 if (PyErr_Occurred()) SWIG_fail;
1723 }
44127b65 1724 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 1725 {
44127b65
RD
1726 PyObject *o = PyInt_FromLong((long) (*arg4));
1727 resultobj = t_output_helper(resultobj,o);
1728 }
1729 {
1730 PyObject *o = PyInt_FromLong((long) (*arg5));
1731 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
1732 }
1733 return resultobj;
1734 fail:
1735 return NULL;
1736}
1737
1738
1739static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1740 int argc;
1741 PyObject *argv[4];
1742 int ii;
1743
1744 argc = PyObject_Length(args);
1745 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1746 argv[ii] = PyTuple_GetItem(args,ii);
1747 }
1748 if (argc == 2) {
1749 int _v;
1750 {
1751 void *ptr;
1752 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1753 _v = 0;
1754 PyErr_Clear();
1755 } else {
1756 _v = 1;
1757 }
1758 }
1759 if (_v) {
1760 {
1761 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1762 }
1763 if (_v) {
44127b65 1764 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
1765 }
1766 }
1767 }
1768 if (argc == 3) {
1769 int _v;
1770 {
1771 void *ptr;
1772 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1773 _v = 0;
1774 PyErr_Clear();
1775 } else {
1776 _v = 1;
1777 }
1778 }
1779 if (_v) {
1780 {
1781 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1782 }
1783 if (_v) {
1784 {
1785 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1786 }
1787 if (_v) {
44127b65 1788 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
1789 }
1790 }
1791 }
1792 }
1793
1794 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1795 return NULL;
1796}
1797
1798
1799static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1800 PyObject *resultobj;
1801 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1802 wxPoint *arg2 = 0 ;
1803 wxPoint result;
1804 wxPoint temp2 ;
d14a1e28 1805 PyObject * obj0 = 0 ;
44127b65 1806 PyObject * obj1 = 0 ;
d14a1e28 1807
44127b65 1808 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
d14a1e28 1809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
44127b65
RD
1810 {
1811 arg2 = &temp2;
1812 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1813 }
d14a1e28
RD
1814 {
1815 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1816 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
1817
1818 wxPyEndAllowThreads(__tstate);
1819 if (PyErr_Occurred()) SWIG_fail;
1820 }
d14a1e28 1821 {
44127b65
RD
1822 wxPoint * resultptr;
1823 resultptr = new wxPoint((wxPoint &) result);
1824 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
1825 }
1826 return resultobj;
1827 fail:
1828 return NULL;
1829}
1830
1831
1832static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1833 PyObject *resultobj;
1834 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1835 int arg2 ;
1836 int arg3 ;
1837 int *arg4 = (int *) 0 ;
1838 int *arg5 = (int *) 0 ;
1839 int temp4 ;
1840 int temp5 ;
d14a1e28 1841 PyObject * obj0 = 0 ;
d14a1e28 1842
44127b65
RD
1843 arg4 = &temp4;
1844 arg5 = &temp5;
1845 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
d14a1e28 1846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
1847 {
1848 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1849 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
1850
1851 wxPyEndAllowThreads(__tstate);
1852 if (PyErr_Occurred()) SWIG_fail;
1853 }
44127b65
RD
1854 Py_INCREF(Py_None); resultobj = Py_None;
1855 {
1856 PyObject *o = PyInt_FromLong((long) (*arg4));
1857 resultobj = t_output_helper(resultobj,o);
1858 }
d14a1e28 1859 {
44127b65
RD
1860 PyObject *o = PyInt_FromLong((long) (*arg5));
1861 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
1862 }
1863 return resultobj;
1864 fail:
1865 return NULL;
1866}
1867
1868
1869static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1870 int argc;
1871 PyObject *argv[4];
1872 int ii;
1873
1874 argc = PyObject_Length(args);
1875 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1876 argv[ii] = PyTuple_GetItem(args,ii);
1877 }
1878 if (argc == 2) {
1879 int _v;
1880 {
1881 void *ptr;
1882 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1883 _v = 0;
1884 PyErr_Clear();
1885 } else {
1886 _v = 1;
1887 }
1888 }
1889 if (_v) {
1890 {
1891 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1892 }
1893 if (_v) {
44127b65 1894 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
1895 }
1896 }
1897 }
1898 if (argc == 3) {
1899 int _v;
1900 {
1901 void *ptr;
1902 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1903 _v = 0;
1904 PyErr_Clear();
1905 } else {
1906 _v = 1;
1907 }
1908 }
1909 if (_v) {
1910 {
1911 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1912 }
1913 if (_v) {
1914 {
1915 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1916 }
1917 if (_v) {
44127b65 1918 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
1919 }
1920 }
1921 }
1922 }
1923
1924 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1925 return NULL;
1926}
1927
1928
1929static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1930 PyObject *resultobj;
1931 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1932 PyObject * obj0 = 0 ;
1933 char *kwnames[] = {
1934 (char *) "self", NULL
1935 };
1936
1937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1939 {
1940 PyThreadState* __tstate = wxPyBeginAllowThreads();
1941 (arg1)->AdjustScrollbars();
1942
1943 wxPyEndAllowThreads(__tstate);
1944 if (PyErr_Occurred()) SWIG_fail;
1945 }
1946 Py_INCREF(Py_None); resultobj = Py_None;
1947 return resultobj;
1948 fail:
1949 return NULL;
1950}
1951
1952
1953static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1954 PyObject *resultobj;
1955 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1956 wxScrollWinEvent *arg2 = 0 ;
1957 int result;
1958 PyObject * obj0 = 0 ;
1959 PyObject * obj1 = 0 ;
1960 char *kwnames[] = {
1961 (char *) "self",(char *) "event", NULL
1962 };
1963
1964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1967 if (arg2 == NULL) {
1968 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1969 }
1970 {
1971 PyThreadState* __tstate = wxPyBeginAllowThreads();
1972 result = (int)(arg1)->CalcScrollInc(*arg2);
1973
1974 wxPyEndAllowThreads(__tstate);
1975 if (PyErr_Occurred()) SWIG_fail;
1976 }
1977 resultobj = PyInt_FromLong((long)result);
1978 return resultobj;
1979 fail:
1980 return NULL;
1981}
1982
1983
1984static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1985 PyObject *resultobj;
1986 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1987 wxWindow *arg2 = (wxWindow *) 0 ;
1988 PyObject * obj0 = 0 ;
1989 PyObject * obj1 = 0 ;
1990 char *kwnames[] = {
1991 (char *) "self",(char *) "target", NULL
1992 };
1993
1994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1996 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 (arg1)->SetTargetWindow(arg2);
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) SWIG_fail;
2003 }
2004 Py_INCREF(Py_None); resultobj = Py_None;
2005 return resultobj;
2006 fail:
2007 return NULL;
2008}
2009
2010
2011static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2012 PyObject *resultobj;
2013 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2014 wxWindow *result;
2015 PyObject * obj0 = 0 ;
2016 char *kwnames[] = {
2017 (char *) "self", NULL
2018 };
2019
2020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2022 {
2023 PyThreadState* __tstate = wxPyBeginAllowThreads();
2024 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2025
2026 wxPyEndAllowThreads(__tstate);
2027 if (PyErr_Occurred()) SWIG_fail;
2028 }
2029 {
2030 resultobj = wxPyMake_wxObject(result);
2031 }
2032 return resultobj;
2033 fail:
2034 return NULL;
2035}
2036
2037
2038static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2039 PyObject *resultobj;
2040 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2041 wxRect *arg2 = 0 ;
2042 wxRect temp2 ;
2043 PyObject * obj0 = 0 ;
2044 PyObject * obj1 = 0 ;
2045 char *kwnames[] = {
2046 (char *) "self",(char *) "rect", NULL
2047 };
2048
2049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2051 {
2052 arg2 = &temp2;
2053 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2054 }
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 (arg1)->SetTargetRect((wxRect const &)*arg2);
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 Py_INCREF(Py_None); resultobj = Py_None;
2063 return resultobj;
2064 fail:
2065 return NULL;
2066}
2067
2068
2069static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2070 PyObject *resultobj;
2071 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2072 wxRect result;
2073 PyObject * obj0 = 0 ;
2074 char *kwnames[] = {
2075 (char *) "self", NULL
2076 };
2077
2078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2080 {
2081 PyThreadState* __tstate = wxPyBeginAllowThreads();
2082 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2083
2084 wxPyEndAllowThreads(__tstate);
2085 if (PyErr_Occurred()) SWIG_fail;
2086 }
2087 {
2088 wxRect * resultptr;
2089 resultptr = new wxRect((wxRect &) result);
2090 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2091 }
2092 return resultobj;
2093 fail:
2094 return NULL;
2095}
2096
2097
2098static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2099 PyObject *obj;
2100 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2101 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2102 Py_INCREF(obj);
2103 return Py_BuildValue((char *)"");
2104}
d14a1e28
RD
2105static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2106 PyObject *resultobj;
2107 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
423f194a 2108 bool arg2 = (bool) True ;
d14a1e28
RD
2109 PyObject * obj0 = 0 ;
2110 PyObject * obj1 = 0 ;
2111 char *kwnames[] = {
2112 (char *) "self",(char *) "maximize", NULL
2113 };
2114
2115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2117 if (obj1) {
2118 arg2 = PyInt_AsLong(obj1) ? true : false;
2119 if (PyErr_Occurred()) SWIG_fail;
2120 }
2121 {
2122 PyThreadState* __tstate = wxPyBeginAllowThreads();
2123 (arg1)->Maximize(arg2);
2124
2125 wxPyEndAllowThreads(__tstate);
2126 if (PyErr_Occurred()) SWIG_fail;
2127 }
2128 Py_INCREF(Py_None); resultobj = Py_None;
2129 return resultobj;
2130 fail:
2131 return NULL;
2132}
2133
2134
2135static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2136 PyObject *resultobj;
2137 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2138 PyObject * obj0 = 0 ;
2139 char *kwnames[] = {
2140 (char *) "self", NULL
2141 };
2142
2143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2145 {
2146 PyThreadState* __tstate = wxPyBeginAllowThreads();
2147 (arg1)->Restore();
2148
2149 wxPyEndAllowThreads(__tstate);
2150 if (PyErr_Occurred()) SWIG_fail;
2151 }
2152 Py_INCREF(Py_None); resultobj = Py_None;
2153 return resultobj;
2154 fail:
2155 return NULL;
2156}
2157
2158
2159static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2160 PyObject *resultobj;
2161 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
423f194a 2162 bool arg2 = (bool) True ;
d14a1e28
RD
2163 PyObject * obj0 = 0 ;
2164 PyObject * obj1 = 0 ;
2165 char *kwnames[] = {
2166 (char *) "self",(char *) "iconize", NULL
2167 };
2168
2169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2171 if (obj1) {
2172 arg2 = PyInt_AsLong(obj1) ? true : false;
2173 if (PyErr_Occurred()) SWIG_fail;
2174 }
2175 {
2176 PyThreadState* __tstate = wxPyBeginAllowThreads();
2177 (arg1)->Iconize(arg2);
2178
2179 wxPyEndAllowThreads(__tstate);
2180 if (PyErr_Occurred()) SWIG_fail;
2181 }
2182 Py_INCREF(Py_None); resultobj = Py_None;
2183 return resultobj;
2184 fail:
2185 return NULL;
2186}
2187
2188
2189static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2190 PyObject *resultobj;
2191 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2192 bool result;
2193 PyObject * obj0 = 0 ;
2194 char *kwnames[] = {
2195 (char *) "self", NULL
2196 };
2197
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2200 {
2201 PyThreadState* __tstate = wxPyBeginAllowThreads();
2202 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 }
2207 resultobj = PyInt_FromLong((long)result);
2208 return resultobj;
2209 fail:
2210 return NULL;
2211}
2212
2213
2214static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2217 bool result;
2218 PyObject * obj0 = 0 ;
2219 char *kwnames[] = {
2220 (char *) "self", NULL
2221 };
2222
2223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2225 {
2226 PyThreadState* __tstate = wxPyBeginAllowThreads();
2227 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2228
2229 wxPyEndAllowThreads(__tstate);
2230 if (PyErr_Occurred()) SWIG_fail;
2231 }
2232 resultobj = PyInt_FromLong((long)result);
2233 return resultobj;
2234 fail:
2235 return NULL;
2236}
2237
2238
2239static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject *resultobj;
2241 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2242 wxIcon result;
2243 PyObject * obj0 = 0 ;
2244 char *kwnames[] = {
2245 (char *) "self", NULL
2246 };
2247
2248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2250 {
2251 PyThreadState* __tstate = wxPyBeginAllowThreads();
2252 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2253
2254 wxPyEndAllowThreads(__tstate);
2255 if (PyErr_Occurred()) SWIG_fail;
2256 }
2257 {
2258 wxIcon * resultptr;
2259 resultptr = new wxIcon((wxIcon &) result);
2260 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2261 }
2262 return resultobj;
2263 fail:
2264 return NULL;
2265}
2266
2267
2268static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2269 PyObject *resultobj;
2270 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2271 wxIcon *arg2 = 0 ;
2272 PyObject * obj0 = 0 ;
2273 PyObject * obj1 = 0 ;
2274 char *kwnames[] = {
2275 (char *) "self",(char *) "icon", NULL
2276 };
2277
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2281 if (arg2 == NULL) {
2282 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2283 }
2284 {
2285 PyThreadState* __tstate = wxPyBeginAllowThreads();
2286 (arg1)->SetIcon((wxIcon const &)*arg2);
2287
2288 wxPyEndAllowThreads(__tstate);
2289 if (PyErr_Occurred()) SWIG_fail;
2290 }
2291 Py_INCREF(Py_None); resultobj = Py_None;
2292 return resultobj;
2293 fail:
2294 return NULL;
2295}
2296
2297
2298static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2299 PyObject *resultobj;
2300 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2301 wxIconBundle *arg2 = 0 ;
2302 PyObject * obj0 = 0 ;
2303 PyObject * obj1 = 0 ;
2304 char *kwnames[] = {
2305 (char *) "self",(char *) "icons", NULL
2306 };
2307
2308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2310 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2311 if (arg2 == NULL) {
2312 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2313 }
2314 {
2315 PyThreadState* __tstate = wxPyBeginAllowThreads();
2316 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2317
2318 wxPyEndAllowThreads(__tstate);
2319 if (PyErr_Occurred()) SWIG_fail;
2320 }
2321 Py_INCREF(Py_None); resultobj = Py_None;
2322 return resultobj;
2323 fail:
2324 return NULL;
2325}
2326
2327
2328static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2329 PyObject *resultobj;
2330 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2331 bool arg2 ;
2332 long arg3 = (long) wxFULLSCREEN_ALL ;
2333 bool result;
2334 PyObject * obj0 = 0 ;
2335 PyObject * obj1 = 0 ;
2336 char *kwnames[] = {
2337 (char *) "self",(char *) "show",(char *) "style", NULL
2338 };
2339
2340 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2341 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2342 arg2 = PyInt_AsLong(obj1) ? true : false;
2343 if (PyErr_Occurred()) SWIG_fail;
2344 {
2345 PyThreadState* __tstate = wxPyBeginAllowThreads();
2346 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2347
2348 wxPyEndAllowThreads(__tstate);
2349 if (PyErr_Occurred()) SWIG_fail;
2350 }
2351 resultobj = PyInt_FromLong((long)result);
2352 return resultobj;
2353 fail:
2354 return NULL;
2355}
2356
2357
2358static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2359 PyObject *resultobj;
2360 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2361 bool result;
2362 PyObject * obj0 = 0 ;
2363 char *kwnames[] = {
2364 (char *) "self", NULL
2365 };
2366
2367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2369 {
2370 PyThreadState* __tstate = wxPyBeginAllowThreads();
2371 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2372
2373 wxPyEndAllowThreads(__tstate);
2374 if (PyErr_Occurred()) SWIG_fail;
2375 }
2376 resultobj = PyInt_FromLong((long)result);
2377 return resultobj;
2378 fail:
2379 return NULL;
2380}
2381
2382
2383static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2384 PyObject *resultobj;
2385 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2386 wxString *arg2 = 0 ;
423f194a 2387 bool temp2 = False ;
d14a1e28
RD
2388 PyObject * obj0 = 0 ;
2389 PyObject * obj1 = 0 ;
2390 char *kwnames[] = {
2391 (char *) "self",(char *) "title", NULL
2392 };
2393
2394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2396 {
2397 arg2 = wxString_in_helper(obj1);
2398 if (arg2 == NULL) SWIG_fail;
423f194a 2399 temp2 = True;
d14a1e28
RD
2400 }
2401 {
2402 PyThreadState* __tstate = wxPyBeginAllowThreads();
2403 (arg1)->SetTitle((wxString const &)*arg2);
2404
2405 wxPyEndAllowThreads(__tstate);
2406 if (PyErr_Occurred()) SWIG_fail;
2407 }
2408 Py_INCREF(Py_None); resultobj = Py_None;
2409 {
2410 if (temp2)
2411 delete arg2;
2412 }
2413 return resultobj;
2414 fail:
2415 {
2416 if (temp2)
2417 delete arg2;
2418 }
2419 return NULL;
2420}
2421
2422
2423static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2424 PyObject *resultobj;
2425 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2426 wxString result;
2427 PyObject * obj0 = 0 ;
2428 char *kwnames[] = {
2429 (char *) "self", NULL
2430 };
2431
2432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2434 {
2435 PyThreadState* __tstate = wxPyBeginAllowThreads();
2436 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2437
2438 wxPyEndAllowThreads(__tstate);
2439 if (PyErr_Occurred()) SWIG_fail;
2440 }
2441 {
2442#if wxUSE_UNICODE
2443 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2444#else
2445 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2446#endif
2447 }
2448 return resultobj;
2449 fail:
2450 return NULL;
2451}
2452
2453
2454static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2455 PyObject *resultobj;
2456 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2457 wxRegion *arg2 = 0 ;
2458 bool result;
2459 PyObject * obj0 = 0 ;
2460 PyObject * obj1 = 0 ;
2461 char *kwnames[] = {
2462 (char *) "self",(char *) "region", NULL
2463 };
2464
2465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2467 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2468 if (arg2 == NULL) {
2469 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2470 }
2471 {
2472 PyThreadState* __tstate = wxPyBeginAllowThreads();
2473 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2474
2475 wxPyEndAllowThreads(__tstate);
2476 if (PyErr_Occurred()) SWIG_fail;
2477 }
2478 resultobj = PyInt_FromLong((long)result);
2479 return resultobj;
2480 fail:
2481 return NULL;
2482}
2483
2484
2485static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2486 PyObject *obj;
2487 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2488 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2489 Py_INCREF(obj);
2490 return Py_BuildValue((char *)"");
2491}
2492static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2493 PyObject *resultobj;
2494 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 2495 int arg2 ;
d14a1e28
RD
2496 wxString *arg3 = 0 ;
2497 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2498 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2499 wxSize const &arg5_defvalue = wxDefaultSize ;
2500 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2501 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2502 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2503 wxString *arg7 = (wxString *) &arg7_defvalue ;
2504 wxFrame *result;
423f194a 2505 bool temp3 = False ;
d14a1e28
RD
2506 wxPoint temp4 ;
2507 wxSize temp5 ;
423f194a 2508 bool temp7 = False ;
d14a1e28
RD
2509 PyObject * obj0 = 0 ;
2510 PyObject * obj2 = 0 ;
2511 PyObject * obj3 = 0 ;
2512 PyObject * obj4 = 0 ;
2513 PyObject * obj6 = 0 ;
2514 char *kwnames[] = {
2515 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2516 };
2517
2518 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2519 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2520 {
2521 arg3 = wxString_in_helper(obj2);
2522 if (arg3 == NULL) SWIG_fail;
423f194a 2523 temp3 = True;
d14a1e28
RD
2524 }
2525 if (obj3) {
2526 {
2527 arg4 = &temp4;
2528 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2529 }
2530 }
2531 if (obj4) {
2532 {
2533 arg5 = &temp5;
2534 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2535 }
2536 }
2537 if (obj6) {
2538 {
2539 arg7 = wxString_in_helper(obj6);
2540 if (arg7 == NULL) SWIG_fail;
423f194a 2541 temp7 = True;
d14a1e28
RD
2542 }
2543 }
2544 {
2545 PyThreadState* __tstate = wxPyBeginAllowThreads();
2546 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2547
2548 wxPyEndAllowThreads(__tstate);
2549 if (PyErr_Occurred()) SWIG_fail;
2550 }
2551 {
2552 resultobj = wxPyMake_wxObject(result);
2553 }
2554 {
2555 if (temp3)
2556 delete arg3;
2557 }
2558 {
2559 if (temp7)
2560 delete arg7;
2561 }
2562 return resultobj;
2563 fail:
2564 {
2565 if (temp3)
2566 delete arg3;
2567 }
2568 {
2569 if (temp7)
2570 delete arg7;
2571 }
2572 return NULL;
2573}
2574
2575
2576static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2577 PyObject *resultobj;
2578 wxFrame *result;
2579 char *kwnames[] = {
2580 NULL
2581 };
2582
2583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2584 {
2585 PyThreadState* __tstate = wxPyBeginAllowThreads();
2586 result = (wxFrame *)new wxFrame();
2587
2588 wxPyEndAllowThreads(__tstate);
2589 if (PyErr_Occurred()) SWIG_fail;
2590 }
2591 {
2592 resultobj = wxPyMake_wxObject(result);
2593 }
2594 return resultobj;
2595 fail:
2596 return NULL;
2597}
2598
2599
2600static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2601 PyObject *resultobj;
2602 wxFrame *arg1 = (wxFrame *) 0 ;
2603 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 2604 int arg3 ;
d14a1e28
RD
2605 wxString *arg4 = 0 ;
2606 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2607 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2608 wxSize const &arg6_defvalue = wxDefaultSize ;
2609 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2610 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2611 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2612 wxString *arg8 = (wxString *) &arg8_defvalue ;
2613 bool result;
423f194a 2614 bool temp4 = False ;
d14a1e28
RD
2615 wxPoint temp5 ;
2616 wxSize temp6 ;
423f194a 2617 bool temp8 = False ;
d14a1e28
RD
2618 PyObject * obj0 = 0 ;
2619 PyObject * obj1 = 0 ;
2620 PyObject * obj3 = 0 ;
2621 PyObject * obj4 = 0 ;
2622 PyObject * obj5 = 0 ;
2623 PyObject * obj7 = 0 ;
2624 char *kwnames[] = {
2625 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2626 };
2627
2628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2630 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2631 {
2632 arg4 = wxString_in_helper(obj3);
2633 if (arg4 == NULL) SWIG_fail;
423f194a 2634 temp4 = True;
d14a1e28
RD
2635 }
2636 if (obj4) {
2637 {
2638 arg5 = &temp5;
2639 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2640 }
2641 }
2642 if (obj5) {
2643 {
2644 arg6 = &temp6;
2645 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2646 }
2647 }
2648 if (obj7) {
2649 {
2650 arg8 = wxString_in_helper(obj7);
2651 if (arg8 == NULL) SWIG_fail;
423f194a 2652 temp8 = True;
d14a1e28
RD
2653 }
2654 }
2655 {
2656 PyThreadState* __tstate = wxPyBeginAllowThreads();
2657 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2658
2659 wxPyEndAllowThreads(__tstate);
2660 if (PyErr_Occurred()) SWIG_fail;
2661 }
2662 resultobj = PyInt_FromLong((long)result);
2663 {
2664 if (temp4)
2665 delete arg4;
2666 }
2667 {
2668 if (temp8)
2669 delete arg8;
2670 }
2671 return resultobj;
2672 fail:
2673 {
2674 if (temp4)
2675 delete arg4;
2676 }
2677 {
2678 if (temp8)
2679 delete arg8;
2680 }
2681 return NULL;
2682}
2683
2684
2685static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2686 PyObject *resultobj;
2687 wxFrame *arg1 = (wxFrame *) 0 ;
2688 wxPoint result;
2689 PyObject * obj0 = 0 ;
2690 char *kwnames[] = {
2691 (char *) "self", NULL
2692 };
2693
2694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2696 {
2697 PyThreadState* __tstate = wxPyBeginAllowThreads();
2698 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2699
2700 wxPyEndAllowThreads(__tstate);
2701 if (PyErr_Occurred()) SWIG_fail;
2702 }
2703 {
2704 wxPoint * resultptr;
2705 resultptr = new wxPoint((wxPoint &) result);
2706 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2707 }
2708 return resultobj;
2709 fail:
2710 return NULL;
2711}
2712
2713
2714static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2715 PyObject *resultobj;
2716 wxFrame *arg1 = (wxFrame *) 0 ;
2717 PyObject * obj0 = 0 ;
2718 char *kwnames[] = {
2719 (char *) "self", NULL
2720 };
2721
2722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2724 {
2725 PyThreadState* __tstate = wxPyBeginAllowThreads();
2726 (arg1)->SendSizeEvent();
2727
2728 wxPyEndAllowThreads(__tstate);
2729 if (PyErr_Occurred()) SWIG_fail;
2730 }
2731 Py_INCREF(Py_None); resultobj = Py_None;
2732 return resultobj;
2733 fail:
2734 return NULL;
2735}
2736
2737
2738static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2739 PyObject *resultobj;
2740 wxFrame *arg1 = (wxFrame *) 0 ;
2741 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2742 PyObject * obj0 = 0 ;
2743 PyObject * obj1 = 0 ;
2744 char *kwnames[] = {
2745 (char *) "self",(char *) "menubar", NULL
2746 };
2747
2748 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2749 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2750 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2751 {
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 (arg1)->SetMenuBar(arg2);
2754
2755 wxPyEndAllowThreads(__tstate);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 }
2758 Py_INCREF(Py_None); resultobj = Py_None;
2759 return resultobj;
2760 fail:
2761 return NULL;
2762}
2763
2764
2765static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2766 PyObject *resultobj;
2767 wxFrame *arg1 = (wxFrame *) 0 ;
2768 wxMenuBar *result;
2769 PyObject * obj0 = 0 ;
2770 char *kwnames[] = {
2771 (char *) "self", NULL
2772 };
2773
2774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2776 {
2777 PyThreadState* __tstate = wxPyBeginAllowThreads();
2778 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2779
2780 wxPyEndAllowThreads(__tstate);
2781 if (PyErr_Occurred()) SWIG_fail;
2782 }
2783 {
2784 resultobj = wxPyMake_wxObject(result);
2785 }
2786 return resultobj;
2787 fail:
2788 return NULL;
2789}
2790
2791
2792static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2793 PyObject *resultobj;
2794 wxFrame *arg1 = (wxFrame *) 0 ;
2795 int arg2 ;
2796 bool result;
2797 PyObject * obj0 = 0 ;
2798 char *kwnames[] = {
2799 (char *) "self",(char *) "winid", NULL
2800 };
2801
2802 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2803 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2804 {
2805 PyThreadState* __tstate = wxPyBeginAllowThreads();
2806 result = (bool)(arg1)->ProcessCommand(arg2);
2807
2808 wxPyEndAllowThreads(__tstate);
2809 if (PyErr_Occurred()) SWIG_fail;
2810 }
2811 resultobj = PyInt_FromLong((long)result);
2812 return resultobj;
2813 fail:
2814 return NULL;
2815}
2816
2817
2818static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2819 PyObject *resultobj;
2820 wxFrame *arg1 = (wxFrame *) 0 ;
2821 int arg2 = (int) 1 ;
2822 long arg3 = (long) wxST_SIZEGRIP ;
423f194a 2823 int arg4 = (int) 0 ;
d14a1e28
RD
2824 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2825 wxString *arg5 = (wxString *) &arg5_defvalue ;
2826 wxStatusBar *result;
423f194a 2827 bool temp5 = False ;
d14a1e28
RD
2828 PyObject * obj0 = 0 ;
2829 PyObject * obj4 = 0 ;
2830 char *kwnames[] = {
2831 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2832 };
2833
2834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2836 if (obj4) {
2837 {
2838 arg5 = wxString_in_helper(obj4);
2839 if (arg5 == NULL) SWIG_fail;
423f194a 2840 temp5 = True;
d14a1e28
RD
2841 }
2842 }
2843 {
2844 PyThreadState* __tstate = wxPyBeginAllowThreads();
2845 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2846
2847 wxPyEndAllowThreads(__tstate);
2848 if (PyErr_Occurred()) SWIG_fail;
2849 }
2850 {
2851 resultobj = wxPyMake_wxObject(result);
2852 }
2853 {
2854 if (temp5)
2855 delete arg5;
2856 }
2857 return resultobj;
2858 fail:
2859 {
2860 if (temp5)
2861 delete arg5;
2862 }
2863 return NULL;
2864}
2865
2866
2867static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2868 PyObject *resultobj;
2869 wxFrame *arg1 = (wxFrame *) 0 ;
2870 wxStatusBar *result;
2871 PyObject * obj0 = 0 ;
2872 char *kwnames[] = {
2873 (char *) "self", NULL
2874 };
2875
2876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2878 {
2879 PyThreadState* __tstate = wxPyBeginAllowThreads();
2880 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2881
2882 wxPyEndAllowThreads(__tstate);
2883 if (PyErr_Occurred()) SWIG_fail;
2884 }
2885 {
2886 resultobj = wxPyMake_wxObject(result);
2887 }
2888 return resultobj;
2889 fail:
2890 return NULL;
2891}
2892
2893
2894static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2895 PyObject *resultobj;
2896 wxFrame *arg1 = (wxFrame *) 0 ;
2897 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2898 PyObject * obj0 = 0 ;
2899 PyObject * obj1 = 0 ;
2900 char *kwnames[] = {
2901 (char *) "self",(char *) "statBar", NULL
2902 };
2903
2904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2906 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2907 {
2908 PyThreadState* __tstate = wxPyBeginAllowThreads();
2909 (arg1)->SetStatusBar(arg2);
2910
2911 wxPyEndAllowThreads(__tstate);
2912 if (PyErr_Occurred()) SWIG_fail;
2913 }
2914 Py_INCREF(Py_None); resultobj = Py_None;
2915 return resultobj;
2916 fail:
2917 return NULL;
2918}
2919
2920
2921static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2922 PyObject *resultobj;
2923 wxFrame *arg1 = (wxFrame *) 0 ;
2924 wxString *arg2 = 0 ;
2925 int arg3 = (int) 0 ;
423f194a 2926 bool temp2 = False ;
d14a1e28
RD
2927 PyObject * obj0 = 0 ;
2928 PyObject * obj1 = 0 ;
2929 char *kwnames[] = {
2930 (char *) "self",(char *) "text",(char *) "number", NULL
2931 };
2932
2933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2935 {
2936 arg2 = wxString_in_helper(obj1);
2937 if (arg2 == NULL) SWIG_fail;
423f194a 2938 temp2 = True;
d14a1e28
RD
2939 }
2940 {
2941 PyThreadState* __tstate = wxPyBeginAllowThreads();
2942 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2943
2944 wxPyEndAllowThreads(__tstate);
2945 if (PyErr_Occurred()) SWIG_fail;
2946 }
2947 Py_INCREF(Py_None); resultobj = Py_None;
2948 {
2949 if (temp2)
2950 delete arg2;
2951 }
2952 return resultobj;
2953 fail:
2954 {
2955 if (temp2)
2956 delete arg2;
2957 }
2958 return NULL;
2959}
2960
2961
2962static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
2963 PyObject *resultobj;
2964 wxFrame *arg1 = (wxFrame *) 0 ;
2965 int arg2 ;
2966 int *arg3 = (int *) 0 ;
2967 PyObject * obj0 = 0 ;
2968 PyObject * obj1 = 0 ;
2969 char *kwnames[] = {
2970 (char *) "self",(char *) "widths", NULL
2971 };
2972
2973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
2974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2975 {
2976 arg2 = PyList_Size(obj1);
2977 arg3 = int_LIST_helper(obj1);
2978 if (arg3 == NULL) SWIG_fail;
2979 }
2980 {
2981 PyThreadState* __tstate = wxPyBeginAllowThreads();
2982 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
2983
2984 wxPyEndAllowThreads(__tstate);
2985 if (PyErr_Occurred()) SWIG_fail;
2986 }
2987 Py_INCREF(Py_None); resultobj = Py_None;
2988 {
2989 if (arg3) delete [] arg3;
2990 }
2991 return resultobj;
2992 fail:
2993 {
2994 if (arg3) delete [] arg3;
2995 }
2996 return NULL;
2997}
2998
2999
3000static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3001 PyObject *resultobj;
3002 wxFrame *arg1 = (wxFrame *) 0 ;
3003 wxString *arg2 = 0 ;
3004 int arg3 = (int) 0 ;
423f194a 3005 bool temp2 = False ;
d14a1e28
RD
3006 PyObject * obj0 = 0 ;
3007 PyObject * obj1 = 0 ;
3008 char *kwnames[] = {
3009 (char *) "self",(char *) "text",(char *) "number", NULL
3010 };
3011
3012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3014 {
3015 arg2 = wxString_in_helper(obj1);
3016 if (arg2 == NULL) SWIG_fail;
423f194a 3017 temp2 = True;
d14a1e28
RD
3018 }
3019 {
3020 PyThreadState* __tstate = wxPyBeginAllowThreads();
3021 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3022
3023 wxPyEndAllowThreads(__tstate);
3024 if (PyErr_Occurred()) SWIG_fail;
3025 }
3026 Py_INCREF(Py_None); resultobj = Py_None;
3027 {
3028 if (temp2)
3029 delete arg2;
3030 }
3031 return resultobj;
3032 fail:
3033 {
3034 if (temp2)
3035 delete arg2;
3036 }
3037 return NULL;
3038}
3039
3040
3041static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3042 PyObject *resultobj;
3043 wxFrame *arg1 = (wxFrame *) 0 ;
3044 int arg2 = (int) 0 ;
3045 PyObject * obj0 = 0 ;
3046 char *kwnames[] = {
3047 (char *) "self",(char *) "number", NULL
3048 };
3049
3050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3052 {
3053 PyThreadState* __tstate = wxPyBeginAllowThreads();
3054 (arg1)->PopStatusText(arg2);
3055
3056 wxPyEndAllowThreads(__tstate);
3057 if (PyErr_Occurred()) SWIG_fail;
3058 }
3059 Py_INCREF(Py_None); resultobj = Py_None;
3060 return resultobj;
3061 fail:
3062 return NULL;
3063}
3064
3065
3066static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3067 PyObject *resultobj;
3068 wxFrame *arg1 = (wxFrame *) 0 ;
3069 int arg2 ;
3070 PyObject * obj0 = 0 ;
3071 char *kwnames[] = {
3072 (char *) "self",(char *) "n", NULL
3073 };
3074
3075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3077 {
3078 PyThreadState* __tstate = wxPyBeginAllowThreads();
3079 (arg1)->SetStatusBarPane(arg2);
3080
3081 wxPyEndAllowThreads(__tstate);
3082 if (PyErr_Occurred()) SWIG_fail;
3083 }
3084 Py_INCREF(Py_None); resultobj = Py_None;
3085 return resultobj;
3086 fail:
3087 return NULL;
3088}
3089
3090
3091static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3092 PyObject *resultobj;
3093 wxFrame *arg1 = (wxFrame *) 0 ;
3094 int result;
3095 PyObject * obj0 = 0 ;
3096 char *kwnames[] = {
3097 (char *) "self", NULL
3098 };
3099
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3102 {
3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
3104 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3105
3106 wxPyEndAllowThreads(__tstate);
3107 if (PyErr_Occurred()) SWIG_fail;
3108 }
3109 resultobj = PyInt_FromLong((long)result);
3110 return resultobj;
3111 fail:
3112 return NULL;
3113}
3114
3115
3116static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3117 PyObject *resultobj;
3118 wxFrame *arg1 = (wxFrame *) 0 ;
3119 long arg2 = (long) -1 ;
423f194a 3120 int arg3 = (int) -1 ;
d14a1e28
RD
3121 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3122 wxString *arg4 = (wxString *) &arg4_defvalue ;
3123 wxToolBar *result;
423f194a 3124 bool temp4 = False ;
d14a1e28
RD
3125 PyObject * obj0 = 0 ;
3126 PyObject * obj3 = 0 ;
3127 char *kwnames[] = {
3128 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3129 };
3130
3131 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3132 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3133 if (obj3) {
3134 {
3135 arg4 = wxString_in_helper(obj3);
3136 if (arg4 == NULL) SWIG_fail;
423f194a 3137 temp4 = True;
d14a1e28
RD
3138 }
3139 }
3140 {
3141 PyThreadState* __tstate = wxPyBeginAllowThreads();
3142 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3143
3144 wxPyEndAllowThreads(__tstate);
3145 if (PyErr_Occurred()) SWIG_fail;
3146 }
3147 {
3148 resultobj = wxPyMake_wxObject(result);
3149 }
3150 {
3151 if (temp4)
3152 delete arg4;
3153 }
3154 return resultobj;
3155 fail:
3156 {
3157 if (temp4)
3158 delete arg4;
3159 }
3160 return NULL;
3161}
3162
3163
3164static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3165 PyObject *resultobj;
3166 wxFrame *arg1 = (wxFrame *) 0 ;
3167 wxToolBar *result;
3168 PyObject * obj0 = 0 ;
3169 char *kwnames[] = {
3170 (char *) "self", NULL
3171 };
3172
3173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) 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 = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3178
3179 wxPyEndAllowThreads(__tstate);
3180 if (PyErr_Occurred()) SWIG_fail;
3181 }
3182 {
3183 resultobj = wxPyMake_wxObject(result);
3184 }
3185 return resultobj;
3186 fail:
3187 return NULL;
3188}
3189
3190
3191static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3192 PyObject *resultobj;
3193 wxFrame *arg1 = (wxFrame *) 0 ;
3194 wxToolBar *arg2 = (wxToolBar *) 0 ;
3195 PyObject * obj0 = 0 ;
3196 PyObject * obj1 = 0 ;
3197 char *kwnames[] = {
3198 (char *) "self",(char *) "toolbar", NULL
3199 };
3200
3201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3203 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3204 {
3205 PyThreadState* __tstate = wxPyBeginAllowThreads();
3206 (arg1)->SetToolBar(arg2);
3207
3208 wxPyEndAllowThreads(__tstate);
3209 if (PyErr_Occurred()) SWIG_fail;
3210 }
3211 Py_INCREF(Py_None); resultobj = Py_None;
3212 return resultobj;
3213 fail:
3214 return NULL;
3215}
3216
3217
3218static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3219 PyObject *resultobj;
3220 wxFrame *arg1 = (wxFrame *) 0 ;
3221 wxString *arg2 = 0 ;
3222 bool arg3 ;
423f194a 3223 bool temp2 = False ;
d14a1e28
RD
3224 PyObject * obj0 = 0 ;
3225 PyObject * obj1 = 0 ;
3226 PyObject * obj2 = 0 ;
3227 char *kwnames[] = {
3228 (char *) "self",(char *) "text",(char *) "show", NULL
3229 };
3230
3231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3232 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3233 {
3234 arg2 = wxString_in_helper(obj1);
3235 if (arg2 == NULL) SWIG_fail;
423f194a 3236 temp2 = True;
d14a1e28
RD
3237 }
3238 arg3 = PyInt_AsLong(obj2) ? true : false;
3239 if (PyErr_Occurred()) SWIG_fail;
3240 {
3241 PyThreadState* __tstate = wxPyBeginAllowThreads();
3242 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3243
3244 wxPyEndAllowThreads(__tstate);
3245 if (PyErr_Occurred()) SWIG_fail;
3246 }
3247 Py_INCREF(Py_None); resultobj = Py_None;
3248 {
3249 if (temp2)
3250 delete arg2;
3251 }
3252 return resultobj;
3253 fail:
3254 {
3255 if (temp2)
3256 delete arg2;
3257 }
3258 return NULL;
3259}
3260
3261
3262static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3263 PyObject *resultobj;
3264 wxFrame *arg1 = (wxFrame *) 0 ;
3265 wxMenu *arg2 = (wxMenu *) NULL ;
3266 PyObject * obj0 = 0 ;
3267 PyObject * obj1 = 0 ;
3268 char *kwnames[] = {
3269 (char *) "self",(char *) "menu", NULL
3270 };
3271
3272 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3273 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3274 if (obj1) {
3275 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3276 }
3277 {
3278 PyThreadState* __tstate = wxPyBeginAllowThreads();
3279 (arg1)->DoMenuUpdates(arg2);
3280
3281 wxPyEndAllowThreads(__tstate);
3282 if (PyErr_Occurred()) SWIG_fail;
3283 }
3284 Py_INCREF(Py_None); resultobj = Py_None;
3285 return resultobj;
3286 fail:
3287 return NULL;
3288}
3289
3290
3291static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3292 PyObject *obj;
3293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3294 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3295 Py_INCREF(obj);
3296 return Py_BuildValue((char *)"");
3297}
3298static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3299 PyObject *resultobj;
3300 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3301 int arg2 ;
d14a1e28
RD
3302 wxString *arg3 = 0 ;
3303 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3304 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3305 wxSize const &arg5_defvalue = wxDefaultSize ;
3306 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3307 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3308 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3309 wxString *arg7 = (wxString *) &arg7_defvalue ;
3310 wxDialog *result;
423f194a 3311 bool temp3 = False ;
d14a1e28
RD
3312 wxPoint temp4 ;
3313 wxSize temp5 ;
423f194a 3314 bool temp7 = False ;
d14a1e28
RD
3315 PyObject * obj0 = 0 ;
3316 PyObject * obj2 = 0 ;
3317 PyObject * obj3 = 0 ;
3318 PyObject * obj4 = 0 ;
3319 PyObject * obj6 = 0 ;
3320 char *kwnames[] = {
3321 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3322 };
3323
3324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326 {
3327 arg3 = wxString_in_helper(obj2);
3328 if (arg3 == NULL) SWIG_fail;
423f194a 3329 temp3 = True;
d14a1e28
RD
3330 }
3331 if (obj3) {
3332 {
3333 arg4 = &temp4;
3334 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3335 }
3336 }
3337 if (obj4) {
3338 {
3339 arg5 = &temp5;
3340 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3341 }
3342 }
3343 if (obj6) {
3344 {
3345 arg7 = wxString_in_helper(obj6);
3346 if (arg7 == NULL) SWIG_fail;
423f194a 3347 temp7 = True;
d14a1e28
RD
3348 }
3349 }
3350 {
3351 PyThreadState* __tstate = wxPyBeginAllowThreads();
3352 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3353
3354 wxPyEndAllowThreads(__tstate);
3355 if (PyErr_Occurred()) SWIG_fail;
3356 }
3357 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3358 {
3359 if (temp3)
3360 delete arg3;
3361 }
3362 {
3363 if (temp7)
3364 delete arg7;
3365 }
3366 return resultobj;
3367 fail:
3368 {
3369 if (temp3)
3370 delete arg3;
3371 }
3372 {
3373 if (temp7)
3374 delete arg7;
3375 }
3376 return NULL;
3377}
3378
3379
3380static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3381 PyObject *resultobj;
3382 wxDialog *result;
3383 char *kwnames[] = {
3384 NULL
3385 };
3386
3387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3388 {
3389 PyThreadState* __tstate = wxPyBeginAllowThreads();
3390 result = (wxDialog *)new wxDialog();
3391
3392 wxPyEndAllowThreads(__tstate);
3393 if (PyErr_Occurred()) SWIG_fail;
3394 }
3395 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3396 return resultobj;
3397 fail:
3398 return NULL;
3399}
3400
3401
3402static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3403 PyObject *resultobj;
3404 wxDialog *arg1 = (wxDialog *) 0 ;
3405 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3406 int arg3 ;
d14a1e28
RD
3407 wxString *arg4 = 0 ;
3408 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3409 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3410 wxSize const &arg6_defvalue = wxDefaultSize ;
3411 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3412 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3413 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3414 wxString *arg8 = (wxString *) &arg8_defvalue ;
3415 bool result;
423f194a 3416 bool temp4 = False ;
d14a1e28
RD
3417 wxPoint temp5 ;
3418 wxSize temp6 ;
423f194a 3419 bool temp8 = False ;
d14a1e28
RD
3420 PyObject * obj0 = 0 ;
3421 PyObject * obj1 = 0 ;
3422 PyObject * obj3 = 0 ;
3423 PyObject * obj4 = 0 ;
3424 PyObject * obj5 = 0 ;
3425 PyObject * obj7 = 0 ;
3426 char *kwnames[] = {
3427 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3428 };
3429
3430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3432 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3433 {
3434 arg4 = wxString_in_helper(obj3);
3435 if (arg4 == NULL) SWIG_fail;
423f194a 3436 temp4 = True;
d14a1e28
RD
3437 }
3438 if (obj4) {
3439 {
3440 arg5 = &temp5;
3441 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3442 }
3443 }
3444 if (obj5) {
3445 {
3446 arg6 = &temp6;
3447 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3448 }
3449 }
3450 if (obj7) {
3451 {
3452 arg8 = wxString_in_helper(obj7);
3453 if (arg8 == NULL) SWIG_fail;
423f194a 3454 temp8 = True;
d14a1e28
RD
3455 }
3456 }
3457 {
3458 PyThreadState* __tstate = wxPyBeginAllowThreads();
3459 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3460
3461 wxPyEndAllowThreads(__tstate);
3462 if (PyErr_Occurred()) SWIG_fail;
3463 }
3464 resultobj = PyInt_FromLong((long)result);
3465 {
3466 if (temp4)
3467 delete arg4;
3468 }
3469 {
3470 if (temp8)
3471 delete arg8;
3472 }
3473 return resultobj;
3474 fail:
3475 {
3476 if (temp4)
3477 delete arg4;
3478 }
3479 {
3480 if (temp8)
3481 delete arg8;
3482 }
3483 return NULL;
3484}
3485
3486
3487static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3488 PyObject *resultobj;
3489 wxDialog *arg1 = (wxDialog *) 0 ;
3490 int arg2 ;
3491 PyObject * obj0 = 0 ;
3492 char *kwnames[] = {
3493 (char *) "self",(char *) "returnCode", NULL
3494 };
3495
3496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3498 {
3499 PyThreadState* __tstate = wxPyBeginAllowThreads();
3500 (arg1)->SetReturnCode(arg2);
3501
3502 wxPyEndAllowThreads(__tstate);
3503 if (PyErr_Occurred()) SWIG_fail;
3504 }
3505 Py_INCREF(Py_None); resultobj = Py_None;
3506 return resultobj;
3507 fail:
3508 return NULL;
3509}
3510
3511
3512static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3513 PyObject *resultobj;
3514 wxDialog *arg1 = (wxDialog *) 0 ;
3515 int result;
3516 PyObject * obj0 = 0 ;
3517 char *kwnames[] = {
3518 (char *) "self", NULL
3519 };
3520
3521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3523 {
3524 PyThreadState* __tstate = wxPyBeginAllowThreads();
3525 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3526
3527 wxPyEndAllowThreads(__tstate);
3528 if (PyErr_Occurred()) SWIG_fail;
3529 }
3530 resultobj = PyInt_FromLong((long)result);
3531 return resultobj;
3532 fail:
3533 return NULL;
3534}
3535
3536
3537static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3538 PyObject *resultobj;
3539 wxDialog *arg1 = (wxDialog *) 0 ;
3540 wxString *arg2 = 0 ;
3541 wxSizer *result;
423f194a 3542 bool temp2 = False ;
d14a1e28
RD
3543 PyObject * obj0 = 0 ;
3544 PyObject * obj1 = 0 ;
3545 char *kwnames[] = {
3546 (char *) "self",(char *) "message", NULL
3547 };
3548
3549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3551 {
3552 arg2 = wxString_in_helper(obj1);
3553 if (arg2 == NULL) SWIG_fail;
423f194a 3554 temp2 = True;
d14a1e28
RD
3555 }
3556 {
3557 PyThreadState* __tstate = wxPyBeginAllowThreads();
3558 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3559
3560 wxPyEndAllowThreads(__tstate);
3561 if (PyErr_Occurred()) SWIG_fail;
3562 }
3563 {
3564 resultobj = wxPyMake_wxSizer(result);
3565 }
3566 {
3567 if (temp2)
3568 delete arg2;
3569 }
3570 return resultobj;
3571 fail:
3572 {
3573 if (temp2)
3574 delete arg2;
3575 }
3576 return NULL;
3577}
3578
3579
3580static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3581 PyObject *resultobj;
3582 wxDialog *arg1 = (wxDialog *) 0 ;
3583 long arg2 ;
3584 wxSizer *result;
3585 PyObject * obj0 = 0 ;
3586 char *kwnames[] = {
3587 (char *) "self",(char *) "flags", NULL
3588 };
3589
3590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3592 {
3593 PyThreadState* __tstate = wxPyBeginAllowThreads();
3594 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3595
3596 wxPyEndAllowThreads(__tstate);
3597 if (PyErr_Occurred()) SWIG_fail;
3598 }
3599 {
3600 resultobj = wxPyMake_wxSizer(result);
3601 }
3602 return resultobj;
3603 fail:
3604 return NULL;
3605}
3606
3607
3608static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3609 PyObject *resultobj;
3610 wxDialog *arg1 = (wxDialog *) 0 ;
3611 bool arg2 ;
3612 PyObject * obj0 = 0 ;
3613 PyObject * obj1 = 0 ;
3614 char *kwnames[] = {
3615 (char *) "self",(char *) "flag", NULL
3616 };
3617
3618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3620 arg2 = PyInt_AsLong(obj1) ? true : false;
3621 if (PyErr_Occurred()) SWIG_fail;
3622 {
3623 PyThreadState* __tstate = wxPyBeginAllowThreads();
3624 (arg1)->SetModal(arg2);
3625
3626 wxPyEndAllowThreads(__tstate);
3627 if (PyErr_Occurred()) SWIG_fail;
3628 }
3629 Py_INCREF(Py_None); resultobj = Py_None;
3630 return resultobj;
3631 fail:
3632 return NULL;
3633}
3634
3635
3636static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3637 PyObject *resultobj;
3638 wxDialog *arg1 = (wxDialog *) 0 ;
3639 bool result;
3640 PyObject * obj0 = 0 ;
3641 char *kwnames[] = {
3642 (char *) "self", NULL
3643 };
3644
3645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3647 {
3648 PyThreadState* __tstate = wxPyBeginAllowThreads();
3649 result = (bool)((wxDialog const *)arg1)->IsModal();
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 resultobj = PyInt_FromLong((long)result);
3655 return resultobj;
3656 fail:
3657 return NULL;
3658}
3659
3660
3661static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3662 PyObject *resultobj;
3663 wxDialog *arg1 = (wxDialog *) 0 ;
3664 int result;
3665 PyObject * obj0 = 0 ;
3666 char *kwnames[] = {
3667 (char *) "self", NULL
3668 };
3669
3670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 result = (int)(arg1)->ShowModal();
3675
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
3679 resultobj = PyInt_FromLong((long)result);
3680 return resultobj;
3681 fail:
3682 return NULL;
3683}
3684
3685
3686static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3687 PyObject *resultobj;
3688 wxDialog *arg1 = (wxDialog *) 0 ;
3689 int arg2 ;
3690 PyObject * obj0 = 0 ;
3691 char *kwnames[] = {
3692 (char *) "self",(char *) "retCode", NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 (arg1)->EndModal(arg2);
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 Py_INCREF(Py_None); resultobj = Py_None;
3705 return resultobj;
3706 fail:
3707 return NULL;
3708}
3709
3710
3711static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3712 PyObject *resultobj;
3713 wxDialog *arg1 = (wxDialog *) 0 ;
3714 bool result;
3715 PyObject * obj0 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "self", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 result = (bool)wxDialog_IsModalShowing(arg1);
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 resultobj = PyInt_FromLong((long)result);
3730 return resultobj;
3731 fail:
3732 return NULL;
3733}
3734
3735
3736static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3737 PyObject *obj;
3738 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3739 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3740 Py_INCREF(obj);
3741 return Py_BuildValue((char *)"");
3742}
3743static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3744 PyObject *resultobj;
3745 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3746 int arg2 ;
d14a1e28
RD
3747 wxString *arg3 = 0 ;
3748 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3749 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3750 wxSize const &arg5_defvalue = wxDefaultSize ;
3751 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3752 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3753 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3754 wxString *arg7 = (wxString *) &arg7_defvalue ;
3755 wxMiniFrame *result;
423f194a 3756 bool temp3 = False ;
d14a1e28
RD
3757 wxPoint temp4 ;
3758 wxSize temp5 ;
423f194a 3759 bool temp7 = False ;
d14a1e28
RD
3760 PyObject * obj0 = 0 ;
3761 PyObject * obj2 = 0 ;
3762 PyObject * obj3 = 0 ;
3763 PyObject * obj4 = 0 ;
3764 PyObject * obj6 = 0 ;
3765 char *kwnames[] = {
3766 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3767 };
3768
3769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3771 {
3772 arg3 = wxString_in_helper(obj2);
3773 if (arg3 == NULL) SWIG_fail;
423f194a 3774 temp3 = True;
d14a1e28
RD
3775 }
3776 if (obj3) {
3777 {
3778 arg4 = &temp4;
3779 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3780 }
3781 }
3782 if (obj4) {
3783 {
3784 arg5 = &temp5;
3785 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3786 }
3787 }
3788 if (obj6) {
3789 {
3790 arg7 = wxString_in_helper(obj6);
3791 if (arg7 == NULL) SWIG_fail;
423f194a 3792 temp7 = True;
d14a1e28
RD
3793 }
3794 }
3795 {
3796 PyThreadState* __tstate = wxPyBeginAllowThreads();
3797 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3798
3799 wxPyEndAllowThreads(__tstate);
3800 if (PyErr_Occurred()) SWIG_fail;
3801 }
3802 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3803 {
3804 if (temp3)
3805 delete arg3;
3806 }
3807 {
3808 if (temp7)
3809 delete arg7;
3810 }
3811 return resultobj;
3812 fail:
3813 {
3814 if (temp3)
3815 delete arg3;
3816 }
3817 {
3818 if (temp7)
3819 delete arg7;
3820 }
3821 return NULL;
3822}
3823
3824
3825static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3826 PyObject *resultobj;
3827 wxMiniFrame *result;
3828 char *kwnames[] = {
3829 NULL
3830 };
3831
3832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3833 {
3834 PyThreadState* __tstate = wxPyBeginAllowThreads();
3835 result = (wxMiniFrame *)new wxMiniFrame();
3836
3837 wxPyEndAllowThreads(__tstate);
3838 if (PyErr_Occurred()) SWIG_fail;
3839 }
3840 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3841 return resultobj;
3842 fail:
3843 return NULL;
3844}
3845
3846
3847static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3848 PyObject *resultobj;
3849 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3850 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3851 int arg3 ;
d14a1e28
RD
3852 wxString *arg4 = 0 ;
3853 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3854 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3855 wxSize const &arg6_defvalue = wxDefaultSize ;
3856 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3857 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3858 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3859 wxString *arg8 = (wxString *) &arg8_defvalue ;
3860 bool result;
423f194a 3861 bool temp4 = False ;
d14a1e28
RD
3862 wxPoint temp5 ;
3863 wxSize temp6 ;
423f194a 3864 bool temp8 = False ;
d14a1e28
RD
3865 PyObject * obj0 = 0 ;
3866 PyObject * obj1 = 0 ;
3867 PyObject * obj3 = 0 ;
3868 PyObject * obj4 = 0 ;
3869 PyObject * obj5 = 0 ;
3870 PyObject * obj7 = 0 ;
3871 char *kwnames[] = {
3872 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3873 };
3874
3875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3877 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3878 {
3879 arg4 = wxString_in_helper(obj3);
3880 if (arg4 == NULL) SWIG_fail;
423f194a 3881 temp4 = True;
d14a1e28
RD
3882 }
3883 if (obj4) {
3884 {
3885 arg5 = &temp5;
3886 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3887 }
3888 }
3889 if (obj5) {
3890 {
3891 arg6 = &temp6;
3892 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3893 }
3894 }
3895 if (obj7) {
3896 {
3897 arg8 = wxString_in_helper(obj7);
3898 if (arg8 == NULL) SWIG_fail;
423f194a 3899 temp8 = True;
d14a1e28
RD
3900 }
3901 }
3902 {
3903 PyThreadState* __tstate = wxPyBeginAllowThreads();
3904 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3905
3906 wxPyEndAllowThreads(__tstate);
3907 if (PyErr_Occurred()) SWIG_fail;
3908 }
3909 resultobj = PyInt_FromLong((long)result);
3910 {
3911 if (temp4)
3912 delete arg4;
3913 }
3914 {
3915 if (temp8)
3916 delete arg8;
3917 }
3918 return resultobj;
3919 fail:
3920 {
3921 if (temp4)
3922 delete arg4;
3923 }
3924 {
3925 if (temp8)
3926 delete arg8;
3927 }
3928 return NULL;
3929}
3930
3931
3932static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3933 PyObject *obj;
3934 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3935 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3936 Py_INCREF(obj);
3937 return Py_BuildValue((char *)"");
3938}
3939static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3940 PyObject *resultobj;
3941 wxBitmap *arg1 = 0 ;
3942 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3943 int arg3 ;
d14a1e28
RD
3944 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3945 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3946 wxSize const &arg5_defvalue = wxDefaultSize ;
3947 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3948 long arg6 = (long) wxNO_BORDER ;
3949 wxSplashScreenWindow *result;
3950 wxPoint temp4 ;
3951 wxSize temp5 ;
3952 PyObject * obj0 = 0 ;
3953 PyObject * obj1 = 0 ;
3954 PyObject * obj3 = 0 ;
3955 PyObject * obj4 = 0 ;
3956 char *kwnames[] = {
3957 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3958 };
3959
3960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
3961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3962 if (arg1 == NULL) {
3963 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3964 }
3965 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3966 if (obj3) {
3967 {
3968 arg4 = &temp4;
3969 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3970 }
3971 }
3972 if (obj4) {
3973 {
3974 arg5 = &temp5;
3975 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3976 }
3977 }
3978 {
3979 PyThreadState* __tstate = wxPyBeginAllowThreads();
3980 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3981
3982 wxPyEndAllowThreads(__tstate);
3983 if (PyErr_Occurred()) SWIG_fail;
3984 }
3985 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
3986 return resultobj;
3987 fail:
3988 return NULL;
3989}
3990
3991
3992static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3993 PyObject *resultobj;
3994 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
3995 wxBitmap *arg2 = 0 ;
3996 PyObject * obj0 = 0 ;
3997 PyObject * obj1 = 0 ;
3998 char *kwnames[] = {
3999 (char *) "self",(char *) "bitmap", NULL
4000 };
4001
4002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4005 if (arg2 == NULL) {
4006 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4007 }
4008 {
4009 PyThreadState* __tstate = wxPyBeginAllowThreads();
4010 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4011
4012 wxPyEndAllowThreads(__tstate);
4013 if (PyErr_Occurred()) SWIG_fail;
4014 }
4015 Py_INCREF(Py_None); resultobj = Py_None;
4016 return resultobj;
4017 fail:
4018 return NULL;
4019}
4020
4021
4022static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4023 PyObject *resultobj;
4024 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4025 wxBitmap *result;
4026 PyObject * obj0 = 0 ;
4027 char *kwnames[] = {
4028 (char *) "self", NULL
4029 };
4030
4031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4033 {
4034 PyThreadState* __tstate = wxPyBeginAllowThreads();
4035 {
4036 wxBitmap &_result_ref = (arg1)->GetBitmap();
4037 result = (wxBitmap *) &_result_ref;
4038 }
4039
4040 wxPyEndAllowThreads(__tstate);
4041 if (PyErr_Occurred()) SWIG_fail;
4042 }
4043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4044 return resultobj;
4045 fail:
4046 return NULL;
4047}
4048
4049
4050static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4051 PyObject *obj;
4052 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4053 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4054 Py_INCREF(obj);
4055 return Py_BuildValue((char *)"");
4056}
4057static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4058 PyObject *resultobj;
4059 wxBitmap *arg1 = 0 ;
4060 long arg2 ;
4061 int arg3 ;
4062 wxWindow *arg4 = (wxWindow *) 0 ;
423f194a 4063 int arg5 ;
d14a1e28
RD
4064 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4065 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4066 wxSize const &arg7_defvalue = wxDefaultSize ;
4067 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4068 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4069 wxSplashScreen *result;
4070 wxPoint temp6 ;
4071 wxSize temp7 ;
4072 PyObject * obj0 = 0 ;
4073 PyObject * obj3 = 0 ;
4074 PyObject * obj5 = 0 ;
4075 PyObject * obj6 = 0 ;
4076 char *kwnames[] = {
4077 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4078 };
4079
4080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4082 if (arg1 == NULL) {
4083 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4084 }
4085 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4086 if (obj5) {
4087 {
4088 arg6 = &temp6;
4089 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4090 }
4091 }
4092 if (obj6) {
4093 {
4094 arg7 = &temp7;
4095 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4096 }
4097 }
4098 {
4099 PyThreadState* __tstate = wxPyBeginAllowThreads();
4100 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4101
4102 wxPyEndAllowThreads(__tstate);
4103 if (PyErr_Occurred()) SWIG_fail;
4104 }
4105 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4106 return resultobj;
4107 fail:
4108 return NULL;
4109}
4110
4111
4112static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4113 PyObject *resultobj;
4114 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4115 long result;
4116 PyObject * obj0 = 0 ;
4117 char *kwnames[] = {
4118 (char *) "self", NULL
4119 };
4120
4121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4123 {
4124 PyThreadState* __tstate = wxPyBeginAllowThreads();
4125 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4126
4127 wxPyEndAllowThreads(__tstate);
4128 if (PyErr_Occurred()) SWIG_fail;
4129 }
4130 resultobj = PyInt_FromLong((long)result);
4131 return resultobj;
4132 fail:
4133 return NULL;
4134}
4135
4136
4137static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4138 PyObject *resultobj;
4139 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4140 wxSplashScreenWindow *result;
4141 PyObject * obj0 = 0 ;
4142 char *kwnames[] = {
4143 (char *) "self", NULL
4144 };
4145
4146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4148 {
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4151
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
4155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4156 return resultobj;
4157 fail:
4158 return NULL;
4159}
4160
4161
4162static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4163 PyObject *resultobj;
4164 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4165 int result;
4166 PyObject * obj0 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "self", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4173 {
4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4175 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4176
4177 wxPyEndAllowThreads(__tstate);
4178 if (PyErr_Occurred()) SWIG_fail;
4179 }
4180 resultobj = PyInt_FromLong((long)result);
4181 return resultobj;
4182 fail:
4183 return NULL;
4184}
4185
4186
4187static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4188 PyObject *obj;
4189 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4190 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4191 Py_INCREF(obj);
4192 return Py_BuildValue((char *)"");
4193}
4194static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4195 PyObject *resultobj;
4196 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4197 int arg2 = (int) -1 ;
d14a1e28
RD
4198 long arg3 = (long) wxST_SIZEGRIP ;
4199 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4200 wxString *arg4 = (wxString *) &arg4_defvalue ;
4201 wxStatusBar *result;
423f194a 4202 bool temp4 = False ;
d14a1e28
RD
4203 PyObject * obj0 = 0 ;
4204 PyObject * obj3 = 0 ;
4205 char *kwnames[] = {
4206 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4207 };
4208
4209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4211 if (obj3) {
4212 {
4213 arg4 = wxString_in_helper(obj3);
4214 if (arg4 == NULL) SWIG_fail;
423f194a 4215 temp4 = True;
d14a1e28
RD
4216 }
4217 }
4218 {
4219 PyThreadState* __tstate = wxPyBeginAllowThreads();
4220 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4221
4222 wxPyEndAllowThreads(__tstate);
4223 if (PyErr_Occurred()) SWIG_fail;
4224 }
4225 {
4226 resultobj = wxPyMake_wxObject(result);
4227 }
4228 {
4229 if (temp4)
4230 delete arg4;
4231 }
4232 return resultobj;
4233 fail:
4234 {
4235 if (temp4)
4236 delete arg4;
4237 }
4238 return NULL;
4239}
4240
4241
4242static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4243 PyObject *resultobj;
4244 wxStatusBar *result;
4245 char *kwnames[] = {
4246 NULL
4247 };
4248
4249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4250 {
4251 PyThreadState* __tstate = wxPyBeginAllowThreads();
4252 result = (wxStatusBar *)new wxStatusBar();
4253
4254 wxPyEndAllowThreads(__tstate);
4255 if (PyErr_Occurred()) SWIG_fail;
4256 }
4257 {
4258 resultobj = wxPyMake_wxObject(result);
4259 }
4260 return resultobj;
4261 fail:
4262 return NULL;
4263}
4264
4265
4266static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4267 PyObject *resultobj;
4268 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4269 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4270 int arg3 ;
d14a1e28
RD
4271 long arg4 = (long) wxST_SIZEGRIP ;
4272 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4273 wxString *arg5 = (wxString *) &arg5_defvalue ;
4274 bool result;
423f194a 4275 bool temp5 = False ;
d14a1e28
RD
4276 PyObject * obj0 = 0 ;
4277 PyObject * obj1 = 0 ;
4278 PyObject * obj4 = 0 ;
4279 char *kwnames[] = {
4280 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4281 };
4282
4283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4285 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4286 if (obj4) {
4287 {
4288 arg5 = wxString_in_helper(obj4);
4289 if (arg5 == NULL) SWIG_fail;
423f194a 4290 temp5 = True;
d14a1e28
RD
4291 }
4292 }
4293 {
4294 PyThreadState* __tstate = wxPyBeginAllowThreads();
4295 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4296
4297 wxPyEndAllowThreads(__tstate);
4298 if (PyErr_Occurred()) SWIG_fail;
4299 }
4300 resultobj = PyInt_FromLong((long)result);
4301 {
4302 if (temp5)
4303 delete arg5;
4304 }
4305 return resultobj;
4306 fail:
4307 {
4308 if (temp5)
4309 delete arg5;
4310 }
4311 return NULL;
4312}
4313
4314
4315static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4316 PyObject *resultobj;
4317 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4318 int arg2 = (int) 1 ;
4319 PyObject * obj0 = 0 ;
4320 char *kwnames[] = {
4321 (char *) "self",(char *) "number", NULL
4322 };
4323
4324 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4325 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4326 {
4327 PyThreadState* __tstate = wxPyBeginAllowThreads();
4328 (arg1)->SetFieldsCount(arg2);
4329
4330 wxPyEndAllowThreads(__tstate);
4331 if (PyErr_Occurred()) SWIG_fail;
4332 }
4333 Py_INCREF(Py_None); resultobj = Py_None;
4334 return resultobj;
4335 fail:
4336 return NULL;
4337}
4338
4339
4340static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4341 PyObject *resultobj;
4342 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4343 int result;
4344 PyObject * obj0 = 0 ;
4345 char *kwnames[] = {
4346 (char *) "self", NULL
4347 };
4348
4349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4351 {
4352 PyThreadState* __tstate = wxPyBeginAllowThreads();
4353 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4354
4355 wxPyEndAllowThreads(__tstate);
4356 if (PyErr_Occurred()) SWIG_fail;
4357 }
4358 resultobj = PyInt_FromLong((long)result);
4359 return resultobj;
4360 fail:
4361 return NULL;
4362}
4363
4364
4365static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4366 PyObject *resultobj;
4367 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4368 wxString *arg2 = 0 ;
4369 int arg3 = (int) 0 ;
423f194a 4370 bool temp2 = False ;
d14a1e28
RD
4371 PyObject * obj0 = 0 ;
4372 PyObject * obj1 = 0 ;
4373 char *kwnames[] = {
4374 (char *) "self",(char *) "text",(char *) "number", NULL
4375 };
4376
4377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4379 {
4380 arg2 = wxString_in_helper(obj1);
4381 if (arg2 == NULL) SWIG_fail;
423f194a 4382 temp2 = True;
d14a1e28
RD
4383 }
4384 {
4385 PyThreadState* __tstate = wxPyBeginAllowThreads();
4386 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4387
4388 wxPyEndAllowThreads(__tstate);
4389 if (PyErr_Occurred()) SWIG_fail;
4390 }
4391 Py_INCREF(Py_None); resultobj = Py_None;
4392 {
4393 if (temp2)
4394 delete arg2;
4395 }
4396 return resultobj;
4397 fail:
4398 {
4399 if (temp2)
4400 delete arg2;
4401 }
4402 return NULL;
4403}
4404
4405
4406static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4407 PyObject *resultobj;
4408 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4409 int arg2 = (int) 0 ;
4410 wxString result;
4411 PyObject * obj0 = 0 ;
4412 char *kwnames[] = {
4413 (char *) "self",(char *) "number", NULL
4414 };
4415
4416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4418 {
4419 PyThreadState* __tstate = wxPyBeginAllowThreads();
4420 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4421
4422 wxPyEndAllowThreads(__tstate);
4423 if (PyErr_Occurred()) SWIG_fail;
4424 }
4425 {
4426#if wxUSE_UNICODE
4427 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4428#else
4429 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4430#endif
4431 }
4432 return resultobj;
4433 fail:
4434 return NULL;
4435}
4436
4437
4438static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4439 PyObject *resultobj;
4440 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4441 wxString *arg2 = 0 ;
4442 int arg3 = (int) 0 ;
423f194a 4443 bool temp2 = False ;
d14a1e28
RD
4444 PyObject * obj0 = 0 ;
4445 PyObject * obj1 = 0 ;
4446 char *kwnames[] = {
4447 (char *) "self",(char *) "text",(char *) "number", NULL
4448 };
4449
4450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4452 {
4453 arg2 = wxString_in_helper(obj1);
4454 if (arg2 == NULL) SWIG_fail;
423f194a 4455 temp2 = True;
d14a1e28
RD
4456 }
4457 {
4458 PyThreadState* __tstate = wxPyBeginAllowThreads();
4459 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4460
4461 wxPyEndAllowThreads(__tstate);
4462 if (PyErr_Occurred()) SWIG_fail;
4463 }
4464 Py_INCREF(Py_None); resultobj = Py_None;
4465 {
4466 if (temp2)
4467 delete arg2;
4468 }
4469 return resultobj;
4470 fail:
4471 {
4472 if (temp2)
4473 delete arg2;
4474 }
4475 return NULL;
4476}
4477
4478
4479static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4480 PyObject *resultobj;
4481 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4482 int arg2 = (int) 0 ;
4483 PyObject * obj0 = 0 ;
4484 char *kwnames[] = {
4485 (char *) "self",(char *) "number", NULL
4486 };
4487
4488 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4489 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4490 {
4491 PyThreadState* __tstate = wxPyBeginAllowThreads();
4492 (arg1)->PopStatusText(arg2);
4493
4494 wxPyEndAllowThreads(__tstate);
4495 if (PyErr_Occurred()) SWIG_fail;
4496 }
4497 Py_INCREF(Py_None); resultobj = Py_None;
4498 return resultobj;
4499 fail:
4500 return NULL;
4501}
4502
4503
4504static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4505 PyObject *resultobj;
4506 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4507 int arg2 ;
4508 int *arg3 = (int *) 0 ;
4509 PyObject * obj0 = 0 ;
4510 PyObject * obj1 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "self",(char *) "widths", NULL
4513 };
4514
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4517 {
4518 arg2 = PyList_Size(obj1);
4519 arg3 = int_LIST_helper(obj1);
4520 if (arg3 == NULL) SWIG_fail;
4521 }
4522 {
4523 PyThreadState* __tstate = wxPyBeginAllowThreads();
4524 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4525
4526 wxPyEndAllowThreads(__tstate);
4527 if (PyErr_Occurred()) SWIG_fail;
4528 }
4529 Py_INCREF(Py_None); resultobj = Py_None;
4530 {
4531 if (arg3) delete [] arg3;
4532 }
4533 return resultobj;
4534 fail:
4535 {
4536 if (arg3) delete [] arg3;
4537 }
4538 return NULL;
4539}
4540
4541
4542static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4543 PyObject *resultobj;
4544 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4545 int arg2 ;
44127b65 4546 wxRect result;
d14a1e28 4547 PyObject * obj0 = 0 ;
d14a1e28 4548 char *kwnames[] = {
44127b65 4549 (char *) "self",(char *) "i", NULL
d14a1e28
RD
4550 };
4551
44127b65 4552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 4553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
4554 {
4555 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 4556 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
4557
4558 wxPyEndAllowThreads(__tstate);
4559 if (PyErr_Occurred()) SWIG_fail;
4560 }
44127b65
RD
4561 {
4562 wxRect * resultptr;
4563 resultptr = new wxRect((wxRect &) result);
4564 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4565 }
d14a1e28
RD
4566 return resultobj;
4567 fail:
4568 return NULL;
4569}
4570
4571
4572static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4573 PyObject *resultobj;
4574 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4575 int arg2 ;
4576 PyObject * obj0 = 0 ;
4577 char *kwnames[] = {
4578 (char *) "self",(char *) "height", NULL
4579 };
4580
4581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4583 {
4584 PyThreadState* __tstate = wxPyBeginAllowThreads();
4585 (arg1)->SetMinHeight(arg2);
4586
4587 wxPyEndAllowThreads(__tstate);
4588 if (PyErr_Occurred()) SWIG_fail;
4589 }
4590 Py_INCREF(Py_None); resultobj = Py_None;
4591 return resultobj;
4592 fail:
4593 return NULL;
4594}
4595
4596
4597static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4598 PyObject *resultobj;
4599 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4600 int result;
4601 PyObject * obj0 = 0 ;
4602 char *kwnames[] = {
4603 (char *) "self", NULL
4604 };
4605
4606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4608 {
4609 PyThreadState* __tstate = wxPyBeginAllowThreads();
4610 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4611
4612 wxPyEndAllowThreads(__tstate);
4613 if (PyErr_Occurred()) SWIG_fail;
4614 }
4615 resultobj = PyInt_FromLong((long)result);
4616 return resultobj;
4617 fail:
4618 return NULL;
4619}
4620
4621
4622static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject *resultobj;
4624 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4625 int result;
4626 PyObject * obj0 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 resultobj = PyInt_FromLong((long)result);
4641 return resultobj;
4642 fail:
4643 return NULL;
4644}
4645
4646
4647static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4648 PyObject *obj;
4649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4650 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4651 Py_INCREF(obj);
4652 return Py_BuildValue((char *)"");
4653}
4654static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4655 PyObject *resultobj;
4656 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4657 int arg2 ;
d14a1e28
RD
4658 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4659 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4660 wxSize const &arg4_defvalue = wxDefaultSize ;
4661 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4662 long arg5 = (long) wxSP_3D ;
4663 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4664 wxString *arg6 = (wxString *) &arg6_defvalue ;
4665 wxSplitterWindow *result;
4666 wxPoint temp3 ;
4667 wxSize temp4 ;
423f194a 4668 bool temp6 = False ;
d14a1e28
RD
4669 PyObject * obj0 = 0 ;
4670 PyObject * obj2 = 0 ;
4671 PyObject * obj3 = 0 ;
4672 PyObject * obj5 = 0 ;
4673 char *kwnames[] = {
4674 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4675 };
4676
4677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4679 if (obj2) {
4680 {
4681 arg3 = &temp3;
4682 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4683 }
4684 }
4685 if (obj3) {
4686 {
4687 arg4 = &temp4;
4688 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4689 }
4690 }
4691 if (obj5) {
4692 {
4693 arg6 = wxString_in_helper(obj5);
4694 if (arg6 == NULL) SWIG_fail;
423f194a 4695 temp6 = True;
d14a1e28
RD
4696 }
4697 }
4698 {
4699 PyThreadState* __tstate = wxPyBeginAllowThreads();
4700 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4701
4702 wxPyEndAllowThreads(__tstate);
4703 if (PyErr_Occurred()) SWIG_fail;
4704 }
4705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4706 {
4707 if (temp6)
4708 delete arg6;
4709 }
4710 return resultobj;
4711 fail:
4712 {
4713 if (temp6)
4714 delete arg6;
4715 }
4716 return NULL;
4717}
4718
4719
4720static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4721 PyObject *resultobj;
4722 wxSplitterWindow *result;
4723 char *kwnames[] = {
4724 NULL
4725 };
4726
4727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4728 {
4729 PyThreadState* __tstate = wxPyBeginAllowThreads();
4730 result = (wxSplitterWindow *)new wxSplitterWindow();
4731
4732 wxPyEndAllowThreads(__tstate);
4733 if (PyErr_Occurred()) SWIG_fail;
4734 }
4735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4736 return resultobj;
4737 fail:
4738 return NULL;
4739}
4740
4741
4742static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4743 PyObject *resultobj;
4744 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4745 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4746 int arg3 ;
d14a1e28
RD
4747 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4748 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4749 wxSize const &arg5_defvalue = wxDefaultSize ;
4750 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4751 long arg6 = (long) wxSP_3D ;
4752 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4753 wxString *arg7 = (wxString *) &arg7_defvalue ;
4754 bool result;
4755 wxPoint temp4 ;
4756 wxSize temp5 ;
423f194a 4757 bool temp7 = False ;
d14a1e28
RD
4758 PyObject * obj0 = 0 ;
4759 PyObject * obj1 = 0 ;
4760 PyObject * obj3 = 0 ;
4761 PyObject * obj4 = 0 ;
4762 PyObject * obj6 = 0 ;
4763 char *kwnames[] = {
4764 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4765 };
4766
4767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4769 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4770 if (obj3) {
4771 {
4772 arg4 = &temp4;
4773 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4774 }
4775 }
4776 if (obj4) {
4777 {
4778 arg5 = &temp5;
4779 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4780 }
4781 }
4782 if (obj6) {
4783 {
4784 arg7 = wxString_in_helper(obj6);
4785 if (arg7 == NULL) SWIG_fail;
423f194a 4786 temp7 = True;
d14a1e28
RD
4787 }
4788 }
4789 {
4790 PyThreadState* __tstate = wxPyBeginAllowThreads();
4791 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4792
4793 wxPyEndAllowThreads(__tstate);
4794 if (PyErr_Occurred()) SWIG_fail;
4795 }
4796 resultobj = PyInt_FromLong((long)result);
4797 {
4798 if (temp7)
4799 delete arg7;
4800 }
4801 return resultobj;
4802 fail:
4803 {
4804 if (temp7)
4805 delete arg7;
4806 }
4807 return NULL;
4808}
4809
4810
4811static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4812 PyObject *resultobj;
4813 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4814 wxWindow *result;
4815 PyObject * obj0 = 0 ;
4816 char *kwnames[] = {
4817 (char *) "self", NULL
4818 };
4819
4820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4822 {
4823 PyThreadState* __tstate = wxPyBeginAllowThreads();
4824 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4825
4826 wxPyEndAllowThreads(__tstate);
4827 if (PyErr_Occurred()) SWIG_fail;
4828 }
4829 {
4830 resultobj = wxPyMake_wxObject(result);
4831 }
4832 return resultobj;
4833 fail:
4834 return NULL;
4835}
4836
4837
4838static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4839 PyObject *resultobj;
4840 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4841 wxWindow *result;
4842 PyObject * obj0 = 0 ;
4843 char *kwnames[] = {
4844 (char *) "self", NULL
4845 };
4846
4847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4849 {
4850 PyThreadState* __tstate = wxPyBeginAllowThreads();
4851 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4852
4853 wxPyEndAllowThreads(__tstate);
4854 if (PyErr_Occurred()) SWIG_fail;
4855 }
4856 {
4857 resultobj = wxPyMake_wxObject(result);
4858 }
4859 return resultobj;
4860 fail:
4861 return NULL;
4862}
4863
4864
4865static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4866 PyObject *resultobj;
4867 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4868 int arg2 ;
4869 PyObject * obj0 = 0 ;
4870 char *kwnames[] = {
4871 (char *) "self",(char *) "mode", NULL
4872 };
4873
4874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4876 {
4877 PyThreadState* __tstate = wxPyBeginAllowThreads();
4878 (arg1)->SetSplitMode(arg2);
4879
4880 wxPyEndAllowThreads(__tstate);
4881 if (PyErr_Occurred()) SWIG_fail;
4882 }
4883 Py_INCREF(Py_None); resultobj = Py_None;
4884 return resultobj;
4885 fail:
4886 return NULL;
4887}
4888
4889
4890static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4891 PyObject *resultobj;
4892 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4893 int result;
4894 PyObject * obj0 = 0 ;
4895 char *kwnames[] = {
4896 (char *) "self", NULL
4897 };
4898
4899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4901 {
4902 PyThreadState* __tstate = wxPyBeginAllowThreads();
4903 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4904
4905 wxPyEndAllowThreads(__tstate);
4906 if (PyErr_Occurred()) SWIG_fail;
4907 }
4908 resultobj = PyInt_FromLong((long)result);
4909 return resultobj;
4910 fail:
4911 return NULL;
4912}
4913
4914
4915static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4916 PyObject *resultobj;
4917 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4918 wxWindow *arg2 = (wxWindow *) 0 ;
4919 PyObject * obj0 = 0 ;
4920 PyObject * obj1 = 0 ;
4921 char *kwnames[] = {
4922 (char *) "self",(char *) "window", NULL
4923 };
4924
4925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
4926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4927 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4928 {
4929 PyThreadState* __tstate = wxPyBeginAllowThreads();
4930 (arg1)->Initialize(arg2);
4931
4932 wxPyEndAllowThreads(__tstate);
4933 if (PyErr_Occurred()) SWIG_fail;
4934 }
4935 Py_INCREF(Py_None); resultobj = Py_None;
4936 return resultobj;
4937 fail:
4938 return NULL;
4939}
4940
4941
4942static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
4943 PyObject *resultobj;
4944 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4945 wxWindow *arg2 = (wxWindow *) 0 ;
4946 wxWindow *arg3 = (wxWindow *) 0 ;
4947 int arg4 = (int) 0 ;
4948 bool result;
4949 PyObject * obj0 = 0 ;
4950 PyObject * obj1 = 0 ;
4951 PyObject * obj2 = 0 ;
4952 char *kwnames[] = {
4953 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4954 };
4955
4956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4959 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4960 {
4961 PyThreadState* __tstate = wxPyBeginAllowThreads();
4962 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
4963
4964 wxPyEndAllowThreads(__tstate);
4965 if (PyErr_Occurred()) SWIG_fail;
4966 }
4967 resultobj = PyInt_FromLong((long)result);
4968 return resultobj;
4969 fail:
4970 return NULL;
4971}
4972
4973
4974static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
4975 PyObject *resultobj;
4976 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4977 wxWindow *arg2 = (wxWindow *) 0 ;
4978 wxWindow *arg3 = (wxWindow *) 0 ;
4979 int arg4 = (int) 0 ;
4980 bool result;
4981 PyObject * obj0 = 0 ;
4982 PyObject * obj1 = 0 ;
4983 PyObject * obj2 = 0 ;
4984 char *kwnames[] = {
4985 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4986 };
4987
4988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4990 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4991 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4992 {
4993 PyThreadState* __tstate = wxPyBeginAllowThreads();
4994 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
4995
4996 wxPyEndAllowThreads(__tstate);
4997 if (PyErr_Occurred()) SWIG_fail;
4998 }
4999 resultobj = PyInt_FromLong((long)result);
5000 return resultobj;
5001 fail:
5002 return NULL;
5003}
5004
5005
5006static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5007 PyObject *resultobj;
5008 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5009 wxWindow *arg2 = (wxWindow *) NULL ;
5010 bool result;
5011 PyObject * obj0 = 0 ;
5012 PyObject * obj1 = 0 ;
5013 char *kwnames[] = {
5014 (char *) "self",(char *) "toRemove", NULL
5015 };
5016
5017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5019 if (obj1) {
5020 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5021 }
5022 {
5023 PyThreadState* __tstate = wxPyBeginAllowThreads();
5024 result = (bool)(arg1)->Unsplit(arg2);
5025
5026 wxPyEndAllowThreads(__tstate);
5027 if (PyErr_Occurred()) SWIG_fail;
5028 }
5029 resultobj = PyInt_FromLong((long)result);
5030 return resultobj;
5031 fail:
5032 return NULL;
5033}
5034
5035
5036static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5037 PyObject *resultobj;
5038 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5039 wxWindow *arg2 = (wxWindow *) 0 ;
5040 wxWindow *arg3 = (wxWindow *) 0 ;
5041 bool result;
5042 PyObject * obj0 = 0 ;
5043 PyObject * obj1 = 0 ;
5044 PyObject * obj2 = 0 ;
5045 char *kwnames[] = {
5046 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5047 };
5048
5049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5051 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5052 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5053 {
5054 PyThreadState* __tstate = wxPyBeginAllowThreads();
5055 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5056
5057 wxPyEndAllowThreads(__tstate);
5058 if (PyErr_Occurred()) SWIG_fail;
5059 }
5060 resultobj = PyInt_FromLong((long)result);
5061 return resultobj;
5062 fail:
5063 return NULL;
5064}
5065
5066
5067static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5068 PyObject *resultobj;
5069 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5070 bool result;
5071 PyObject * obj0 = 0 ;
5072 char *kwnames[] = {
5073 (char *) "self", NULL
5074 };
5075
5076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5078 {
5079 PyThreadState* __tstate = wxPyBeginAllowThreads();
5080 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5081
5082 wxPyEndAllowThreads(__tstate);
5083 if (PyErr_Occurred()) SWIG_fail;
5084 }
5085 resultobj = PyInt_FromLong((long)result);
5086 return resultobj;
5087 fail:
5088 return NULL;
5089}
5090
5091
5092static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5093 PyObject *resultobj;
5094 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5095 int arg2 ;
5096 PyObject * obj0 = 0 ;
5097 char *kwnames[] = {
5098 (char *) "self",(char *) "width", NULL
5099 };
5100
5101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5103 {
5104 PyThreadState* __tstate = wxPyBeginAllowThreads();
5105 (arg1)->SetSashSize(arg2);
5106
5107 wxPyEndAllowThreads(__tstate);
5108 if (PyErr_Occurred()) SWIG_fail;
5109 }
5110 Py_INCREF(Py_None); resultobj = Py_None;
5111 return resultobj;
5112 fail:
5113 return NULL;
5114}
5115
5116
5117static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5118 PyObject *resultobj;
5119 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5120 int arg2 ;
5121 PyObject * obj0 = 0 ;
5122 char *kwnames[] = {
5123 (char *) "self",(char *) "width", NULL
5124 };
5125
5126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5128 {
5129 PyThreadState* __tstate = wxPyBeginAllowThreads();
5130 (arg1)->SetBorderSize(arg2);
5131
5132 wxPyEndAllowThreads(__tstate);
5133 if (PyErr_Occurred()) SWIG_fail;
5134 }
5135 Py_INCREF(Py_None); resultobj = Py_None;
5136 return resultobj;
5137 fail:
5138 return NULL;
5139}
5140
5141
5142static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5143 PyObject *resultobj;
5144 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5145 int result;
5146 PyObject * obj0 = 0 ;
5147 char *kwnames[] = {
5148 (char *) "self", NULL
5149 };
5150
5151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5153 {
5154 PyThreadState* __tstate = wxPyBeginAllowThreads();
5155 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5156
5157 wxPyEndAllowThreads(__tstate);
5158 if (PyErr_Occurred()) SWIG_fail;
5159 }
5160 resultobj = PyInt_FromLong((long)result);
5161 return resultobj;
5162 fail:
5163 return NULL;
5164}
5165
5166
5167static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5168 PyObject *resultobj;
5169 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5170 int result;
5171 PyObject * obj0 = 0 ;
5172 char *kwnames[] = {
5173 (char *) "self", NULL
5174 };
5175
5176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5178 {
5179 PyThreadState* __tstate = wxPyBeginAllowThreads();
5180 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5181
5182 wxPyEndAllowThreads(__tstate);
5183 if (PyErr_Occurred()) SWIG_fail;
5184 }
5185 resultobj = PyInt_FromLong((long)result);
5186 return resultobj;
5187 fail:
5188 return NULL;
5189}
5190
5191
5192static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5193 PyObject *resultobj;
5194 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5195 int arg2 ;
423f194a 5196 bool arg3 = (bool) True ;
d14a1e28
RD
5197 PyObject * obj0 = 0 ;
5198 PyObject * obj2 = 0 ;
5199 char *kwnames[] = {
5200 (char *) "self",(char *) "position",(char *) "redraw", NULL
5201 };
5202
5203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5205 if (obj2) {
5206 arg3 = PyInt_AsLong(obj2) ? true : false;
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 {
5210 PyThreadState* __tstate = wxPyBeginAllowThreads();
5211 (arg1)->SetSashPosition(arg2,arg3);
5212
5213 wxPyEndAllowThreads(__tstate);
5214 if (PyErr_Occurred()) SWIG_fail;
5215 }
5216 Py_INCREF(Py_None); resultobj = Py_None;
5217 return resultobj;
5218 fail:
5219 return NULL;
5220}
5221
5222
5223static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5224 PyObject *resultobj;
5225 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5226 int result;
5227 PyObject * obj0 = 0 ;
5228 char *kwnames[] = {
5229 (char *) "self", NULL
5230 };
5231
5232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5234 {
5235 PyThreadState* __tstate = wxPyBeginAllowThreads();
5236 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5237
5238 wxPyEndAllowThreads(__tstate);
5239 if (PyErr_Occurred()) SWIG_fail;
5240 }
5241 resultobj = PyInt_FromLong((long)result);
5242 return resultobj;
5243 fail:
5244 return NULL;
5245}
5246
5247
5248static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5249 PyObject *resultobj;
5250 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5251 int arg2 ;
5252 PyObject * obj0 = 0 ;
5253 char *kwnames[] = {
5254 (char *) "self",(char *) "min", NULL
5255 };
5256
5257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5259 {
5260 PyThreadState* __tstate = wxPyBeginAllowThreads();
5261 (arg1)->SetMinimumPaneSize(arg2);
5262
5263 wxPyEndAllowThreads(__tstate);
5264 if (PyErr_Occurred()) SWIG_fail;
5265 }
5266 Py_INCREF(Py_None); resultobj = Py_None;
5267 return resultobj;
5268 fail:
5269 return NULL;
5270}
5271
5272
5273static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5274 PyObject *resultobj;
5275 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5276 int result;
5277 PyObject * obj0 = 0 ;
5278 char *kwnames[] = {
5279 (char *) "self", NULL
5280 };
5281
5282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5284 {
5285 PyThreadState* __tstate = wxPyBeginAllowThreads();
5286 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5287
5288 wxPyEndAllowThreads(__tstate);
5289 if (PyErr_Occurred()) SWIG_fail;
5290 }
5291 resultobj = PyInt_FromLong((long)result);
5292 return resultobj;
5293 fail:
5294 return NULL;
5295}
5296
5297
5298static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5299 PyObject *resultobj;
5300 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5301 int arg2 ;
5302 int arg3 ;
5303 int arg4 = (int) 5 ;
5304 bool result;
5305 PyObject * obj0 = 0 ;
5306 char *kwnames[] = {
5307 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5308 };
5309
5310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5312 {
5313 PyThreadState* __tstate = wxPyBeginAllowThreads();
5314 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5315
5316 wxPyEndAllowThreads(__tstate);
5317 if (PyErr_Occurred()) SWIG_fail;
5318 }
5319 resultobj = PyInt_FromLong((long)result);
5320 return resultobj;
5321 fail:
5322 return NULL;
5323}
5324
5325
5326static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5327 PyObject *resultobj;
5328 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5329 PyObject * obj0 = 0 ;
5330 char *kwnames[] = {
5331 (char *) "self", NULL
5332 };
5333
5334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5336 {
5337 PyThreadState* __tstate = wxPyBeginAllowThreads();
5338 (arg1)->SizeWindows();
5339
5340 wxPyEndAllowThreads(__tstate);
5341 if (PyErr_Occurred()) SWIG_fail;
5342 }
5343 Py_INCREF(Py_None); resultobj = Py_None;
5344 return resultobj;
5345 fail:
5346 return NULL;
5347}
5348
5349
5350static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5351 PyObject *resultobj;
5352 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5353 bool arg2 ;
5354 PyObject * obj0 = 0 ;
5355 PyObject * obj1 = 0 ;
5356 char *kwnames[] = {
5357 (char *) "self",(char *) "needUpdating", NULL
5358 };
5359
5360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5362 arg2 = PyInt_AsLong(obj1) ? true : false;
5363 if (PyErr_Occurred()) SWIG_fail;
5364 {
5365 PyThreadState* __tstate = wxPyBeginAllowThreads();
5366 (arg1)->SetNeedUpdating(arg2);
5367
5368 wxPyEndAllowThreads(__tstate);
5369 if (PyErr_Occurred()) SWIG_fail;
5370 }
5371 Py_INCREF(Py_None); resultobj = Py_None;
5372 return resultobj;
5373 fail:
5374 return NULL;
5375}
5376
5377
5378static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5379 PyObject *resultobj;
5380 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5381 bool result;
5382 PyObject * obj0 = 0 ;
5383 char *kwnames[] = {
5384 (char *) "self", NULL
5385 };
5386
5387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5389 {
5390 PyThreadState* __tstate = wxPyBeginAllowThreads();
5391 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5392
5393 wxPyEndAllowThreads(__tstate);
5394 if (PyErr_Occurred()) SWIG_fail;
5395 }
5396 resultobj = PyInt_FromLong((long)result);
5397 return resultobj;
5398 fail:
5399 return NULL;
5400}
5401
5402
5403static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5404 PyObject *obj;
5405 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5406 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5407 Py_INCREF(obj);
5408 return Py_BuildValue((char *)"");
5409}
5410static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5411 PyObject *resultobj;
5412 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5413 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5414 wxSplitterEvent *result;
5415 PyObject * obj1 = 0 ;
5416 char *kwnames[] = {
5417 (char *) "type",(char *) "splitter", NULL
5418 };
5419
5420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5421 if (obj1) {
5422 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5423 }
5424 {
5425 PyThreadState* __tstate = wxPyBeginAllowThreads();
5426 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5427
5428 wxPyEndAllowThreads(__tstate);
5429 if (PyErr_Occurred()) SWIG_fail;
5430 }
5431 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5432 return resultobj;
5433 fail:
5434 return NULL;
5435}
5436
5437
5438static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5439 PyObject *resultobj;
5440 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5441 int arg2 ;
5442 PyObject * obj0 = 0 ;
5443 char *kwnames[] = {
5444 (char *) "self",(char *) "pos", NULL
5445 };
5446
5447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5449 {
5450 PyThreadState* __tstate = wxPyBeginAllowThreads();
5451 (arg1)->SetSashPosition(arg2);
5452
5453 wxPyEndAllowThreads(__tstate);
5454 if (PyErr_Occurred()) SWIG_fail;
5455 }
5456 Py_INCREF(Py_None); resultobj = Py_None;
5457 return resultobj;
5458 fail:
5459 return NULL;
5460}
5461
5462
5463static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5464 PyObject *resultobj;
5465 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5466 int result;
5467 PyObject * obj0 = 0 ;
5468 char *kwnames[] = {
5469 (char *) "self", NULL
5470 };
5471
5472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5474 {
5475 PyThreadState* __tstate = wxPyBeginAllowThreads();
5476 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5477
5478 wxPyEndAllowThreads(__tstate);
5479 if (PyErr_Occurred()) SWIG_fail;
5480 }
5481 resultobj = PyInt_FromLong((long)result);
5482 return resultobj;
5483 fail:
5484 return NULL;
5485}
5486
5487
5488static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5489 PyObject *resultobj;
5490 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5491 wxWindow *result;
5492 PyObject * obj0 = 0 ;
5493 char *kwnames[] = {
5494 (char *) "self", NULL
5495 };
5496
5497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5499 {
5500 PyThreadState* __tstate = wxPyBeginAllowThreads();
5501 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5502
5503 wxPyEndAllowThreads(__tstate);
5504 if (PyErr_Occurred()) SWIG_fail;
5505 }
5506 {
5507 resultobj = wxPyMake_wxObject(result);
5508 }
5509 return resultobj;
5510 fail:
5511 return NULL;
5512}
5513
5514
5515static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5516 PyObject *resultobj;
5517 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5518 int result;
5519 PyObject * obj0 = 0 ;
5520 char *kwnames[] = {
5521 (char *) "self", NULL
5522 };
5523
5524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5526 {
5527 PyThreadState* __tstate = wxPyBeginAllowThreads();
5528 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5529
5530 wxPyEndAllowThreads(__tstate);
5531 if (PyErr_Occurred()) SWIG_fail;
5532 }
5533 resultobj = PyInt_FromLong((long)result);
5534 return resultobj;
5535 fail:
5536 return NULL;
5537}
5538
5539
5540static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5541 PyObject *resultobj;
5542 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5543 int result;
5544 PyObject * obj0 = 0 ;
5545 char *kwnames[] = {
5546 (char *) "self", NULL
5547 };
5548
5549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5551 {
5552 PyThreadState* __tstate = wxPyBeginAllowThreads();
5553 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5554
5555 wxPyEndAllowThreads(__tstate);
5556 if (PyErr_Occurred()) SWIG_fail;
5557 }
5558 resultobj = PyInt_FromLong((long)result);
5559 return resultobj;
5560 fail:
5561 return NULL;
5562}
5563
5564
5565static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5566 PyObject *obj;
5567 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5568 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5569 Py_INCREF(obj);
5570 return Py_BuildValue((char *)"");
5571}
5572static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5573 PyObject *resultobj;
5574 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 5575 int arg2 ;
d14a1e28
RD
5576 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5577 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5578 wxSize const &arg4_defvalue = wxDefaultSize ;
5579 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5580 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5581 wxString const &arg6_defvalue = wxPySashNameStr ;
5582 wxString *arg6 = (wxString *) &arg6_defvalue ;
5583 wxSashWindow *result;
5584 wxPoint temp3 ;
5585 wxSize temp4 ;
423f194a 5586 bool temp6 = False ;
d14a1e28
RD
5587 PyObject * obj0 = 0 ;
5588 PyObject * obj2 = 0 ;
5589 PyObject * obj3 = 0 ;
5590 PyObject * obj5 = 0 ;
5591 char *kwnames[] = {
5592 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5593 };
5594
5595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5597 if (obj2) {
5598 {
5599 arg3 = &temp3;
5600 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5601 }
5602 }
5603 if (obj3) {
5604 {
5605 arg4 = &temp4;
5606 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5607 }
5608 }
5609 if (obj5) {
5610 {
5611 arg6 = wxString_in_helper(obj5);
5612 if (arg6 == NULL) SWIG_fail;
423f194a 5613 temp6 = True;
d14a1e28
RD
5614 }
5615 }
5616 {
5617 PyThreadState* __tstate = wxPyBeginAllowThreads();
5618 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5619
5620 wxPyEndAllowThreads(__tstate);
5621 if (PyErr_Occurred()) SWIG_fail;
5622 }
5623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5624 {
5625 if (temp6)
5626 delete arg6;
5627 }
5628 return resultobj;
5629 fail:
5630 {
5631 if (temp6)
5632 delete arg6;
5633 }
5634 return NULL;
5635}
5636
5637
5638static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5639 PyObject *resultobj;
5640 wxSashWindow *result;
5641 char *kwnames[] = {
5642 NULL
5643 };
5644
5645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5646 {
5647 PyThreadState* __tstate = wxPyBeginAllowThreads();
5648 result = (wxSashWindow *)new wxSashWindow();
5649
5650 wxPyEndAllowThreads(__tstate);
5651 if (PyErr_Occurred()) SWIG_fail;
5652 }
5653 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5654 return resultobj;
5655 fail:
5656 return NULL;
5657}
5658
5659
5660static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5661 PyObject *resultobj;
5662 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5663 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 5664 int arg3 ;
d14a1e28
RD
5665 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5666 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5667 wxSize const &arg5_defvalue = wxDefaultSize ;
5668 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5669 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5670 wxString const &arg7_defvalue = wxPySashNameStr ;
5671 wxString *arg7 = (wxString *) &arg7_defvalue ;
5672 bool result;
5673 wxPoint temp4 ;
5674 wxSize temp5 ;
423f194a 5675 bool temp7 = False ;
d14a1e28
RD
5676 PyObject * obj0 = 0 ;
5677 PyObject * obj1 = 0 ;
5678 PyObject * obj3 = 0 ;
5679 PyObject * obj4 = 0 ;
5680 PyObject * obj6 = 0 ;
5681 char *kwnames[] = {
5682 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5683 };
5684
5685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5688 if (obj3) {
5689 {
5690 arg4 = &temp4;
5691 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5692 }
5693 }
5694 if (obj4) {
5695 {
5696 arg5 = &temp5;
5697 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5698 }
5699 }
5700 if (obj6) {
5701 {
5702 arg7 = wxString_in_helper(obj6);
5703 if (arg7 == NULL) SWIG_fail;
423f194a 5704 temp7 = True;
d14a1e28
RD
5705 }
5706 }
5707 {
5708 PyThreadState* __tstate = wxPyBeginAllowThreads();
5709 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5710
5711 wxPyEndAllowThreads(__tstate);
5712 if (PyErr_Occurred()) SWIG_fail;
5713 }
5714 resultobj = PyInt_FromLong((long)result);
5715 {
5716 if (temp7)
5717 delete arg7;
5718 }
5719 return resultobj;
5720 fail:
5721 {
5722 if (temp7)
5723 delete arg7;
5724 }
5725 return NULL;
5726}
5727
5728
5729static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5730 PyObject *resultobj;
5731 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5732 int arg2 ;
5733 bool arg3 ;
5734 PyObject * obj0 = 0 ;
5735 PyObject * obj2 = 0 ;
5736 char *kwnames[] = {
5737 (char *) "self",(char *) "edge",(char *) "sash", NULL
5738 };
5739
5740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5742 arg3 = PyInt_AsLong(obj2) ? true : false;
5743 if (PyErr_Occurred()) SWIG_fail;
5744 {
5745 PyThreadState* __tstate = wxPyBeginAllowThreads();
5746 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5747
5748 wxPyEndAllowThreads(__tstate);
5749 if (PyErr_Occurred()) SWIG_fail;
5750 }
5751 Py_INCREF(Py_None); resultobj = Py_None;
5752 return resultobj;
5753 fail:
5754 return NULL;
5755}
5756
5757
5758static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5759 PyObject *resultobj;
5760 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5761 int arg2 ;
5762 bool result;
5763 PyObject * obj0 = 0 ;
5764 char *kwnames[] = {
5765 (char *) "self",(char *) "edge", NULL
5766 };
5767
5768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5770 {
5771 PyThreadState* __tstate = wxPyBeginAllowThreads();
5772 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5773
5774 wxPyEndAllowThreads(__tstate);
5775 if (PyErr_Occurred()) SWIG_fail;
5776 }
5777 resultobj = PyInt_FromLong((long)result);
5778 return resultobj;
5779 fail:
5780 return NULL;
5781}
5782
5783
5784static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5785 PyObject *resultobj;
5786 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5787 int arg2 ;
5788 bool arg3 ;
5789 PyObject * obj0 = 0 ;
5790 PyObject * obj2 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self",(char *) "edge",(char *) "border", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5797 arg3 = PyInt_AsLong(obj2) ? true : false;
5798 if (PyErr_Occurred()) SWIG_fail;
5799 {
5800 PyThreadState* __tstate = wxPyBeginAllowThreads();
5801 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5802
5803 wxPyEndAllowThreads(__tstate);
5804 if (PyErr_Occurred()) SWIG_fail;
5805 }
5806 Py_INCREF(Py_None); resultobj = Py_None;
5807 return resultobj;
5808 fail:
5809 return NULL;
5810}
5811
5812
5813static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5814 PyObject *resultobj;
5815 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5816 int arg2 ;
5817 bool result;
5818 PyObject * obj0 = 0 ;
5819 char *kwnames[] = {
5820 (char *) "self",(char *) "edge", NULL
5821 };
5822
5823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5825 {
5826 PyThreadState* __tstate = wxPyBeginAllowThreads();
5827 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5828
5829 wxPyEndAllowThreads(__tstate);
5830 if (PyErr_Occurred()) SWIG_fail;
5831 }
5832 resultobj = PyInt_FromLong((long)result);
5833 return resultobj;
5834 fail:
5835 return NULL;
5836}
5837
5838
5839static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5840 PyObject *resultobj;
5841 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5842 int arg2 ;
5843 int result;
5844 PyObject * obj0 = 0 ;
5845 char *kwnames[] = {
5846 (char *) "self",(char *) "edge", NULL
5847 };
5848
5849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5851 {
5852 PyThreadState* __tstate = wxPyBeginAllowThreads();
5853 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5854
5855 wxPyEndAllowThreads(__tstate);
5856 if (PyErr_Occurred()) SWIG_fail;
5857 }
5858 resultobj = PyInt_FromLong((long)result);
5859 return resultobj;
5860 fail:
5861 return NULL;
5862}
5863
5864
5865static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5866 PyObject *resultobj;
5867 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5868 int arg2 ;
5869 PyObject * obj0 = 0 ;
5870 char *kwnames[] = {
5871 (char *) "self",(char *) "width", NULL
5872 };
5873
5874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5876 {
5877 PyThreadState* __tstate = wxPyBeginAllowThreads();
5878 (arg1)->SetDefaultBorderSize(arg2);
5879
5880 wxPyEndAllowThreads(__tstate);
5881 if (PyErr_Occurred()) SWIG_fail;
5882 }
5883 Py_INCREF(Py_None); resultobj = Py_None;
5884 return resultobj;
5885 fail:
5886 return NULL;
5887}
5888
5889
5890static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5891 PyObject *resultobj;
5892 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5893 int result;
5894 PyObject * obj0 = 0 ;
5895 char *kwnames[] = {
5896 (char *) "self", NULL
5897 };
5898
5899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
5900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5901 {
5902 PyThreadState* __tstate = wxPyBeginAllowThreads();
5903 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
5904
5905 wxPyEndAllowThreads(__tstate);
5906 if (PyErr_Occurred()) SWIG_fail;
5907 }
5908 resultobj = PyInt_FromLong((long)result);
5909 return resultobj;
5910 fail:
5911 return NULL;
5912}
5913
5914
5915static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5916 PyObject *resultobj;
5917 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5918 int arg2 ;
5919 PyObject * obj0 = 0 ;
5920 char *kwnames[] = {
5921 (char *) "self",(char *) "width", NULL
5922 };
5923
5924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
5925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5926 {
5927 PyThreadState* __tstate = wxPyBeginAllowThreads();
5928 (arg1)->SetExtraBorderSize(arg2);
5929
5930 wxPyEndAllowThreads(__tstate);
5931 if (PyErr_Occurred()) SWIG_fail;
5932 }
5933 Py_INCREF(Py_None); resultobj = Py_None;
5934 return resultobj;
5935 fail:
5936 return NULL;
5937}
5938
5939
5940static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5941 PyObject *resultobj;
5942 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5943 int result;
5944 PyObject * obj0 = 0 ;
5945 char *kwnames[] = {
5946 (char *) "self", NULL
5947 };
5948
5949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
5950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5951 {
5952 PyThreadState* __tstate = wxPyBeginAllowThreads();
5953 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
5954
5955 wxPyEndAllowThreads(__tstate);
5956 if (PyErr_Occurred()) SWIG_fail;
5957 }
5958 resultobj = PyInt_FromLong((long)result);
5959 return resultobj;
5960 fail:
5961 return NULL;
5962}
5963
5964
5965static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
5966 PyObject *resultobj;
5967 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5968 int arg2 ;
5969 PyObject * obj0 = 0 ;
5970 char *kwnames[] = {
5971 (char *) "self",(char *) "min", NULL
5972 };
5973
5974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
5975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5976 {
5977 PyThreadState* __tstate = wxPyBeginAllowThreads();
5978 (arg1)->SetMinimumSizeX(arg2);
5979
5980 wxPyEndAllowThreads(__tstate);
5981 if (PyErr_Occurred()) SWIG_fail;
5982 }
5983 Py_INCREF(Py_None); resultobj = Py_None;
5984 return resultobj;
5985 fail:
5986 return NULL;
5987}
5988
5989
5990static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
5991 PyObject *resultobj;
5992 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5993 int arg2 ;
5994 PyObject * obj0 = 0 ;
5995 char *kwnames[] = {
5996 (char *) "self",(char *) "min", NULL
5997 };
5998
5999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6001 {
6002 PyThreadState* __tstate = wxPyBeginAllowThreads();
6003 (arg1)->SetMinimumSizeY(arg2);
6004
6005 wxPyEndAllowThreads(__tstate);
6006 if (PyErr_Occurred()) SWIG_fail;
6007 }
6008 Py_INCREF(Py_None); resultobj = Py_None;
6009 return resultobj;
6010 fail:
6011 return NULL;
6012}
6013
6014
6015static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6016 PyObject *resultobj;
6017 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6018 int result;
6019 PyObject * obj0 = 0 ;
6020 char *kwnames[] = {
6021 (char *) "self", NULL
6022 };
6023
6024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6026 {
6027 PyThreadState* __tstate = wxPyBeginAllowThreads();
6028 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6029
6030 wxPyEndAllowThreads(__tstate);
6031 if (PyErr_Occurred()) SWIG_fail;
6032 }
6033 resultobj = PyInt_FromLong((long)result);
6034 return resultobj;
6035 fail:
6036 return NULL;
6037}
6038
6039
6040static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6041 PyObject *resultobj;
6042 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6043 int result;
6044 PyObject * obj0 = 0 ;
6045 char *kwnames[] = {
6046 (char *) "self", NULL
6047 };
6048
6049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6051 {
6052 PyThreadState* __tstate = wxPyBeginAllowThreads();
6053 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6054
6055 wxPyEndAllowThreads(__tstate);
6056 if (PyErr_Occurred()) SWIG_fail;
6057 }
6058 resultobj = PyInt_FromLong((long)result);
6059 return resultobj;
6060 fail:
6061 return NULL;
6062}
6063
6064
6065static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6066 PyObject *resultobj;
6067 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6068 int arg2 ;
6069 PyObject * obj0 = 0 ;
6070 char *kwnames[] = {
6071 (char *) "self",(char *) "max", NULL
6072 };
6073
6074 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6075 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6076 {
6077 PyThreadState* __tstate = wxPyBeginAllowThreads();
6078 (arg1)->SetMaximumSizeX(arg2);
6079
6080 wxPyEndAllowThreads(__tstate);
6081 if (PyErr_Occurred()) SWIG_fail;
6082 }
6083 Py_INCREF(Py_None); resultobj = Py_None;
6084 return resultobj;
6085 fail:
6086 return NULL;
6087}
6088
6089
6090static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6091 PyObject *resultobj;
6092 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6093 int arg2 ;
6094 PyObject * obj0 = 0 ;
6095 char *kwnames[] = {
6096 (char *) "self",(char *) "max", NULL
6097 };
6098
6099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6101 {
6102 PyThreadState* __tstate = wxPyBeginAllowThreads();
6103 (arg1)->SetMaximumSizeY(arg2);
6104
6105 wxPyEndAllowThreads(__tstate);
6106 if (PyErr_Occurred()) SWIG_fail;
6107 }
6108 Py_INCREF(Py_None); resultobj = Py_None;
6109 return resultobj;
6110 fail:
6111 return NULL;
6112}
6113
6114
6115static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6116 PyObject *resultobj;
6117 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6118 int result;
6119 PyObject * obj0 = 0 ;
6120 char *kwnames[] = {
6121 (char *) "self", NULL
6122 };
6123
6124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6126 {
6127 PyThreadState* __tstate = wxPyBeginAllowThreads();
6128 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6129
6130 wxPyEndAllowThreads(__tstate);
6131 if (PyErr_Occurred()) SWIG_fail;
6132 }
6133 resultobj = PyInt_FromLong((long)result);
6134 return resultobj;
6135 fail:
6136 return NULL;
6137}
6138
6139
6140static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6141 PyObject *resultobj;
6142 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6143 int result;
6144 PyObject * obj0 = 0 ;
6145 char *kwnames[] = {
6146 (char *) "self", NULL
6147 };
6148
6149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6151 {
6152 PyThreadState* __tstate = wxPyBeginAllowThreads();
6153 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6154
6155 wxPyEndAllowThreads(__tstate);
6156 if (PyErr_Occurred()) SWIG_fail;
6157 }
6158 resultobj = PyInt_FromLong((long)result);
6159 return resultobj;
6160 fail:
6161 return NULL;
6162}
6163
6164
6165static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6166 PyObject *resultobj;
6167 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6168 int arg2 ;
6169 int arg3 ;
6170 int arg4 = (int) 2 ;
6171 int result;
6172 PyObject * obj0 = 0 ;
6173 char *kwnames[] = {
6174 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6175 };
6176
6177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6179 {
6180 PyThreadState* __tstate = wxPyBeginAllowThreads();
6181 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6182
6183 wxPyEndAllowThreads(__tstate);
6184 if (PyErr_Occurred()) SWIG_fail;
6185 }
6186 resultobj = PyInt_FromLong((long)result);
6187 return resultobj;
6188 fail:
6189 return NULL;
6190}
6191
6192
6193static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6194 PyObject *resultobj;
6195 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6196 PyObject * obj0 = 0 ;
6197 char *kwnames[] = {
6198 (char *) "self", NULL
6199 };
6200
6201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6203 {
6204 PyThreadState* __tstate = wxPyBeginAllowThreads();
6205 (arg1)->SizeWindows();
6206
6207 wxPyEndAllowThreads(__tstate);
6208 if (PyErr_Occurred()) SWIG_fail;
6209 }
6210 Py_INCREF(Py_None); resultobj = Py_None;
6211 return resultobj;
6212 fail:
6213 return NULL;
6214}
6215
6216
6217static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6218 PyObject *obj;
6219 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6220 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6221 Py_INCREF(obj);
6222 return Py_BuildValue((char *)"");
6223}
6224static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6225 PyObject *resultobj;
6226 int arg1 = (int) 0 ;
6227 int arg2 = (int) wxSASH_NONE ;
6228 wxSashEvent *result;
6229 char *kwnames[] = {
6230 (char *) "id",(char *) "edge", NULL
6231 };
6232
6233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6234 {
6235 PyThreadState* __tstate = wxPyBeginAllowThreads();
6236 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6237
6238 wxPyEndAllowThreads(__tstate);
6239 if (PyErr_Occurred()) SWIG_fail;
6240 }
6241 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6242 return resultobj;
6243 fail:
6244 return NULL;
6245}
6246
6247
6248static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6249 PyObject *resultobj;
6250 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6251 int arg2 ;
6252 PyObject * obj0 = 0 ;
6253 char *kwnames[] = {
6254 (char *) "self",(char *) "edge", NULL
6255 };
6256
6257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6259 {
6260 PyThreadState* __tstate = wxPyBeginAllowThreads();
6261 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6262
6263 wxPyEndAllowThreads(__tstate);
6264 if (PyErr_Occurred()) SWIG_fail;
6265 }
6266 Py_INCREF(Py_None); resultobj = Py_None;
6267 return resultobj;
6268 fail:
6269 return NULL;
6270}
6271
6272
6273static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6274 PyObject *resultobj;
6275 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6276 int result;
6277 PyObject * obj0 = 0 ;
6278 char *kwnames[] = {
6279 (char *) "self", NULL
6280 };
6281
6282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6284 {
6285 PyThreadState* __tstate = wxPyBeginAllowThreads();
6286 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6287
6288 wxPyEndAllowThreads(__tstate);
6289 if (PyErr_Occurred()) SWIG_fail;
6290 }
6291 resultobj = PyInt_FromLong((long)result);
6292 return resultobj;
6293 fail:
6294 return NULL;
6295}
6296
6297
6298static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6299 PyObject *resultobj;
6300 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6301 wxRect *arg2 = 0 ;
6302 wxRect temp2 ;
6303 PyObject * obj0 = 0 ;
6304 PyObject * obj1 = 0 ;
6305 char *kwnames[] = {
6306 (char *) "self",(char *) "rect", NULL
6307 };
6308
6309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6311 {
6312 arg2 = &temp2;
6313 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6314 }
6315 {
6316 PyThreadState* __tstate = wxPyBeginAllowThreads();
6317 (arg1)->SetDragRect((wxRect const &)*arg2);
6318
6319 wxPyEndAllowThreads(__tstate);
6320 if (PyErr_Occurred()) SWIG_fail;
6321 }
6322 Py_INCREF(Py_None); resultobj = Py_None;
6323 return resultobj;
6324 fail:
6325 return NULL;
6326}
6327
6328
6329static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6330 PyObject *resultobj;
6331 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6332 wxRect result;
6333 PyObject * obj0 = 0 ;
6334 char *kwnames[] = {
6335 (char *) "self", NULL
6336 };
6337
6338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6340 {
6341 PyThreadState* __tstate = wxPyBeginAllowThreads();
6342 result = ((wxSashEvent const *)arg1)->GetDragRect();
6343
6344 wxPyEndAllowThreads(__tstate);
6345 if (PyErr_Occurred()) SWIG_fail;
6346 }
6347 {
6348 wxRect * resultptr;
6349 resultptr = new wxRect((wxRect &) result);
6350 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6351 }
6352 return resultobj;
6353 fail:
6354 return NULL;
6355}
6356
6357
6358static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6359 PyObject *resultobj;
6360 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6361 int arg2 ;
6362 PyObject * obj0 = 0 ;
6363 char *kwnames[] = {
6364 (char *) "self",(char *) "status", NULL
6365 };
6366
6367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6372
6373 wxPyEndAllowThreads(__tstate);
6374 if (PyErr_Occurred()) SWIG_fail;
6375 }
6376 Py_INCREF(Py_None); resultobj = Py_None;
6377 return resultobj;
6378 fail:
6379 return NULL;
6380}
6381
6382
6383static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6384 PyObject *resultobj;
6385 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6386 int result;
6387 PyObject * obj0 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "self", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6394 {
6395 PyThreadState* __tstate = wxPyBeginAllowThreads();
6396 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6397
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 resultobj = PyInt_FromLong((long)result);
6402 return resultobj;
6403 fail:
6404 return NULL;
6405}
6406
6407
6408static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6409 PyObject *obj;
6410 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6411 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6412 Py_INCREF(obj);
6413 return Py_BuildValue((char *)"");
6414}
6415static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6416 PyObject *resultobj;
423f194a 6417 int arg1 = (int) 0 ;
d14a1e28
RD
6418 wxQueryLayoutInfoEvent *result;
6419 char *kwnames[] = {
6420 (char *) "id", NULL
6421 };
6422
6423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6424 {
6425 PyThreadState* __tstate = wxPyBeginAllowThreads();
6426 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6427
6428 wxPyEndAllowThreads(__tstate);
6429 if (PyErr_Occurred()) SWIG_fail;
6430 }
6431 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6432 return resultobj;
6433 fail:
6434 return NULL;
6435}
6436
6437
6438static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6439 PyObject *resultobj;
6440 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6441 int arg2 ;
6442 PyObject * obj0 = 0 ;
6443 char *kwnames[] = {
6444 (char *) "self",(char *) "length", NULL
6445 };
6446
6447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6449 {
6450 PyThreadState* __tstate = wxPyBeginAllowThreads();
6451 (arg1)->SetRequestedLength(arg2);
6452
6453 wxPyEndAllowThreads(__tstate);
6454 if (PyErr_Occurred()) SWIG_fail;
6455 }
6456 Py_INCREF(Py_None); resultobj = Py_None;
6457 return resultobj;
6458 fail:
6459 return NULL;
6460}
6461
6462
6463static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6464 PyObject *resultobj;
6465 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6466 int result;
6467 PyObject * obj0 = 0 ;
6468 char *kwnames[] = {
6469 (char *) "self", NULL
6470 };
6471
6472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6474 {
6475 PyThreadState* __tstate = wxPyBeginAllowThreads();
6476 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6477
6478 wxPyEndAllowThreads(__tstate);
6479 if (PyErr_Occurred()) SWIG_fail;
6480 }
6481 resultobj = PyInt_FromLong((long)result);
6482 return resultobj;
6483 fail:
6484 return NULL;
6485}
6486
6487
6488static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6489 PyObject *resultobj;
6490 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6491 int arg2 ;
6492 PyObject * obj0 = 0 ;
6493 char *kwnames[] = {
6494 (char *) "self",(char *) "flags", NULL
6495 };
6496
6497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6499 {
6500 PyThreadState* __tstate = wxPyBeginAllowThreads();
6501 (arg1)->SetFlags(arg2);
6502
6503 wxPyEndAllowThreads(__tstate);
6504 if (PyErr_Occurred()) SWIG_fail;
6505 }
6506 Py_INCREF(Py_None); resultobj = Py_None;
6507 return resultobj;
6508 fail:
6509 return NULL;
6510}
6511
6512
6513static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6514 PyObject *resultobj;
6515 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6516 int result;
6517 PyObject * obj0 = 0 ;
6518 char *kwnames[] = {
6519 (char *) "self", NULL
6520 };
6521
6522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6524 {
6525 PyThreadState* __tstate = wxPyBeginAllowThreads();
6526 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6527
6528 wxPyEndAllowThreads(__tstate);
6529 if (PyErr_Occurred()) SWIG_fail;
6530 }
6531 resultobj = PyInt_FromLong((long)result);
6532 return resultobj;
6533 fail:
6534 return NULL;
6535}
6536
6537
6538static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6539 PyObject *resultobj;
6540 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6541 wxSize *arg2 = 0 ;
6542 wxSize temp2 ;
6543 PyObject * obj0 = 0 ;
6544 PyObject * obj1 = 0 ;
6545 char *kwnames[] = {
6546 (char *) "self",(char *) "size", NULL
6547 };
6548
6549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6551 {
6552 arg2 = &temp2;
6553 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6554 }
6555 {
6556 PyThreadState* __tstate = wxPyBeginAllowThreads();
6557 (arg1)->SetSize((wxSize const &)*arg2);
6558
6559 wxPyEndAllowThreads(__tstate);
6560 if (PyErr_Occurred()) SWIG_fail;
6561 }
6562 Py_INCREF(Py_None); resultobj = Py_None;
6563 return resultobj;
6564 fail:
6565 return NULL;
6566}
6567
6568
6569static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6570 PyObject *resultobj;
6571 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6572 wxSize result;
6573 PyObject * obj0 = 0 ;
6574 char *kwnames[] = {
6575 (char *) "self", NULL
6576 };
6577
6578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6580 {
6581 PyThreadState* __tstate = wxPyBeginAllowThreads();
6582 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6583
6584 wxPyEndAllowThreads(__tstate);
6585 if (PyErr_Occurred()) SWIG_fail;
6586 }
6587 {
6588 wxSize * resultptr;
6589 resultptr = new wxSize((wxSize &) result);
6590 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6591 }
6592 return resultobj;
6593 fail:
6594 return NULL;
6595}
6596
6597
6598static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6599 PyObject *resultobj;
6600 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6601 int arg2 ;
6602 PyObject * obj0 = 0 ;
6603 char *kwnames[] = {
6604 (char *) "self",(char *) "orient", NULL
6605 };
6606
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6612
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 Py_INCREF(Py_None); resultobj = Py_None;
6617 return resultobj;
6618 fail:
6619 return NULL;
6620}
6621
6622
6623static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6624 PyObject *resultobj;
6625 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6626 int result;
6627 PyObject * obj0 = 0 ;
6628 char *kwnames[] = {
6629 (char *) "self", NULL
6630 };
6631
6632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6634 {
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6637
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) SWIG_fail;
6640 }
6641 resultobj = PyInt_FromLong((long)result);
6642 return resultobj;
6643 fail:
6644 return NULL;
6645}
6646
6647
6648static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6649 PyObject *resultobj;
6650 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6651 int arg2 ;
6652 PyObject * obj0 = 0 ;
6653 char *kwnames[] = {
6654 (char *) "self",(char *) "align", NULL
6655 };
6656
6657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6659 {
6660 PyThreadState* __tstate = wxPyBeginAllowThreads();
6661 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6662
6663 wxPyEndAllowThreads(__tstate);
6664 if (PyErr_Occurred()) SWIG_fail;
6665 }
6666 Py_INCREF(Py_None); resultobj = Py_None;
6667 return resultobj;
6668 fail:
6669 return NULL;
6670}
6671
6672
6673static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6674 PyObject *resultobj;
6675 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6676 int result;
6677 PyObject * obj0 = 0 ;
6678 char *kwnames[] = {
6679 (char *) "self", NULL
6680 };
6681
6682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6684 {
6685 PyThreadState* __tstate = wxPyBeginAllowThreads();
6686 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6687
6688 wxPyEndAllowThreads(__tstate);
6689 if (PyErr_Occurred()) SWIG_fail;
6690 }
6691 resultobj = PyInt_FromLong((long)result);
6692 return resultobj;
6693 fail:
6694 return NULL;
6695}
6696
6697
6698static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6699 PyObject *obj;
6700 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6701 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6702 Py_INCREF(obj);
6703 return Py_BuildValue((char *)"");
6704}
6705static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6706 PyObject *resultobj;
423f194a 6707 int arg1 = (int) 0 ;
d14a1e28
RD
6708 wxCalculateLayoutEvent *result;
6709 char *kwnames[] = {
6710 (char *) "id", NULL
6711 };
6712
6713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6714 {
6715 PyThreadState* __tstate = wxPyBeginAllowThreads();
6716 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6717
6718 wxPyEndAllowThreads(__tstate);
6719 if (PyErr_Occurred()) SWIG_fail;
6720 }
6721 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6722 return resultobj;
6723 fail:
6724 return NULL;
6725}
6726
6727
6728static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6729 PyObject *resultobj;
6730 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6731 int arg2 ;
6732 PyObject * obj0 = 0 ;
6733 char *kwnames[] = {
6734 (char *) "self",(char *) "flags", NULL
6735 };
6736
6737 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6738 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6739 {
6740 PyThreadState* __tstate = wxPyBeginAllowThreads();
6741 (arg1)->SetFlags(arg2);
6742
6743 wxPyEndAllowThreads(__tstate);
6744 if (PyErr_Occurred()) SWIG_fail;
6745 }
6746 Py_INCREF(Py_None); resultobj = Py_None;
6747 return resultobj;
6748 fail:
6749 return NULL;
6750}
6751
6752
6753static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6754 PyObject *resultobj;
6755 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6756 int result;
6757 PyObject * obj0 = 0 ;
6758 char *kwnames[] = {
6759 (char *) "self", NULL
6760 };
6761
6762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6764 {
6765 PyThreadState* __tstate = wxPyBeginAllowThreads();
6766 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6767
6768 wxPyEndAllowThreads(__tstate);
6769 if (PyErr_Occurred()) SWIG_fail;
6770 }
6771 resultobj = PyInt_FromLong((long)result);
6772 return resultobj;
6773 fail:
6774 return NULL;
6775}
6776
6777
6778static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6779 PyObject *resultobj;
6780 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6781 wxRect *arg2 = 0 ;
6782 wxRect temp2 ;
6783 PyObject * obj0 = 0 ;
6784 PyObject * obj1 = 0 ;
6785 char *kwnames[] = {
6786 (char *) "self",(char *) "rect", NULL
6787 };
6788
6789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6791 {
6792 arg2 = &temp2;
6793 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6794 }
6795 {
6796 PyThreadState* __tstate = wxPyBeginAllowThreads();
6797 (arg1)->SetRect((wxRect const &)*arg2);
6798
6799 wxPyEndAllowThreads(__tstate);
6800 if (PyErr_Occurred()) SWIG_fail;
6801 }
6802 Py_INCREF(Py_None); resultobj = Py_None;
6803 return resultobj;
6804 fail:
6805 return NULL;
6806}
6807
6808
6809static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6810 PyObject *resultobj;
6811 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6812 wxRect result;
6813 PyObject * obj0 = 0 ;
6814 char *kwnames[] = {
6815 (char *) "self", NULL
6816 };
6817
6818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6820 {
6821 PyThreadState* __tstate = wxPyBeginAllowThreads();
6822 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6823
6824 wxPyEndAllowThreads(__tstate);
6825 if (PyErr_Occurred()) SWIG_fail;
6826 }
6827 {
6828 wxRect * resultptr;
6829 resultptr = new wxRect((wxRect &) result);
6830 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6831 }
6832 return resultobj;
6833 fail:
6834 return NULL;
6835}
6836
6837
6838static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6839 PyObject *obj;
6840 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6841 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6842 Py_INCREF(obj);
6843 return Py_BuildValue((char *)"");
6844}
6845static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6846 PyObject *resultobj;
6847 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 6848 int arg2 ;
d14a1e28
RD
6849 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6850 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6851 wxSize const &arg4_defvalue = wxDefaultSize ;
6852 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6853 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6854 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6855 wxString *arg6 = (wxString *) &arg6_defvalue ;
6856 wxSashLayoutWindow *result;
6857 wxPoint temp3 ;
6858 wxSize temp4 ;
423f194a 6859 bool temp6 = False ;
d14a1e28
RD
6860 PyObject * obj0 = 0 ;
6861 PyObject * obj2 = 0 ;
6862 PyObject * obj3 = 0 ;
6863 PyObject * obj5 = 0 ;
6864 char *kwnames[] = {
6865 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6866 };
6867
6868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6870 if (obj2) {
6871 {
6872 arg3 = &temp3;
6873 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6874 }
6875 }
6876 if (obj3) {
6877 {
6878 arg4 = &temp4;
6879 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6880 }
6881 }
6882 if (obj5) {
6883 {
6884 arg6 = wxString_in_helper(obj5);
6885 if (arg6 == NULL) SWIG_fail;
423f194a 6886 temp6 = True;
d14a1e28
RD
6887 }
6888 }
6889 {
6890 PyThreadState* __tstate = wxPyBeginAllowThreads();
6891 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6892
6893 wxPyEndAllowThreads(__tstate);
6894 if (PyErr_Occurred()) SWIG_fail;
6895 }
6896 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6897 {
6898 if (temp6)
6899 delete arg6;
6900 }
6901 return resultobj;
6902 fail:
6903 {
6904 if (temp6)
6905 delete arg6;
6906 }
6907 return NULL;
6908}
6909
6910
6911static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6912 PyObject *resultobj;
6913 wxSashLayoutWindow *result;
6914 char *kwnames[] = {
6915 NULL
6916 };
6917
6918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
6919 {
6920 PyThreadState* __tstate = wxPyBeginAllowThreads();
6921 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
6922
6923 wxPyEndAllowThreads(__tstate);
6924 if (PyErr_Occurred()) SWIG_fail;
6925 }
6926 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6927 return resultobj;
6928 fail:
6929 return NULL;
6930}
6931
6932
6933static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6934 PyObject *resultobj;
6935 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6936 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 6937 int arg3 ;
d14a1e28
RD
6938 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6939 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6940 wxSize const &arg5_defvalue = wxDefaultSize ;
6941 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6942 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6943 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
6944 wxString *arg7 = (wxString *) &arg7_defvalue ;
6945 bool result;
6946 wxPoint temp4 ;
6947 wxSize temp5 ;
423f194a 6948 bool temp7 = False ;
d14a1e28
RD
6949 PyObject * obj0 = 0 ;
6950 PyObject * obj1 = 0 ;
6951 PyObject * obj3 = 0 ;
6952 PyObject * obj4 = 0 ;
6953 PyObject * obj6 = 0 ;
6954 char *kwnames[] = {
6955 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6956 };
6957
6958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6960 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6961 if (obj3) {
6962 {
6963 arg4 = &temp4;
6964 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6965 }
6966 }
6967 if (obj4) {
6968 {
6969 arg5 = &temp5;
6970 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6971 }
6972 }
6973 if (obj6) {
6974 {
6975 arg7 = wxString_in_helper(obj6);
6976 if (arg7 == NULL) SWIG_fail;
423f194a 6977 temp7 = True;
d14a1e28
RD
6978 }
6979 }
6980 {
6981 PyThreadState* __tstate = wxPyBeginAllowThreads();
6982 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6983
6984 wxPyEndAllowThreads(__tstate);
6985 if (PyErr_Occurred()) SWIG_fail;
6986 }
6987 resultobj = PyInt_FromLong((long)result);
6988 {
6989 if (temp7)
6990 delete arg7;
6991 }
6992 return resultobj;
6993 fail:
6994 {
6995 if (temp7)
6996 delete arg7;
6997 }
6998 return NULL;
6999}
7000
7001
7002static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7003 PyObject *resultobj;
7004 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7005 int result;
7006 PyObject * obj0 = 0 ;
7007 char *kwnames[] = {
7008 (char *) "self", NULL
7009 };
7010
7011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7013 {
7014 PyThreadState* __tstate = wxPyBeginAllowThreads();
7015 result = (int)(arg1)->GetAlignment();
7016
7017 wxPyEndAllowThreads(__tstate);
7018 if (PyErr_Occurred()) SWIG_fail;
7019 }
7020 resultobj = PyInt_FromLong((long)result);
7021 return resultobj;
7022 fail:
7023 return NULL;
7024}
7025
7026
7027static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7028 PyObject *resultobj;
7029 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7030 int result;
7031 PyObject * obj0 = 0 ;
7032 char *kwnames[] = {
7033 (char *) "self", NULL
7034 };
7035
7036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7038 {
7039 PyThreadState* __tstate = wxPyBeginAllowThreads();
7040 result = (int)(arg1)->GetOrientation();
7041
7042 wxPyEndAllowThreads(__tstate);
7043 if (PyErr_Occurred()) SWIG_fail;
7044 }
7045 resultobj = PyInt_FromLong((long)result);
7046 return resultobj;
7047 fail:
7048 return NULL;
7049}
7050
7051
7052static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7053 PyObject *resultobj;
7054 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7055 int arg2 ;
7056 PyObject * obj0 = 0 ;
7057 char *kwnames[] = {
7058 (char *) "self",(char *) "alignment", NULL
7059 };
7060
7061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7063 {
7064 PyThreadState* __tstate = wxPyBeginAllowThreads();
7065 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7066
7067 wxPyEndAllowThreads(__tstate);
7068 if (PyErr_Occurred()) SWIG_fail;
7069 }
7070 Py_INCREF(Py_None); resultobj = Py_None;
7071 return resultobj;
7072 fail:
7073 return NULL;
7074}
7075
7076
7077static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7078 PyObject *resultobj;
7079 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7080 wxSize *arg2 = 0 ;
7081 wxSize temp2 ;
7082 PyObject * obj0 = 0 ;
7083 PyObject * obj1 = 0 ;
7084 char *kwnames[] = {
7085 (char *) "self",(char *) "size", NULL
7086 };
7087
7088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7090 {
7091 arg2 = &temp2;
7092 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7093 }
7094 {
7095 PyThreadState* __tstate = wxPyBeginAllowThreads();
7096 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7097
7098 wxPyEndAllowThreads(__tstate);
7099 if (PyErr_Occurred()) SWIG_fail;
7100 }
7101 Py_INCREF(Py_None); resultobj = Py_None;
7102 return resultobj;
7103 fail:
7104 return NULL;
7105}
7106
7107
7108static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7109 PyObject *resultobj;
7110 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7111 int arg2 ;
7112 PyObject * obj0 = 0 ;
7113 char *kwnames[] = {
7114 (char *) "self",(char *) "orientation", NULL
7115 };
7116
7117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7119 {
7120 PyThreadState* __tstate = wxPyBeginAllowThreads();
7121 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7122
7123 wxPyEndAllowThreads(__tstate);
7124 if (PyErr_Occurred()) SWIG_fail;
7125 }
7126 Py_INCREF(Py_None); resultobj = Py_None;
7127 return resultobj;
7128 fail:
7129 return NULL;
7130}
7131
7132
7133static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7134 PyObject *obj;
7135 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7136 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7137 Py_INCREF(obj);
7138 return Py_BuildValue((char *)"");
7139}
7140static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7141 PyObject *resultobj;
7142 wxLayoutAlgorithm *result;
7143 char *kwnames[] = {
7144 NULL
7145 };
7146
7147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7148 {
7149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7150 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7156 return resultobj;
7157 fail:
7158 return NULL;
7159}
7160
7161
7162static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7163 PyObject *resultobj;
7164 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7165 PyObject * obj0 = 0 ;
7166 char *kwnames[] = {
7167 (char *) "self", NULL
7168 };
7169
7170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7172 {
7173 PyThreadState* __tstate = wxPyBeginAllowThreads();
7174 delete arg1;
7175
7176 wxPyEndAllowThreads(__tstate);
7177 if (PyErr_Occurred()) SWIG_fail;
7178 }
7179 Py_INCREF(Py_None); resultobj = Py_None;
7180 return resultobj;
7181 fail:
7182 return NULL;
7183}
7184
7185
7186static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7187 PyObject *resultobj;
7188 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7189 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7190 wxRect *arg3 = (wxRect *) NULL ;
7191 bool result;
7192 PyObject * obj0 = 0 ;
7193 PyObject * obj1 = 0 ;
7194 PyObject * obj2 = 0 ;
7195 char *kwnames[] = {
7196 (char *) "self",(char *) "frame",(char *) "rect", NULL
7197 };
7198
7199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7201 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7202 if (obj2) {
7203 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7204 }
7205 {
7206 PyThreadState* __tstate = wxPyBeginAllowThreads();
7207 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7208
7209 wxPyEndAllowThreads(__tstate);
7210 if (PyErr_Occurred()) SWIG_fail;
7211 }
7212 resultobj = PyInt_FromLong((long)result);
7213 return resultobj;
7214 fail:
7215 return NULL;
7216}
7217
7218
7219static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7220 PyObject *resultobj;
7221 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7222 wxFrame *arg2 = (wxFrame *) 0 ;
7223 wxWindow *arg3 = (wxWindow *) NULL ;
7224 bool result;
7225 PyObject * obj0 = 0 ;
7226 PyObject * obj1 = 0 ;
7227 PyObject * obj2 = 0 ;
7228 char *kwnames[] = {
7229 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7230 };
7231
7232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7233 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7234 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7235 if (obj2) {
7236 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7237 }
7238 {
7239 PyThreadState* __tstate = wxPyBeginAllowThreads();
7240 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7241
7242 wxPyEndAllowThreads(__tstate);
7243 if (PyErr_Occurred()) SWIG_fail;
7244 }
7245 resultobj = PyInt_FromLong((long)result);
7246 return resultobj;
7247 fail:
7248 return NULL;
7249}
7250
7251
7252static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7253 PyObject *resultobj;
7254 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7255 wxWindow *arg2 = (wxWindow *) 0 ;
7256 wxWindow *arg3 = (wxWindow *) NULL ;
7257 bool result;
7258 PyObject * obj0 = 0 ;
7259 PyObject * obj1 = 0 ;
7260 PyObject * obj2 = 0 ;
7261 char *kwnames[] = {
7262 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7263 };
7264
7265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7267 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7268 if (obj2) {
7269 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7270 }
7271 {
7272 PyThreadState* __tstate = wxPyBeginAllowThreads();
7273 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7274
7275 wxPyEndAllowThreads(__tstate);
7276 if (PyErr_Occurred()) SWIG_fail;
7277 }
7278 resultobj = PyInt_FromLong((long)result);
7279 return resultobj;
7280 fail:
7281 return NULL;
7282}
7283
7284
7285static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7286 PyObject *obj;
7287 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7288 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7289 Py_INCREF(obj);
7290 return Py_BuildValue((char *)"");
7291}
7292static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7293 PyObject *resultobj;
7294 wxWindow *arg1 = (wxWindow *) 0 ;
7295 int arg2 = (int) wxBORDER_NONE ;
7296 wxPopupWindow *result;
7297 PyObject * obj0 = 0 ;
7298 char *kwnames[] = {
7299 (char *) "parent",(char *) "flags", NULL
7300 };
7301
7302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7304 {
7305 PyThreadState* __tstate = wxPyBeginAllowThreads();
7306 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7307
7308 wxPyEndAllowThreads(__tstate);
7309 if (PyErr_Occurred()) SWIG_fail;
7310 }
7311 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7312 return resultobj;
7313 fail:
7314 return NULL;
7315}
7316
7317
7318static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7319 PyObject *resultobj;
7320 wxPopupWindow *result;
7321 char *kwnames[] = {
7322 NULL
7323 };
7324
7325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7326 {
7327 PyThreadState* __tstate = wxPyBeginAllowThreads();
7328 result = (wxPopupWindow *)new wxPopupWindow();
7329
7330 wxPyEndAllowThreads(__tstate);
7331 if (PyErr_Occurred()) SWIG_fail;
7332 }
7333 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7334 return resultobj;
7335 fail:
7336 return NULL;
7337}
7338
7339
7340static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7341 PyObject *resultobj;
7342 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7343 wxWindow *arg2 = (wxWindow *) 0 ;
7344 int arg3 = (int) wxBORDER_NONE ;
7345 bool result;
7346 PyObject * obj0 = 0 ;
7347 PyObject * obj1 = 0 ;
7348 char *kwnames[] = {
7349 (char *) "self",(char *) "parent",(char *) "flags", NULL
7350 };
7351
7352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7354 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7355 {
7356 PyThreadState* __tstate = wxPyBeginAllowThreads();
7357 result = (bool)(arg1)->Create(arg2,arg3);
7358
7359 wxPyEndAllowThreads(__tstate);
7360 if (PyErr_Occurred()) SWIG_fail;
7361 }
7362 resultobj = PyInt_FromLong((long)result);
7363 return resultobj;
7364 fail:
7365 return NULL;
7366}
7367
7368
7369static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7370 PyObject *resultobj;
7371 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7372 wxPoint *arg2 = 0 ;
7373 wxSize *arg3 = 0 ;
7374 wxPoint temp2 ;
7375 wxSize temp3 ;
7376 PyObject * obj0 = 0 ;
7377 PyObject * obj1 = 0 ;
7378 PyObject * obj2 = 0 ;
7379 char *kwnames[] = {
7380 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7381 };
7382
7383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7385 {
7386 arg2 = &temp2;
7387 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7388 }
7389 {
7390 arg3 = &temp3;
7391 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7392 }
7393 {
7394 PyThreadState* __tstate = wxPyBeginAllowThreads();
7395 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7396
7397 wxPyEndAllowThreads(__tstate);
7398 if (PyErr_Occurred()) SWIG_fail;
7399 }
7400 Py_INCREF(Py_None); resultobj = Py_None;
7401 return resultobj;
7402 fail:
7403 return NULL;
7404}
7405
7406
7407static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7408 PyObject *obj;
7409 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7410 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7411 Py_INCREF(obj);
7412 return Py_BuildValue((char *)"");
7413}
7414static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7415 PyObject *resultobj;
7416 wxWindow *arg1 = (wxWindow *) 0 ;
7417 int arg2 = (int) wxBORDER_NONE ;
7418 wxPyPopupTransientWindow *result;
7419 PyObject * obj0 = 0 ;
7420 char *kwnames[] = {
7421 (char *) "parent",(char *) "style", NULL
7422 };
7423
7424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7426 {
7427 PyThreadState* __tstate = wxPyBeginAllowThreads();
7428 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7429
7430 wxPyEndAllowThreads(__tstate);
7431 if (PyErr_Occurred()) SWIG_fail;
7432 }
7433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7434 return resultobj;
7435 fail:
7436 return NULL;
7437}
7438
7439
7440static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7441 PyObject *resultobj;
7442 wxPyPopupTransientWindow *result;
7443 char *kwnames[] = {
7444 NULL
7445 };
7446
7447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7448 {
7449 PyThreadState* __tstate = wxPyBeginAllowThreads();
7450 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7451
7452 wxPyEndAllowThreads(__tstate);
7453 if (PyErr_Occurred()) SWIG_fail;
7454 }
7455 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7456 return resultobj;
7457 fail:
7458 return NULL;
7459}
7460
7461
7462static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7463 PyObject *resultobj;
7464 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7465 PyObject *arg2 = (PyObject *) 0 ;
7466 PyObject *arg3 = (PyObject *) 0 ;
7467 PyObject * obj0 = 0 ;
7468 PyObject * obj1 = 0 ;
7469 PyObject * obj2 = 0 ;
7470 char *kwnames[] = {
7471 (char *) "self",(char *) "self",(char *) "_class", NULL
7472 };
7473
7474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7476 arg2 = obj1;
7477 arg3 = obj2;
7478 {
7479 PyThreadState* __tstate = wxPyBeginAllowThreads();
7480 (arg1)->_setCallbackInfo(arg2,arg3);
7481
7482 wxPyEndAllowThreads(__tstate);
7483 if (PyErr_Occurred()) SWIG_fail;
7484 }
7485 Py_INCREF(Py_None); resultobj = Py_None;
7486 return resultobj;
7487 fail:
7488 return NULL;
7489}
7490
7491
7492static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7493 PyObject *resultobj;
7494 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7495 wxWindow *arg2 = (wxWindow *) NULL ;
7496 PyObject * obj0 = 0 ;
7497 PyObject * obj1 = 0 ;
7498 char *kwnames[] = {
7499 (char *) "self",(char *) "focus", NULL
7500 };
7501
7502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7504 if (obj1) {
7505 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7506 }
7507 {
7508 PyThreadState* __tstate = wxPyBeginAllowThreads();
7509 (arg1)->Popup(arg2);
7510
7511 wxPyEndAllowThreads(__tstate);
7512 if (PyErr_Occurred()) SWIG_fail;
7513 }
7514 Py_INCREF(Py_None); resultobj = Py_None;
7515 return resultobj;
7516 fail:
7517 return NULL;
7518}
7519
7520
7521static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7522 PyObject *resultobj;
7523 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7524 PyObject * obj0 = 0 ;
7525 char *kwnames[] = {
7526 (char *) "self", NULL
7527 };
7528
7529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7531 {
7532 PyThreadState* __tstate = wxPyBeginAllowThreads();
7533 (arg1)->Dismiss();
7534
7535 wxPyEndAllowThreads(__tstate);
7536 if (PyErr_Occurred()) SWIG_fail;
7537 }
7538 Py_INCREF(Py_None); resultobj = Py_None;
7539 return resultobj;
7540 fail:
7541 return NULL;
7542}
7543
7544
7545static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7546 PyObject *obj;
7547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7548 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7549 Py_INCREF(obj);
7550 return Py_BuildValue((char *)"");
7551}
7552static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7553 PyObject *resultobj;
7554 wxWindow *arg1 = (wxWindow *) 0 ;
8a0b029b 7555 wxString *arg2 = 0 ;
423f194a 7556 int arg3 = (int) 100 ;
d14a1e28
RD
7557 wxRect *arg4 = (wxRect *) NULL ;
7558 wxTipWindow *result;
8a0b029b 7559 bool temp2 = False ;
d14a1e28
RD
7560 PyObject * obj0 = 0 ;
7561 PyObject * obj1 = 0 ;
7562 PyObject * obj3 = 0 ;
7563 char *kwnames[] = {
7564 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7565 };
7566
7567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8a0b029b
RD
7569 {
7570 arg2 = wxString_in_helper(obj1);
7571 if (arg2 == NULL) SWIG_fail;
7572 temp2 = True;
7573 }
d14a1e28
RD
7574 if (obj3) {
7575 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7576 }
7577 {
7578 PyThreadState* __tstate = wxPyBeginAllowThreads();
8a0b029b 7579 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
7580
7581 wxPyEndAllowThreads(__tstate);
7582 if (PyErr_Occurred()) SWIG_fail;
7583 }
7584 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
8a0b029b
RD
7585 {
7586 if (temp2)
7587 delete arg2;
7588 }
d14a1e28
RD
7589 return resultobj;
7590 fail:
8a0b029b
RD
7591 {
7592 if (temp2)
7593 delete arg2;
7594 }
d14a1e28
RD
7595 return NULL;
7596}
7597
7598
7599static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7600 PyObject *resultobj;
7601 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7602 wxRect *arg2 = 0 ;
7603 wxRect temp2 ;
7604 PyObject * obj0 = 0 ;
7605 PyObject * obj1 = 0 ;
7606 char *kwnames[] = {
7607 (char *) "self",(char *) "rectBound", NULL
7608 };
7609
7610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7612 {
7613 arg2 = &temp2;
7614 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7615 }
7616 {
7617 PyThreadState* __tstate = wxPyBeginAllowThreads();
7618 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7619
7620 wxPyEndAllowThreads(__tstate);
7621 if (PyErr_Occurred()) SWIG_fail;
7622 }
7623 Py_INCREF(Py_None); resultobj = Py_None;
7624 return resultobj;
7625 fail:
7626 return NULL;
7627}
7628
7629
7630static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7631 PyObject *resultobj;
7632 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7633 PyObject * obj0 = 0 ;
7634 char *kwnames[] = {
7635 (char *) "self", NULL
7636 };
7637
7638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7640 {
7641 PyThreadState* __tstate = wxPyBeginAllowThreads();
7642 (arg1)->Close();
7643
7644 wxPyEndAllowThreads(__tstate);
7645 if (PyErr_Occurred()) SWIG_fail;
7646 }
7647 Py_INCREF(Py_None); resultobj = Py_None;
7648 return resultobj;
7649 fail:
7650 return NULL;
7651}
7652
7653
7654static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7655 PyObject *obj;
7656 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7657 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7658 Py_INCREF(obj);
7659 return Py_BuildValue((char *)"");
7660}
7661static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7662 PyObject *resultobj;
7663 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 7664 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
7665 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7666 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7667 wxSize const &arg4_defvalue = wxDefaultSize ;
7668 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7669 long arg5 = (long) 0 ;
7670 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7671 wxString *arg6 = (wxString *) &arg6_defvalue ;
7672 wxPyVScrolledWindow *result;
7673 wxPoint temp3 ;
7674 wxSize temp4 ;
423f194a 7675 bool temp6 = False ;
d14a1e28
RD
7676 PyObject * obj0 = 0 ;
7677 PyObject * obj2 = 0 ;
7678 PyObject * obj3 = 0 ;
7679 PyObject * obj5 = 0 ;
7680 char *kwnames[] = {
7681 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7682 };
7683
7684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7686 if (obj2) {
7687 {
7688 arg3 = &temp3;
7689 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7690 }
7691 }
7692 if (obj3) {
7693 {
7694 arg4 = &temp4;
7695 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7696 }
7697 }
7698 if (obj5) {
7699 {
7700 arg6 = wxString_in_helper(obj5);
7701 if (arg6 == NULL) SWIG_fail;
423f194a 7702 temp6 = True;
d14a1e28
RD
7703 }
7704 }
7705 {
7706 PyThreadState* __tstate = wxPyBeginAllowThreads();
7707 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7708
7709 wxPyEndAllowThreads(__tstate);
7710 if (PyErr_Occurred()) SWIG_fail;
7711 }
7712 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7713 {
7714 if (temp6)
7715 delete arg6;
7716 }
7717 return resultobj;
7718 fail:
7719 {
7720 if (temp6)
7721 delete arg6;
7722 }
7723 return NULL;
7724}
7725
7726
7727static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7728 PyObject *resultobj;
7729 wxPyVScrolledWindow *result;
7730 char *kwnames[] = {
7731 NULL
7732 };
7733
7734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7735 {
7736 PyThreadState* __tstate = wxPyBeginAllowThreads();
7737 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7738
7739 wxPyEndAllowThreads(__tstate);
7740 if (PyErr_Occurred()) SWIG_fail;
7741 }
7742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7743 return resultobj;
7744 fail:
7745 return NULL;
7746}
7747
7748
7749static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7750 PyObject *resultobj;
7751 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7752 PyObject *arg2 = (PyObject *) 0 ;
7753 PyObject *arg3 = (PyObject *) 0 ;
7754 PyObject * obj0 = 0 ;
7755 PyObject * obj1 = 0 ;
7756 PyObject * obj2 = 0 ;
7757 char *kwnames[] = {
7758 (char *) "self",(char *) "self",(char *) "_class", NULL
7759 };
7760
7761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7763 arg2 = obj1;
7764 arg3 = obj2;
7765 {
7766 PyThreadState* __tstate = wxPyBeginAllowThreads();
7767 (arg1)->_setCallbackInfo(arg2,arg3);
7768
7769 wxPyEndAllowThreads(__tstate);
7770 if (PyErr_Occurred()) SWIG_fail;
7771 }
7772 Py_INCREF(Py_None); resultobj = Py_None;
7773 return resultobj;
7774 fail:
7775 return NULL;
7776}
7777
7778
7779static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7780 PyObject *resultobj;
7781 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7782 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 7783 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
7784 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7785 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7786 wxSize const &arg5_defvalue = wxDefaultSize ;
7787 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7788 long arg6 = (long) 0 ;
7789 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7790 wxString *arg7 = (wxString *) &arg7_defvalue ;
7791 bool result;
7792 wxPoint temp4 ;
7793 wxSize temp5 ;
423f194a 7794 bool temp7 = False ;
d14a1e28
RD
7795 PyObject * obj0 = 0 ;
7796 PyObject * obj1 = 0 ;
7797 PyObject * obj3 = 0 ;
7798 PyObject * obj4 = 0 ;
7799 PyObject * obj6 = 0 ;
7800 char *kwnames[] = {
7801 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7802 };
7803
7804 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7805 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7806 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7807 if (obj3) {
7808 {
7809 arg4 = &temp4;
7810 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7811 }
7812 }
7813 if (obj4) {
7814 {
7815 arg5 = &temp5;
7816 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7817 }
7818 }
7819 if (obj6) {
7820 {
7821 arg7 = wxString_in_helper(obj6);
7822 if (arg7 == NULL) SWIG_fail;
423f194a 7823 temp7 = True;
d14a1e28
RD
7824 }
7825 }
7826 {
7827 PyThreadState* __tstate = wxPyBeginAllowThreads();
7828 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7829
7830 wxPyEndAllowThreads(__tstate);
7831 if (PyErr_Occurred()) SWIG_fail;
7832 }
7833 resultobj = PyInt_FromLong((long)result);
7834 {
7835 if (temp7)
7836 delete arg7;
7837 }
7838 return resultobj;
7839 fail:
7840 {
7841 if (temp7)
7842 delete arg7;
7843 }
7844 return NULL;
7845}
7846
7847
7848static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7849 PyObject *resultobj;
7850 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7851 size_t arg2 ;
7852 PyObject * obj0 = 0 ;
7853 PyObject * obj1 = 0 ;
7854 char *kwnames[] = {
7855 (char *) "self",(char *) "count", NULL
7856 };
7857
7858 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7859 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7860 arg2 = (size_t) PyInt_AsLong(obj1);
7861 if (PyErr_Occurred()) SWIG_fail;
7862 {
7863 PyThreadState* __tstate = wxPyBeginAllowThreads();
7864 (arg1)->SetLineCount(arg2);
7865
7866 wxPyEndAllowThreads(__tstate);
7867 if (PyErr_Occurred()) SWIG_fail;
7868 }
7869 Py_INCREF(Py_None); resultobj = Py_None;
7870 return resultobj;
7871 fail:
7872 return NULL;
7873}
7874
7875
7876static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7877 PyObject *resultobj;
7878 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7879 size_t arg2 ;
7880 bool result;
7881 PyObject * obj0 = 0 ;
7882 PyObject * obj1 = 0 ;
7883 char *kwnames[] = {
7884 (char *) "self",(char *) "line", NULL
7885 };
7886
7887 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
7888 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7889 arg2 = (size_t) PyInt_AsLong(obj1);
7890 if (PyErr_Occurred()) SWIG_fail;
7891 {
7892 PyThreadState* __tstate = wxPyBeginAllowThreads();
7893 result = (bool)(arg1)->ScrollToLine(arg2);
7894
7895 wxPyEndAllowThreads(__tstate);
7896 if (PyErr_Occurred()) SWIG_fail;
7897 }
7898 resultobj = PyInt_FromLong((long)result);
7899 return resultobj;
7900 fail:
7901 return NULL;
7902}
7903
7904
7905static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7906 PyObject *resultobj;
7907 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7908 int arg2 ;
7909 bool result;
7910 PyObject * obj0 = 0 ;
7911 char *kwnames[] = {
7912 (char *) "self",(char *) "lines", NULL
7913 };
7914
7915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
7916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7917 {
7918 PyThreadState* __tstate = wxPyBeginAllowThreads();
7919 result = (bool)(arg1)->ScrollLines(arg2);
7920
7921 wxPyEndAllowThreads(__tstate);
7922 if (PyErr_Occurred()) SWIG_fail;
7923 }
7924 resultobj = PyInt_FromLong((long)result);
7925 return resultobj;
7926 fail:
7927 return NULL;
7928}
7929
7930
7931static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
7932 PyObject *resultobj;
7933 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7934 int arg2 ;
7935 bool result;
7936 PyObject * obj0 = 0 ;
7937 char *kwnames[] = {
7938 (char *) "self",(char *) "pages", NULL
7939 };
7940
7941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
7942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7943 {
7944 PyThreadState* __tstate = wxPyBeginAllowThreads();
7945 result = (bool)(arg1)->ScrollPages(arg2);
7946
7947 wxPyEndAllowThreads(__tstate);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 }
7950 resultobj = PyInt_FromLong((long)result);
7951 return resultobj;
7952 fail:
7953 return NULL;
7954}
7955
7956
7957static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7958 PyObject *resultobj;
7959 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7960 size_t arg2 ;
7961 PyObject * obj0 = 0 ;
7962 PyObject * obj1 = 0 ;
7963 char *kwnames[] = {
7964 (char *) "self",(char *) "line", NULL
7965 };
7966
7967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
7968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7969 arg2 = (size_t) PyInt_AsLong(obj1);
7970 if (PyErr_Occurred()) SWIG_fail;
7971 {
7972 PyThreadState* __tstate = wxPyBeginAllowThreads();
7973 (arg1)->RefreshLine(arg2);
7974
7975 wxPyEndAllowThreads(__tstate);
7976 if (PyErr_Occurred()) SWIG_fail;
7977 }
7978 Py_INCREF(Py_None); resultobj = Py_None;
7979 return resultobj;
7980 fail:
7981 return NULL;
7982}
7983
7984
7985static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7986 PyObject *resultobj;
7987 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7988 size_t arg2 ;
7989 size_t arg3 ;
7990 PyObject * obj0 = 0 ;
7991 PyObject * obj1 = 0 ;
7992 PyObject * obj2 = 0 ;
7993 char *kwnames[] = {
7994 (char *) "self",(char *) "from",(char *) "to", NULL
7995 };
7996
7997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7999 arg2 = (size_t) PyInt_AsLong(obj1);
8000 if (PyErr_Occurred()) SWIG_fail;
8001 arg3 = (size_t) PyInt_AsLong(obj2);
8002 if (PyErr_Occurred()) SWIG_fail;
8003 {
8004 PyThreadState* __tstate = wxPyBeginAllowThreads();
8005 (arg1)->RefreshLines(arg2,arg3);
8006
8007 wxPyEndAllowThreads(__tstate);
8008 if (PyErr_Occurred()) SWIG_fail;
8009 }
8010 Py_INCREF(Py_None); resultobj = Py_None;
8011 return resultobj;
8012 fail:
8013 return NULL;
8014}
8015
8016
8017static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8018 PyObject *resultobj;
8019 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
423f194a
RD
8020 int arg2 ;
8021 int arg3 ;
d14a1e28
RD
8022 int result;
8023 PyObject * obj0 = 0 ;
8024 char *kwnames[] = {
8025 (char *) "self",(char *) "x",(char *) "y", NULL
8026 };
8027
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8030 {
8031 PyThreadState* __tstate = wxPyBeginAllowThreads();
8032 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8033
8034 wxPyEndAllowThreads(__tstate);
8035 if (PyErr_Occurred()) SWIG_fail;
8036 }
8037 resultobj = PyInt_FromLong((long)result);
8038 return resultobj;
8039 fail:
8040 return NULL;
8041}
8042
8043
8044static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8045 PyObject *resultobj;
8046 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8047 wxPoint *arg2 = 0 ;
8048 int result;
8049 wxPoint temp2 ;
8050 PyObject * obj0 = 0 ;
8051 PyObject * obj1 = 0 ;
8052 char *kwnames[] = {
8053 (char *) "self",(char *) "pt", NULL
8054 };
8055
8056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8058 {
8059 arg2 = &temp2;
8060 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8061 }
8062 {
8063 PyThreadState* __tstate = wxPyBeginAllowThreads();
8064 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8065
8066 wxPyEndAllowThreads(__tstate);
8067 if (PyErr_Occurred()) SWIG_fail;
8068 }
8069 resultobj = PyInt_FromLong((long)result);
8070 return resultobj;
8071 fail:
8072 return NULL;
8073}
8074
8075
8076static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8077 PyObject *resultobj;
8078 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8079 PyObject * obj0 = 0 ;
8080 char *kwnames[] = {
8081 (char *) "self", NULL
8082 };
8083
8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8086 {
8087 PyThreadState* __tstate = wxPyBeginAllowThreads();
8088 (arg1)->RefreshAll();
8089
8090 wxPyEndAllowThreads(__tstate);
8091 if (PyErr_Occurred()) SWIG_fail;
8092 }
8093 Py_INCREF(Py_None); resultobj = Py_None;
8094 return resultobj;
8095 fail:
8096 return NULL;
8097}
8098
8099
8100static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8101 PyObject *resultobj;
8102 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8103 size_t result;
8104 PyObject * obj0 = 0 ;
8105 char *kwnames[] = {
8106 (char *) "self", NULL
8107 };
8108
8109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8111 {
8112 PyThreadState* __tstate = wxPyBeginAllowThreads();
8113 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8114
8115 wxPyEndAllowThreads(__tstate);
8116 if (PyErr_Occurred()) SWIG_fail;
8117 }
8118 resultobj = PyInt_FromLong((long)result);
8119 return resultobj;
8120 fail:
8121 return NULL;
8122}
8123
8124
8125static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8126 PyObject *resultobj;
8127 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8128 size_t result;
8129 PyObject * obj0 = 0 ;
8130 char *kwnames[] = {
8131 (char *) "self", NULL
8132 };
8133
8134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8136 {
8137 PyThreadState* __tstate = wxPyBeginAllowThreads();
8138 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8139
8140 wxPyEndAllowThreads(__tstate);
8141 if (PyErr_Occurred()) SWIG_fail;
8142 }
8143 resultobj = PyInt_FromLong((long)result);
8144 return resultobj;
8145 fail:
8146 return NULL;
8147}
8148
8149
8150static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8151 PyObject *resultobj;
8152 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8153 size_t result;
8154 PyObject * obj0 = 0 ;
8155 char *kwnames[] = {
8156 (char *) "self", NULL
8157 };
8158
8159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8161 {
8162 PyThreadState* __tstate = wxPyBeginAllowThreads();
8163 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8164
8165 wxPyEndAllowThreads(__tstate);
8166 if (PyErr_Occurred()) SWIG_fail;
8167 }
8168 resultobj = PyInt_FromLong((long)result);
8169 return resultobj;
8170 fail:
8171 return NULL;
8172}
8173
8174
8175static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8176 PyObject *resultobj;
8177 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8178 size_t arg2 ;
8179 bool result;
8180 PyObject * obj0 = 0 ;
8181 PyObject * obj1 = 0 ;
8182 char *kwnames[] = {
8183 (char *) "self",(char *) "line", NULL
8184 };
8185
8186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8188 arg2 = (size_t) PyInt_AsLong(obj1);
8189 if (PyErr_Occurred()) SWIG_fail;
8190 {
8191 PyThreadState* __tstate = wxPyBeginAllowThreads();
8192 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8193
8194 wxPyEndAllowThreads(__tstate);
8195 if (PyErr_Occurred()) SWIG_fail;
8196 }
8197 resultobj = PyInt_FromLong((long)result);
8198 return resultobj;
8199 fail:
8200 return NULL;
8201}
8202
8203
8204static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8205 PyObject *obj;
8206 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8207 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8208 Py_INCREF(obj);
8209 return Py_BuildValue((char *)"");
8210}
8211static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8212 PyObject *resultobj;
8213 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 8214 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
8215 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8216 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8217 wxSize const &arg4_defvalue = wxDefaultSize ;
8218 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8219 long arg5 = (long) 0 ;
8220 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8221 wxString *arg6 = (wxString *) &arg6_defvalue ;
8222 wxPyVListBox *result;
8223 wxPoint temp3 ;
8224 wxSize temp4 ;
423f194a 8225 bool temp6 = False ;
d14a1e28
RD
8226 PyObject * obj0 = 0 ;
8227 PyObject * obj2 = 0 ;
8228 PyObject * obj3 = 0 ;
8229 PyObject * obj5 = 0 ;
8230 char *kwnames[] = {
8231 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8232 };
8233
8234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8236 if (obj2) {
8237 {
8238 arg3 = &temp3;
8239 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8240 }
8241 }
8242 if (obj3) {
8243 {
8244 arg4 = &temp4;
8245 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8246 }
8247 }
8248 if (obj5) {
8249 {
8250 arg6 = wxString_in_helper(obj5);
8251 if (arg6 == NULL) SWIG_fail;
423f194a 8252 temp6 = True;
d14a1e28
RD
8253 }
8254 }
8255 {
8256 PyThreadState* __tstate = wxPyBeginAllowThreads();
8257 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8258
8259 wxPyEndAllowThreads(__tstate);
8260 if (PyErr_Occurred()) SWIG_fail;
8261 }
8262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8263 {
8264 if (temp6)
8265 delete arg6;
8266 }
8267 return resultobj;
8268 fail:
8269 {
8270 if (temp6)
8271 delete arg6;
8272 }
8273 return NULL;
8274}
8275
8276
8277static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8278 PyObject *resultobj;
8279 wxPyVListBox *result;
8280 char *kwnames[] = {
8281 NULL
8282 };
8283
8284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8285 {
8286 PyThreadState* __tstate = wxPyBeginAllowThreads();
8287 result = (wxPyVListBox *)new wxPyVListBox();
8288
8289 wxPyEndAllowThreads(__tstate);
8290 if (PyErr_Occurred()) SWIG_fail;
8291 }
8292 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8293 return resultobj;
8294 fail:
8295 return NULL;
8296}
8297
8298
8299static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8300 PyObject *resultobj;
8301 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8302 PyObject *arg2 = (PyObject *) 0 ;
8303 PyObject *arg3 = (PyObject *) 0 ;
8304 PyObject * obj0 = 0 ;
8305 PyObject * obj1 = 0 ;
8306 PyObject * obj2 = 0 ;
8307 char *kwnames[] = {
8308 (char *) "self",(char *) "self",(char *) "_class", NULL
8309 };
8310
8311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8313 arg2 = obj1;
8314 arg3 = obj2;
8315 {
8316 PyThreadState* __tstate = wxPyBeginAllowThreads();
8317 (arg1)->_setCallbackInfo(arg2,arg3);
8318
8319 wxPyEndAllowThreads(__tstate);
8320 if (PyErr_Occurred()) SWIG_fail;
8321 }
8322 Py_INCREF(Py_None); resultobj = Py_None;
8323 return resultobj;
8324 fail:
8325 return NULL;
8326}
8327
8328
8329static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8330 PyObject *resultobj;
8331 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8332 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 8333 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
8334 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8335 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8336 wxSize const &arg5_defvalue = wxDefaultSize ;
8337 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8338 long arg6 = (long) 0 ;
8339 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8340 wxString *arg7 = (wxString *) &arg7_defvalue ;
8341 bool result;
8342 wxPoint temp4 ;
8343 wxSize temp5 ;
423f194a 8344 bool temp7 = False ;
d14a1e28
RD
8345 PyObject * obj0 = 0 ;
8346 PyObject * obj1 = 0 ;
8347 PyObject * obj3 = 0 ;
8348 PyObject * obj4 = 0 ;
8349 PyObject * obj6 = 0 ;
8350 char *kwnames[] = {
8351 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8352 };
8353
8354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8356 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8357 if (obj3) {
8358 {
8359 arg4 = &temp4;
8360 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8361 }
8362 }
8363 if (obj4) {
8364 {
8365 arg5 = &temp5;
8366 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8367 }
8368 }
8369 if (obj6) {
8370 {
8371 arg7 = wxString_in_helper(obj6);
8372 if (arg7 == NULL) SWIG_fail;
423f194a 8373 temp7 = True;
d14a1e28
RD
8374 }
8375 }
8376 {
8377 PyThreadState* __tstate = wxPyBeginAllowThreads();
8378 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8379
8380 wxPyEndAllowThreads(__tstate);
8381 if (PyErr_Occurred()) SWIG_fail;
8382 }
8383 resultobj = PyInt_FromLong((long)result);
8384 {
8385 if (temp7)
8386 delete arg7;
8387 }
8388 return resultobj;
8389 fail:
8390 {
8391 if (temp7)
8392 delete arg7;
8393 }
8394 return NULL;
8395}
8396
8397
8398static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8399 PyObject *resultobj;
8400 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8401 size_t result;
8402 PyObject * obj0 = 0 ;
8403 char *kwnames[] = {
8404 (char *) "self", NULL
8405 };
8406
8407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8409 {
8410 PyThreadState* __tstate = wxPyBeginAllowThreads();
8411 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8412
8413 wxPyEndAllowThreads(__tstate);
8414 if (PyErr_Occurred()) SWIG_fail;
8415 }
8416 resultobj = PyInt_FromLong((long)result);
8417 return resultobj;
8418 fail:
8419 return NULL;
8420}
8421
8422
8423static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8424 PyObject *resultobj;
8425 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8426 bool result;
8427 PyObject * obj0 = 0 ;
8428 char *kwnames[] = {
8429 (char *) "self", NULL
8430 };
8431
8432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8434 {
8435 PyThreadState* __tstate = wxPyBeginAllowThreads();
8436 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8437
8438 wxPyEndAllowThreads(__tstate);
8439 if (PyErr_Occurred()) SWIG_fail;
8440 }
8441 resultobj = PyInt_FromLong((long)result);
8442 return resultobj;
8443 fail:
8444 return NULL;
8445}
8446
8447
8448static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8449 PyObject *resultobj;
8450 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8451 int result;
8452 PyObject * obj0 = 0 ;
8453 char *kwnames[] = {
8454 (char *) "self", NULL
8455 };
8456
8457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8459 {
8460 PyThreadState* __tstate = wxPyBeginAllowThreads();
8461 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8462
8463 wxPyEndAllowThreads(__tstate);
8464 if (PyErr_Occurred()) SWIG_fail;
8465 }
8466 resultobj = PyInt_FromLong((long)result);
8467 return resultobj;
8468 fail:
8469 return NULL;
8470}
8471
8472
8473static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8474 PyObject *resultobj;
8475 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8476 size_t arg2 ;
8477 bool result;
8478 PyObject * obj0 = 0 ;
8479 PyObject * obj1 = 0 ;
8480 char *kwnames[] = {
8481 (char *) "self",(char *) "item", NULL
8482 };
8483
8484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8486 arg2 = (size_t) PyInt_AsLong(obj1);
8487 if (PyErr_Occurred()) SWIG_fail;
8488 {
8489 PyThreadState* __tstate = wxPyBeginAllowThreads();
8490 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8491
8492 wxPyEndAllowThreads(__tstate);
8493 if (PyErr_Occurred()) SWIG_fail;
8494 }
8495 resultobj = PyInt_FromLong((long)result);
8496 return resultobj;
8497 fail:
8498 return NULL;
8499}
8500
8501
8502static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8503 PyObject *resultobj;
8504 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8505 size_t arg2 ;
8506 bool result;
8507 PyObject * obj0 = 0 ;
8508 PyObject * obj1 = 0 ;
8509 char *kwnames[] = {
8510 (char *) "self",(char *) "item", NULL
8511 };
8512
8513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8515 arg2 = (size_t) PyInt_AsLong(obj1);
8516 if (PyErr_Occurred()) SWIG_fail;
8517 {
8518 PyThreadState* __tstate = wxPyBeginAllowThreads();
8519 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8520
8521 wxPyEndAllowThreads(__tstate);
8522 if (PyErr_Occurred()) SWIG_fail;
8523 }
8524 resultobj = PyInt_FromLong((long)result);
8525 return resultobj;
8526 fail:
8527 return NULL;
8528}
8529
8530
8531static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8532 PyObject *resultobj;
8533 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8534 size_t result;
8535 PyObject * obj0 = 0 ;
8536 char *kwnames[] = {
8537 (char *) "self", NULL
8538 };
8539
8540 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8541 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8542 {
8543 PyThreadState* __tstate = wxPyBeginAllowThreads();
8544 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8545
8546 wxPyEndAllowThreads(__tstate);
8547 if (PyErr_Occurred()) SWIG_fail;
8548 }
8549 resultobj = PyInt_FromLong((long)result);
8550 return resultobj;
8551 fail:
8552 return NULL;
8553}
8554
8555
8556static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8557 PyObject *resultobj;
8558 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8559 unsigned long *arg2 = 0 ;
8560 int result;
8561 PyObject * obj0 = 0 ;
8562 PyObject * obj1 = 0 ;
8563 char *kwnames[] = {
8564 (char *) "self",(char *) "cookie", NULL
8565 };
8566
8567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8569 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8570 if (arg2 == NULL) {
8571 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8572 }
8573 {
8574 PyThreadState* __tstate = wxPyBeginAllowThreads();
8575 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8576
8577 wxPyEndAllowThreads(__tstate);
8578 if (PyErr_Occurred()) SWIG_fail;
8579 }
8580 resultobj = PyInt_FromLong((long)result);
8581 return resultobj;
8582 fail:
8583 return NULL;
8584}
8585
8586
8587static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8588 PyObject *resultobj;
8589 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8590 unsigned long *arg2 = 0 ;
8591 int result;
8592 PyObject * obj0 = 0 ;
8593 PyObject * obj1 = 0 ;
8594 char *kwnames[] = {
8595 (char *) "self",(char *) "cookie", NULL
8596 };
8597
8598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8600 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8601 if (arg2 == NULL) {
8602 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8603 }
8604 {
8605 PyThreadState* __tstate = wxPyBeginAllowThreads();
8606 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8607
8608 wxPyEndAllowThreads(__tstate);
8609 if (PyErr_Occurred()) SWIG_fail;
8610 }
8611 resultobj = PyInt_FromLong((long)result);
8612 return resultobj;
8613 fail:
8614 return NULL;
8615}
8616
8617
8618static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8619 PyObject *resultobj;
8620 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8621 wxPoint result;
8622 PyObject * obj0 = 0 ;
8623 char *kwnames[] = {
8624 (char *) "self", NULL
8625 };
8626
8627 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8628 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8629 {
8630 PyThreadState* __tstate = wxPyBeginAllowThreads();
8631 result = ((wxPyVListBox const *)arg1)->GetMargins();
8632
8633 wxPyEndAllowThreads(__tstate);
8634 if (PyErr_Occurred()) SWIG_fail;
8635 }
8636 {
8637 wxPoint * resultptr;
8638 resultptr = new wxPoint((wxPoint &) result);
8639 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8640 }
8641 return resultobj;
8642 fail:
8643 return NULL;
8644}
8645
8646
8647static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8648 PyObject *resultobj;
8649 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8650 wxColour *result;
8651 PyObject * obj0 = 0 ;
8652 char *kwnames[] = {
8653 (char *) "self", NULL
8654 };
8655
8656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8658 {
8659 PyThreadState* __tstate = wxPyBeginAllowThreads();
8660 {
8661 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8662 result = (wxColour *) &_result_ref;
8663 }
8664
8665 wxPyEndAllowThreads(__tstate);
8666 if (PyErr_Occurred()) SWIG_fail;
8667 }
8668 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8669 return resultobj;
8670 fail:
8671 return NULL;
8672}
8673
8674
8675static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8676 PyObject *resultobj;
8677 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8678 size_t arg2 ;
8679 PyObject * obj0 = 0 ;
8680 PyObject * obj1 = 0 ;
8681 char *kwnames[] = {
8682 (char *) "self",(char *) "count", NULL
8683 };
8684
8685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8687 arg2 = (size_t) PyInt_AsLong(obj1);
8688 if (PyErr_Occurred()) SWIG_fail;
8689 {
8690 PyThreadState* __tstate = wxPyBeginAllowThreads();
8691 (arg1)->SetItemCount(arg2);
8692
8693 wxPyEndAllowThreads(__tstate);
8694 if (PyErr_Occurred()) SWIG_fail;
8695 }
8696 Py_INCREF(Py_None); resultobj = Py_None;
8697 return resultobj;
8698 fail:
8699 return NULL;
8700}
8701
8702
8703static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8704 PyObject *resultobj;
8705 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8706 PyObject * obj0 = 0 ;
8707 char *kwnames[] = {
8708 (char *) "self", NULL
8709 };
8710
8711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8713 {
8714 PyThreadState* __tstate = wxPyBeginAllowThreads();
8715 (arg1)->Clear();
8716
8717 wxPyEndAllowThreads(__tstate);
8718 if (PyErr_Occurred()) SWIG_fail;
8719 }
8720 Py_INCREF(Py_None); resultobj = Py_None;
8721 return resultobj;
8722 fail:
8723 return NULL;
8724}
8725
8726
8727static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8728 PyObject *resultobj;
8729 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8730 int arg2 ;
8731 PyObject * obj0 = 0 ;
8732 char *kwnames[] = {
8733 (char *) "self",(char *) "selection", NULL
8734 };
8735
8736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8738 {
8739 PyThreadState* __tstate = wxPyBeginAllowThreads();
8740 (arg1)->SetSelection(arg2);
8741
8742 wxPyEndAllowThreads(__tstate);
8743 if (PyErr_Occurred()) SWIG_fail;
8744 }
8745 Py_INCREF(Py_None); resultobj = Py_None;
8746 return resultobj;
8747 fail:
8748 return NULL;
8749}
8750
8751
8752static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8753 PyObject *resultobj;
8754 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8755 size_t arg2 ;
423f194a 8756 bool arg3 = (bool) True ;
d14a1e28
RD
8757 bool result;
8758 PyObject * obj0 = 0 ;
8759 PyObject * obj1 = 0 ;
8760 PyObject * obj2 = 0 ;
8761 char *kwnames[] = {
8762 (char *) "self",(char *) "item",(char *) "select", NULL
8763 };
8764
8765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8767 arg2 = (size_t) PyInt_AsLong(obj1);
8768 if (PyErr_Occurred()) SWIG_fail;
8769 if (obj2) {
8770 arg3 = PyInt_AsLong(obj2) ? true : false;
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 {
8774 PyThreadState* __tstate = wxPyBeginAllowThreads();
8775 result = (bool)(arg1)->Select(arg2,arg3);
8776
8777 wxPyEndAllowThreads(__tstate);
8778 if (PyErr_Occurred()) SWIG_fail;
8779 }
8780 resultobj = PyInt_FromLong((long)result);
8781 return resultobj;
8782 fail:
8783 return NULL;
8784}
8785
8786
8787static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8788 PyObject *resultobj;
8789 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8790 size_t arg2 ;
8791 size_t arg3 ;
8792 bool result;
8793 PyObject * obj0 = 0 ;
8794 PyObject * obj1 = 0 ;
8795 PyObject * obj2 = 0 ;
8796 char *kwnames[] = {
8797 (char *) "self",(char *) "from",(char *) "to", NULL
8798 };
8799
8800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8802 arg2 = (size_t) PyInt_AsLong(obj1);
8803 if (PyErr_Occurred()) SWIG_fail;
8804 arg3 = (size_t) PyInt_AsLong(obj2);
8805 if (PyErr_Occurred()) SWIG_fail;
8806 {
8807 PyThreadState* __tstate = wxPyBeginAllowThreads();
8808 result = (bool)(arg1)->SelectRange(arg2,arg3);
8809
8810 wxPyEndAllowThreads(__tstate);
8811 if (PyErr_Occurred()) SWIG_fail;
8812 }
8813 resultobj = PyInt_FromLong((long)result);
8814 return resultobj;
8815 fail:
8816 return NULL;
8817}
8818
8819
8820static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8821 PyObject *resultobj;
8822 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8823 size_t arg2 ;
8824 PyObject * obj0 = 0 ;
8825 PyObject * obj1 = 0 ;
8826 char *kwnames[] = {
8827 (char *) "self",(char *) "item", NULL
8828 };
8829
8830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8832 arg2 = (size_t) PyInt_AsLong(obj1);
8833 if (PyErr_Occurred()) SWIG_fail;
8834 {
8835 PyThreadState* __tstate = wxPyBeginAllowThreads();
8836 (arg1)->Toggle(arg2);
8837
8838 wxPyEndAllowThreads(__tstate);
8839 if (PyErr_Occurred()) SWIG_fail;
8840 }
8841 Py_INCREF(Py_None); resultobj = Py_None;
8842 return resultobj;
8843 fail:
8844 return NULL;
8845}
8846
8847
8848static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8849 PyObject *resultobj;
8850 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8851 bool result;
8852 PyObject * obj0 = 0 ;
8853 char *kwnames[] = {
8854 (char *) "self", NULL
8855 };
8856
8857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8859 {
8860 PyThreadState* __tstate = wxPyBeginAllowThreads();
8861 result = (bool)(arg1)->SelectAll();
8862
8863 wxPyEndAllowThreads(__tstate);
8864 if (PyErr_Occurred()) SWIG_fail;
8865 }
8866 resultobj = PyInt_FromLong((long)result);
8867 return resultobj;
8868 fail:
8869 return NULL;
8870}
8871
8872
8873static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8874 PyObject *resultobj;
8875 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8876 bool result;
8877 PyObject * obj0 = 0 ;
8878 char *kwnames[] = {
8879 (char *) "self", NULL
8880 };
8881
8882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
8883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8884 {
8885 PyThreadState* __tstate = wxPyBeginAllowThreads();
8886 result = (bool)(arg1)->DeselectAll();
8887
8888 wxPyEndAllowThreads(__tstate);
8889 if (PyErr_Occurred()) SWIG_fail;
8890 }
8891 resultobj = PyInt_FromLong((long)result);
8892 return resultobj;
8893 fail:
8894 return NULL;
8895}
8896
8897
8898static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8899 PyObject *resultobj;
8900 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8901 wxPoint *arg2 = 0 ;
8902 wxPoint temp2 ;
8903 PyObject * obj0 = 0 ;
8904 PyObject * obj1 = 0 ;
8905 char *kwnames[] = {
8906 (char *) "self",(char *) "pt", NULL
8907 };
8908
8909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
8910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8911 {
8912 arg2 = &temp2;
8913 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8914 }
8915 {
8916 PyThreadState* __tstate = wxPyBeginAllowThreads();
8917 (arg1)->SetMargins((wxPoint const &)*arg2);
8918
8919 wxPyEndAllowThreads(__tstate);
8920 if (PyErr_Occurred()) SWIG_fail;
8921 }
8922 Py_INCREF(Py_None); resultobj = Py_None;
8923 return resultobj;
8924 fail:
8925 return NULL;
8926}
8927
8928
8929static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8930 PyObject *resultobj;
8931 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
423f194a
RD
8932 int arg2 ;
8933 int arg3 ;
d14a1e28
RD
8934 PyObject * obj0 = 0 ;
8935 char *kwnames[] = {
8936 (char *) "self",(char *) "x",(char *) "y", NULL
8937 };
8938
8939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
8940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 (arg1)->SetMargins(arg2,arg3);
8944
8945 wxPyEndAllowThreads(__tstate);
8946 if (PyErr_Occurred()) SWIG_fail;
8947 }
8948 Py_INCREF(Py_None); resultobj = Py_None;
8949 return resultobj;
8950 fail:
8951 return NULL;
8952}
8953
8954
8955static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8956 PyObject *resultobj;
8957 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8958 wxColour *arg2 = 0 ;
8959 wxColour temp2 ;
8960 PyObject * obj0 = 0 ;
8961 PyObject * obj1 = 0 ;
8962 char *kwnames[] = {
8963 (char *) "self",(char *) "col", NULL
8964 };
8965
8966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
8967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8968 {
8969 arg2 = &temp2;
8970 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8971 }
8972 {
8973 PyThreadState* __tstate = wxPyBeginAllowThreads();
8974 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
8975
8976 wxPyEndAllowThreads(__tstate);
8977 if (PyErr_Occurred()) SWIG_fail;
8978 }
8979 Py_INCREF(Py_None); resultobj = Py_None;
8980 return resultobj;
8981 fail:
8982 return NULL;
8983}
8984
8985
8986static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
8987 PyObject *obj;
8988 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8989 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
8990 Py_INCREF(obj);
8991 return Py_BuildValue((char *)"");
8992}
8993static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8994 PyObject *resultobj;
8995 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 8996 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
8997 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8998 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8999 wxSize const &arg4_defvalue = wxDefaultSize ;
9000 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9001 long arg5 = (long) 0 ;
9002 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9003 wxString *arg6 = (wxString *) &arg6_defvalue ;
9004 wxPyHtmlListBox *result;
9005 wxPoint temp3 ;
9006 wxSize temp4 ;
423f194a 9007 bool temp6 = False ;
d14a1e28
RD
9008 PyObject * obj0 = 0 ;
9009 PyObject * obj2 = 0 ;
9010 PyObject * obj3 = 0 ;
9011 PyObject * obj5 = 0 ;
9012 char *kwnames[] = {
9013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9014 };
9015
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9018 if (obj2) {
9019 {
9020 arg3 = &temp3;
9021 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9022 }
9023 }
9024 if (obj3) {
9025 {
9026 arg4 = &temp4;
9027 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9028 }
9029 }
9030 if (obj5) {
9031 {
9032 arg6 = wxString_in_helper(obj5);
9033 if (arg6 == NULL) SWIG_fail;
423f194a 9034 temp6 = True;
d14a1e28
RD
9035 }
9036 }
9037 {
9038 PyThreadState* __tstate = wxPyBeginAllowThreads();
9039 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9040
9041 wxPyEndAllowThreads(__tstate);
9042 if (PyErr_Occurred()) SWIG_fail;
9043 }
9044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9045 {
9046 if (temp6)
9047 delete arg6;
9048 }
9049 return resultobj;
9050 fail:
9051 {
9052 if (temp6)
9053 delete arg6;
9054 }
9055 return NULL;
9056}
9057
9058
9059static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9060 PyObject *resultobj;
9061 wxPyHtmlListBox *result;
9062 char *kwnames[] = {
9063 NULL
9064 };
9065
9066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9067 {
9068 PyThreadState* __tstate = wxPyBeginAllowThreads();
9069 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9070
9071 wxPyEndAllowThreads(__tstate);
9072 if (PyErr_Occurred()) SWIG_fail;
9073 }
9074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9075 return resultobj;
9076 fail:
9077 return NULL;
9078}
9079
9080
9081static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9082 PyObject *resultobj;
9083 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9084 PyObject *arg2 = (PyObject *) 0 ;
9085 PyObject *arg3 = (PyObject *) 0 ;
9086 PyObject * obj0 = 0 ;
9087 PyObject * obj1 = 0 ;
9088 PyObject * obj2 = 0 ;
9089 char *kwnames[] = {
9090 (char *) "self",(char *) "self",(char *) "_class", NULL
9091 };
9092
9093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9095 arg2 = obj1;
9096 arg3 = obj2;
9097 {
9098 PyThreadState* __tstate = wxPyBeginAllowThreads();
9099 (arg1)->_setCallbackInfo(arg2,arg3);
9100
9101 wxPyEndAllowThreads(__tstate);
9102 if (PyErr_Occurred()) SWIG_fail;
9103 }
9104 Py_INCREF(Py_None); resultobj = Py_None;
9105 return resultobj;
9106 fail:
9107 return NULL;
9108}
9109
9110
9111static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9112 PyObject *resultobj;
9113 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9114 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 9115 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
9116 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9117 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9118 wxSize const &arg5_defvalue = wxDefaultSize ;
9119 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9120 long arg6 = (long) 0 ;
9121 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9122 wxString *arg7 = (wxString *) &arg7_defvalue ;
9123 bool result;
9124 wxPoint temp4 ;
9125 wxSize temp5 ;
423f194a 9126 bool temp7 = False ;
d14a1e28
RD
9127 PyObject * obj0 = 0 ;
9128 PyObject * obj1 = 0 ;
9129 PyObject * obj3 = 0 ;
9130 PyObject * obj4 = 0 ;
9131 PyObject * obj6 = 0 ;
9132 char *kwnames[] = {
9133 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9134 };
9135
9136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9138 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9139 if (obj3) {
9140 {
9141 arg4 = &temp4;
9142 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9143 }
9144 }
9145 if (obj4) {
9146 {
9147 arg5 = &temp5;
9148 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9149 }
9150 }
9151 if (obj6) {
9152 {
9153 arg7 = wxString_in_helper(obj6);
9154 if (arg7 == NULL) SWIG_fail;
423f194a 9155 temp7 = True;
d14a1e28
RD
9156 }
9157 }
9158 {
9159 PyThreadState* __tstate = wxPyBeginAllowThreads();
9160 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9161
9162 wxPyEndAllowThreads(__tstate);
9163 if (PyErr_Occurred()) SWIG_fail;
9164 }
9165 resultobj = PyInt_FromLong((long)result);
9166 {
9167 if (temp7)
9168 delete arg7;
9169 }
9170 return resultobj;
9171 fail:
9172 {
9173 if (temp7)
9174 delete arg7;
9175 }
9176 return NULL;
9177}
9178
9179
9180static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9181 PyObject *resultobj;
9182 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9183 PyObject * obj0 = 0 ;
9184 char *kwnames[] = {
9185 (char *) "self", NULL
9186 };
9187
9188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9190 {
9191 PyThreadState* __tstate = wxPyBeginAllowThreads();
9192 (arg1)->RefreshAll();
9193
9194 wxPyEndAllowThreads(__tstate);
9195 if (PyErr_Occurred()) SWIG_fail;
9196 }
9197 Py_INCREF(Py_None); resultobj = Py_None;
9198 return resultobj;
9199 fail:
9200 return NULL;
9201}
9202
9203
9204static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9205 PyObject *resultobj;
9206 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9207 size_t arg2 ;
9208 PyObject * obj0 = 0 ;
9209 PyObject * obj1 = 0 ;
9210 char *kwnames[] = {
9211 (char *) "self",(char *) "count", NULL
9212 };
9213
9214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9216 arg2 = (size_t) PyInt_AsLong(obj1);
9217 if (PyErr_Occurred()) SWIG_fail;
9218 {
9219 PyThreadState* __tstate = wxPyBeginAllowThreads();
9220 (arg1)->SetItemCount(arg2);
9221
9222 wxPyEndAllowThreads(__tstate);
9223 if (PyErr_Occurred()) SWIG_fail;
9224 }
9225 Py_INCREF(Py_None); resultobj = Py_None;
9226 return resultobj;
9227 fail:
9228 return NULL;
9229}
9230
9231
9232static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9233 PyObject *obj;
9234 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9235 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9236 Py_INCREF(obj);
9237 return Py_BuildValue((char *)"");
9238}
9239static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9240 PyObject *resultobj;
9241 wxTaskBarIcon *result;
9242 char *kwnames[] = {
9243 NULL
9244 };
9245
9246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9247 {
9248 PyThreadState* __tstate = wxPyBeginAllowThreads();
9249 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9250
9251 wxPyEndAllowThreads(__tstate);
9252 if (PyErr_Occurred()) SWIG_fail;
9253 }
9254 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9255 return resultobj;
9256 fail:
9257 return NULL;
9258}
9259
9260
9261static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9262 PyObject *resultobj;
9263 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9264 PyObject * obj0 = 0 ;
9265 char *kwnames[] = {
9266 (char *) "self", NULL
9267 };
9268
9269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9271 {
9272 PyThreadState* __tstate = wxPyBeginAllowThreads();
9273 delete arg1;
9274
9275 wxPyEndAllowThreads(__tstate);
9276 if (PyErr_Occurred()) SWIG_fail;
9277 }
9278 Py_INCREF(Py_None); resultobj = Py_None;
9279 return resultobj;
9280 fail:
9281 return NULL;
9282}
9283
9284
9285static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9286 PyObject *resultobj;
9287 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9288 bool result;
9289 PyObject * obj0 = 0 ;
9290 char *kwnames[] = {
9291 (char *) "self", NULL
9292 };
9293
9294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9296 {
9297 PyThreadState* __tstate = wxPyBeginAllowThreads();
9298 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9299
9300 wxPyEndAllowThreads(__tstate);
9301 if (PyErr_Occurred()) SWIG_fail;
9302 }
9303 resultobj = PyInt_FromLong((long)result);
9304 return resultobj;
9305 fail:
9306 return NULL;
9307}
9308
9309
9310static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9311 PyObject *resultobj;
9312 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9313 bool result;
9314 PyObject * obj0 = 0 ;
9315 char *kwnames[] = {
9316 (char *) "self", NULL
9317 };
9318
9319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9321 {
9322 PyThreadState* __tstate = wxPyBeginAllowThreads();
9323 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9324
9325 wxPyEndAllowThreads(__tstate);
9326 if (PyErr_Occurred()) SWIG_fail;
9327 }
9328 resultobj = PyInt_FromLong((long)result);
9329 return resultobj;
9330 fail:
9331 return NULL;
9332}
9333
9334
9335static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9336 PyObject *resultobj;
9337 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9338 wxIcon *arg2 = 0 ;
9339 wxString const &arg3_defvalue = wxPyEmptyString ;
9340 wxString *arg3 = (wxString *) &arg3_defvalue ;
9341 bool result;
423f194a 9342 bool temp3 = False ;
d14a1e28
RD
9343 PyObject * obj0 = 0 ;
9344 PyObject * obj1 = 0 ;
9345 PyObject * obj2 = 0 ;
9346 char *kwnames[] = {
9347 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9348 };
9349
9350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9352 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9353 if (arg2 == NULL) {
9354 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9355 }
9356 if (obj2) {
9357 {
9358 arg3 = wxString_in_helper(obj2);
9359 if (arg3 == NULL) SWIG_fail;
423f194a 9360 temp3 = True;
d14a1e28
RD
9361 }
9362 }
9363 {
9364 PyThreadState* __tstate = wxPyBeginAllowThreads();
9365 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9366
9367 wxPyEndAllowThreads(__tstate);
9368 if (PyErr_Occurred()) SWIG_fail;
9369 }
9370 resultobj = PyInt_FromLong((long)result);
9371 {
9372 if (temp3)
9373 delete arg3;
9374 }
9375 return resultobj;
9376 fail:
9377 {
9378 if (temp3)
9379 delete arg3;
9380 }
9381 return NULL;
9382}
9383
9384
9385static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9386 PyObject *resultobj;
9387 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9388 bool result;
9389 PyObject * obj0 = 0 ;
9390 char *kwnames[] = {
9391 (char *) "self", NULL
9392 };
9393
9394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9396 {
9397 PyThreadState* __tstate = wxPyBeginAllowThreads();
9398 result = (bool)(arg1)->RemoveIcon();
9399
9400 wxPyEndAllowThreads(__tstate);
9401 if (PyErr_Occurred()) SWIG_fail;
9402 }
9403 resultobj = PyInt_FromLong((long)result);
9404 return resultobj;
9405 fail:
9406 return NULL;
9407}
9408
9409
9410static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9411 PyObject *resultobj;
9412 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9413 wxMenu *arg2 = (wxMenu *) 0 ;
9414 bool result;
9415 PyObject * obj0 = 0 ;
9416 PyObject * obj1 = 0 ;
9417 char *kwnames[] = {
9418 (char *) "self",(char *) "menu", NULL
9419 };
9420
9421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9423 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9424 {
9425 PyThreadState* __tstate = wxPyBeginAllowThreads();
9426 result = (bool)(arg1)->PopupMenu(arg2);
9427
9428 wxPyEndAllowThreads(__tstate);
9429 if (PyErr_Occurred()) SWIG_fail;
9430 }
9431 resultobj = PyInt_FromLong((long)result);
9432 return resultobj;
9433 fail:
9434 return NULL;
9435}
9436
9437
9438static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9439 PyObject *obj;
9440 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9441 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9442 Py_INCREF(obj);
9443 return Py_BuildValue((char *)"");
9444}
9445static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9446 PyObject *resultobj;
9447 wxEventType arg1 ;
9448 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9449 wxTaskBarIconEvent *result;
9450 PyObject * obj1 = 0 ;
9451 char *kwnames[] = {
9452 (char *) "evtType",(char *) "tbIcon", NULL
9453 };
9454
9455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9456 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9465 return resultobj;
9466 fail:
9467 return NULL;
9468}
9469
9470
9471static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9472 PyObject *obj;
9473 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9474 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9475 Py_INCREF(obj);
9476 return Py_BuildValue((char *)"");
9477}
9478static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9479 PyObject *resultobj;
9480 wxColourData *result;
9481 char *kwnames[] = {
9482 NULL
9483 };
9484
9485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9486 {
9487 PyThreadState* __tstate = wxPyBeginAllowThreads();
9488 result = (wxColourData *)new wxColourData();
9489
9490 wxPyEndAllowThreads(__tstate);
9491 if (PyErr_Occurred()) SWIG_fail;
9492 }
9493 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9494 return resultobj;
9495 fail:
9496 return NULL;
9497}
9498
9499
9500static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9501 PyObject *resultobj;
9502 wxColourData *arg1 = (wxColourData *) 0 ;
9503 PyObject * obj0 = 0 ;
9504 char *kwnames[] = {
9505 (char *) "self", NULL
9506 };
9507
9508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9510 {
9511 PyThreadState* __tstate = wxPyBeginAllowThreads();
9512 delete arg1;
9513
9514 wxPyEndAllowThreads(__tstate);
9515 if (PyErr_Occurred()) SWIG_fail;
9516 }
9517 Py_INCREF(Py_None); resultobj = Py_None;
9518 return resultobj;
9519 fail:
9520 return NULL;
9521}
9522
9523
9524static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9525 PyObject *resultobj;
9526 wxColourData *arg1 = (wxColourData *) 0 ;
9527 bool result;
9528 PyObject * obj0 = 0 ;
9529 char *kwnames[] = {
9530 (char *) "self", NULL
9531 };
9532
9533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9535 {
9536 PyThreadState* __tstate = wxPyBeginAllowThreads();
9537 result = (bool)(arg1)->GetChooseFull();
9538
9539 wxPyEndAllowThreads(__tstate);
9540 if (PyErr_Occurred()) SWIG_fail;
9541 }
9542 resultobj = PyInt_FromLong((long)result);
9543 return resultobj;
9544 fail:
9545 return NULL;
9546}
9547
9548
9549static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9550 PyObject *resultobj;
9551 wxColourData *arg1 = (wxColourData *) 0 ;
9552 wxColour result;
9553 PyObject * obj0 = 0 ;
9554 char *kwnames[] = {
9555 (char *) "self", NULL
9556 };
9557
9558 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9559 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9560 {
9561 PyThreadState* __tstate = wxPyBeginAllowThreads();
9562 result = (arg1)->GetColour();
9563
9564 wxPyEndAllowThreads(__tstate);
9565 if (PyErr_Occurred()) SWIG_fail;
9566 }
9567 {
9568 wxColour * resultptr;
9569 resultptr = new wxColour((wxColour &) result);
9570 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9571 }
9572 return resultobj;
9573 fail:
9574 return NULL;
9575}
9576
9577
9578static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9579 PyObject *resultobj;
9580 wxColourData *arg1 = (wxColourData *) 0 ;
9581 int arg2 ;
9582 wxColour result;
9583 PyObject * obj0 = 0 ;
9584 char *kwnames[] = {
9585 (char *) "self",(char *) "i", NULL
9586 };
9587
9588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9590 {
9591 PyThreadState* __tstate = wxPyBeginAllowThreads();
9592 result = (arg1)->GetCustomColour(arg2);
9593
9594 wxPyEndAllowThreads(__tstate);
9595 if (PyErr_Occurred()) SWIG_fail;
9596 }
9597 {
9598 wxColour * resultptr;
9599 resultptr = new wxColour((wxColour &) result);
9600 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9601 }
9602 return resultobj;
9603 fail:
9604 return NULL;
9605}
9606
9607
9608static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9609 PyObject *resultobj;
9610 wxColourData *arg1 = (wxColourData *) 0 ;
9611 int arg2 ;
9612 PyObject * obj0 = 0 ;
9613 char *kwnames[] = {
9614 (char *) "self",(char *) "flag", NULL
9615 };
9616
9617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9619 {
9620 PyThreadState* __tstate = wxPyBeginAllowThreads();
9621 (arg1)->SetChooseFull(arg2);
9622
9623 wxPyEndAllowThreads(__tstate);
9624 if (PyErr_Occurred()) SWIG_fail;
9625 }
9626 Py_INCREF(Py_None); resultobj = Py_None;
9627 return resultobj;
9628 fail:
9629 return NULL;
9630}
9631
9632
9633static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9634 PyObject *resultobj;
9635 wxColourData *arg1 = (wxColourData *) 0 ;
9636 wxColour *arg2 = 0 ;
9637 wxColour temp2 ;
9638 PyObject * obj0 = 0 ;
9639 PyObject * obj1 = 0 ;
9640 char *kwnames[] = {
9641 (char *) "self",(char *) "colour", NULL
9642 };
9643
9644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9646 {
9647 arg2 = &temp2;
9648 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9649 }
9650 {
9651 PyThreadState* __tstate = wxPyBeginAllowThreads();
9652 (arg1)->SetColour((wxColour const &)*arg2);
9653
9654 wxPyEndAllowThreads(__tstate);
9655 if (PyErr_Occurred()) SWIG_fail;
9656 }
9657 Py_INCREF(Py_None); resultobj = Py_None;
9658 return resultobj;
9659 fail:
9660 return NULL;
9661}
9662
9663
9664static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9665 PyObject *resultobj;
9666 wxColourData *arg1 = (wxColourData *) 0 ;
9667 int arg2 ;
9668 wxColour *arg3 = 0 ;
9669 wxColour temp3 ;
9670 PyObject * obj0 = 0 ;
9671 PyObject * obj2 = 0 ;
9672 char *kwnames[] = {
9673 (char *) "self",(char *) "i",(char *) "colour", NULL
9674 };
9675
9676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9678 {
9679 arg3 = &temp3;
9680 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9681 }
9682 {
9683 PyThreadState* __tstate = wxPyBeginAllowThreads();
9684 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9685
9686 wxPyEndAllowThreads(__tstate);
9687 if (PyErr_Occurred()) SWIG_fail;
9688 }
9689 Py_INCREF(Py_None); resultobj = Py_None;
9690 return resultobj;
9691 fail:
9692 return NULL;
9693}
9694
9695
9696static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9697 PyObject *obj;
9698 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9699 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9700 Py_INCREF(obj);
9701 return Py_BuildValue((char *)"");
9702}
9703static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9704 PyObject *resultobj;
9705 wxWindow *arg1 = (wxWindow *) 0 ;
9706 wxColourData *arg2 = (wxColourData *) NULL ;
9707 wxColourDialog *result;
9708 PyObject * obj0 = 0 ;
9709 PyObject * obj1 = 0 ;
9710 char *kwnames[] = {
9711 (char *) "parent",(char *) "data", NULL
9712 };
9713
9714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9716 if (obj1) {
9717 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9718 }
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
9726 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9727 return resultobj;
9728 fail:
9729 return NULL;
9730}
9731
9732
9733static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9734 PyObject *resultobj;
9735 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9736 wxColourData *result;
9737 PyObject * obj0 = 0 ;
9738 char *kwnames[] = {
9739 (char *) "self", NULL
9740 };
9741
9742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9744 {
9745 PyThreadState* __tstate = wxPyBeginAllowThreads();
9746 {
9747 wxColourData &_result_ref = (arg1)->GetColourData();
9748 result = (wxColourData *) &_result_ref;
9749 }
9750
9751 wxPyEndAllowThreads(__tstate);
9752 if (PyErr_Occurred()) SWIG_fail;
9753 }
9754 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9755 return resultobj;
9756 fail:
9757 return NULL;
9758}
9759
9760
9761static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9762 PyObject *resultobj;
9763 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9764 int result;
9765 PyObject * obj0 = 0 ;
9766 char *kwnames[] = {
9767 (char *) "self", NULL
9768 };
9769
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9772 {
9773 PyThreadState* __tstate = wxPyBeginAllowThreads();
9774 result = (int)(arg1)->ShowModal();
9775
9776 wxPyEndAllowThreads(__tstate);
9777 if (PyErr_Occurred()) SWIG_fail;
9778 }
9779 resultobj = PyInt_FromLong((long)result);
9780 return resultobj;
9781 fail:
9782 return NULL;
9783}
9784
9785
9786static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9787 PyObject *obj;
9788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9789 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9790 Py_INCREF(obj);
9791 return Py_BuildValue((char *)"");
9792}
9793static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9794 PyObject *resultobj;
9795 wxWindow *arg1 = (wxWindow *) 0 ;
9796 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9797 wxString *arg2 = (wxString *) &arg2_defvalue ;
9798 wxString const &arg3_defvalue = wxPyEmptyString ;
9799 wxString *arg3 = (wxString *) &arg3_defvalue ;
9800 long arg4 = (long) 0 ;
9801 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9802 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9803 wxSize const &arg6_defvalue = wxDefaultSize ;
9804 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9805 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9806 wxString *arg7 = (wxString *) &arg7_defvalue ;
9807 wxDirDialog *result;
423f194a
RD
9808 bool temp2 = False ;
9809 bool temp3 = False ;
d14a1e28
RD
9810 wxPoint temp5 ;
9811 wxSize temp6 ;
423f194a 9812 bool temp7 = False ;
d14a1e28
RD
9813 PyObject * obj0 = 0 ;
9814 PyObject * obj1 = 0 ;
9815 PyObject * obj2 = 0 ;
9816 PyObject * obj4 = 0 ;
9817 PyObject * obj5 = 0 ;
9818 PyObject * obj6 = 0 ;
9819 char *kwnames[] = {
9820 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9821 };
9822
9823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9825 if (obj1) {
9826 {
9827 arg2 = wxString_in_helper(obj1);
9828 if (arg2 == NULL) SWIG_fail;
423f194a 9829 temp2 = True;
d14a1e28
RD
9830 }
9831 }
9832 if (obj2) {
9833 {
9834 arg3 = wxString_in_helper(obj2);
9835 if (arg3 == NULL) SWIG_fail;
423f194a 9836 temp3 = True;
d14a1e28
RD
9837 }
9838 }
9839 if (obj4) {
9840 {
9841 arg5 = &temp5;
9842 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9843 }
9844 }
9845 if (obj5) {
9846 {
9847 arg6 = &temp6;
9848 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9849 }
9850 }
9851 if (obj6) {
9852 {
9853 arg7 = wxString_in_helper(obj6);
9854 if (arg7 == NULL) SWIG_fail;
423f194a 9855 temp7 = True;
d14a1e28
RD
9856 }
9857 }
9858 {
9859 PyThreadState* __tstate = wxPyBeginAllowThreads();
9860 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
9861
9862 wxPyEndAllowThreads(__tstate);
9863 if (PyErr_Occurred()) SWIG_fail;
9864 }
9865 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
9866 {
9867 if (temp2)
9868 delete arg2;
9869 }
9870 {
9871 if (temp3)
9872 delete arg3;
9873 }
9874 {
9875 if (temp7)
9876 delete arg7;
9877 }
9878 return resultobj;
9879 fail:
9880 {
9881 if (temp2)
9882 delete arg2;
9883 }
9884 {
9885 if (temp3)
9886 delete arg3;
9887 }
9888 {
9889 if (temp7)
9890 delete arg7;
9891 }
9892 return NULL;
9893}
9894
9895
9896static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9897 PyObject *resultobj;
9898 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9899 wxString result;
9900 PyObject * obj0 = 0 ;
9901 char *kwnames[] = {
9902 (char *) "self", NULL
9903 };
9904
9905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
9906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9907 {
9908 PyThreadState* __tstate = wxPyBeginAllowThreads();
9909 result = (arg1)->GetPath();
9910
9911 wxPyEndAllowThreads(__tstate);
9912 if (PyErr_Occurred()) SWIG_fail;
9913 }
9914 {
9915#if wxUSE_UNICODE
9916 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9917#else
9918 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9919#endif
9920 }
9921 return resultobj;
9922 fail:
9923 return NULL;
9924}
9925
9926
9927static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9928 PyObject *resultobj;
9929 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9930 wxString result;
9931 PyObject * obj0 = 0 ;
9932 char *kwnames[] = {
9933 (char *) "self", NULL
9934 };
9935
9936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
9937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9938 {
9939 PyThreadState* __tstate = wxPyBeginAllowThreads();
9940 result = (arg1)->GetMessage();
9941
9942 wxPyEndAllowThreads(__tstate);
9943 if (PyErr_Occurred()) SWIG_fail;
9944 }
9945 {
9946#if wxUSE_UNICODE
9947 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9948#else
9949 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9950#endif
9951 }
9952 return resultobj;
9953 fail:
9954 return NULL;
9955}
9956
9957
9958static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9959 PyObject *resultobj;
9960 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9961 long result;
9962 PyObject * obj0 = 0 ;
9963 char *kwnames[] = {
9964 (char *) "self", NULL
9965 };
9966
9967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
9968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9969 {
9970 PyThreadState* __tstate = wxPyBeginAllowThreads();
9971 result = (long)(arg1)->GetStyle();
9972
9973 wxPyEndAllowThreads(__tstate);
9974 if (PyErr_Occurred()) SWIG_fail;
9975 }
9976 resultobj = PyInt_FromLong((long)result);
9977 return resultobj;
9978 fail:
9979 return NULL;
9980}
9981
9982
9983static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9984 PyObject *resultobj;
9985 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9986 wxString *arg2 = 0 ;
423f194a 9987 bool temp2 = False ;
d14a1e28
RD
9988 PyObject * obj0 = 0 ;
9989 PyObject * obj1 = 0 ;
9990 char *kwnames[] = {
9991 (char *) "self",(char *) "message", NULL
9992 };
9993
9994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
9995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9996 {
9997 arg2 = wxString_in_helper(obj1);
9998 if (arg2 == NULL) SWIG_fail;
423f194a 9999 temp2 = True;
d14a1e28
RD
10000 }
10001 {
10002 PyThreadState* __tstate = wxPyBeginAllowThreads();
10003 (arg1)->SetMessage((wxString const &)*arg2);
10004
10005 wxPyEndAllowThreads(__tstate);
10006 if (PyErr_Occurred()) SWIG_fail;
10007 }
10008 Py_INCREF(Py_None); resultobj = Py_None;
10009 {
10010 if (temp2)
10011 delete arg2;
10012 }
10013 return resultobj;
10014 fail:
10015 {
10016 if (temp2)
10017 delete arg2;
10018 }
10019 return NULL;
10020}
10021
10022
10023static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10024 PyObject *resultobj;
10025 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10026 wxString *arg2 = 0 ;
423f194a 10027 bool temp2 = False ;
d14a1e28
RD
10028 PyObject * obj0 = 0 ;
10029 PyObject * obj1 = 0 ;
10030 char *kwnames[] = {
10031 (char *) "self",(char *) "path", NULL
10032 };
10033
10034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10036 {
10037 arg2 = wxString_in_helper(obj1);
10038 if (arg2 == NULL) SWIG_fail;
423f194a 10039 temp2 = True;
d14a1e28
RD
10040 }
10041 {
10042 PyThreadState* __tstate = wxPyBeginAllowThreads();
10043 (arg1)->SetPath((wxString const &)*arg2);
10044
10045 wxPyEndAllowThreads(__tstate);
10046 if (PyErr_Occurred()) SWIG_fail;
10047 }
10048 Py_INCREF(Py_None); resultobj = Py_None;
10049 {
10050 if (temp2)
10051 delete arg2;
10052 }
10053 return resultobj;
10054 fail:
10055 {
10056 if (temp2)
10057 delete arg2;
10058 }
10059 return NULL;
10060}
10061
10062
10063static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10064 PyObject *resultobj;
10065 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10066 int result;
10067 PyObject * obj0 = 0 ;
10068 char *kwnames[] = {
10069 (char *) "self", NULL
10070 };
10071
10072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10074 {
10075 PyThreadState* __tstate = wxPyBeginAllowThreads();
10076 result = (int)(arg1)->ShowModal();
10077
10078 wxPyEndAllowThreads(__tstate);
10079 if (PyErr_Occurred()) SWIG_fail;
10080 }
10081 resultobj = PyInt_FromLong((long)result);
10082 return resultobj;
10083 fail:
10084 return NULL;
10085}
10086
10087
10088static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10089 PyObject *obj;
10090 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10091 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10092 Py_INCREF(obj);
10093 return Py_BuildValue((char *)"");
10094}
10095static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10096 PyObject *resultobj;
10097 wxWindow *arg1 = (wxWindow *) 0 ;
10098 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10099 wxString *arg2 = (wxString *) &arg2_defvalue ;
10100 wxString const &arg3_defvalue = wxPyEmptyString ;
10101 wxString *arg3 = (wxString *) &arg3_defvalue ;
10102 wxString const &arg4_defvalue = wxPyEmptyString ;
10103 wxString *arg4 = (wxString *) &arg4_defvalue ;
10104 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10105 wxString *arg5 = (wxString *) &arg5_defvalue ;
10106 long arg6 = (long) 0 ;
10107 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10108 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10109 wxFileDialog *result;
423f194a
RD
10110 bool temp2 = False ;
10111 bool temp3 = False ;
10112 bool temp4 = False ;
10113 bool temp5 = False ;
d14a1e28
RD
10114 wxPoint temp7 ;
10115 PyObject * obj0 = 0 ;
10116 PyObject * obj1 = 0 ;
10117 PyObject * obj2 = 0 ;
10118 PyObject * obj3 = 0 ;
10119 PyObject * obj4 = 0 ;
10120 PyObject * obj6 = 0 ;
10121 char *kwnames[] = {
10122 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10123 };
10124
10125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10127 if (obj1) {
10128 {
10129 arg2 = wxString_in_helper(obj1);
10130 if (arg2 == NULL) SWIG_fail;
423f194a 10131 temp2 = True;
d14a1e28
RD
10132 }
10133 }
10134 if (obj2) {
10135 {
10136 arg3 = wxString_in_helper(obj2);
10137 if (arg3 == NULL) SWIG_fail;
423f194a 10138 temp3 = True;
d14a1e28
RD
10139 }
10140 }
10141 if (obj3) {
10142 {
10143 arg4 = wxString_in_helper(obj3);
10144 if (arg4 == NULL) SWIG_fail;
423f194a 10145 temp4 = True;
d14a1e28
RD
10146 }
10147 }
10148 if (obj4) {
10149 {
10150 arg5 = wxString_in_helper(obj4);
10151 if (arg5 == NULL) SWIG_fail;
423f194a 10152 temp5 = True;
d14a1e28
RD
10153 }
10154 }
10155 if (obj6) {
10156 {
10157 arg7 = &temp7;
10158 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10159 }
10160 }
10161 {
10162 PyThreadState* __tstate = wxPyBeginAllowThreads();
10163 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10164
10165 wxPyEndAllowThreads(__tstate);
10166 if (PyErr_Occurred()) SWIG_fail;
10167 }
10168 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10169 {
10170 if (temp2)
10171 delete arg2;
10172 }
10173 {
10174 if (temp3)
10175 delete arg3;
10176 }
10177 {
10178 if (temp4)
10179 delete arg4;
10180 }
10181 {
10182 if (temp5)
10183 delete arg5;
10184 }
10185 return resultobj;
10186 fail:
10187 {
10188 if (temp2)
10189 delete arg2;
10190 }
10191 {
10192 if (temp3)
10193 delete arg3;
10194 }
10195 {
10196 if (temp4)
10197 delete arg4;
10198 }
10199 {
10200 if (temp5)
10201 delete arg5;
10202 }
10203 return NULL;
10204}
10205
10206
10207static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10208 PyObject *resultobj;
10209 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10210 wxString *arg2 = 0 ;
423f194a 10211 bool temp2 = False ;
d14a1e28
RD
10212 PyObject * obj0 = 0 ;
10213 PyObject * obj1 = 0 ;
10214 char *kwnames[] = {
10215 (char *) "self",(char *) "message", NULL
10216 };
10217
10218 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10219 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10220 {
10221 arg2 = wxString_in_helper(obj1);
10222 if (arg2 == NULL) SWIG_fail;
423f194a 10223 temp2 = True;
d14a1e28
RD
10224 }
10225 {
10226 PyThreadState* __tstate = wxPyBeginAllowThreads();
10227 (arg1)->SetMessage((wxString const &)*arg2);
10228
10229 wxPyEndAllowThreads(__tstate);
10230 if (PyErr_Occurred()) SWIG_fail;
10231 }
10232 Py_INCREF(Py_None); resultobj = Py_None;
10233 {
10234 if (temp2)
10235 delete arg2;
10236 }
10237 return resultobj;
10238 fail:
10239 {
10240 if (temp2)
10241 delete arg2;
10242 }
10243 return NULL;
10244}
10245
10246
10247static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10248 PyObject *resultobj;
10249 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10250 wxString *arg2 = 0 ;
423f194a 10251 bool temp2 = False ;
d14a1e28
RD
10252 PyObject * obj0 = 0 ;
10253 PyObject * obj1 = 0 ;
10254 char *kwnames[] = {
10255 (char *) "self",(char *) "path", NULL
10256 };
10257
10258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10260 {
10261 arg2 = wxString_in_helper(obj1);
10262 if (arg2 == NULL) SWIG_fail;
423f194a 10263 temp2 = True;
d14a1e28
RD
10264 }
10265 {
10266 PyThreadState* __tstate = wxPyBeginAllowThreads();
10267 (arg1)->SetPath((wxString const &)*arg2);
10268
10269 wxPyEndAllowThreads(__tstate);
10270 if (PyErr_Occurred()) SWIG_fail;
10271 }
10272 Py_INCREF(Py_None); resultobj = Py_None;
10273 {
10274 if (temp2)
10275 delete arg2;
10276 }
10277 return resultobj;
10278 fail:
10279 {
10280 if (temp2)
10281 delete arg2;
10282 }
10283 return NULL;
10284}
10285
10286
10287static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10288 PyObject *resultobj;
10289 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10290 wxString *arg2 = 0 ;
423f194a 10291 bool temp2 = False ;
d14a1e28
RD
10292 PyObject * obj0 = 0 ;
10293 PyObject * obj1 = 0 ;
10294 char *kwnames[] = {
10295 (char *) "self",(char *) "dir", NULL
10296 };
10297
10298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10300 {
10301 arg2 = wxString_in_helper(obj1);
10302 if (arg2 == NULL) SWIG_fail;
423f194a 10303 temp2 = True;
d14a1e28
RD
10304 }
10305 {
10306 PyThreadState* __tstate = wxPyBeginAllowThreads();
10307 (arg1)->SetDirectory((wxString const &)*arg2);
10308
10309 wxPyEndAllowThreads(__tstate);
10310 if (PyErr_Occurred()) SWIG_fail;
10311 }
10312 Py_INCREF(Py_None); resultobj = Py_None;
10313 {
10314 if (temp2)
10315 delete arg2;
10316 }
10317 return resultobj;
10318 fail:
10319 {
10320 if (temp2)
10321 delete arg2;
10322 }
10323 return NULL;
10324}
10325
10326
10327static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10328 PyObject *resultobj;
10329 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10330 wxString *arg2 = 0 ;
423f194a 10331 bool temp2 = False ;
d14a1e28
RD
10332 PyObject * obj0 = 0 ;
10333 PyObject * obj1 = 0 ;
10334 char *kwnames[] = {
10335 (char *) "self",(char *) "name", NULL
10336 };
10337
10338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10340 {
10341 arg2 = wxString_in_helper(obj1);
10342 if (arg2 == NULL) SWIG_fail;
423f194a 10343 temp2 = True;
d14a1e28
RD
10344 }
10345 {
10346 PyThreadState* __tstate = wxPyBeginAllowThreads();
10347 (arg1)->SetFilename((wxString const &)*arg2);
10348
10349 wxPyEndAllowThreads(__tstate);
10350 if (PyErr_Occurred()) SWIG_fail;
10351 }
10352 Py_INCREF(Py_None); resultobj = Py_None;
10353 {
10354 if (temp2)
10355 delete arg2;
10356 }
10357 return resultobj;
10358 fail:
10359 {
10360 if (temp2)
10361 delete arg2;
10362 }
10363 return NULL;
10364}
10365
10366
10367static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10368 PyObject *resultobj;
10369 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10370 wxString *arg2 = 0 ;
423f194a 10371 bool temp2 = False ;
d14a1e28
RD
10372 PyObject * obj0 = 0 ;
10373 PyObject * obj1 = 0 ;
10374 char *kwnames[] = {
10375 (char *) "self",(char *) "wildCard", NULL
10376 };
10377
10378 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10379 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10380 {
10381 arg2 = wxString_in_helper(obj1);
10382 if (arg2 == NULL) SWIG_fail;
423f194a 10383 temp2 = True;
d14a1e28
RD
10384 }
10385 {
10386 PyThreadState* __tstate = wxPyBeginAllowThreads();
10387 (arg1)->SetWildcard((wxString const &)*arg2);
10388
10389 wxPyEndAllowThreads(__tstate);
10390 if (PyErr_Occurred()) SWIG_fail;
10391 }
10392 Py_INCREF(Py_None); resultobj = Py_None;
10393 {
10394 if (temp2)
10395 delete arg2;
10396 }
10397 return resultobj;
10398 fail:
10399 {
10400 if (temp2)
10401 delete arg2;
10402 }
10403 return NULL;
10404}
10405
10406
10407static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10408 PyObject *resultobj;
10409 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10410 long arg2 ;
10411 PyObject * obj0 = 0 ;
10412 char *kwnames[] = {
10413 (char *) "self",(char *) "style", NULL
10414 };
10415
10416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10417 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10418 {
10419 PyThreadState* __tstate = wxPyBeginAllowThreads();
10420 (arg1)->SetStyle(arg2);
10421
10422 wxPyEndAllowThreads(__tstate);
10423 if (PyErr_Occurred()) SWIG_fail;
10424 }
10425 Py_INCREF(Py_None); resultobj = Py_None;
10426 return resultobj;
10427 fail:
10428 return NULL;
10429}
10430
10431
10432static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10433 PyObject *resultobj;
10434 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10435 int arg2 ;
10436 PyObject * obj0 = 0 ;
10437 char *kwnames[] = {
10438 (char *) "self",(char *) "filterIndex", NULL
10439 };
10440
10441 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10442 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10443 {
10444 PyThreadState* __tstate = wxPyBeginAllowThreads();
10445 (arg1)->SetFilterIndex(arg2);
10446
10447 wxPyEndAllowThreads(__tstate);
10448 if (PyErr_Occurred()) SWIG_fail;
10449 }
10450 Py_INCREF(Py_None); resultobj = Py_None;
10451 return resultobj;
10452 fail:
10453 return NULL;
10454}
10455
10456
10457static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10458 PyObject *resultobj;
10459 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10460 wxString result;
10461 PyObject * obj0 = 0 ;
10462 char *kwnames[] = {
10463 (char *) "self", NULL
10464 };
10465
10466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10468 {
10469 PyThreadState* __tstate = wxPyBeginAllowThreads();
10470 result = ((wxFileDialog const *)arg1)->GetMessage();
10471
10472 wxPyEndAllowThreads(__tstate);
10473 if (PyErr_Occurred()) SWIG_fail;
10474 }
10475 {
10476#if wxUSE_UNICODE
10477 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10478#else
10479 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10480#endif
10481 }
10482 return resultobj;
10483 fail:
10484 return NULL;
10485}
10486
10487
10488static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10489 PyObject *resultobj;
10490 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10491 wxString result;
10492 PyObject * obj0 = 0 ;
10493 char *kwnames[] = {
10494 (char *) "self", NULL
10495 };
10496
10497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10499 {
10500 PyThreadState* __tstate = wxPyBeginAllowThreads();
10501 result = ((wxFileDialog const *)arg1)->GetPath();
10502
10503 wxPyEndAllowThreads(__tstate);
10504 if (PyErr_Occurred()) SWIG_fail;
10505 }
10506 {
10507#if wxUSE_UNICODE
10508 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10509#else
10510 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10511#endif
10512 }
10513 return resultobj;
10514 fail:
10515 return NULL;
10516}
10517
10518
10519static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10520 PyObject *resultobj;
10521 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10522 wxString result;
10523 PyObject * obj0 = 0 ;
10524 char *kwnames[] = {
10525 (char *) "self", NULL
10526 };
10527
10528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10530 {
10531 PyThreadState* __tstate = wxPyBeginAllowThreads();
10532 result = ((wxFileDialog const *)arg1)->GetDirectory();
10533
10534 wxPyEndAllowThreads(__tstate);
10535 if (PyErr_Occurred()) SWIG_fail;
10536 }
10537 {
10538#if wxUSE_UNICODE
10539 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10540#else
10541 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10542#endif
10543 }
10544 return resultobj;
10545 fail:
10546 return NULL;
10547}
10548
10549
10550static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10551 PyObject *resultobj;
10552 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10553 wxString result;
10554 PyObject * obj0 = 0 ;
10555 char *kwnames[] = {
10556 (char *) "self", NULL
10557 };
10558
10559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10561 {
10562 PyThreadState* __tstate = wxPyBeginAllowThreads();
10563 result = ((wxFileDialog const *)arg1)->GetFilename();
10564
10565 wxPyEndAllowThreads(__tstate);
10566 if (PyErr_Occurred()) SWIG_fail;
10567 }
10568 {
10569#if wxUSE_UNICODE
10570 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10571#else
10572 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10573#endif
10574 }
10575 return resultobj;
10576 fail:
10577 return NULL;
10578}
10579
10580
10581static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10582 PyObject *resultobj;
10583 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10584 wxString result;
10585 PyObject * obj0 = 0 ;
10586 char *kwnames[] = {
10587 (char *) "self", NULL
10588 };
10589
10590 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10591 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10592 {
10593 PyThreadState* __tstate = wxPyBeginAllowThreads();
10594 result = ((wxFileDialog const *)arg1)->GetWildcard();
10595
10596 wxPyEndAllowThreads(__tstate);
10597 if (PyErr_Occurred()) SWIG_fail;
10598 }
10599 {
10600#if wxUSE_UNICODE
10601 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10602#else
10603 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10604#endif
10605 }
10606 return resultobj;
10607 fail:
10608 return NULL;
10609}
10610
10611
10612static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10613 PyObject *resultobj;
10614 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10615 long result;
10616 PyObject * obj0 = 0 ;
10617 char *kwnames[] = {
10618 (char *) "self", NULL
10619 };
10620
10621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10623 {
10624 PyThreadState* __tstate = wxPyBeginAllowThreads();
10625 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10626
10627 wxPyEndAllowThreads(__tstate);
10628 if (PyErr_Occurred()) SWIG_fail;
10629 }
10630 resultobj = PyInt_FromLong((long)result);
10631 return resultobj;
10632 fail:
10633 return NULL;
10634}
10635
10636
10637static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10638 PyObject *resultobj;
10639 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10640 int result;
10641 PyObject * obj0 = 0 ;
10642 char *kwnames[] = {
10643 (char *) "self", NULL
10644 };
10645
10646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10648 {
10649 PyThreadState* __tstate = wxPyBeginAllowThreads();
10650 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10651
10652 wxPyEndAllowThreads(__tstate);
10653 if (PyErr_Occurred()) SWIG_fail;
10654 }
10655 resultobj = PyInt_FromLong((long)result);
10656 return resultobj;
10657 fail:
10658 return NULL;
10659}
10660
10661
10662static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10663 PyObject *resultobj;
10664 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10665 PyObject *result;
10666 PyObject * obj0 = 0 ;
10667 char *kwnames[] = {
10668 (char *) "self", NULL
10669 };
10670
10671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10673 {
10674 PyThreadState* __tstate = wxPyBeginAllowThreads();
10675 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10676
10677 wxPyEndAllowThreads(__tstate);
10678 if (PyErr_Occurred()) SWIG_fail;
10679 }
10680 resultobj = result;
10681 return resultobj;
10682 fail:
10683 return NULL;
10684}
10685
10686
10687static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10688 PyObject *resultobj;
10689 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10690 PyObject *result;
10691 PyObject * obj0 = 0 ;
10692 char *kwnames[] = {
10693 (char *) "self", NULL
10694 };
10695
10696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10698 {
10699 PyThreadState* __tstate = wxPyBeginAllowThreads();
10700 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10701
10702 wxPyEndAllowThreads(__tstate);
10703 if (PyErr_Occurred()) SWIG_fail;
10704 }
10705 resultobj = result;
10706 return resultobj;
10707 fail:
10708 return NULL;
10709}
10710
10711
10712static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10713 PyObject *obj;
10714 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10715 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10716 Py_INCREF(obj);
10717 return Py_BuildValue((char *)"");
10718}
10719static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10720 PyObject *resultobj;
10721 wxWindow *arg1 = (wxWindow *) 0 ;
10722 wxString *arg2 = 0 ;
10723 wxString *arg3 = 0 ;
10724 int arg4 ;
10725 wxString *arg5 = (wxString *) 0 ;
10726 long arg6 = (long) wxCHOICEDLG_STYLE ;
10727 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10728 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10729 wxMultiChoiceDialog *result;
423f194a
RD
10730 bool temp2 = False ;
10731 bool temp3 = False ;
d14a1e28
RD
10732 wxPoint temp7 ;
10733 PyObject * obj0 = 0 ;
10734 PyObject * obj1 = 0 ;
10735 PyObject * obj2 = 0 ;
10736 PyObject * obj4 = 0 ;
10737 PyObject * obj6 = 0 ;
10738 char *kwnames[] = {
10739 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10740 };
10741
10742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10744 {
10745 arg2 = wxString_in_helper(obj1);
10746 if (arg2 == NULL) SWIG_fail;
423f194a 10747 temp2 = True;
d14a1e28
RD
10748 }
10749 {
10750 arg3 = wxString_in_helper(obj2);
10751 if (arg3 == NULL) SWIG_fail;
423f194a 10752 temp3 = True;
d14a1e28
RD
10753 }
10754 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10755 if (obj6) {
10756 {
10757 arg7 = &temp7;
10758 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10759 }
10760 }
10761 {
10762 PyThreadState* __tstate = wxPyBeginAllowThreads();
10763 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10764
10765 wxPyEndAllowThreads(__tstate);
10766 if (PyErr_Occurred()) SWIG_fail;
10767 }
10768 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10769 {
10770 if (temp2)
10771 delete arg2;
10772 }
10773 {
10774 if (temp3)
10775 delete arg3;
10776 }
10777 return resultobj;
10778 fail:
10779 {
10780 if (temp2)
10781 delete arg2;
10782 }
10783 {
10784 if (temp3)
10785 delete arg3;
10786 }
10787 return NULL;
10788}
10789
10790
10791static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10792 PyObject *resultobj;
10793 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10794 wxArrayInt *arg2 = 0 ;
10795 PyObject * obj0 = 0 ;
10796 PyObject * obj1 = 0 ;
10797 char *kwnames[] = {
10798 (char *) "self",(char *) "selections", NULL
10799 };
10800
10801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10803 {
10804 if (! PySequence_Check(obj1)) {
10805 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10806 SWIG_fail;
10807 }
10808 arg2 = new wxArrayInt;
10809 int i, len=PySequence_Length(obj1);
10810 for (i=0; i<len; i++) {
10811 PyObject* item = PySequence_GetItem(obj1, i);
10812 PyObject* number = PyNumber_Int(item);
10813 arg2->Add(PyInt_AS_LONG(number));
10814 Py_DECREF(item);
10815 Py_DECREF(number);
10816 }
10817 }
10818 {
10819 PyThreadState* __tstate = wxPyBeginAllowThreads();
10820 (arg1)->SetSelections((wxArrayInt const &)*arg2);
10821
10822 wxPyEndAllowThreads(__tstate);
10823 if (PyErr_Occurred()) SWIG_fail;
10824 }
10825 Py_INCREF(Py_None); resultobj = Py_None;
10826 {
10827 if (arg2) delete arg2;
10828 }
10829 return resultobj;
10830 fail:
10831 {
10832 if (arg2) delete arg2;
10833 }
10834 return NULL;
10835}
10836
10837
10838static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10839 PyObject *resultobj;
10840 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10841 PyObject *result;
10842 PyObject * obj0 = 0 ;
10843 char *kwnames[] = {
10844 (char *) "self", NULL
10845 };
10846
10847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
10848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10849 {
10850 PyThreadState* __tstate = wxPyBeginAllowThreads();
10851 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
10852
10853 wxPyEndAllowThreads(__tstate);
10854 if (PyErr_Occurred()) SWIG_fail;
10855 }
10856 resultobj = result;
10857 return resultobj;
10858 fail:
10859 return NULL;
10860}
10861
10862
10863static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10864 PyObject *obj;
10865 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10866 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
10867 Py_INCREF(obj);
10868 return Py_BuildValue((char *)"");
10869}
10870static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10871 PyObject *resultobj;
10872 wxWindow *arg1 = (wxWindow *) 0 ;
10873 wxString *arg2 = 0 ;
10874 wxString *arg3 = 0 ;
10875 int arg4 ;
10876 wxString *arg5 = (wxString *) 0 ;
10877 long arg6 = (long) wxCHOICEDLG_STYLE ;
10878 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10879 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10880 wxSingleChoiceDialog *result;
423f194a
RD
10881 bool temp2 = False ;
10882 bool temp3 = False ;
d14a1e28
RD
10883 wxPoint temp6 ;
10884 PyObject * obj0 = 0 ;
10885 PyObject * obj1 = 0 ;
10886 PyObject * obj2 = 0 ;
10887 PyObject * obj3 = 0 ;
10888 PyObject * obj5 = 0 ;
10889 char *kwnames[] = {
10890 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10891 };
10892
10893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
10894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10895 {
10896 arg2 = wxString_in_helper(obj1);
10897 if (arg2 == NULL) SWIG_fail;
423f194a 10898 temp2 = True;
d14a1e28
RD
10899 }
10900 {
10901 arg3 = wxString_in_helper(obj2);
10902 if (arg3 == NULL) SWIG_fail;
423f194a 10903 temp3 = True;
d14a1e28
RD
10904 }
10905 {
10906 arg4 = PyList_Size(obj3);
10907 arg5 = wxString_LIST_helper(obj3);
10908 if (arg5 == NULL) SWIG_fail;
10909 }
10910 if (obj5) {
10911 {
10912 arg7 = &temp6;
10913 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
10914 }
10915 }
10916 {
10917 PyThreadState* __tstate = wxPyBeginAllowThreads();
10918 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10919
10920 wxPyEndAllowThreads(__tstate);
10921 if (PyErr_Occurred()) SWIG_fail;
10922 }
10923 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
10924 {
10925 if (temp2)
10926 delete arg2;
10927 }
10928 {
10929 if (temp3)
10930 delete arg3;
10931 }
10932 {
10933 if (arg5) delete [] arg5;
10934 }
10935 return resultobj;
10936 fail:
10937 {
10938 if (temp2)
10939 delete arg2;
10940 }
10941 {
10942 if (temp3)
10943 delete arg3;
10944 }
10945 {
10946 if (arg5) delete [] arg5;
10947 }
10948 return NULL;
10949}
10950
10951
10952static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10953 PyObject *resultobj;
10954 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10955 int result;
10956 PyObject * obj0 = 0 ;
10957 char *kwnames[] = {
10958 (char *) "self", NULL
10959 };
10960
10961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
10962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10963 {
10964 PyThreadState* __tstate = wxPyBeginAllowThreads();
10965 result = (int)(arg1)->GetSelection();
10966
10967 wxPyEndAllowThreads(__tstate);
10968 if (PyErr_Occurred()) SWIG_fail;
10969 }
10970 resultobj = PyInt_FromLong((long)result);
10971 return resultobj;
10972 fail:
10973 return NULL;
10974}
10975
10976
10977static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10978 PyObject *resultobj;
10979 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10980 wxString result;
10981 PyObject * obj0 = 0 ;
10982 char *kwnames[] = {
10983 (char *) "self", NULL
10984 };
10985
10986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
10987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10988 {
10989 PyThreadState* __tstate = wxPyBeginAllowThreads();
10990 result = (arg1)->GetStringSelection();
10991
10992 wxPyEndAllowThreads(__tstate);
10993 if (PyErr_Occurred()) SWIG_fail;
10994 }
10995 {
10996#if wxUSE_UNICODE
10997 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10998#else
10999 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11000#endif
11001 }
11002 return resultobj;
11003 fail:
11004 return NULL;
11005}
11006
11007
11008static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11009 PyObject *resultobj;
11010 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11011 int arg2 ;
11012 PyObject * obj0 = 0 ;
11013 char *kwnames[] = {
11014 (char *) "self",(char *) "sel", NULL
11015 };
11016
11017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11019 {
11020 PyThreadState* __tstate = wxPyBeginAllowThreads();
11021 (arg1)->SetSelection(arg2);
11022
11023 wxPyEndAllowThreads(__tstate);
11024 if (PyErr_Occurred()) SWIG_fail;
11025 }
11026 Py_INCREF(Py_None); resultobj = Py_None;
11027 return resultobj;
11028 fail:
11029 return NULL;
11030}
11031
11032
11033static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11034 PyObject *resultobj;
11035 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11036 int result;
11037 PyObject * obj0 = 0 ;
11038 char *kwnames[] = {
11039 (char *) "self", NULL
11040 };
11041
11042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11044 {
11045 PyThreadState* __tstate = wxPyBeginAllowThreads();
11046 result = (int)(arg1)->ShowModal();
11047
11048 wxPyEndAllowThreads(__tstate);
11049 if (PyErr_Occurred()) SWIG_fail;
11050 }
11051 resultobj = PyInt_FromLong((long)result);
11052 return resultobj;
11053 fail:
11054 return NULL;
11055}
11056
11057
11058static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11059 PyObject *obj;
11060 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11061 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11062 Py_INCREF(obj);
11063 return Py_BuildValue((char *)"");
11064}
11065static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11066 PyObject *resultobj;
11067 wxWindow *arg1 = (wxWindow *) 0 ;
11068 wxString *arg2 = 0 ;
11069 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11070 wxString *arg3 = (wxString *) &arg3_defvalue ;
11071 wxString const &arg4_defvalue = wxPyEmptyString ;
11072 wxString *arg4 = (wxString *) &arg4_defvalue ;
11073 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11074 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11075 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11076 wxTextEntryDialog *result;
423f194a
RD
11077 bool temp2 = False ;
11078 bool temp3 = False ;
11079 bool temp4 = False ;
d14a1e28
RD
11080 wxPoint temp6 ;
11081 PyObject * obj0 = 0 ;
11082 PyObject * obj1 = 0 ;
11083 PyObject * obj2 = 0 ;
11084 PyObject * obj3 = 0 ;
11085 PyObject * obj5 = 0 ;
11086 char *kwnames[] = {
11087 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11088 };
11089
11090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11092 {
11093 arg2 = wxString_in_helper(obj1);
11094 if (arg2 == NULL) SWIG_fail;
423f194a 11095 temp2 = True;
d14a1e28
RD
11096 }
11097 if (obj2) {
11098 {
11099 arg3 = wxString_in_helper(obj2);
11100 if (arg3 == NULL) SWIG_fail;
423f194a 11101 temp3 = True;
d14a1e28
RD
11102 }
11103 }
11104 if (obj3) {
11105 {
11106 arg4 = wxString_in_helper(obj3);
11107 if (arg4 == NULL) SWIG_fail;
423f194a 11108 temp4 = True;
d14a1e28
RD
11109 }
11110 }
11111 if (obj5) {
11112 {
11113 arg6 = &temp6;
11114 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11115 }
11116 }
11117 {
11118 PyThreadState* __tstate = wxPyBeginAllowThreads();
11119 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11120
11121 wxPyEndAllowThreads(__tstate);
11122 if (PyErr_Occurred()) SWIG_fail;
11123 }
11124 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11125 {
11126 if (temp2)
11127 delete arg2;
11128 }
11129 {
11130 if (temp3)
11131 delete arg3;
11132 }
11133 {
11134 if (temp4)
11135 delete arg4;
11136 }
11137 return resultobj;
11138 fail:
11139 {
11140 if (temp2)
11141 delete arg2;
11142 }
11143 {
11144 if (temp3)
11145 delete arg3;
11146 }
11147 {
11148 if (temp4)
11149 delete arg4;
11150 }
11151 return NULL;
11152}
11153
11154
11155static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11156 PyObject *resultobj;
11157 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11158 wxString result;
11159 PyObject * obj0 = 0 ;
11160 char *kwnames[] = {
11161 (char *) "self", NULL
11162 };
11163
11164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11166 {
11167 PyThreadState* __tstate = wxPyBeginAllowThreads();
11168 result = (arg1)->GetValue();
11169
11170 wxPyEndAllowThreads(__tstate);
11171 if (PyErr_Occurred()) SWIG_fail;
11172 }
11173 {
11174#if wxUSE_UNICODE
11175 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11176#else
11177 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11178#endif
11179 }
11180 return resultobj;
11181 fail:
11182 return NULL;
11183}
11184
11185
11186static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj;
11188 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11189 wxString *arg2 = 0 ;
423f194a 11190 bool temp2 = False ;
d14a1e28
RD
11191 PyObject * obj0 = 0 ;
11192 PyObject * obj1 = 0 ;
11193 char *kwnames[] = {
11194 (char *) "self",(char *) "value", NULL
11195 };
11196
11197 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11198 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11199 {
11200 arg2 = wxString_in_helper(obj1);
11201 if (arg2 == NULL) SWIG_fail;
423f194a 11202 temp2 = True;
d14a1e28
RD
11203 }
11204 {
11205 PyThreadState* __tstate = wxPyBeginAllowThreads();
11206 (arg1)->SetValue((wxString const &)*arg2);
11207
11208 wxPyEndAllowThreads(__tstate);
11209 if (PyErr_Occurred()) SWIG_fail;
11210 }
11211 Py_INCREF(Py_None); resultobj = Py_None;
11212 {
11213 if (temp2)
11214 delete arg2;
11215 }
11216 return resultobj;
11217 fail:
11218 {
11219 if (temp2)
11220 delete arg2;
11221 }
11222 return NULL;
11223}
11224
11225
11226static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11227 PyObject *resultobj;
11228 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11229 int result;
11230 PyObject * obj0 = 0 ;
11231 char *kwnames[] = {
11232 (char *) "self", NULL
11233 };
11234
11235 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11236 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11237 {
11238 PyThreadState* __tstate = wxPyBeginAllowThreads();
11239 result = (int)(arg1)->ShowModal();
11240
11241 wxPyEndAllowThreads(__tstate);
11242 if (PyErr_Occurred()) SWIG_fail;
11243 }
11244 resultobj = PyInt_FromLong((long)result);
11245 return resultobj;
11246 fail:
11247 return NULL;
11248}
11249
11250
11251static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11252 PyObject *obj;
11253 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11254 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11255 Py_INCREF(obj);
11256 return Py_BuildValue((char *)"");
11257}
11258static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11259 PyObject *resultobj;
11260 wxFontData *result;
11261 char *kwnames[] = {
11262 NULL
11263 };
11264
11265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11266 {
11267 PyThreadState* __tstate = wxPyBeginAllowThreads();
11268 result = (wxFontData *)new wxFontData();
11269
11270 wxPyEndAllowThreads(__tstate);
11271 if (PyErr_Occurred()) SWIG_fail;
11272 }
11273 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11274 return resultobj;
11275 fail:
11276 return NULL;
11277}
11278
11279
11280static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11281 PyObject *resultobj;
11282 wxFontData *arg1 = (wxFontData *) 0 ;
11283 PyObject * obj0 = 0 ;
11284 char *kwnames[] = {
11285 (char *) "self", NULL
11286 };
11287
11288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11290 {
11291 PyThreadState* __tstate = wxPyBeginAllowThreads();
11292 delete arg1;
11293
11294 wxPyEndAllowThreads(__tstate);
11295 if (PyErr_Occurred()) SWIG_fail;
11296 }
11297 Py_INCREF(Py_None); resultobj = Py_None;
11298 return resultobj;
11299 fail:
11300 return NULL;
11301}
11302
11303
11304static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11305 PyObject *resultobj;
11306 wxFontData *arg1 = (wxFontData *) 0 ;
11307 bool arg2 ;
11308 PyObject * obj0 = 0 ;
11309 PyObject * obj1 = 0 ;
11310 char *kwnames[] = {
11311 (char *) "self",(char *) "enable", NULL
11312 };
11313
11314 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11315 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11316 arg2 = PyInt_AsLong(obj1) ? true : false;
11317 if (PyErr_Occurred()) SWIG_fail;
11318 {
11319 PyThreadState* __tstate = wxPyBeginAllowThreads();
11320 (arg1)->EnableEffects(arg2);
11321
11322 wxPyEndAllowThreads(__tstate);
11323 if (PyErr_Occurred()) SWIG_fail;
11324 }
11325 Py_INCREF(Py_None); resultobj = Py_None;
11326 return resultobj;
11327 fail:
11328 return NULL;
11329}
11330
11331
11332static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11333 PyObject *resultobj;
11334 wxFontData *arg1 = (wxFontData *) 0 ;
11335 bool result;
11336 PyObject * obj0 = 0 ;
11337 char *kwnames[] = {
11338 (char *) "self", NULL
11339 };
11340
11341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11343 {
11344 PyThreadState* __tstate = wxPyBeginAllowThreads();
11345 result = (bool)(arg1)->GetAllowSymbols();
11346
11347 wxPyEndAllowThreads(__tstate);
11348 if (PyErr_Occurred()) SWIG_fail;
11349 }
11350 resultobj = PyInt_FromLong((long)result);
11351 return resultobj;
11352 fail:
11353 return NULL;
11354}
11355
11356
11357static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11358 PyObject *resultobj;
11359 wxFontData *arg1 = (wxFontData *) 0 ;
11360 wxColour result;
11361 PyObject * obj0 = 0 ;
11362 char *kwnames[] = {
11363 (char *) "self", NULL
11364 };
11365
11366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11368 {
11369 PyThreadState* __tstate = wxPyBeginAllowThreads();
11370 result = (arg1)->GetColour();
11371
11372 wxPyEndAllowThreads(__tstate);
11373 if (PyErr_Occurred()) SWIG_fail;
11374 }
11375 {
11376 wxColour * resultptr;
11377 resultptr = new wxColour((wxColour &) result);
11378 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11379 }
11380 return resultobj;
11381 fail:
11382 return NULL;
11383}
11384
11385
11386static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11387 PyObject *resultobj;
11388 wxFontData *arg1 = (wxFontData *) 0 ;
11389 wxFont result;
11390 PyObject * obj0 = 0 ;
11391 char *kwnames[] = {
11392 (char *) "self", NULL
11393 };
11394
11395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11397 {
11398 PyThreadState* __tstate = wxPyBeginAllowThreads();
11399 result = (arg1)->GetChosenFont();
11400
11401 wxPyEndAllowThreads(__tstate);
11402 if (PyErr_Occurred()) SWIG_fail;
11403 }
11404 {
11405 wxFont * resultptr;
11406 resultptr = new wxFont((wxFont &) result);
11407 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11408 }
11409 return resultobj;
11410 fail:
11411 return NULL;
11412}
11413
11414
11415static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11416 PyObject *resultobj;
11417 wxFontData *arg1 = (wxFontData *) 0 ;
11418 bool result;
11419 PyObject * obj0 = 0 ;
11420 char *kwnames[] = {
11421 (char *) "self", NULL
11422 };
11423
11424 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11425 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11426 {
11427 PyThreadState* __tstate = wxPyBeginAllowThreads();
11428 result = (bool)(arg1)->GetEnableEffects();
11429
11430 wxPyEndAllowThreads(__tstate);
11431 if (PyErr_Occurred()) SWIG_fail;
11432 }
11433 resultobj = PyInt_FromLong((long)result);
11434 return resultobj;
11435 fail:
11436 return NULL;
11437}
11438
11439
11440static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11441 PyObject *resultobj;
11442 wxFontData *arg1 = (wxFontData *) 0 ;
11443 wxFont result;
11444 PyObject * obj0 = 0 ;
11445 char *kwnames[] = {
11446 (char *) "self", NULL
11447 };
11448
11449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11451 {
11452 PyThreadState* __tstate = wxPyBeginAllowThreads();
11453 result = (arg1)->GetInitialFont();
11454
11455 wxPyEndAllowThreads(__tstate);
11456 if (PyErr_Occurred()) SWIG_fail;
11457 }
11458 {
11459 wxFont * resultptr;
11460 resultptr = new wxFont((wxFont &) result);
11461 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11462 }
11463 return resultobj;
11464 fail:
11465 return NULL;
11466}
11467
11468
11469static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11470 PyObject *resultobj;
11471 wxFontData *arg1 = (wxFontData *) 0 ;
11472 bool result;
11473 PyObject * obj0 = 0 ;
11474 char *kwnames[] = {
11475 (char *) "self", NULL
11476 };
11477
11478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11480 {
11481 PyThreadState* __tstate = wxPyBeginAllowThreads();
11482 result = (bool)(arg1)->GetShowHelp();
11483
11484 wxPyEndAllowThreads(__tstate);
11485 if (PyErr_Occurred()) SWIG_fail;
11486 }
11487 resultobj = PyInt_FromLong((long)result);
11488 return resultobj;
11489 fail:
11490 return NULL;
11491}
11492
11493
11494static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11495 PyObject *resultobj;
11496 wxFontData *arg1 = (wxFontData *) 0 ;
11497 bool arg2 ;
11498 PyObject * obj0 = 0 ;
11499 PyObject * obj1 = 0 ;
11500 char *kwnames[] = {
11501 (char *) "self",(char *) "allowSymbols", NULL
11502 };
11503
11504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11506 arg2 = PyInt_AsLong(obj1) ? true : false;
11507 if (PyErr_Occurred()) SWIG_fail;
11508 {
11509 PyThreadState* __tstate = wxPyBeginAllowThreads();
11510 (arg1)->SetAllowSymbols(arg2);
11511
11512 wxPyEndAllowThreads(__tstate);
11513 if (PyErr_Occurred()) SWIG_fail;
11514 }
11515 Py_INCREF(Py_None); resultobj = Py_None;
11516 return resultobj;
11517 fail:
11518 return NULL;
11519}
11520
11521
11522static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11523 PyObject *resultobj;
11524 wxFontData *arg1 = (wxFontData *) 0 ;
11525 wxFont *arg2 = 0 ;
11526 PyObject * obj0 = 0 ;
11527 PyObject * obj1 = 0 ;
11528 char *kwnames[] = {
11529 (char *) "self",(char *) "font", NULL
11530 };
11531
11532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11534 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11535 if (arg2 == NULL) {
11536 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11537 }
11538 {
11539 PyThreadState* __tstate = wxPyBeginAllowThreads();
11540 (arg1)->SetChosenFont((wxFont const &)*arg2);
11541
11542 wxPyEndAllowThreads(__tstate);
11543 if (PyErr_Occurred()) SWIG_fail;
11544 }
11545 Py_INCREF(Py_None); resultobj = Py_None;
11546 return resultobj;
11547 fail:
11548 return NULL;
11549}
11550
11551
11552static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11553 PyObject *resultobj;
11554 wxFontData *arg1 = (wxFontData *) 0 ;
11555 wxColour *arg2 = 0 ;
11556 wxColour temp2 ;
11557 PyObject * obj0 = 0 ;
11558 PyObject * obj1 = 0 ;
11559 char *kwnames[] = {
11560 (char *) "self",(char *) "colour", NULL
11561 };
11562
11563 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11564 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11565 {
11566 arg2 = &temp2;
11567 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11568 }
11569 {
11570 PyThreadState* __tstate = wxPyBeginAllowThreads();
11571 (arg1)->SetColour((wxColour const &)*arg2);
11572
11573 wxPyEndAllowThreads(__tstate);
11574 if (PyErr_Occurred()) SWIG_fail;
11575 }
11576 Py_INCREF(Py_None); resultobj = Py_None;
11577 return resultobj;
11578 fail:
11579 return NULL;
11580}
11581
11582
11583static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11584 PyObject *resultobj;
11585 wxFontData *arg1 = (wxFontData *) 0 ;
11586 wxFont *arg2 = 0 ;
11587 PyObject * obj0 = 0 ;
11588 PyObject * obj1 = 0 ;
11589 char *kwnames[] = {
11590 (char *) "self",(char *) "font", NULL
11591 };
11592
11593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11595 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11596 if (arg2 == NULL) {
11597 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11598 }
11599 {
11600 PyThreadState* __tstate = wxPyBeginAllowThreads();
11601 (arg1)->SetInitialFont((wxFont const &)*arg2);
11602
11603 wxPyEndAllowThreads(__tstate);
11604 if (PyErr_Occurred()) SWIG_fail;
11605 }
11606 Py_INCREF(Py_None); resultobj = Py_None;
11607 return resultobj;
11608 fail:
11609 return NULL;
11610}
11611
11612
11613static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11614 PyObject *resultobj;
11615 wxFontData *arg1 = (wxFontData *) 0 ;
11616 int arg2 ;
11617 int arg3 ;
11618 PyObject * obj0 = 0 ;
11619 char *kwnames[] = {
11620 (char *) "self",(char *) "min",(char *) "max", NULL
11621 };
11622
11623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11625 {
11626 PyThreadState* __tstate = wxPyBeginAllowThreads();
11627 (arg1)->SetRange(arg2,arg3);
11628
11629 wxPyEndAllowThreads(__tstate);
11630 if (PyErr_Occurred()) SWIG_fail;
11631 }
11632 Py_INCREF(Py_None); resultobj = Py_None;
11633 return resultobj;
11634 fail:
11635 return NULL;
11636}
11637
11638
11639static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11640 PyObject *resultobj;
11641 wxFontData *arg1 = (wxFontData *) 0 ;
11642 bool arg2 ;
11643 PyObject * obj0 = 0 ;
11644 PyObject * obj1 = 0 ;
11645 char *kwnames[] = {
11646 (char *) "self",(char *) "showHelp", NULL
11647 };
11648
11649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11651 arg2 = PyInt_AsLong(obj1) ? true : false;
11652 if (PyErr_Occurred()) SWIG_fail;
11653 {
11654 PyThreadState* __tstate = wxPyBeginAllowThreads();
11655 (arg1)->SetShowHelp(arg2);
11656
11657 wxPyEndAllowThreads(__tstate);
11658 if (PyErr_Occurred()) SWIG_fail;
11659 }
11660 Py_INCREF(Py_None); resultobj = Py_None;
11661 return resultobj;
11662 fail:
11663 return NULL;
11664}
11665
11666
11667static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11668 PyObject *obj;
11669 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11670 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11671 Py_INCREF(obj);
11672 return Py_BuildValue((char *)"");
11673}
11674static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11675 PyObject *resultobj;
11676 wxWindow *arg1 = (wxWindow *) 0 ;
11677 wxFontData *arg2 = 0 ;
11678 wxFontDialog *result;
11679 PyObject * obj0 = 0 ;
11680 PyObject * obj1 = 0 ;
11681 char *kwnames[] = {
11682 (char *) "parent",(char *) "data", NULL
11683 };
11684
11685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11687 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11688 if (arg2 == NULL) {
11689 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11690 }
11691 {
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11694
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
11698 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11699 return resultobj;
11700 fail:
11701 return NULL;
11702}
11703
11704
11705static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11706 PyObject *resultobj;
11707 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11708 wxFontData *result;
11709 PyObject * obj0 = 0 ;
11710 char *kwnames[] = {
11711 (char *) "self", NULL
11712 };
11713
11714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11716 {
11717 PyThreadState* __tstate = wxPyBeginAllowThreads();
11718 {
11719 wxFontData &_result_ref = (arg1)->GetFontData();
11720 result = (wxFontData *) &_result_ref;
11721 }
11722
11723 wxPyEndAllowThreads(__tstate);
11724 if (PyErr_Occurred()) SWIG_fail;
11725 }
11726 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11727 return resultobj;
11728 fail:
11729 return NULL;
11730}
11731
11732
11733static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11734 PyObject *resultobj;
11735 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11736 int result;
11737 PyObject * obj0 = 0 ;
11738 char *kwnames[] = {
11739 (char *) "self", NULL
11740 };
11741
11742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11744 {
11745 PyThreadState* __tstate = wxPyBeginAllowThreads();
11746 result = (int)(arg1)->ShowModal();
11747
11748 wxPyEndAllowThreads(__tstate);
11749 if (PyErr_Occurred()) SWIG_fail;
11750 }
11751 resultobj = PyInt_FromLong((long)result);
11752 return resultobj;
11753 fail:
11754 return NULL;
11755}
11756
11757
11758static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11759 PyObject *obj;
11760 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11761 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11762 Py_INCREF(obj);
11763 return Py_BuildValue((char *)"");
11764}
11765static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11766 PyObject *resultobj;
11767 wxWindow *arg1 = (wxWindow *) 0 ;
11768 wxString *arg2 = 0 ;
11769 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11770 wxString *arg3 = (wxString *) &arg3_defvalue ;
11771 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11772 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11773 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11774 wxMessageDialog *result;
423f194a
RD
11775 bool temp2 = False ;
11776 bool temp3 = False ;
d14a1e28
RD
11777 wxPoint temp5 ;
11778 PyObject * obj0 = 0 ;
11779 PyObject * obj1 = 0 ;
11780 PyObject * obj2 = 0 ;
11781 PyObject * obj4 = 0 ;
11782 char *kwnames[] = {
11783 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11784 };
11785
11786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11788 {
11789 arg2 = wxString_in_helper(obj1);
11790 if (arg2 == NULL) SWIG_fail;
423f194a 11791 temp2 = True;
d14a1e28
RD
11792 }
11793 if (obj2) {
11794 {
11795 arg3 = wxString_in_helper(obj2);
11796 if (arg3 == NULL) SWIG_fail;
423f194a 11797 temp3 = True;
d14a1e28
RD
11798 }
11799 }
11800 if (obj4) {
11801 {
11802 arg5 = &temp5;
11803 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11804 }
11805 }
11806 {
11807 PyThreadState* __tstate = wxPyBeginAllowThreads();
11808 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11809
11810 wxPyEndAllowThreads(__tstate);
11811 if (PyErr_Occurred()) SWIG_fail;
11812 }
11813 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11814 {
11815 if (temp2)
11816 delete arg2;
11817 }
11818 {
11819 if (temp3)
11820 delete arg3;
11821 }
11822 return resultobj;
11823 fail:
11824 {
11825 if (temp2)
11826 delete arg2;
11827 }
11828 {
11829 if (temp3)
11830 delete arg3;
11831 }
11832 return NULL;
11833}
11834
11835
11836static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11837 PyObject *resultobj;
11838 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
11839 int result;
11840 PyObject * obj0 = 0 ;
11841 char *kwnames[] = {
11842 (char *) "self", NULL
11843 };
11844
11845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
11846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11847 {
11848 PyThreadState* __tstate = wxPyBeginAllowThreads();
11849 result = (int)(arg1)->ShowModal();
11850
11851 wxPyEndAllowThreads(__tstate);
11852 if (PyErr_Occurred()) SWIG_fail;
11853 }
11854 resultobj = PyInt_FromLong((long)result);
11855 return resultobj;
11856 fail:
11857 return NULL;
11858}
11859
11860
11861static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
11862 PyObject *obj;
11863 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11864 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
11865 Py_INCREF(obj);
11866 return Py_BuildValue((char *)"");
11867}
11868static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11869 PyObject *resultobj;
11870 wxString *arg1 = 0 ;
11871 wxString *arg2 = 0 ;
11872 int arg3 = (int) 100 ;
11873 wxWindow *arg4 = (wxWindow *) NULL ;
11874 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
11875 wxProgressDialog *result;
423f194a
RD
11876 bool temp1 = False ;
11877 bool temp2 = False ;
d14a1e28
RD
11878 PyObject * obj0 = 0 ;
11879 PyObject * obj1 = 0 ;
11880 PyObject * obj3 = 0 ;
11881 char *kwnames[] = {
11882 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11883 };
11884
11885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
11886 {
11887 arg1 = wxString_in_helper(obj0);
11888 if (arg1 == NULL) SWIG_fail;
423f194a 11889 temp1 = True;
d14a1e28
RD
11890 }
11891 {
11892 arg2 = wxString_in_helper(obj1);
11893 if (arg2 == NULL) SWIG_fail;
423f194a 11894 temp2 = True;
d14a1e28
RD
11895 }
11896 if (obj3) {
11897 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11898 }
11899 {
11900 PyThreadState* __tstate = wxPyBeginAllowThreads();
11901 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
11902
11903 wxPyEndAllowThreads(__tstate);
11904 if (PyErr_Occurred()) SWIG_fail;
11905 }
11906 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
11907 {
11908 if (temp1)
11909 delete arg1;
11910 }
11911 {
11912 if (temp2)
11913 delete arg2;
11914 }
11915 return resultobj;
11916 fail:
11917 {
11918 if (temp1)
11919 delete arg1;
11920 }
11921 {
11922 if (temp2)
11923 delete arg2;
11924 }
11925 return NULL;
11926}
11927
11928
11929static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
11930 PyObject *resultobj;
11931 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11932 int arg2 ;
11933 wxString const &arg3_defvalue = wxPyEmptyString ;
11934 wxString *arg3 = (wxString *) &arg3_defvalue ;
11935 bool result;
423f194a 11936 bool temp3 = False ;
d14a1e28
RD
11937 PyObject * obj0 = 0 ;
11938 PyObject * obj2 = 0 ;
11939 char *kwnames[] = {
11940 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11941 };
11942
11943 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
11944 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11945 if (obj2) {
11946 {
11947 arg3 = wxString_in_helper(obj2);
11948 if (arg3 == NULL) SWIG_fail;
423f194a 11949 temp3 = True;
d14a1e28
RD
11950 }
11951 }
11952 {
11953 PyThreadState* __tstate = wxPyBeginAllowThreads();
11954 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
11955
11956 wxPyEndAllowThreads(__tstate);
11957 if (PyErr_Occurred()) SWIG_fail;
11958 }
11959 resultobj = PyInt_FromLong((long)result);
11960 {
11961 if (temp3)
11962 delete arg3;
11963 }
11964 return resultobj;
11965 fail:
11966 {
11967 if (temp3)
11968 delete arg3;
11969 }
11970 return NULL;
11971}
11972
11973
11974static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
11975 PyObject *resultobj;
11976 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11977 PyObject * obj0 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
11983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 (arg1)->Resume();
11987
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 Py_INCREF(Py_None); resultobj = Py_None;
11992 return resultobj;
11993 fail:
11994 return NULL;
11995}
11996
11997
11998static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
11999 PyObject *obj;
12000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12001 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12002 Py_INCREF(obj);
12003 return Py_BuildValue((char *)"");
12004}
12005static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12006 PyObject *resultobj;
12007 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12008 int arg2 = (int) 0 ;
12009 wxFindDialogEvent *result;
12010 char *kwnames[] = {
12011 (char *) "commandType",(char *) "id", NULL
12012 };
12013
12014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12015 {
12016 PyThreadState* __tstate = wxPyBeginAllowThreads();
12017 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12018
12019 wxPyEndAllowThreads(__tstate);
12020 if (PyErr_Occurred()) SWIG_fail;
12021 }
12022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12023 return resultobj;
12024 fail:
12025 return NULL;
12026}
12027
12028
12029static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12030 PyObject *resultobj;
12031 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12032 int result;
12033 PyObject * obj0 = 0 ;
12034 char *kwnames[] = {
12035 (char *) "self", NULL
12036 };
12037
12038 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12039 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12040 {
12041 PyThreadState* __tstate = wxPyBeginAllowThreads();
12042 result = (int)(arg1)->GetFlags();
12043
12044 wxPyEndAllowThreads(__tstate);
12045 if (PyErr_Occurred()) SWIG_fail;
12046 }
12047 resultobj = PyInt_FromLong((long)result);
12048 return resultobj;
12049 fail:
12050 return NULL;
12051}
12052
12053
12054static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12055 PyObject *resultobj;
12056 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12057 wxString result;
12058 PyObject * obj0 = 0 ;
12059 char *kwnames[] = {
12060 (char *) "self", NULL
12061 };
12062
12063 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12064 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12065 {
12066 PyThreadState* __tstate = wxPyBeginAllowThreads();
12067 result = (arg1)->GetFindString();
12068
12069 wxPyEndAllowThreads(__tstate);
12070 if (PyErr_Occurred()) SWIG_fail;
12071 }
12072 {
12073#if wxUSE_UNICODE
12074 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
12075#else
12076 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
12077#endif
12078 }
12079 return resultobj;
12080 fail:
12081 return NULL;
12082}
12083
12084
12085static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12086 PyObject *resultobj;
12087 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12088 wxString *result;
12089 PyObject * obj0 = 0 ;
12090 char *kwnames[] = {
12091 (char *) "self", NULL
12092 };
12093
12094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12096 {
12097 PyThreadState* __tstate = wxPyBeginAllowThreads();
12098 {
12099 wxString const &_result_ref = (arg1)->GetReplaceString();
12100 result = (wxString *) &_result_ref;
12101 }
12102
12103 wxPyEndAllowThreads(__tstate);
12104 if (PyErr_Occurred()) SWIG_fail;
12105 }
12106 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12107 return resultobj;
12108 fail:
12109 return NULL;
12110}
12111
12112
12113static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12114 PyObject *resultobj;
12115 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12116 wxFindReplaceDialog *result;
12117 PyObject * obj0 = 0 ;
12118 char *kwnames[] = {
12119 (char *) "self", NULL
12120 };
12121
12122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12124 {
12125 PyThreadState* __tstate = wxPyBeginAllowThreads();
12126 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12127
12128 wxPyEndAllowThreads(__tstate);
12129 if (PyErr_Occurred()) SWIG_fail;
12130 }
12131 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12132 return resultobj;
12133 fail:
12134 return NULL;
12135}
12136
12137
12138static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12139 PyObject *resultobj;
12140 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12141 int arg2 ;
12142 PyObject * obj0 = 0 ;
12143 char *kwnames[] = {
12144 (char *) "self",(char *) "flags", NULL
12145 };
12146
12147 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12148 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12149 {
12150 PyThreadState* __tstate = wxPyBeginAllowThreads();
12151 (arg1)->SetFlags(arg2);
12152
12153 wxPyEndAllowThreads(__tstate);
12154 if (PyErr_Occurred()) SWIG_fail;
12155 }
12156 Py_INCREF(Py_None); resultobj = Py_None;
12157 return resultobj;
12158 fail:
12159 return NULL;
12160}
12161
12162
12163static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12164 PyObject *resultobj;
12165 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12166 wxString *arg2 = 0 ;
423f194a 12167 bool temp2 = False ;
d14a1e28
RD
12168 PyObject * obj0 = 0 ;
12169 PyObject * obj1 = 0 ;
12170 char *kwnames[] = {
12171 (char *) "self",(char *) "str", NULL
12172 };
12173
12174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12176 {
12177 arg2 = wxString_in_helper(obj1);
12178 if (arg2 == NULL) SWIG_fail;
423f194a 12179 temp2 = True;
d14a1e28
RD
12180 }
12181 {
12182 PyThreadState* __tstate = wxPyBeginAllowThreads();
12183 (arg1)->SetFindString((wxString const &)*arg2);
12184
12185 wxPyEndAllowThreads(__tstate);
12186 if (PyErr_Occurred()) SWIG_fail;
12187 }
12188 Py_INCREF(Py_None); resultobj = Py_None;
12189 {
12190 if (temp2)
12191 delete arg2;
12192 }
12193 return resultobj;
12194 fail:
12195 {
12196 if (temp2)
12197 delete arg2;
12198 }
12199 return NULL;
12200}
12201
12202
12203static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12204 PyObject *resultobj;
12205 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12206 wxString *arg2 = 0 ;
423f194a 12207 bool temp2 = False ;
d14a1e28
RD
12208 PyObject * obj0 = 0 ;
12209 PyObject * obj1 = 0 ;
12210 char *kwnames[] = {
12211 (char *) "self",(char *) "str", NULL
12212 };
12213
12214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12216 {
12217 arg2 = wxString_in_helper(obj1);
12218 if (arg2 == NULL) SWIG_fail;
423f194a 12219 temp2 = True;
d14a1e28
RD
12220 }
12221 {
12222 PyThreadState* __tstate = wxPyBeginAllowThreads();
12223 (arg1)->SetReplaceString((wxString const &)*arg2);
12224
12225 wxPyEndAllowThreads(__tstate);
12226 if (PyErr_Occurred()) SWIG_fail;
12227 }
12228 Py_INCREF(Py_None); resultobj = Py_None;
12229 {
12230 if (temp2)
12231 delete arg2;
12232 }
12233 return resultobj;
12234 fail:
12235 {
12236 if (temp2)
12237 delete arg2;
12238 }
12239 return NULL;
12240}
12241
12242
12243static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12244 PyObject *obj;
12245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12246 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12247 Py_INCREF(obj);
12248 return Py_BuildValue((char *)"");
12249}
12250static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12251 PyObject *resultobj;
12252 int arg1 = (int) 0 ;
12253 wxFindReplaceData *result;
12254 char *kwnames[] = {
12255 (char *) "flags", NULL
12256 };
12257
12258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12259 {
12260 PyThreadState* __tstate = wxPyBeginAllowThreads();
12261 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12262
12263 wxPyEndAllowThreads(__tstate);
12264 if (PyErr_Occurred()) SWIG_fail;
12265 }
12266 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12267 return resultobj;
12268 fail:
12269 return NULL;
12270}
12271
12272
12273static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12274 PyObject *resultobj;
12275 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12276 PyObject * obj0 = 0 ;
12277 char *kwnames[] = {
12278 (char *) "self", NULL
12279 };
12280
12281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12283 {
12284 PyThreadState* __tstate = wxPyBeginAllowThreads();
12285 delete arg1;
12286
12287 wxPyEndAllowThreads(__tstate);
12288 if (PyErr_Occurred()) SWIG_fail;
12289 }
12290 Py_INCREF(Py_None); resultobj = Py_None;
12291 return resultobj;
12292 fail:
12293 return NULL;
12294}
12295
12296
12297static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12298 PyObject *resultobj;
12299 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12300 wxString *result;
12301 PyObject * obj0 = 0 ;
12302 char *kwnames[] = {
12303 (char *) "self", NULL
12304 };
12305
12306 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12307 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12308 {
12309 PyThreadState* __tstate = wxPyBeginAllowThreads();
12310 {
12311 wxString const &_result_ref = (arg1)->GetFindString();
12312 result = (wxString *) &_result_ref;
12313 }
12314
12315 wxPyEndAllowThreads(__tstate);
12316 if (PyErr_Occurred()) SWIG_fail;
12317 }
12318 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12319 return resultobj;
12320 fail:
12321 return NULL;
12322}
12323
12324
12325static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12326 PyObject *resultobj;
12327 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12328 wxString *result;
12329 PyObject * obj0 = 0 ;
12330 char *kwnames[] = {
12331 (char *) "self", NULL
12332 };
12333
12334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12336 {
12337 PyThreadState* __tstate = wxPyBeginAllowThreads();
12338 {
12339 wxString const &_result_ref = (arg1)->GetReplaceString();
12340 result = (wxString *) &_result_ref;
12341 }
12342
12343 wxPyEndAllowThreads(__tstate);
12344 if (PyErr_Occurred()) SWIG_fail;
12345 }
12346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
12347 return resultobj;
12348 fail:
12349 return NULL;
12350}
12351
12352
12353static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12354 PyObject *resultobj;
12355 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12356 int result;
12357 PyObject * obj0 = 0 ;
12358 char *kwnames[] = {
12359 (char *) "self", NULL
12360 };
12361
12362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12364 {
12365 PyThreadState* __tstate = wxPyBeginAllowThreads();
12366 result = (int)(arg1)->GetFlags();
12367
12368 wxPyEndAllowThreads(__tstate);
12369 if (PyErr_Occurred()) SWIG_fail;
12370 }
12371 resultobj = PyInt_FromLong((long)result);
12372 return resultobj;
12373 fail:
12374 return NULL;
12375}
12376
12377
12378static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12379 PyObject *resultobj;
12380 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12381 int arg2 ;
12382 PyObject * obj0 = 0 ;
12383 char *kwnames[] = {
12384 (char *) "self",(char *) "flags", NULL
12385 };
12386
12387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12389 {
12390 PyThreadState* __tstate = wxPyBeginAllowThreads();
12391 (arg1)->SetFlags(arg2);
12392
12393 wxPyEndAllowThreads(__tstate);
12394 if (PyErr_Occurred()) SWIG_fail;
12395 }
12396 Py_INCREF(Py_None); resultobj = Py_None;
12397 return resultobj;
12398 fail:
12399 return NULL;
12400}
12401
12402
12403static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12404 PyObject *resultobj;
12405 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12406 wxString *arg2 = 0 ;
423f194a 12407 bool temp2 = False ;
d14a1e28
RD
12408 PyObject * obj0 = 0 ;
12409 PyObject * obj1 = 0 ;
12410 char *kwnames[] = {
12411 (char *) "self",(char *) "str", NULL
12412 };
12413
12414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12416 {
12417 arg2 = wxString_in_helper(obj1);
12418 if (arg2 == NULL) SWIG_fail;
423f194a 12419 temp2 = True;
d14a1e28
RD
12420 }
12421 {
12422 PyThreadState* __tstate = wxPyBeginAllowThreads();
12423 (arg1)->SetFindString((wxString const &)*arg2);
12424
12425 wxPyEndAllowThreads(__tstate);
12426 if (PyErr_Occurred()) SWIG_fail;
12427 }
12428 Py_INCREF(Py_None); resultobj = Py_None;
12429 {
12430 if (temp2)
12431 delete arg2;
12432 }
12433 return resultobj;
12434 fail:
12435 {
12436 if (temp2)
12437 delete arg2;
12438 }
12439 return NULL;
12440}
12441
12442
12443static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12444 PyObject *resultobj;
12445 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12446 wxString *arg2 = 0 ;
423f194a 12447 bool temp2 = False ;
d14a1e28
RD
12448 PyObject * obj0 = 0 ;
12449 PyObject * obj1 = 0 ;
12450 char *kwnames[] = {
12451 (char *) "self",(char *) "str", NULL
12452 };
12453
12454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12456 {
12457 arg2 = wxString_in_helper(obj1);
12458 if (arg2 == NULL) SWIG_fail;
423f194a 12459 temp2 = True;
d14a1e28
RD
12460 }
12461 {
12462 PyThreadState* __tstate = wxPyBeginAllowThreads();
12463 (arg1)->SetReplaceString((wxString const &)*arg2);
12464
12465 wxPyEndAllowThreads(__tstate);
12466 if (PyErr_Occurred()) SWIG_fail;
12467 }
12468 Py_INCREF(Py_None); resultobj = Py_None;
12469 {
12470 if (temp2)
12471 delete arg2;
12472 }
12473 return resultobj;
12474 fail:
12475 {
12476 if (temp2)
12477 delete arg2;
12478 }
12479 return NULL;
12480}
12481
12482
12483static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12484 PyObject *obj;
12485 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12486 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12487 Py_INCREF(obj);
12488 return Py_BuildValue((char *)"");
12489}
12490static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12491 PyObject *resultobj;
12492 wxWindow *arg1 = (wxWindow *) 0 ;
12493 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12494 wxString *arg3 = 0 ;
12495 int arg4 = (int) 0 ;
12496 wxFindReplaceDialog *result;
423f194a 12497 bool temp3 = False ;
d14a1e28
RD
12498 PyObject * obj0 = 0 ;
12499 PyObject * obj1 = 0 ;
12500 PyObject * obj2 = 0 ;
12501 char *kwnames[] = {
12502 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12503 };
12504
12505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12507 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12508 {
12509 arg3 = wxString_in_helper(obj2);
12510 if (arg3 == NULL) SWIG_fail;
423f194a 12511 temp3 = True;
d14a1e28
RD
12512 }
12513 {
12514 PyThreadState* __tstate = wxPyBeginAllowThreads();
12515 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12516
12517 wxPyEndAllowThreads(__tstate);
12518 if (PyErr_Occurred()) SWIG_fail;
12519 }
12520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12521 {
12522 if (temp3)
12523 delete arg3;
12524 }
12525 return resultobj;
12526 fail:
12527 {
12528 if (temp3)
12529 delete arg3;
12530 }
12531 return NULL;
12532}
12533
12534
12535static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12536 PyObject *resultobj;
12537 wxFindReplaceDialog *result;
12538 char *kwnames[] = {
12539 NULL
12540 };
12541
12542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12543 {
12544 PyThreadState* __tstate = wxPyBeginAllowThreads();
12545 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12546
12547 wxPyEndAllowThreads(__tstate);
12548 if (PyErr_Occurred()) SWIG_fail;
12549 }
12550 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12551 return resultobj;
12552 fail:
12553 return NULL;
12554}
12555
12556
12557static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12558 PyObject *resultobj;
12559 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12560 wxWindow *arg2 = (wxWindow *) 0 ;
12561 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12562 wxString *arg4 = 0 ;
12563 int arg5 = (int) 0 ;
12564 bool result;
423f194a 12565 bool temp4 = False ;
d14a1e28
RD
12566 PyObject * obj0 = 0 ;
12567 PyObject * obj1 = 0 ;
12568 PyObject * obj2 = 0 ;
12569 PyObject * obj3 = 0 ;
12570 char *kwnames[] = {
12571 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12572 };
12573
12574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12576 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12577 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12578 {
12579 arg4 = wxString_in_helper(obj3);
12580 if (arg4 == NULL) SWIG_fail;
423f194a 12581 temp4 = True;
d14a1e28
RD
12582 }
12583 {
12584 PyThreadState* __tstate = wxPyBeginAllowThreads();
12585 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12586
12587 wxPyEndAllowThreads(__tstate);
12588 if (PyErr_Occurred()) SWIG_fail;
12589 }
12590 resultobj = PyInt_FromLong((long)result);
12591 {
12592 if (temp4)
12593 delete arg4;
12594 }
12595 return resultobj;
12596 fail:
12597 {
12598 if (temp4)
12599 delete arg4;
12600 }
12601 return NULL;
12602}
12603
12604
12605static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12606 PyObject *resultobj;
12607 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12608 wxFindReplaceData *result;
12609 PyObject * obj0 = 0 ;
12610 char *kwnames[] = {
12611 (char *) "self", NULL
12612 };
12613
12614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12616 {
12617 PyThreadState* __tstate = wxPyBeginAllowThreads();
12618 result = (wxFindReplaceData *)(arg1)->GetData();
12619
12620 wxPyEndAllowThreads(__tstate);
12621 if (PyErr_Occurred()) SWIG_fail;
12622 }
12623 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12624 return resultobj;
12625 fail:
12626 return NULL;
12627}
12628
12629
12630static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12631 PyObject *resultobj;
12632 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12633 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12634 PyObject * obj0 = 0 ;
12635 PyObject * obj1 = 0 ;
12636 char *kwnames[] = {
12637 (char *) "self",(char *) "data", NULL
12638 };
12639
12640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12642 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12643 {
12644 PyThreadState* __tstate = wxPyBeginAllowThreads();
12645 (arg1)->SetData(arg2);
12646
12647 wxPyEndAllowThreads(__tstate);
12648 if (PyErr_Occurred()) SWIG_fail;
12649 }
12650 Py_INCREF(Py_None); resultobj = Py_None;
12651 return resultobj;
12652 fail:
12653 return NULL;
12654}
12655
12656
12657static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12658 PyObject *obj;
12659 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12660 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12661 Py_INCREF(obj);
12662 return Py_BuildValue((char *)"");
12663}
12664static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12665 PyObject *resultobj;
12666 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 12667 int arg2 ;
d14a1e28
RD
12668 wxString *arg3 = 0 ;
12669 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12670 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12671 wxSize const &arg5_defvalue = wxDefaultSize ;
12672 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12673 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12674 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12675 wxString *arg7 = (wxString *) &arg7_defvalue ;
12676 wxMDIParentFrame *result;
423f194a 12677 bool temp3 = False ;
d14a1e28
RD
12678 wxPoint temp4 ;
12679 wxSize temp5 ;
423f194a 12680 bool temp7 = False ;
d14a1e28
RD
12681 PyObject * obj0 = 0 ;
12682 PyObject * obj2 = 0 ;
12683 PyObject * obj3 = 0 ;
12684 PyObject * obj4 = 0 ;
12685 PyObject * obj6 = 0 ;
12686 char *kwnames[] = {
12687 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12688 };
12689
12690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12692 {
12693 arg3 = wxString_in_helper(obj2);
12694 if (arg3 == NULL) SWIG_fail;
423f194a 12695 temp3 = True;
d14a1e28
RD
12696 }
12697 if (obj3) {
12698 {
12699 arg4 = &temp4;
12700 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12701 }
12702 }
12703 if (obj4) {
12704 {
12705 arg5 = &temp5;
12706 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12707 }
12708 }
12709 if (obj6) {
12710 {
12711 arg7 = wxString_in_helper(obj6);
12712 if (arg7 == NULL) SWIG_fail;
423f194a 12713 temp7 = True;
d14a1e28
RD
12714 }
12715 }
12716 {
12717 PyThreadState* __tstate = wxPyBeginAllowThreads();
12718 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12719
12720 wxPyEndAllowThreads(__tstate);
12721 if (PyErr_Occurred()) SWIG_fail;
12722 }
12723 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12724 {
12725 if (temp3)
12726 delete arg3;
12727 }
12728 {
12729 if (temp7)
12730 delete arg7;
12731 }
12732 return resultobj;
12733 fail:
12734 {
12735 if (temp3)
12736 delete arg3;
12737 }
12738 {
12739 if (temp7)
12740 delete arg7;
12741 }
12742 return NULL;
12743}
12744
12745
12746static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12747 PyObject *resultobj;
12748 wxMDIParentFrame *result;
12749 char *kwnames[] = {
12750 NULL
12751 };
12752
12753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12754 {
12755 PyThreadState* __tstate = wxPyBeginAllowThreads();
12756 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12757
12758 wxPyEndAllowThreads(__tstate);
12759 if (PyErr_Occurred()) SWIG_fail;
12760 }
12761 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12762 return resultobj;
12763 fail:
12764 return NULL;
12765}
12766
12767
12768static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12769 PyObject *resultobj;
12770 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12771 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 12772 int arg3 ;
d14a1e28
RD
12773 wxString *arg4 = 0 ;
12774 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12775 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12776 wxSize const &arg6_defvalue = wxDefaultSize ;
12777 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12778 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12779 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12780 wxString *arg8 = (wxString *) &arg8_defvalue ;
12781 bool result;
423f194a 12782 bool temp4 = False ;
d14a1e28
RD
12783 wxPoint temp5 ;
12784 wxSize temp6 ;
423f194a 12785 bool temp8 = False ;
d14a1e28
RD
12786 PyObject * obj0 = 0 ;
12787 PyObject * obj1 = 0 ;
12788 PyObject * obj3 = 0 ;
12789 PyObject * obj4 = 0 ;
12790 PyObject * obj5 = 0 ;
12791 PyObject * obj7 = 0 ;
12792 char *kwnames[] = {
12793 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12794 };
12795
12796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12798 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12799 {
12800 arg4 = wxString_in_helper(obj3);
12801 if (arg4 == NULL) SWIG_fail;
423f194a 12802 temp4 = True;
d14a1e28
RD
12803 }
12804 if (obj4) {
12805 {
12806 arg5 = &temp5;
12807 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12808 }
12809 }
12810 if (obj5) {
12811 {
12812 arg6 = &temp6;
12813 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12814 }
12815 }
12816 if (obj7) {
12817 {
12818 arg8 = wxString_in_helper(obj7);
12819 if (arg8 == NULL) SWIG_fail;
423f194a 12820 temp8 = True;
d14a1e28
RD
12821 }
12822 }
12823 {
12824 PyThreadState* __tstate = wxPyBeginAllowThreads();
12825 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12826
12827 wxPyEndAllowThreads(__tstate);
12828 if (PyErr_Occurred()) SWIG_fail;
12829 }
12830 resultobj = PyInt_FromLong((long)result);
12831 {
12832 if (temp4)
12833 delete arg4;
12834 }
12835 {
12836 if (temp8)
12837 delete arg8;
12838 }
12839 return resultobj;
12840 fail:
12841 {
12842 if (temp4)
12843 delete arg4;
12844 }
12845 {
12846 if (temp8)
12847 delete arg8;
12848 }
12849 return NULL;
12850}
12851
12852
12853static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
12854 PyObject *resultobj;
12855 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12856 PyObject * obj0 = 0 ;
12857 char *kwnames[] = {
12858 (char *) "self", NULL
12859 };
12860
12861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
12862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12863 {
12864 PyThreadState* __tstate = wxPyBeginAllowThreads();
12865 (arg1)->ActivateNext();
12866
12867 wxPyEndAllowThreads(__tstate);
12868 if (PyErr_Occurred()) SWIG_fail;
12869 }
12870 Py_INCREF(Py_None); resultobj = Py_None;
12871 return resultobj;
12872 fail:
12873 return NULL;
12874}
12875
12876
12877static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
12878 PyObject *resultobj;
12879 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12880 PyObject * obj0 = 0 ;
12881 char *kwnames[] = {
12882 (char *) "self", NULL
12883 };
12884
12885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
12886 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12887 {
12888 PyThreadState* __tstate = wxPyBeginAllowThreads();
12889 (arg1)->ActivatePrevious();
12890
12891 wxPyEndAllowThreads(__tstate);
12892 if (PyErr_Occurred()) SWIG_fail;
12893 }
12894 Py_INCREF(Py_None); resultobj = Py_None;
12895 return resultobj;
12896 fail:
12897 return NULL;
12898}
12899
12900
12901static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
12902 PyObject *resultobj;
12903 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12904 PyObject * obj0 = 0 ;
12905 char *kwnames[] = {
12906 (char *) "self", NULL
12907 };
12908
12909 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
12910 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12911 {
12912 PyThreadState* __tstate = wxPyBeginAllowThreads();
12913 (arg1)->ArrangeIcons();
12914
12915 wxPyEndAllowThreads(__tstate);
12916 if (PyErr_Occurred()) SWIG_fail;
12917 }
12918 Py_INCREF(Py_None); resultobj = Py_None;
12919 return resultobj;
12920 fail:
12921 return NULL;
12922}
12923
12924
12925static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj;
12927 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12928 PyObject * obj0 = 0 ;
12929 char *kwnames[] = {
12930 (char *) "self", NULL
12931 };
12932
12933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
12934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12935 {
12936 PyThreadState* __tstate = wxPyBeginAllowThreads();
12937 (arg1)->Cascade();
12938
12939 wxPyEndAllowThreads(__tstate);
12940 if (PyErr_Occurred()) SWIG_fail;
12941 }
12942 Py_INCREF(Py_None); resultobj = Py_None;
12943 return resultobj;
12944 fail:
12945 return NULL;
12946}
12947
12948
12949static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
12950 PyObject *resultobj;
12951 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12952 wxMDIChildFrame *result;
12953 PyObject * obj0 = 0 ;
12954 char *kwnames[] = {
12955 (char *) "self", NULL
12956 };
12957
12958 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
12959 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12960 {
12961 PyThreadState* __tstate = wxPyBeginAllowThreads();
12962 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
12963
12964 wxPyEndAllowThreads(__tstate);
12965 if (PyErr_Occurred()) SWIG_fail;
12966 }
12967 {
12968 resultobj = wxPyMake_wxObject(result);
12969 }
12970 return resultobj;
12971 fail:
12972 return NULL;
12973}
12974
12975
12976static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12977 PyObject *resultobj;
12978 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12979 wxMDIClientWindow *result;
12980 PyObject * obj0 = 0 ;
12981 char *kwnames[] = {
12982 (char *) "self", NULL
12983 };
12984
12985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
12986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12987 {
12988 PyThreadState* __tstate = wxPyBeginAllowThreads();
12989 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
12990
12991 wxPyEndAllowThreads(__tstate);
12992 if (PyErr_Occurred()) SWIG_fail;
12993 }
12994 {
12995 resultobj = wxPyMake_wxObject(result);
12996 }
12997 return resultobj;
12998 fail:
12999 return NULL;
13000}
13001
13002
13003static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13004 PyObject *resultobj;
13005 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13006 wxWindow *result;
13007 PyObject * obj0 = 0 ;
13008 char *kwnames[] = {
13009 (char *) "self", NULL
13010 };
13011
13012 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13013 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13014 {
13015 PyThreadState* __tstate = wxPyBeginAllowThreads();
13016 result = (wxWindow *)(arg1)->GetToolBar();
13017
13018 wxPyEndAllowThreads(__tstate);
13019 if (PyErr_Occurred()) SWIG_fail;
13020 }
13021 {
13022 resultobj = wxPyMake_wxObject(result);
13023 }
13024 return resultobj;
13025 fail:
13026 return NULL;
13027}
13028
13029
13030static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13031 PyObject *resultobj;
13032 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13033 wxMenu *result;
13034 PyObject * obj0 = 0 ;
13035 char *kwnames[] = {
13036 (char *) "self", NULL
13037 };
13038
13039 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
13040 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13041 {
13042 PyThreadState* __tstate = wxPyBeginAllowThreads();
13043 result = (wxMenu *)(arg1)->GetWindowMenu();
13044
13045 wxPyEndAllowThreads(__tstate);
13046 if (PyErr_Occurred()) SWIG_fail;
13047 }
13048 {
13049 resultobj = wxPyMake_wxObject(result);
13050 }
13051 return resultobj;
13052 fail:
13053 return NULL;
13054}
13055
13056
13057static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13058 PyObject *resultobj;
13059 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13060 wxMenu *arg2 = (wxMenu *) 0 ;
13061 PyObject * obj0 = 0 ;
13062 PyObject * obj1 = 0 ;
13063 char *kwnames[] = {
13064 (char *) "self",(char *) "menu", NULL
13065 };
13066
13067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
13068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13069 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13070 {
13071 PyThreadState* __tstate = wxPyBeginAllowThreads();
13072 (arg1)->SetWindowMenu(arg2);
13073
13074 wxPyEndAllowThreads(__tstate);
13075 if (PyErr_Occurred()) SWIG_fail;
13076 }
13077 Py_INCREF(Py_None); resultobj = Py_None;
13078 return resultobj;
13079 fail:
13080 return NULL;
13081}
13082
13083
13084static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13085 PyObject *resultobj;
13086 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13087 wxToolBar *arg2 = (wxToolBar *) 0 ;
13088 PyObject * obj0 = 0 ;
13089 PyObject * obj1 = 0 ;
13090 char *kwnames[] = {
13091 (char *) "self",(char *) "toolbar", NULL
13092 };
13093
13094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
13095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13096 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13097 {
13098 PyThreadState* __tstate = wxPyBeginAllowThreads();
13099 (arg1)->SetToolBar(arg2);
13100
13101 wxPyEndAllowThreads(__tstate);
13102 if (PyErr_Occurred()) SWIG_fail;
13103 }
13104 Py_INCREF(Py_None); resultobj = Py_None;
13105 return resultobj;
13106 fail:
13107 return NULL;
13108}
13109
13110
13111static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13112 PyObject *resultobj;
13113 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13114 PyObject * obj0 = 0 ;
13115 char *kwnames[] = {
13116 (char *) "self", NULL
13117 };
13118
13119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13121 {
13122 PyThreadState* __tstate = wxPyBeginAllowThreads();
13123 (arg1)->Tile();
13124
13125 wxPyEndAllowThreads(__tstate);
13126 if (PyErr_Occurred()) SWIG_fail;
13127 }
13128 Py_INCREF(Py_None); resultobj = Py_None;
13129 return resultobj;
13130 fail:
13131 return NULL;
13132}
13133
13134
13135static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13136 PyObject *obj;
13137 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13138 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13139 Py_INCREF(obj);
13140 return Py_BuildValue((char *)"");
13141}
13142static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13143 PyObject *resultobj;
13144 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
423f194a 13145 int arg2 ;
d14a1e28
RD
13146 wxString *arg3 = 0 ;
13147 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13148 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13149 wxSize const &arg5_defvalue = wxDefaultSize ;
13150 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13151 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13152 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13153 wxString *arg7 = (wxString *) &arg7_defvalue ;
13154 wxMDIChildFrame *result;
423f194a 13155 bool temp3 = False ;
d14a1e28
RD
13156 wxPoint temp4 ;
13157 wxSize temp5 ;
423f194a 13158 bool temp7 = False ;
d14a1e28
RD
13159 PyObject * obj0 = 0 ;
13160 PyObject * obj2 = 0 ;
13161 PyObject * obj3 = 0 ;
13162 PyObject * obj4 = 0 ;
13163 PyObject * obj6 = 0 ;
13164 char *kwnames[] = {
13165 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13166 };
13167
13168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13170 {
13171 arg3 = wxString_in_helper(obj2);
13172 if (arg3 == NULL) SWIG_fail;
423f194a 13173 temp3 = True;
d14a1e28
RD
13174 }
13175 if (obj3) {
13176 {
13177 arg4 = &temp4;
13178 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13179 }
13180 }
13181 if (obj4) {
13182 {
13183 arg5 = &temp5;
13184 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13185 }
13186 }
13187 if (obj6) {
13188 {
13189 arg7 = wxString_in_helper(obj6);
13190 if (arg7 == NULL) SWIG_fail;
423f194a 13191 temp7 = True;
d14a1e28
RD
13192 }
13193 }
13194 {
13195 PyThreadState* __tstate = wxPyBeginAllowThreads();
13196 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13197
13198 wxPyEndAllowThreads(__tstate);
13199 if (PyErr_Occurred()) SWIG_fail;
13200 }
13201 {
13202 resultobj = wxPyMake_wxObject(result);
13203 }
13204 {
13205 if (temp3)
13206 delete arg3;
13207 }
13208 {
13209 if (temp7)
13210 delete arg7;
13211 }
13212 return resultobj;
13213 fail:
13214 {
13215 if (temp3)
13216 delete arg3;
13217 }
13218 {
13219 if (temp7)
13220 delete arg7;
13221 }
13222 return NULL;
13223}
13224
13225
13226static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13227 PyObject *resultobj;
13228 wxMDIChildFrame *result;
13229 char *kwnames[] = {
13230 NULL
13231 };
13232
13233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13234 {
13235 PyThreadState* __tstate = wxPyBeginAllowThreads();
13236 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13237
13238 wxPyEndAllowThreads(__tstate);
13239 if (PyErr_Occurred()) SWIG_fail;
13240 }
13241 {
13242 resultobj = wxPyMake_wxObject(result);
13243 }
13244 return resultobj;
13245 fail:
13246 return NULL;
13247}
13248
13249
13250static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13251 PyObject *resultobj;
13252 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13253 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
423f194a 13254 int arg3 ;
d14a1e28
RD
13255 wxString *arg4 = 0 ;
13256 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13257 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13258 wxSize const &arg6_defvalue = wxDefaultSize ;
13259 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13260 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13261 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13262 wxString *arg8 = (wxString *) &arg8_defvalue ;
13263 bool result;
423f194a 13264 bool temp4 = False ;
d14a1e28
RD
13265 wxPoint temp5 ;
13266 wxSize temp6 ;
423f194a 13267 bool temp8 = False ;
d14a1e28
RD
13268 PyObject * obj0 = 0 ;
13269 PyObject * obj1 = 0 ;
13270 PyObject * obj3 = 0 ;
13271 PyObject * obj4 = 0 ;
13272 PyObject * obj5 = 0 ;
13273 PyObject * obj7 = 0 ;
13274 char *kwnames[] = {
13275 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13276 };
13277
13278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13280 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13281 {
13282 arg4 = wxString_in_helper(obj3);
13283 if (arg4 == NULL) SWIG_fail;
423f194a 13284 temp4 = True;
d14a1e28
RD
13285 }
13286 if (obj4) {
13287 {
13288 arg5 = &temp5;
13289 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13290 }
13291 }
13292 if (obj5) {
13293 {
13294 arg6 = &temp6;
13295 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13296 }
13297 }
13298 if (obj7) {
13299 {
13300 arg8 = wxString_in_helper(obj7);
13301 if (arg8 == NULL) SWIG_fail;
423f194a 13302 temp8 = True;
d14a1e28
RD
13303 }
13304 }
13305 {
13306 PyThreadState* __tstate = wxPyBeginAllowThreads();
13307 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13308
13309 wxPyEndAllowThreads(__tstate);
13310 if (PyErr_Occurred()) SWIG_fail;
13311 }
13312 resultobj = PyInt_FromLong((long)result);
13313 {
13314 if (temp4)
13315 delete arg4;
13316 }
13317 {
13318 if (temp8)
13319 delete arg8;
13320 }
13321 return resultobj;
13322 fail:
13323 {
13324 if (temp4)
13325 delete arg4;
13326 }
13327 {
13328 if (temp8)
13329 delete arg8;
13330 }
13331 return NULL;
13332}
13333
13334
13335static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13336 PyObject *resultobj;
13337 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13338 PyObject * obj0 = 0 ;
13339 char *kwnames[] = {
13340 (char *) "self", NULL
13341 };
13342
13343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13345 {
13346 PyThreadState* __tstate = wxPyBeginAllowThreads();
13347 (arg1)->Activate();
13348
13349 wxPyEndAllowThreads(__tstate);
13350 if (PyErr_Occurred()) SWIG_fail;
13351 }
13352 Py_INCREF(Py_None); resultobj = Py_None;
13353 return resultobj;
13354 fail:
13355 return NULL;
13356}
13357
13358
13359static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13360 PyObject *resultobj;
13361 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13362 bool arg2 ;
13363 PyObject * obj0 = 0 ;
13364 PyObject * obj1 = 0 ;
13365 char *kwnames[] = {
13366 (char *) "self",(char *) "maximize", NULL
13367 };
13368
13369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13371 arg2 = PyInt_AsLong(obj1) ? true : false;
13372 if (PyErr_Occurred()) SWIG_fail;
13373 {
13374 PyThreadState* __tstate = wxPyBeginAllowThreads();
13375 (arg1)->Maximize(arg2);
13376
13377 wxPyEndAllowThreads(__tstate);
13378 if (PyErr_Occurred()) SWIG_fail;
13379 }
13380 Py_INCREF(Py_None); resultobj = Py_None;
13381 return resultobj;
13382 fail:
13383 return NULL;
13384}
13385
13386
13387static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13388 PyObject *resultobj;
13389 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13390 PyObject * obj0 = 0 ;
13391 char *kwnames[] = {
13392 (char *) "self", NULL
13393 };
13394
13395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13397 {
13398 PyThreadState* __tstate = wxPyBeginAllowThreads();
13399 (arg1)->Restore();
13400
13401 wxPyEndAllowThreads(__tstate);
13402 if (PyErr_Occurred()) SWIG_fail;
13403 }
13404 Py_INCREF(Py_None); resultobj = Py_None;
13405 return resultobj;
13406 fail:
13407 return NULL;
13408}
13409
13410
13411static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13412 PyObject *obj;
13413 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13414 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13415 Py_INCREF(obj);
13416 return Py_BuildValue((char *)"");
13417}
13418static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13419 PyObject *resultobj;
13420 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13421 long arg2 = (long) 0 ;
13422 wxMDIClientWindow *result;
13423 PyObject * obj0 = 0 ;
13424 char *kwnames[] = {
13425 (char *) "parent",(char *) "style", NULL
13426 };
13427
13428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13430 {
13431 PyThreadState* __tstate = wxPyBeginAllowThreads();
13432 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13433
13434 wxPyEndAllowThreads(__tstate);
13435 if (PyErr_Occurred()) SWIG_fail;
13436 }
13437 {
13438 resultobj = wxPyMake_wxObject(result);
13439 }
13440 return resultobj;
13441 fail:
13442 return NULL;
13443}
13444
13445
13446static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13447 PyObject *resultobj;
13448 wxMDIClientWindow *result;
13449 char *kwnames[] = {
13450 NULL
13451 };
13452
13453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13454 {
13455 PyThreadState* __tstate = wxPyBeginAllowThreads();
13456 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13457
13458 wxPyEndAllowThreads(__tstate);
13459 if (PyErr_Occurred()) SWIG_fail;
13460 }
13461 {
13462 resultobj = wxPyMake_wxObject(result);
13463 }
13464 return resultobj;
13465 fail:
13466 return NULL;
13467}
13468
13469
13470static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13471 PyObject *resultobj;
13472 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13473 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13474 long arg3 = (long) 0 ;
13475 bool result;
13476 PyObject * obj0 = 0 ;
13477 PyObject * obj1 = 0 ;
13478 char *kwnames[] = {
13479 (char *) "self",(char *) "parent",(char *) "style", NULL
13480 };
13481
13482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13484 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13485 {
13486 PyThreadState* __tstate = wxPyBeginAllowThreads();
13487 result = (bool)(arg1)->Create(arg2,arg3);
13488
13489 wxPyEndAllowThreads(__tstate);
13490 if (PyErr_Occurred()) SWIG_fail;
13491 }
13492 resultobj = PyInt_FromLong((long)result);
13493 return resultobj;
13494 fail:
13495 return NULL;
13496}
13497
13498
13499static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13500 PyObject *obj;
13501 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13502 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13503 Py_INCREF(obj);
13504 return Py_BuildValue((char *)"");
13505}
13506static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13507 PyObject *resultobj;
13508 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 13509 int arg2 ;
d14a1e28
RD
13510 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13511 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13512 wxSize const &arg4_defvalue = wxDefaultSize ;
13513 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13514 long arg5 = (long) 0 ;
13515 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13516 wxString *arg6 = (wxString *) &arg6_defvalue ;
13517 wxPyWindow *result;
13518 wxPoint temp3 ;
13519 wxSize temp4 ;
423f194a 13520 bool temp6 = False ;
d14a1e28
RD
13521 PyObject * obj0 = 0 ;
13522 PyObject * obj2 = 0 ;
13523 PyObject * obj3 = 0 ;
13524 PyObject * obj5 = 0 ;
13525 char *kwnames[] = {
13526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13527 };
13528
13529 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13530 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13531 if (obj2) {
13532 {
13533 arg3 = &temp3;
13534 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13535 }
13536 }
13537 if (obj3) {
13538 {
13539 arg4 = &temp4;
13540 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13541 }
13542 }
13543 if (obj5) {
13544 {
13545 arg6 = wxString_in_helper(obj5);
13546 if (arg6 == NULL) SWIG_fail;
423f194a 13547 temp6 = True;
d14a1e28
RD
13548 }
13549 }
13550 {
13551 PyThreadState* __tstate = wxPyBeginAllowThreads();
13552 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13553
13554 wxPyEndAllowThreads(__tstate);
13555 if (PyErr_Occurred()) SWIG_fail;
13556 }
13557 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13558 {
13559 if (temp6)
13560 delete arg6;
13561 }
13562 return resultobj;
13563 fail:
13564 {
13565 if (temp6)
13566 delete arg6;
13567 }
13568 return NULL;
13569}
13570
13571
13572static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13573 PyObject *resultobj;
13574 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13575 PyObject *arg2 = (PyObject *) 0 ;
13576 PyObject *arg3 = (PyObject *) 0 ;
13577 PyObject * obj0 = 0 ;
13578 PyObject * obj1 = 0 ;
13579 PyObject * obj2 = 0 ;
13580 char *kwnames[] = {
13581 (char *) "self",(char *) "self",(char *) "_class", NULL
13582 };
13583
13584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13586 arg2 = obj1;
13587 arg3 = obj2;
13588 {
13589 PyThreadState* __tstate = wxPyBeginAllowThreads();
13590 (arg1)->_setCallbackInfo(arg2,arg3);
13591
13592 wxPyEndAllowThreads(__tstate);
13593 if (PyErr_Occurred()) SWIG_fail;
13594 }
13595 Py_INCREF(Py_None); resultobj = Py_None;
13596 return resultobj;
13597 fail:
13598 return NULL;
13599}
13600
13601
13602static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13603 PyObject *resultobj;
13604 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13605 int arg2 ;
13606 int arg3 ;
13607 int arg4 ;
13608 int arg5 ;
13609 PyObject * obj0 = 0 ;
13610 char *kwnames[] = {
13611 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13612 };
13613
13614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13616 {
13617 PyThreadState* __tstate = wxPyBeginAllowThreads();
13618 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13619
13620 wxPyEndAllowThreads(__tstate);
13621 if (PyErr_Occurred()) SWIG_fail;
13622 }
13623 Py_INCREF(Py_None); resultobj = Py_None;
13624 return resultobj;
13625 fail:
13626 return NULL;
13627}
13628
13629
13630static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13631 PyObject *resultobj;
13632 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13633 int arg2 ;
13634 int arg3 ;
13635 int arg4 ;
13636 int arg5 ;
13637 int arg6 = (int) wxSIZE_AUTO ;
13638 PyObject * obj0 = 0 ;
13639 char *kwnames[] = {
13640 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13641 };
13642
13643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13645 {
13646 PyThreadState* __tstate = wxPyBeginAllowThreads();
13647 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13648
13649 wxPyEndAllowThreads(__tstate);
13650 if (PyErr_Occurred()) SWIG_fail;
13651 }
13652 Py_INCREF(Py_None); resultobj = Py_None;
13653 return resultobj;
13654 fail:
13655 return NULL;
13656}
13657
13658
13659static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13660 PyObject *resultobj;
13661 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13662 int arg2 ;
13663 int arg3 ;
13664 PyObject * obj0 = 0 ;
13665 char *kwnames[] = {
13666 (char *) "self",(char *) "width",(char *) "height", NULL
13667 };
13668
13669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13671 {
13672 PyThreadState* __tstate = wxPyBeginAllowThreads();
13673 (arg1)->base_DoSetClientSize(arg2,arg3);
13674
13675 wxPyEndAllowThreads(__tstate);
13676 if (PyErr_Occurred()) SWIG_fail;
13677 }
13678 Py_INCREF(Py_None); resultobj = Py_None;
13679 return resultobj;
13680 fail:
13681 return NULL;
13682}
13683
13684
13685static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13686 PyObject *resultobj;
13687 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13688 int arg2 ;
13689 int arg3 ;
13690 PyObject * obj0 = 0 ;
13691 char *kwnames[] = {
13692 (char *) "self",(char *) "x",(char *) "y", NULL
13693 };
13694
13695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13697 {
13698 PyThreadState* __tstate = wxPyBeginAllowThreads();
13699 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13700
13701 wxPyEndAllowThreads(__tstate);
13702 if (PyErr_Occurred()) SWIG_fail;
13703 }
13704 Py_INCREF(Py_None); resultobj = Py_None;
13705 return resultobj;
13706 fail:
13707 return NULL;
13708}
13709
13710
13711static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13712 PyObject *resultobj;
13713 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13714 int *arg2 = (int *) 0 ;
13715 int *arg3 = (int *) 0 ;
13716 int temp2 ;
13717 int temp3 ;
13718 PyObject * obj0 = 0 ;
13719 char *kwnames[] = {
13720 (char *) "self", NULL
13721 };
13722
13723 arg2 = &temp2;
13724 arg3 = &temp3;
13725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13727 {
13728 PyThreadState* __tstate = wxPyBeginAllowThreads();
13729 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13730
13731 wxPyEndAllowThreads(__tstate);
13732 if (PyErr_Occurred()) SWIG_fail;
13733 }
13734 Py_INCREF(Py_None); resultobj = Py_None;
13735 {
13736 PyObject *o = PyInt_FromLong((long) (*arg2));
13737 resultobj = t_output_helper(resultobj,o);
13738 }
13739 {
13740 PyObject *o = PyInt_FromLong((long) (*arg3));
13741 resultobj = t_output_helper(resultobj,o);
13742 }
13743 return resultobj;
13744 fail:
13745 return NULL;
13746}
13747
13748
13749static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13750 PyObject *resultobj;
13751 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13752 int *arg2 = (int *) 0 ;
13753 int *arg3 = (int *) 0 ;
13754 int temp2 ;
13755 int temp3 ;
13756 PyObject * obj0 = 0 ;
13757 char *kwnames[] = {
13758 (char *) "self", NULL
13759 };
13760
13761 arg2 = &temp2;
13762 arg3 = &temp3;
13763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13765 {
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13768
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 Py_INCREF(Py_None); resultobj = Py_None;
13773 {
13774 PyObject *o = PyInt_FromLong((long) (*arg2));
13775 resultobj = t_output_helper(resultobj,o);
13776 }
13777 {
13778 PyObject *o = PyInt_FromLong((long) (*arg3));
13779 resultobj = t_output_helper(resultobj,o);
13780 }
13781 return resultobj;
13782 fail:
13783 return NULL;
13784}
13785
13786
13787static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13788 PyObject *resultobj;
13789 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13790 int *arg2 = (int *) 0 ;
13791 int *arg3 = (int *) 0 ;
13792 int temp2 ;
13793 int temp3 ;
13794 PyObject * obj0 = 0 ;
13795 char *kwnames[] = {
13796 (char *) "self", NULL
13797 };
13798
13799 arg2 = &temp2;
13800 arg3 = &temp3;
13801 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13803 {
13804 PyThreadState* __tstate = wxPyBeginAllowThreads();
13805 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13806
13807 wxPyEndAllowThreads(__tstate);
13808 if (PyErr_Occurred()) SWIG_fail;
13809 }
13810 Py_INCREF(Py_None); resultobj = Py_None;
13811 {
13812 PyObject *o = PyInt_FromLong((long) (*arg2));
13813 resultobj = t_output_helper(resultobj,o);
13814 }
13815 {
13816 PyObject *o = PyInt_FromLong((long) (*arg3));
13817 resultobj = t_output_helper(resultobj,o);
13818 }
13819 return resultobj;
13820 fail:
13821 return NULL;
13822}
13823
13824
13825static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13826 PyObject *resultobj;
13827 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13828 wxSize result;
13829 PyObject * obj0 = 0 ;
13830 char *kwnames[] = {
13831 (char *) "self", NULL
13832 };
13833
13834 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13835 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13836 {
13837 PyThreadState* __tstate = wxPyBeginAllowThreads();
13838 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13839
13840 wxPyEndAllowThreads(__tstate);
13841 if (PyErr_Occurred()) SWIG_fail;
13842 }
13843 {
13844 wxSize * resultptr;
13845 resultptr = new wxSize((wxSize &) result);
13846 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13847 }
13848 return resultobj;
13849 fail:
13850 return NULL;
13851}
13852
13853
13854static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13855 PyObject *resultobj;
13856 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13857 wxSize result;
13858 PyObject * obj0 = 0 ;
13859 char *kwnames[] = {
13860 (char *) "self", NULL
13861 };
13862
13863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13865 {
13866 PyThreadState* __tstate = wxPyBeginAllowThreads();
13867 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13868
13869 wxPyEndAllowThreads(__tstate);
13870 if (PyErr_Occurred()) SWIG_fail;
13871 }
13872 {
13873 wxSize * resultptr;
13874 resultptr = new wxSize((wxSize &) result);
13875 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13876 }
13877 return resultobj;
13878 fail:
13879 return NULL;
13880}
13881
13882
13883static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13884 PyObject *resultobj;
13885 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13886 PyObject * obj0 = 0 ;
13887 char *kwnames[] = {
13888 (char *) "self", NULL
13889 };
13890
13891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
13892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 (arg1)->base_InitDialog();
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 Py_INCREF(Py_None); resultobj = Py_None;
13901 return resultobj;
13902 fail:
13903 return NULL;
13904}
13905
13906
13907static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13908 PyObject *resultobj;
13909 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13910 bool result;
13911 PyObject * obj0 = 0 ;
13912 char *kwnames[] = {
13913 (char *) "self", NULL
13914 };
13915
13916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
13917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 result = (bool)(arg1)->base_TransferDataToWindow();
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 resultobj = PyInt_FromLong((long)result);
13926 return resultobj;
13927 fail:
13928 return NULL;
13929}
13930
13931
13932static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13935 bool result;
13936 PyObject * obj0 = 0 ;
13937 char *kwnames[] = {
13938 (char *) "self", NULL
13939 };
13940
13941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
13942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 result = (bool)(arg1)->base_TransferDataFromWindow();
13946
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 resultobj = PyInt_FromLong((long)result);
13951 return resultobj;
13952 fail:
13953 return NULL;
13954}
13955
13956
13957static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
13958 PyObject *resultobj;
13959 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13960 bool result;
13961 PyObject * obj0 = 0 ;
13962 char *kwnames[] = {
13963 (char *) "self", NULL
13964 };
13965
13966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
13967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13968 {
13969 PyThreadState* __tstate = wxPyBeginAllowThreads();
13970 result = (bool)(arg1)->base_Validate();
13971
13972 wxPyEndAllowThreads(__tstate);
13973 if (PyErr_Occurred()) SWIG_fail;
13974 }
13975 resultobj = PyInt_FromLong((long)result);
13976 return resultobj;
13977 fail:
13978 return NULL;
13979}
13980
13981
13982static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
13983 PyObject *resultobj;
13984 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13985 bool result;
13986 PyObject * obj0 = 0 ;
13987 char *kwnames[] = {
13988 (char *) "self", NULL
13989 };
13990
13991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
13992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13993 {
13994 PyThreadState* __tstate = wxPyBeginAllowThreads();
13995 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
13996
13997 wxPyEndAllowThreads(__tstate);
13998 if (PyErr_Occurred()) SWIG_fail;
13999 }
14000 resultobj = PyInt_FromLong((long)result);
14001 return resultobj;
14002 fail:
14003 return NULL;
14004}
14005
14006
14007static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14008 PyObject *resultobj;
14009 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14010 bool result;
14011 PyObject * obj0 = 0 ;
14012 char *kwnames[] = {
14013 (char *) "self", NULL
14014 };
14015
14016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14018 {
14019 PyThreadState* __tstate = wxPyBeginAllowThreads();
14020 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14021
14022 wxPyEndAllowThreads(__tstate);
14023 if (PyErr_Occurred()) SWIG_fail;
14024 }
14025 resultobj = PyInt_FromLong((long)result);
14026 return resultobj;
14027 fail:
14028 return NULL;
14029}
14030
14031
14032static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14033 PyObject *resultobj;
14034 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14035 wxSize result;
14036 PyObject * obj0 = 0 ;
14037 char *kwnames[] = {
14038 (char *) "self", NULL
14039 };
14040
14041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14043 {
14044 PyThreadState* __tstate = wxPyBeginAllowThreads();
14045 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14046
14047 wxPyEndAllowThreads(__tstate);
14048 if (PyErr_Occurred()) SWIG_fail;
14049 }
14050 {
14051 wxSize * resultptr;
14052 resultptr = new wxSize((wxSize &) result);
14053 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14054 }
14055 return resultobj;
14056 fail:
14057 return NULL;
14058}
14059
14060
14061static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14062 PyObject *resultobj;
14063 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14064 wxWindow *arg2 = (wxWindow *) 0 ;
14065 PyObject * obj0 = 0 ;
14066 PyObject * obj1 = 0 ;
14067 char *kwnames[] = {
14068 (char *) "self",(char *) "child", NULL
14069 };
14070
14071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14073 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14074 {
14075 PyThreadState* __tstate = wxPyBeginAllowThreads();
14076 (arg1)->base_AddChild(arg2);
14077
14078 wxPyEndAllowThreads(__tstate);
14079 if (PyErr_Occurred()) SWIG_fail;
14080 }
14081 Py_INCREF(Py_None); resultobj = Py_None;
14082 return resultobj;
14083 fail:
14084 return NULL;
14085}
14086
14087
14088static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14089 PyObject *resultobj;
14090 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14091 wxWindow *arg2 = (wxWindow *) 0 ;
14092 PyObject * obj0 = 0 ;
14093 PyObject * obj1 = 0 ;
14094 char *kwnames[] = {
14095 (char *) "self",(char *) "child", NULL
14096 };
14097
14098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14100 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14101 {
14102 PyThreadState* __tstate = wxPyBeginAllowThreads();
14103 (arg1)->base_RemoveChild(arg2);
14104
14105 wxPyEndAllowThreads(__tstate);
14106 if (PyErr_Occurred()) SWIG_fail;
14107 }
14108 Py_INCREF(Py_None); resultobj = Py_None;
14109 return resultobj;
14110 fail:
14111 return NULL;
14112}
14113
14114
14115static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14116 PyObject *obj;
14117 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14118 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14119 Py_INCREF(obj);
14120 return Py_BuildValue((char *)"");
14121}
14122static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14123 PyObject *resultobj;
14124 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 14125 int arg2 ;
d14a1e28
RD
14126 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14127 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14128 wxSize const &arg4_defvalue = wxDefaultSize ;
14129 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14130 long arg5 = (long) 0 ;
14131 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14132 wxString *arg6 = (wxString *) &arg6_defvalue ;
14133 wxPyPanel *result;
14134 wxPoint temp3 ;
14135 wxSize temp4 ;
423f194a 14136 bool temp6 = False ;
d14a1e28
RD
14137 PyObject * obj0 = 0 ;
14138 PyObject * obj2 = 0 ;
14139 PyObject * obj3 = 0 ;
14140 PyObject * obj5 = 0 ;
14141 char *kwnames[] = {
14142 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14143 };
14144
14145 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14146 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14147 if (obj2) {
14148 {
14149 arg3 = &temp3;
14150 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14151 }
14152 }
14153 if (obj3) {
14154 {
14155 arg4 = &temp4;
14156 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14157 }
14158 }
14159 if (obj5) {
14160 {
14161 arg6 = wxString_in_helper(obj5);
14162 if (arg6 == NULL) SWIG_fail;
423f194a 14163 temp6 = True;
d14a1e28
RD
14164 }
14165 }
14166 {
14167 PyThreadState* __tstate = wxPyBeginAllowThreads();
14168 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14169
14170 wxPyEndAllowThreads(__tstate);
14171 if (PyErr_Occurred()) SWIG_fail;
14172 }
14173 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14174 {
14175 if (temp6)
14176 delete arg6;
14177 }
14178 return resultobj;
14179 fail:
14180 {
14181 if (temp6)
14182 delete arg6;
14183 }
14184 return NULL;
14185}
14186
14187
14188static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14189 PyObject *resultobj;
14190 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14191 PyObject *arg2 = (PyObject *) 0 ;
14192 PyObject *arg3 = (PyObject *) 0 ;
14193 PyObject * obj0 = 0 ;
14194 PyObject * obj1 = 0 ;
14195 PyObject * obj2 = 0 ;
14196 char *kwnames[] = {
14197 (char *) "self",(char *) "self",(char *) "_class", NULL
14198 };
14199
14200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14202 arg2 = obj1;
14203 arg3 = obj2;
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 (arg1)->_setCallbackInfo(arg2,arg3);
14207
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 Py_INCREF(Py_None); resultobj = Py_None;
14212 return resultobj;
14213 fail:
14214 return NULL;
14215}
14216
14217
14218static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14219 PyObject *resultobj;
14220 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14221 int arg2 ;
14222 int arg3 ;
14223 int arg4 ;
14224 int arg5 ;
14225 PyObject * obj0 = 0 ;
14226 char *kwnames[] = {
14227 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14228 };
14229
14230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14232 {
14233 PyThreadState* __tstate = wxPyBeginAllowThreads();
14234 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14235
14236 wxPyEndAllowThreads(__tstate);
14237 if (PyErr_Occurred()) SWIG_fail;
14238 }
14239 Py_INCREF(Py_None); resultobj = Py_None;
14240 return resultobj;
14241 fail:
14242 return NULL;
14243}
14244
14245
14246static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14247 PyObject *resultobj;
14248 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14249 int arg2 ;
14250 int arg3 ;
14251 int arg4 ;
14252 int arg5 ;
14253 int arg6 = (int) wxSIZE_AUTO ;
14254 PyObject * obj0 = 0 ;
14255 char *kwnames[] = {
14256 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14257 };
14258
14259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14261 {
14262 PyThreadState* __tstate = wxPyBeginAllowThreads();
14263 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14264
14265 wxPyEndAllowThreads(__tstate);
14266 if (PyErr_Occurred()) SWIG_fail;
14267 }
14268 Py_INCREF(Py_None); resultobj = Py_None;
14269 return resultobj;
14270 fail:
14271 return NULL;
14272}
14273
14274
14275static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14276 PyObject *resultobj;
14277 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14278 int arg2 ;
14279 int arg3 ;
14280 PyObject * obj0 = 0 ;
14281 char *kwnames[] = {
14282 (char *) "self",(char *) "width",(char *) "height", NULL
14283 };
14284
14285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14287 {
14288 PyThreadState* __tstate = wxPyBeginAllowThreads();
14289 (arg1)->base_DoSetClientSize(arg2,arg3);
14290
14291 wxPyEndAllowThreads(__tstate);
14292 if (PyErr_Occurred()) SWIG_fail;
14293 }
14294 Py_INCREF(Py_None); resultobj = Py_None;
14295 return resultobj;
14296 fail:
14297 return NULL;
14298}
14299
14300
14301static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14302 PyObject *resultobj;
14303 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14304 int arg2 ;
14305 int arg3 ;
14306 PyObject * obj0 = 0 ;
14307 char *kwnames[] = {
14308 (char *) "self",(char *) "x",(char *) "y", NULL
14309 };
14310
14311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14313 {
14314 PyThreadState* __tstate = wxPyBeginAllowThreads();
14315 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14316
14317 wxPyEndAllowThreads(__tstate);
14318 if (PyErr_Occurred()) SWIG_fail;
14319 }
14320 Py_INCREF(Py_None); resultobj = Py_None;
14321 return resultobj;
14322 fail:
14323 return NULL;
14324}
14325
14326
14327static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14328 PyObject *resultobj;
14329 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14330 int *arg2 = (int *) 0 ;
14331 int *arg3 = (int *) 0 ;
14332 int temp2 ;
14333 int temp3 ;
14334 PyObject * obj0 = 0 ;
14335 char *kwnames[] = {
14336 (char *) "self", NULL
14337 };
14338
14339 arg2 = &temp2;
14340 arg3 = &temp3;
14341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14343 {
14344 PyThreadState* __tstate = wxPyBeginAllowThreads();
14345 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14346
14347 wxPyEndAllowThreads(__tstate);
14348 if (PyErr_Occurred()) SWIG_fail;
14349 }
14350 Py_INCREF(Py_None); resultobj = Py_None;
14351 {
14352 PyObject *o = PyInt_FromLong((long) (*arg2));
14353 resultobj = t_output_helper(resultobj,o);
14354 }
14355 {
14356 PyObject *o = PyInt_FromLong((long) (*arg3));
14357 resultobj = t_output_helper(resultobj,o);
14358 }
14359 return resultobj;
14360 fail:
14361 return NULL;
14362}
14363
14364
14365static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14366 PyObject *resultobj;
14367 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14368 int *arg2 = (int *) 0 ;
14369 int *arg3 = (int *) 0 ;
14370 int temp2 ;
14371 int temp3 ;
14372 PyObject * obj0 = 0 ;
14373 char *kwnames[] = {
14374 (char *) "self", NULL
14375 };
14376
14377 arg2 = &temp2;
14378 arg3 = &temp3;
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14381 {
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14384
14385 wxPyEndAllowThreads(__tstate);
14386 if (PyErr_Occurred()) SWIG_fail;
14387 }
14388 Py_INCREF(Py_None); resultobj = Py_None;
14389 {
14390 PyObject *o = PyInt_FromLong((long) (*arg2));
14391 resultobj = t_output_helper(resultobj,o);
14392 }
14393 {
14394 PyObject *o = PyInt_FromLong((long) (*arg3));
14395 resultobj = t_output_helper(resultobj,o);
14396 }
14397 return resultobj;
14398 fail:
14399 return NULL;
14400}
14401
14402
14403static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14404 PyObject *resultobj;
14405 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14406 int *arg2 = (int *) 0 ;
14407 int *arg3 = (int *) 0 ;
14408 int temp2 ;
14409 int temp3 ;
14410 PyObject * obj0 = 0 ;
14411 char *kwnames[] = {
14412 (char *) "self", NULL
14413 };
14414
14415 arg2 = &temp2;
14416 arg3 = &temp3;
14417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14419 {
14420 PyThreadState* __tstate = wxPyBeginAllowThreads();
14421 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14422
14423 wxPyEndAllowThreads(__tstate);
14424 if (PyErr_Occurred()) SWIG_fail;
14425 }
14426 Py_INCREF(Py_None); resultobj = Py_None;
14427 {
14428 PyObject *o = PyInt_FromLong((long) (*arg2));
14429 resultobj = t_output_helper(resultobj,o);
14430 }
14431 {
14432 PyObject *o = PyInt_FromLong((long) (*arg3));
14433 resultobj = t_output_helper(resultobj,o);
14434 }
14435 return resultobj;
14436 fail:
14437 return NULL;
14438}
14439
14440
14441static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14442 PyObject *resultobj;
14443 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14444 wxSize result;
14445 PyObject * obj0 = 0 ;
14446 char *kwnames[] = {
14447 (char *) "self", NULL
14448 };
14449
14450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14452 {
14453 PyThreadState* __tstate = wxPyBeginAllowThreads();
14454 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14455
14456 wxPyEndAllowThreads(__tstate);
14457 if (PyErr_Occurred()) SWIG_fail;
14458 }
14459 {
14460 wxSize * resultptr;
14461 resultptr = new wxSize((wxSize &) result);
14462 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14463 }
14464 return resultobj;
14465 fail:
14466 return NULL;
14467}
14468
14469
14470static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14471 PyObject *resultobj;
14472 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14473 wxSize result;
14474 PyObject * obj0 = 0 ;
14475 char *kwnames[] = {
14476 (char *) "self", NULL
14477 };
14478
14479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14481 {
14482 PyThreadState* __tstate = wxPyBeginAllowThreads();
14483 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14484
14485 wxPyEndAllowThreads(__tstate);
14486 if (PyErr_Occurred()) SWIG_fail;
14487 }
14488 {
14489 wxSize * resultptr;
14490 resultptr = new wxSize((wxSize &) result);
14491 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14492 }
14493 return resultobj;
14494 fail:
14495 return NULL;
14496}
14497
14498
14499static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14500 PyObject *resultobj;
14501 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14502 PyObject * obj0 = 0 ;
14503 char *kwnames[] = {
14504 (char *) "self", NULL
14505 };
14506
14507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14509 {
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
14511 (arg1)->base_InitDialog();
14512
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 Py_INCREF(Py_None); resultobj = Py_None;
14517 return resultobj;
14518 fail:
14519 return NULL;
14520}
14521
14522
14523static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14524 PyObject *resultobj;
14525 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14526 bool result;
14527 PyObject * obj0 = 0 ;
14528 char *kwnames[] = {
14529 (char *) "self", NULL
14530 };
14531
14532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (bool)(arg1)->base_TransferDataToWindow();
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 resultobj = PyInt_FromLong((long)result);
14542 return resultobj;
14543 fail:
14544 return NULL;
14545}
14546
14547
14548static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14549 PyObject *resultobj;
14550 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14551 bool result;
14552 PyObject * obj0 = 0 ;
14553 char *kwnames[] = {
14554 (char *) "self", NULL
14555 };
14556
14557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 result = (bool)(arg1)->base_TransferDataFromWindow();
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 resultobj = PyInt_FromLong((long)result);
14567 return resultobj;
14568 fail:
14569 return NULL;
14570}
14571
14572
14573static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14574 PyObject *resultobj;
14575 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14576 bool result;
14577 PyObject * obj0 = 0 ;
14578 char *kwnames[] = {
14579 (char *) "self", NULL
14580 };
14581
14582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14584 {
14585 PyThreadState* __tstate = wxPyBeginAllowThreads();
14586 result = (bool)(arg1)->base_Validate();
14587
14588 wxPyEndAllowThreads(__tstate);
14589 if (PyErr_Occurred()) SWIG_fail;
14590 }
14591 resultobj = PyInt_FromLong((long)result);
14592 return resultobj;
14593 fail:
14594 return NULL;
14595}
14596
14597
14598static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14599 PyObject *resultobj;
14600 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14601 bool result;
14602 PyObject * obj0 = 0 ;
14603 char *kwnames[] = {
14604 (char *) "self", NULL
14605 };
14606
14607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14609 {
14610 PyThreadState* __tstate = wxPyBeginAllowThreads();
14611 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14612
14613 wxPyEndAllowThreads(__tstate);
14614 if (PyErr_Occurred()) SWIG_fail;
14615 }
14616 resultobj = PyInt_FromLong((long)result);
14617 return resultobj;
14618 fail:
14619 return NULL;
14620}
14621
14622
14623static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14624 PyObject *resultobj;
14625 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14626 bool result;
14627 PyObject * obj0 = 0 ;
14628 char *kwnames[] = {
14629 (char *) "self", NULL
14630 };
14631
14632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14634 {
14635 PyThreadState* __tstate = wxPyBeginAllowThreads();
14636 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14637
14638 wxPyEndAllowThreads(__tstate);
14639 if (PyErr_Occurred()) SWIG_fail;
14640 }
14641 resultobj = PyInt_FromLong((long)result);
14642 return resultobj;
14643 fail:
14644 return NULL;
14645}
14646
14647
14648static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14649 PyObject *resultobj;
14650 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14651 wxSize result;
14652 PyObject * obj0 = 0 ;
14653 char *kwnames[] = {
14654 (char *) "self", NULL
14655 };
14656
14657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14659 {
14660 PyThreadState* __tstate = wxPyBeginAllowThreads();
14661 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14662
14663 wxPyEndAllowThreads(__tstate);
14664 if (PyErr_Occurred()) SWIG_fail;
14665 }
14666 {
14667 wxSize * resultptr;
14668 resultptr = new wxSize((wxSize &) result);
14669 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14670 }
14671 return resultobj;
14672 fail:
14673 return NULL;
14674}
14675
14676
14677static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14678 PyObject *resultobj;
14679 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14680 wxWindow *arg2 = (wxWindow *) 0 ;
14681 PyObject * obj0 = 0 ;
14682 PyObject * obj1 = 0 ;
14683 char *kwnames[] = {
14684 (char *) "self",(char *) "child", NULL
14685 };
14686
14687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14689 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14690 {
14691 PyThreadState* __tstate = wxPyBeginAllowThreads();
14692 (arg1)->base_AddChild(arg2);
14693
14694 wxPyEndAllowThreads(__tstate);
14695 if (PyErr_Occurred()) SWIG_fail;
14696 }
14697 Py_INCREF(Py_None); resultobj = Py_None;
14698 return resultobj;
14699 fail:
14700 return NULL;
14701}
14702
14703
14704static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14705 PyObject *resultobj;
14706 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14707 wxWindow *arg2 = (wxWindow *) 0 ;
14708 PyObject * obj0 = 0 ;
14709 PyObject * obj1 = 0 ;
14710 char *kwnames[] = {
14711 (char *) "self",(char *) "child", NULL
14712 };
14713
14714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14715 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14716 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14717 {
14718 PyThreadState* __tstate = wxPyBeginAllowThreads();
14719 (arg1)->base_RemoveChild(arg2);
14720
14721 wxPyEndAllowThreads(__tstate);
14722 if (PyErr_Occurred()) SWIG_fail;
14723 }
14724 Py_INCREF(Py_None); resultobj = Py_None;
14725 return resultobj;
14726 fail:
14727 return NULL;
14728}
14729
14730
14731static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14732 PyObject *obj;
14733 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14734 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14735 Py_INCREF(obj);
14736 return Py_BuildValue((char *)"");
14737}
14738static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14739 PyObject *resultobj;
14740 wxPrintData *result;
14741 char *kwnames[] = {
14742 NULL
14743 };
14744
14745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14746 {
14747 PyThreadState* __tstate = wxPyBeginAllowThreads();
14748 result = (wxPrintData *)new wxPrintData();
14749
14750 wxPyEndAllowThreads(__tstate);
14751 if (PyErr_Occurred()) SWIG_fail;
14752 }
14753 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14754 return resultobj;
14755 fail:
14756 return NULL;
14757}
14758
14759
14760static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14761 PyObject *resultobj;
14762 wxPrintData *arg1 = (wxPrintData *) 0 ;
14763 PyObject * obj0 = 0 ;
14764 char *kwnames[] = {
14765 (char *) "self", NULL
14766 };
14767
14768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 delete arg1;
14773
14774 wxPyEndAllowThreads(__tstate);
14775 if (PyErr_Occurred()) SWIG_fail;
14776 }
14777 Py_INCREF(Py_None); resultobj = Py_None;
14778 return resultobj;
14779 fail:
14780 return NULL;
14781}
14782
14783
14784static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14785 PyObject *resultobj;
14786 wxPrintData *arg1 = (wxPrintData *) 0 ;
14787 int result;
14788 PyObject * obj0 = 0 ;
14789 char *kwnames[] = {
14790 (char *) "self", NULL
14791 };
14792
14793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 result = (int)(arg1)->GetNoCopies();
14798
14799 wxPyEndAllowThreads(__tstate);
14800 if (PyErr_Occurred()) SWIG_fail;
14801 }
14802 resultobj = PyInt_FromLong((long)result);
14803 return resultobj;
14804 fail:
14805 return NULL;
14806}
14807
14808
14809static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14810 PyObject *resultobj;
14811 wxPrintData *arg1 = (wxPrintData *) 0 ;
14812 bool result;
14813 PyObject * obj0 = 0 ;
14814 char *kwnames[] = {
14815 (char *) "self", NULL
14816 };
14817
14818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (bool)(arg1)->GetCollate();
14823
14824 wxPyEndAllowThreads(__tstate);
14825 if (PyErr_Occurred()) SWIG_fail;
14826 }
14827 resultobj = PyInt_FromLong((long)result);
14828 return resultobj;
14829 fail:
14830 return NULL;
14831}
14832
14833
14834static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14835 PyObject *resultobj;
14836 wxPrintData *arg1 = (wxPrintData *) 0 ;
14837 int result;
14838 PyObject * obj0 = 0 ;
14839 char *kwnames[] = {
14840 (char *) "self", NULL
14841 };
14842
14843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
14844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14845 {
14846 PyThreadState* __tstate = wxPyBeginAllowThreads();
14847 result = (int)(arg1)->GetOrientation();
14848
14849 wxPyEndAllowThreads(__tstate);
14850 if (PyErr_Occurred()) SWIG_fail;
14851 }
14852 resultobj = PyInt_FromLong((long)result);
14853 return resultobj;
14854 fail:
14855 return NULL;
14856}
14857
14858
14859static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
14860 PyObject *resultobj;
14861 wxPrintData *arg1 = (wxPrintData *) 0 ;
14862 bool result;
14863 PyObject * obj0 = 0 ;
14864 char *kwnames[] = {
14865 (char *) "self", NULL
14866 };
14867
14868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
14869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14870 {
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 result = (bool)(arg1)->Ok();
14873
14874 wxPyEndAllowThreads(__tstate);
14875 if (PyErr_Occurred()) SWIG_fail;
14876 }
14877 resultobj = PyInt_FromLong((long)result);
14878 return resultobj;
14879 fail:
14880 return NULL;
14881}
14882
14883
14884static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxPrintData *arg1 = (wxPrintData *) 0 ;
14887 wxString *result;
14888 PyObject * obj0 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
14894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 {
14898 wxString const &_result_ref = (arg1)->GetPrinterName();
14899 result = (wxString *) &_result_ref;
14900 }
14901
14902 wxPyEndAllowThreads(__tstate);
14903 if (PyErr_Occurred()) SWIG_fail;
14904 }
14905 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
14906 return resultobj;
14907 fail:
14908 return NULL;
14909}
14910
14911
14912static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14913 PyObject *resultobj;
14914 wxPrintData *arg1 = (wxPrintData *) 0 ;
14915 bool result;
14916 PyObject * obj0 = 0 ;
14917 char *kwnames[] = {
14918 (char *) "self", NULL
14919 };
14920
14921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
14922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14923 {
14924 PyThreadState* __tstate = wxPyBeginAllowThreads();
14925 result = (bool)(arg1)->GetColour();
14926
14927 wxPyEndAllowThreads(__tstate);
14928 if (PyErr_Occurred()) SWIG_fail;
14929 }
14930 resultobj = PyInt_FromLong((long)result);
14931 return resultobj;
14932 fail:
14933 return NULL;
14934}
14935
14936
14937static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14938 PyObject *resultobj;
14939 wxPrintData *arg1 = (wxPrintData *) 0 ;
14940 int result;
14941 PyObject * obj0 = 0 ;
14942 char *kwnames[] = {
14943 (char *) "self", NULL
14944 };
14945
14946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
14947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14948 {
14949 PyThreadState* __tstate = wxPyBeginAllowThreads();
14950 result = (int)(arg1)->GetDuplex();
14951
14952 wxPyEndAllowThreads(__tstate);
14953 if (PyErr_Occurred()) SWIG_fail;
14954 }
14955 resultobj = PyInt_FromLong((long)result);
14956 return resultobj;
14957 fail:
14958 return NULL;
14959}
14960
14961
14962static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14963 PyObject *resultobj;
14964 wxPrintData *arg1 = (wxPrintData *) 0 ;
14965 int result;
14966 PyObject * obj0 = 0 ;
14967 char *kwnames[] = {
14968 (char *) "self", NULL
14969 };
14970
14971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
14972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14973 {
14974 PyThreadState* __tstate = wxPyBeginAllowThreads();
14975 result = (int)(arg1)->GetPaperId();
14976
14977 wxPyEndAllowThreads(__tstate);
14978 if (PyErr_Occurred()) SWIG_fail;
14979 }
14980 resultobj = PyInt_FromLong((long)result);
14981 return resultobj;
14982 fail:
14983 return NULL;
14984}
14985
14986
14987static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14988 PyObject *resultobj;
14989 wxPrintData *arg1 = (wxPrintData *) 0 ;
14990 wxSize *result;
14991 PyObject * obj0 = 0 ;
14992 char *kwnames[] = {
14993 (char *) "self", NULL
14994 };
14995
14996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
14997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14998 {
14999 PyThreadState* __tstate = wxPyBeginAllowThreads();
15000 {
15001 wxSize const &_result_ref = (arg1)->GetPaperSize();
15002 result = (wxSize *) &_result_ref;
15003 }
15004
15005 wxPyEndAllowThreads(__tstate);
15006 if (PyErr_Occurred()) SWIG_fail;
15007 }
15008 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15009 return resultobj;
15010 fail:
15011 return NULL;
15012}
15013
15014
15015static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15016 PyObject *resultobj;
15017 wxPrintData *arg1 = (wxPrintData *) 0 ;
15018 wxPrintQuality result;
15019 PyObject * obj0 = 0 ;
15020 char *kwnames[] = {
15021 (char *) "self", NULL
15022 };
15023
15024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15026 {
15027 PyThreadState* __tstate = wxPyBeginAllowThreads();
15028 result = (arg1)->GetQuality();
15029
15030 wxPyEndAllowThreads(__tstate);
15031 if (PyErr_Occurred()) SWIG_fail;
15032 }
15033 {
15034 wxPrintQuality * resultptr;
15035 resultptr = new wxPrintQuality((wxPrintQuality &) result);
15036 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
15037 }
15038 return resultobj;
15039 fail:
15040 return NULL;
15041}
15042
15043
15044static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15045 PyObject *resultobj;
15046 wxPrintData *arg1 = (wxPrintData *) 0 ;
15047 int arg2 ;
15048 PyObject * obj0 = 0 ;
15049 char *kwnames[] = {
15050 (char *) "self",(char *) "v", NULL
15051 };
15052
15053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15055 {
15056 PyThreadState* __tstate = wxPyBeginAllowThreads();
15057 (arg1)->SetNoCopies(arg2);
15058
15059 wxPyEndAllowThreads(__tstate);
15060 if (PyErr_Occurred()) SWIG_fail;
15061 }
15062 Py_INCREF(Py_None); resultobj = Py_None;
15063 return resultobj;
15064 fail:
15065 return NULL;
15066}
15067
15068
15069static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15070 PyObject *resultobj;
15071 wxPrintData *arg1 = (wxPrintData *) 0 ;
15072 bool arg2 ;
15073 PyObject * obj0 = 0 ;
15074 PyObject * obj1 = 0 ;
15075 char *kwnames[] = {
15076 (char *) "self",(char *) "flag", NULL
15077 };
15078
15079 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15080 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15081 arg2 = PyInt_AsLong(obj1) ? true : false;
15082 if (PyErr_Occurred()) SWIG_fail;
15083 {
15084 PyThreadState* __tstate = wxPyBeginAllowThreads();
15085 (arg1)->SetCollate(arg2);
15086
15087 wxPyEndAllowThreads(__tstate);
15088 if (PyErr_Occurred()) SWIG_fail;
15089 }
15090 Py_INCREF(Py_None); resultobj = Py_None;
15091 return resultobj;
15092 fail:
15093 return NULL;
15094}
15095
15096
15097static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15098 PyObject *resultobj;
15099 wxPrintData *arg1 = (wxPrintData *) 0 ;
15100 int arg2 ;
15101 PyObject * obj0 = 0 ;
15102 char *kwnames[] = {
15103 (char *) "self",(char *) "orient", NULL
15104 };
15105
15106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15108 {
15109 PyThreadState* __tstate = wxPyBeginAllowThreads();
15110 (arg1)->SetOrientation(arg2);
15111
15112 wxPyEndAllowThreads(__tstate);
15113 if (PyErr_Occurred()) SWIG_fail;
15114 }
15115 Py_INCREF(Py_None); resultobj = Py_None;
15116 return resultobj;
15117 fail:
15118 return NULL;
15119}
15120
15121
15122static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15123 PyObject *resultobj;
15124 wxPrintData *arg1 = (wxPrintData *) 0 ;
15125 wxString *arg2 = 0 ;
423f194a 15126 bool temp2 = False ;
d14a1e28
RD
15127 PyObject * obj0 = 0 ;
15128 PyObject * obj1 = 0 ;
15129 char *kwnames[] = {
15130 (char *) "self",(char *) "name", NULL
15131 };
15132
15133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15135 {
15136 arg2 = wxString_in_helper(obj1);
15137 if (arg2 == NULL) SWIG_fail;
423f194a 15138 temp2 = True;
d14a1e28
RD
15139 }
15140 {
15141 PyThreadState* __tstate = wxPyBeginAllowThreads();
15142 (arg1)->SetPrinterName((wxString const &)*arg2);
15143
15144 wxPyEndAllowThreads(__tstate);
15145 if (PyErr_Occurred()) SWIG_fail;
15146 }
15147 Py_INCREF(Py_None); resultobj = Py_None;
15148 {
15149 if (temp2)
15150 delete arg2;
15151 }
15152 return resultobj;
15153 fail:
15154 {
15155 if (temp2)
15156 delete arg2;
15157 }
15158 return NULL;
15159}
15160
15161
15162static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15163 PyObject *resultobj;
15164 wxPrintData *arg1 = (wxPrintData *) 0 ;
15165 bool arg2 ;
15166 PyObject * obj0 = 0 ;
15167 PyObject * obj1 = 0 ;
15168 char *kwnames[] = {
15169 (char *) "self",(char *) "colour", NULL
15170 };
15171
15172 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15173 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15174 arg2 = PyInt_AsLong(obj1) ? true : false;
15175 if (PyErr_Occurred()) SWIG_fail;
15176 {
15177 PyThreadState* __tstate = wxPyBeginAllowThreads();
15178 (arg1)->SetColour(arg2);
15179
15180 wxPyEndAllowThreads(__tstate);
15181 if (PyErr_Occurred()) SWIG_fail;
15182 }
15183 Py_INCREF(Py_None); resultobj = Py_None;
15184 return resultobj;
15185 fail:
15186 return NULL;
15187}
15188
15189
15190static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15191 PyObject *resultobj;
15192 wxPrintData *arg1 = (wxPrintData *) 0 ;
15193 int arg2 ;
15194 PyObject * obj0 = 0 ;
15195 char *kwnames[] = {
15196 (char *) "self",(char *) "duplex", NULL
15197 };
15198
15199 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15200 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15201 {
15202 PyThreadState* __tstate = wxPyBeginAllowThreads();
15203 (arg1)->SetDuplex((wxDuplexMode )arg2);
15204
15205 wxPyEndAllowThreads(__tstate);
15206 if (PyErr_Occurred()) SWIG_fail;
15207 }
15208 Py_INCREF(Py_None); resultobj = Py_None;
15209 return resultobj;
15210 fail:
15211 return NULL;
15212}
15213
15214
15215static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15216 PyObject *resultobj;
15217 wxPrintData *arg1 = (wxPrintData *) 0 ;
15218 int arg2 ;
15219 PyObject * obj0 = 0 ;
15220 char *kwnames[] = {
15221 (char *) "self",(char *) "sizeId", NULL
15222 };
15223
15224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15226 {
15227 PyThreadState* __tstate = wxPyBeginAllowThreads();
15228 (arg1)->SetPaperId((wxPaperSize )arg2);
15229
15230 wxPyEndAllowThreads(__tstate);
15231 if (PyErr_Occurred()) SWIG_fail;
15232 }
15233 Py_INCREF(Py_None); resultobj = Py_None;
15234 return resultobj;
15235 fail:
15236 return NULL;
15237}
15238
15239
15240static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15241 PyObject *resultobj;
15242 wxPrintData *arg1 = (wxPrintData *) 0 ;
15243 wxSize *arg2 = 0 ;
15244 wxSize temp2 ;
15245 PyObject * obj0 = 0 ;
15246 PyObject * obj1 = 0 ;
15247 char *kwnames[] = {
15248 (char *) "self",(char *) "sz", NULL
15249 };
15250
15251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15253 {
15254 arg2 = &temp2;
15255 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15256 }
15257 {
15258 PyThreadState* __tstate = wxPyBeginAllowThreads();
15259 (arg1)->SetPaperSize((wxSize const &)*arg2);
15260
15261 wxPyEndAllowThreads(__tstate);
15262 if (PyErr_Occurred()) SWIG_fail;
15263 }
15264 Py_INCREF(Py_None); resultobj = Py_None;
15265 return resultobj;
15266 fail:
15267 return NULL;
15268}
15269
15270
15271static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15272 PyObject *resultobj;
15273 wxPrintData *arg1 = (wxPrintData *) 0 ;
15274 wxPrintQuality arg2 ;
15275 wxPrintQuality *argp2 ;
15276 PyObject * obj0 = 0 ;
15277 PyObject * obj1 = 0 ;
15278 char *kwnames[] = {
15279 (char *) "self",(char *) "quality", NULL
15280 };
15281
15282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15284 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15285 arg2 = *argp2;
15286 {
15287 PyThreadState* __tstate = wxPyBeginAllowThreads();
15288 (arg1)->SetQuality(arg2);
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
15293 Py_INCREF(Py_None); resultobj = Py_None;
15294 return resultobj;
15295 fail:
15296 return NULL;
15297}
15298
15299
15300static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15301 PyObject *resultobj;
15302 wxPrintData *arg1 = (wxPrintData *) 0 ;
15303 wxString *result;
15304 PyObject * obj0 = 0 ;
15305 char *kwnames[] = {
15306 (char *) "self", NULL
15307 };
15308
15309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15311 {
15312 PyThreadState* __tstate = wxPyBeginAllowThreads();
15313 {
15314 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15315 result = (wxString *) &_result_ref;
15316 }
15317
15318 wxPyEndAllowThreads(__tstate);
15319 if (PyErr_Occurred()) SWIG_fail;
15320 }
15321 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15322 return resultobj;
15323 fail:
15324 return NULL;
15325}
15326
15327
15328static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15329 PyObject *resultobj;
15330 wxPrintData *arg1 = (wxPrintData *) 0 ;
15331 wxString *result;
15332 PyObject * obj0 = 0 ;
15333 char *kwnames[] = {
15334 (char *) "self", NULL
15335 };
15336
15337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15339 {
15340 PyThreadState* __tstate = wxPyBeginAllowThreads();
15341 {
15342 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15343 result = (wxString *) &_result_ref;
15344 }
15345
15346 wxPyEndAllowThreads(__tstate);
15347 if (PyErr_Occurred()) SWIG_fail;
15348 }
15349 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15350 return resultobj;
15351 fail:
15352 return NULL;
15353}
15354
15355
15356static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15357 PyObject *resultobj;
15358 wxPrintData *arg1 = (wxPrintData *) 0 ;
15359 wxString *result;
15360 PyObject * obj0 = 0 ;
15361 char *kwnames[] = {
15362 (char *) "self", NULL
15363 };
15364
15365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15367 {
15368 PyThreadState* __tstate = wxPyBeginAllowThreads();
15369 {
15370 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15371 result = (wxString *) &_result_ref;
15372 }
15373
15374 wxPyEndAllowThreads(__tstate);
15375 if (PyErr_Occurred()) SWIG_fail;
15376 }
15377 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15378 return resultobj;
15379 fail:
15380 return NULL;
15381}
15382
15383
15384static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15385 PyObject *resultobj;
15386 wxPrintData *arg1 = (wxPrintData *) 0 ;
15387 wxString *result;
15388 PyObject * obj0 = 0 ;
15389 char *kwnames[] = {
15390 (char *) "self", NULL
15391 };
15392
15393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15395 {
15396 PyThreadState* __tstate = wxPyBeginAllowThreads();
15397 {
15398 wxString const &_result_ref = (arg1)->GetFilename();
15399 result = (wxString *) &_result_ref;
15400 }
15401
15402 wxPyEndAllowThreads(__tstate);
15403 if (PyErr_Occurred()) SWIG_fail;
15404 }
15405 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15406 return resultobj;
15407 fail:
15408 return NULL;
15409}
15410
15411
15412static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15413 PyObject *resultobj;
15414 wxPrintData *arg1 = (wxPrintData *) 0 ;
15415 wxString *result;
15416 PyObject * obj0 = 0 ;
15417 char *kwnames[] = {
15418 (char *) "self", NULL
15419 };
15420
15421 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15422 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15423 {
15424 PyThreadState* __tstate = wxPyBeginAllowThreads();
15425 {
15426 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15427 result = (wxString *) &_result_ref;
15428 }
15429
15430 wxPyEndAllowThreads(__tstate);
15431 if (PyErr_Occurred()) SWIG_fail;
15432 }
15433 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxString, 0);
15434 return resultobj;
15435 fail:
15436 return NULL;
15437}
15438
15439
15440static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15441 PyObject *resultobj;
15442 wxPrintData *arg1 = (wxPrintData *) 0 ;
15443 double result;
15444 PyObject * obj0 = 0 ;
15445 char *kwnames[] = {
15446 (char *) "self", NULL
15447 };
15448
15449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15451 {
15452 PyThreadState* __tstate = wxPyBeginAllowThreads();
15453 result = (double)(arg1)->GetPrinterScaleX();
15454
15455 wxPyEndAllowThreads(__tstate);
15456 if (PyErr_Occurred()) SWIG_fail;
15457 }
15458 resultobj = PyFloat_FromDouble(result);
15459 return resultobj;
15460 fail:
15461 return NULL;
15462}
15463
15464
15465static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15466 PyObject *resultobj;
15467 wxPrintData *arg1 = (wxPrintData *) 0 ;
15468 double result;
15469 PyObject * obj0 = 0 ;
15470 char *kwnames[] = {
15471 (char *) "self", NULL
15472 };
15473
15474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15476 {
15477 PyThreadState* __tstate = wxPyBeginAllowThreads();
15478 result = (double)(arg1)->GetPrinterScaleY();
15479
15480 wxPyEndAllowThreads(__tstate);
15481 if (PyErr_Occurred()) SWIG_fail;
15482 }
15483 resultobj = PyFloat_FromDouble(result);
15484 return resultobj;
15485 fail:
15486 return NULL;
15487}
15488
15489
15490static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15491 PyObject *resultobj;
15492 wxPrintData *arg1 = (wxPrintData *) 0 ;
15493 long result;
15494 PyObject * obj0 = 0 ;
15495 char *kwnames[] = {
15496 (char *) "self", NULL
15497 };
15498
15499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15501 {
15502 PyThreadState* __tstate = wxPyBeginAllowThreads();
15503 result = (long)(arg1)->GetPrinterTranslateX();
15504
15505 wxPyEndAllowThreads(__tstate);
15506 if (PyErr_Occurred()) SWIG_fail;
15507 }
15508 resultobj = PyInt_FromLong((long)result);
15509 return resultobj;
15510 fail:
15511 return NULL;
15512}
15513
15514
15515static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15516 PyObject *resultobj;
15517 wxPrintData *arg1 = (wxPrintData *) 0 ;
15518 long result;
15519 PyObject * obj0 = 0 ;
15520 char *kwnames[] = {
15521 (char *) "self", NULL
15522 };
15523
15524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15526 {
15527 PyThreadState* __tstate = wxPyBeginAllowThreads();
15528 result = (long)(arg1)->GetPrinterTranslateY();
15529
15530 wxPyEndAllowThreads(__tstate);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 resultobj = PyInt_FromLong((long)result);
15534 return resultobj;
15535 fail:
15536 return NULL;
15537}
15538
15539
15540static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15541 PyObject *resultobj;
15542 wxPrintData *arg1 = (wxPrintData *) 0 ;
15543 int result;
15544 PyObject * obj0 = 0 ;
15545 char *kwnames[] = {
15546 (char *) "self", NULL
15547 };
15548
15549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 result = (int)(arg1)->GetPrintMode();
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 resultobj = PyInt_FromLong((long)result);
15559 return resultobj;
15560 fail:
15561 return NULL;
15562}
15563
15564
15565static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15566 PyObject *resultobj;
15567 wxPrintData *arg1 = (wxPrintData *) 0 ;
15568 wxString *arg2 = 0 ;
423f194a 15569 bool temp2 = False ;
d14a1e28
RD
15570 PyObject * obj0 = 0 ;
15571 PyObject * obj1 = 0 ;
15572 char *kwnames[] = {
15573 (char *) "self",(char *) "command", NULL
15574 };
15575
15576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15578 {
15579 arg2 = wxString_in_helper(obj1);
15580 if (arg2 == NULL) SWIG_fail;
423f194a 15581 temp2 = True;
d14a1e28
RD
15582 }
15583 {
15584 PyThreadState* __tstate = wxPyBeginAllowThreads();
15585 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15586
15587 wxPyEndAllowThreads(__tstate);
15588 if (PyErr_Occurred()) SWIG_fail;
15589 }
15590 Py_INCREF(Py_None); resultobj = Py_None;
15591 {
15592 if (temp2)
15593 delete arg2;
15594 }
15595 return resultobj;
15596 fail:
15597 {
15598 if (temp2)
15599 delete arg2;
15600 }
15601 return NULL;
15602}
15603
15604
15605static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15606 PyObject *resultobj;
15607 wxPrintData *arg1 = (wxPrintData *) 0 ;
15608 wxString *arg2 = 0 ;
423f194a 15609 bool temp2 = False ;
d14a1e28
RD
15610 PyObject * obj0 = 0 ;
15611 PyObject * obj1 = 0 ;
15612 char *kwnames[] = {
15613 (char *) "self",(char *) "options", NULL
15614 };
15615
15616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15618 {
15619 arg2 = wxString_in_helper(obj1);
15620 if (arg2 == NULL) SWIG_fail;
423f194a 15621 temp2 = True;
d14a1e28
RD
15622 }
15623 {
15624 PyThreadState* __tstate = wxPyBeginAllowThreads();
15625 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15626
15627 wxPyEndAllowThreads(__tstate);
15628 if (PyErr_Occurred()) SWIG_fail;
15629 }
15630 Py_INCREF(Py_None); resultobj = Py_None;
15631 {
15632 if (temp2)
15633 delete arg2;
15634 }
15635 return resultobj;
15636 fail:
15637 {
15638 if (temp2)
15639 delete arg2;
15640 }
15641 return NULL;
15642}
15643
15644
15645static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15646 PyObject *resultobj;
15647 wxPrintData *arg1 = (wxPrintData *) 0 ;
15648 wxString *arg2 = 0 ;
423f194a 15649 bool temp2 = False ;
d14a1e28
RD
15650 PyObject * obj0 = 0 ;
15651 PyObject * obj1 = 0 ;
15652 char *kwnames[] = {
15653 (char *) "self",(char *) "command", NULL
15654 };
15655
15656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15658 {
15659 arg2 = wxString_in_helper(obj1);
15660 if (arg2 == NULL) SWIG_fail;
423f194a 15661 temp2 = True;
d14a1e28
RD
15662 }
15663 {
15664 PyThreadState* __tstate = wxPyBeginAllowThreads();
15665 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15666
15667 wxPyEndAllowThreads(__tstate);
15668 if (PyErr_Occurred()) SWIG_fail;
15669 }
15670 Py_INCREF(Py_None); resultobj = Py_None;
15671 {
15672 if (temp2)
15673 delete arg2;
15674 }
15675 return resultobj;
15676 fail:
15677 {
15678 if (temp2)
15679 delete arg2;
15680 }
15681 return NULL;
15682}
15683
15684
15685static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15686 PyObject *resultobj;
15687 wxPrintData *arg1 = (wxPrintData *) 0 ;
15688 wxString *arg2 = 0 ;
423f194a 15689 bool temp2 = False ;
d14a1e28
RD
15690 PyObject * obj0 = 0 ;
15691 PyObject * obj1 = 0 ;
15692 char *kwnames[] = {
15693 (char *) "self",(char *) "filename", NULL
15694 };
15695
15696 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15697 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15698 {
15699 arg2 = wxString_in_helper(obj1);
15700 if (arg2 == NULL) SWIG_fail;
423f194a 15701 temp2 = True;
d14a1e28
RD
15702 }
15703 {
15704 PyThreadState* __tstate = wxPyBeginAllowThreads();
15705 (arg1)->SetFilename((wxString const &)*arg2);
15706
15707 wxPyEndAllowThreads(__tstate);
15708 if (PyErr_Occurred()) SWIG_fail;
15709 }
15710 Py_INCREF(Py_None); resultobj = Py_None;
15711 {
15712 if (temp2)
15713 delete arg2;
15714 }
15715 return resultobj;
15716 fail:
15717 {
15718 if (temp2)
15719 delete arg2;
15720 }
15721 return NULL;
15722}
15723
15724
15725static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15726 PyObject *resultobj;
15727 wxPrintData *arg1 = (wxPrintData *) 0 ;
15728 wxString *arg2 = 0 ;
423f194a 15729 bool temp2 = False ;
d14a1e28
RD
15730 PyObject * obj0 = 0 ;
15731 PyObject * obj1 = 0 ;
15732 char *kwnames[] = {
15733 (char *) "self",(char *) "path", NULL
15734 };
15735
15736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15738 {
15739 arg2 = wxString_in_helper(obj1);
15740 if (arg2 == NULL) SWIG_fail;
423f194a 15741 temp2 = True;
d14a1e28
RD
15742 }
15743 {
15744 PyThreadState* __tstate = wxPyBeginAllowThreads();
15745 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15746
15747 wxPyEndAllowThreads(__tstate);
15748 if (PyErr_Occurred()) SWIG_fail;
15749 }
15750 Py_INCREF(Py_None); resultobj = Py_None;
15751 {
15752 if (temp2)
15753 delete arg2;
15754 }
15755 return resultobj;
15756 fail:
15757 {
15758 if (temp2)
15759 delete arg2;
15760 }
15761 return NULL;
15762}
15763
15764
15765static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15766 PyObject *resultobj;
15767 wxPrintData *arg1 = (wxPrintData *) 0 ;
15768 double arg2 ;
15769 PyObject * obj0 = 0 ;
15770 char *kwnames[] = {
15771 (char *) "self",(char *) "x", NULL
15772 };
15773
15774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15775 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15776 {
15777 PyThreadState* __tstate = wxPyBeginAllowThreads();
15778 (arg1)->SetPrinterScaleX(arg2);
15779
15780 wxPyEndAllowThreads(__tstate);
15781 if (PyErr_Occurred()) SWIG_fail;
15782 }
15783 Py_INCREF(Py_None); resultobj = Py_None;
15784 return resultobj;
15785 fail:
15786 return NULL;
15787}
15788
15789
15790static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15791 PyObject *resultobj;
15792 wxPrintData *arg1 = (wxPrintData *) 0 ;
15793 double arg2 ;
15794 PyObject * obj0 = 0 ;
15795 char *kwnames[] = {
15796 (char *) "self",(char *) "y", NULL
15797 };
15798
15799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15801 {
15802 PyThreadState* __tstate = wxPyBeginAllowThreads();
15803 (arg1)->SetPrinterScaleY(arg2);
15804
15805 wxPyEndAllowThreads(__tstate);
15806 if (PyErr_Occurred()) SWIG_fail;
15807 }
15808 Py_INCREF(Py_None); resultobj = Py_None;
15809 return resultobj;
15810 fail:
15811 return NULL;
15812}
15813
15814
15815static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
15816 PyObject *resultobj;
15817 wxPrintData *arg1 = (wxPrintData *) 0 ;
15818 double arg2 ;
15819 double arg3 ;
15820 PyObject * obj0 = 0 ;
15821 char *kwnames[] = {
15822 (char *) "self",(char *) "x",(char *) "y", NULL
15823 };
15824
15825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
15826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15827 {
15828 PyThreadState* __tstate = wxPyBeginAllowThreads();
15829 (arg1)->SetPrinterScaling(arg2,arg3);
15830
15831 wxPyEndAllowThreads(__tstate);
15832 if (PyErr_Occurred()) SWIG_fail;
15833 }
15834 Py_INCREF(Py_None); resultobj = Py_None;
15835 return resultobj;
15836 fail:
15837 return NULL;
15838}
15839
15840
15841static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15842 PyObject *resultobj;
15843 wxPrintData *arg1 = (wxPrintData *) 0 ;
15844 long arg2 ;
15845 PyObject * obj0 = 0 ;
15846 char *kwnames[] = {
15847 (char *) "self",(char *) "x", NULL
15848 };
15849
15850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
15851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15852 {
15853 PyThreadState* __tstate = wxPyBeginAllowThreads();
15854 (arg1)->SetPrinterTranslateX(arg2);
15855
15856 wxPyEndAllowThreads(__tstate);
15857 if (PyErr_Occurred()) SWIG_fail;
15858 }
15859 Py_INCREF(Py_None); resultobj = Py_None;
15860 return resultobj;
15861 fail:
15862 return NULL;
15863}
15864
15865
15866static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15867 PyObject *resultobj;
15868 wxPrintData *arg1 = (wxPrintData *) 0 ;
15869 long arg2 ;
15870 PyObject * obj0 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "self",(char *) "y", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
15876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 (arg1)->SetPrinterTranslateY(arg2);
15880
15881 wxPyEndAllowThreads(__tstate);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 }
15884 Py_INCREF(Py_None); resultobj = Py_None;
15885 return resultobj;
15886 fail:
15887 return NULL;
15888}
15889
15890
15891static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
15892 PyObject *resultobj;
15893 wxPrintData *arg1 = (wxPrintData *) 0 ;
15894 long arg2 ;
15895 long arg3 ;
15896 PyObject * obj0 = 0 ;
15897 char *kwnames[] = {
15898 (char *) "self",(char *) "x",(char *) "y", NULL
15899 };
15900
15901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
15902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15903 {
15904 PyThreadState* __tstate = wxPyBeginAllowThreads();
15905 (arg1)->SetPrinterTranslation(arg2,arg3);
15906
15907 wxPyEndAllowThreads(__tstate);
15908 if (PyErr_Occurred()) SWIG_fail;
15909 }
15910 Py_INCREF(Py_None); resultobj = Py_None;
15911 return resultobj;
15912 fail:
15913 return NULL;
15914}
15915
15916
15917static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj;
15919 wxPrintData *arg1 = (wxPrintData *) 0 ;
15920 int arg2 ;
15921 PyObject * obj0 = 0 ;
15922 char *kwnames[] = {
15923 (char *) "self",(char *) "printMode", NULL
15924 };
15925
15926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
15927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15928 {
15929 PyThreadState* __tstate = wxPyBeginAllowThreads();
15930 (arg1)->SetPrintMode((wxPrintMode )arg2);
15931
15932 wxPyEndAllowThreads(__tstate);
15933 if (PyErr_Occurred()) SWIG_fail;
15934 }
15935 Py_INCREF(Py_None); resultobj = Py_None;
15936 return resultobj;
15937 fail:
15938 return NULL;
15939}
15940
15941
15942static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
15943 PyObject *obj;
15944 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15945 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
15946 Py_INCREF(obj);
15947 return Py_BuildValue((char *)"");
15948}
15949static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15950 PyObject *resultobj;
15951 wxPageSetupDialogData *result;
15952 char *kwnames[] = {
15953 NULL
15954 };
15955
15956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
15957 {
15958 PyThreadState* __tstate = wxPyBeginAllowThreads();
15959 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
15960
15961 wxPyEndAllowThreads(__tstate);
15962 if (PyErr_Occurred()) SWIG_fail;
15963 }
15964 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
15965 return resultobj;
15966 fail:
15967 return NULL;
15968}
15969
15970
15971static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15972 PyObject *resultobj;
15973 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15974 PyObject * obj0 = 0 ;
15975 char *kwnames[] = {
15976 (char *) "self", NULL
15977 };
15978
15979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15981 {
15982 PyThreadState* __tstate = wxPyBeginAllowThreads();
15983 delete arg1;
15984
15985 wxPyEndAllowThreads(__tstate);
15986 if (PyErr_Occurred()) SWIG_fail;
15987 }
15988 Py_INCREF(Py_None); resultobj = Py_None;
15989 return resultobj;
15990 fail:
15991 return NULL;
15992}
15993
15994
15995static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15996 PyObject *resultobj;
15997 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15998 bool arg2 ;
15999 PyObject * obj0 = 0 ;
16000 PyObject * obj1 = 0 ;
16001 char *kwnames[] = {
16002 (char *) "self",(char *) "flag", NULL
16003 };
16004
16005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16007 arg2 = PyInt_AsLong(obj1) ? true : false;
16008 if (PyErr_Occurred()) SWIG_fail;
16009 {
16010 PyThreadState* __tstate = wxPyBeginAllowThreads();
16011 (arg1)->EnableHelp(arg2);
16012
16013 wxPyEndAllowThreads(__tstate);
16014 if (PyErr_Occurred()) SWIG_fail;
16015 }
16016 Py_INCREF(Py_None); resultobj = Py_None;
16017 return resultobj;
16018 fail:
16019 return NULL;
16020}
16021
16022
16023static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16024 PyObject *resultobj;
16025 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16026 bool arg2 ;
16027 PyObject * obj0 = 0 ;
16028 PyObject * obj1 = 0 ;
16029 char *kwnames[] = {
16030 (char *) "self",(char *) "flag", NULL
16031 };
16032
16033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16035 arg2 = PyInt_AsLong(obj1) ? true : false;
16036 if (PyErr_Occurred()) SWIG_fail;
16037 {
16038 PyThreadState* __tstate = wxPyBeginAllowThreads();
16039 (arg1)->EnableMargins(arg2);
16040
16041 wxPyEndAllowThreads(__tstate);
16042 if (PyErr_Occurred()) SWIG_fail;
16043 }
16044 Py_INCREF(Py_None); resultobj = Py_None;
16045 return resultobj;
16046 fail:
16047 return NULL;
16048}
16049
16050
16051static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16052 PyObject *resultobj;
16053 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16054 bool arg2 ;
16055 PyObject * obj0 = 0 ;
16056 PyObject * obj1 = 0 ;
16057 char *kwnames[] = {
16058 (char *) "self",(char *) "flag", NULL
16059 };
16060
16061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16063 arg2 = PyInt_AsLong(obj1) ? true : false;
16064 if (PyErr_Occurred()) SWIG_fail;
16065 {
16066 PyThreadState* __tstate = wxPyBeginAllowThreads();
16067 (arg1)->EnableOrientation(arg2);
16068
16069 wxPyEndAllowThreads(__tstate);
16070 if (PyErr_Occurred()) SWIG_fail;
16071 }
16072 Py_INCREF(Py_None); resultobj = Py_None;
16073 return resultobj;
16074 fail:
16075 return NULL;
16076}
16077
16078
16079static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16080 PyObject *resultobj;
16081 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16082 bool arg2 ;
16083 PyObject * obj0 = 0 ;
16084 PyObject * obj1 = 0 ;
16085 char *kwnames[] = {
16086 (char *) "self",(char *) "flag", NULL
16087 };
16088
16089 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16090 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16091 arg2 = PyInt_AsLong(obj1) ? true : false;
16092 if (PyErr_Occurred()) SWIG_fail;
16093 {
16094 PyThreadState* __tstate = wxPyBeginAllowThreads();
16095 (arg1)->EnablePaper(arg2);
16096
16097 wxPyEndAllowThreads(__tstate);
16098 if (PyErr_Occurred()) SWIG_fail;
16099 }
16100 Py_INCREF(Py_None); resultobj = Py_None;
16101 return resultobj;
16102 fail:
16103 return NULL;
16104}
16105
16106
16107static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16108 PyObject *resultobj;
16109 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16110 bool arg2 ;
16111 PyObject * obj0 = 0 ;
16112 PyObject * obj1 = 0 ;
16113 char *kwnames[] = {
16114 (char *) "self",(char *) "flag", NULL
16115 };
16116
16117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16119 arg2 = PyInt_AsLong(obj1) ? true : false;
16120 if (PyErr_Occurred()) SWIG_fail;
16121 {
16122 PyThreadState* __tstate = wxPyBeginAllowThreads();
16123 (arg1)->EnablePrinter(arg2);
16124
16125 wxPyEndAllowThreads(__tstate);
16126 if (PyErr_Occurred()) SWIG_fail;
16127 }
16128 Py_INCREF(Py_None); resultobj = Py_None;
16129 return resultobj;
16130 fail:
16131 return NULL;
16132}
16133
16134
16135static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16136 PyObject *resultobj;
16137 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16138 bool result;
16139 PyObject * obj0 = 0 ;
16140 char *kwnames[] = {
16141 (char *) "self", NULL
16142 };
16143
16144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16146 {
16147 PyThreadState* __tstate = wxPyBeginAllowThreads();
16148 result = (bool)(arg1)->GetDefaultMinMargins();
16149
16150 wxPyEndAllowThreads(__tstate);
16151 if (PyErr_Occurred()) SWIG_fail;
16152 }
16153 resultobj = PyInt_FromLong((long)result);
16154 return resultobj;
16155 fail:
16156 return NULL;
16157}
16158
16159
16160static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16161 PyObject *resultobj;
16162 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16163 bool result;
16164 PyObject * obj0 = 0 ;
16165 char *kwnames[] = {
16166 (char *) "self", NULL
16167 };
16168
16169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16171 {
16172 PyThreadState* __tstate = wxPyBeginAllowThreads();
16173 result = (bool)(arg1)->GetEnableMargins();
16174
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
16178 resultobj = PyInt_FromLong((long)result);
16179 return resultobj;
16180 fail:
16181 return NULL;
16182}
16183
16184
16185static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16186 PyObject *resultobj;
16187 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16188 bool result;
16189 PyObject * obj0 = 0 ;
16190 char *kwnames[] = {
16191 (char *) "self", NULL
16192 };
16193
16194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16196 {
16197 PyThreadState* __tstate = wxPyBeginAllowThreads();
16198 result = (bool)(arg1)->GetEnableOrientation();
16199
16200 wxPyEndAllowThreads(__tstate);
16201 if (PyErr_Occurred()) SWIG_fail;
16202 }
16203 resultobj = PyInt_FromLong((long)result);
16204 return resultobj;
16205 fail:
16206 return NULL;
16207}
16208
16209
16210static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16211 PyObject *resultobj;
16212 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16213 bool result;
16214 PyObject * obj0 = 0 ;
16215 char *kwnames[] = {
16216 (char *) "self", NULL
16217 };
16218
16219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 result = (bool)(arg1)->GetEnablePaper();
16224
16225 wxPyEndAllowThreads(__tstate);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 }
16228 resultobj = PyInt_FromLong((long)result);
16229 return resultobj;
16230 fail:
16231 return NULL;
16232}
16233
16234
16235static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16236 PyObject *resultobj;
16237 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16238 bool result;
16239 PyObject * obj0 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16246 {
16247 PyThreadState* __tstate = wxPyBeginAllowThreads();
16248 result = (bool)(arg1)->GetEnablePrinter();
16249
16250 wxPyEndAllowThreads(__tstate);
16251 if (PyErr_Occurred()) SWIG_fail;
16252 }
16253 resultobj = PyInt_FromLong((long)result);
16254 return resultobj;
16255 fail:
16256 return NULL;
16257}
16258
16259
16260static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16261 PyObject *resultobj;
16262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16263 bool result;
16264 PyObject * obj0 = 0 ;
16265 char *kwnames[] = {
16266 (char *) "self", NULL
16267 };
16268
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16271 {
16272 PyThreadState* __tstate = wxPyBeginAllowThreads();
16273 result = (bool)(arg1)->GetEnableHelp();
16274
16275 wxPyEndAllowThreads(__tstate);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 }
16278 resultobj = PyInt_FromLong((long)result);
16279 return resultobj;
16280 fail:
16281 return NULL;
16282}
16283
16284
16285static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16286 PyObject *resultobj;
16287 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16288 bool result;
16289 PyObject * obj0 = 0 ;
16290 char *kwnames[] = {
16291 (char *) "self", NULL
16292 };
16293
16294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16296 {
16297 PyThreadState* __tstate = wxPyBeginAllowThreads();
16298 result = (bool)(arg1)->GetDefaultInfo();
16299
16300 wxPyEndAllowThreads(__tstate);
16301 if (PyErr_Occurred()) SWIG_fail;
16302 }
16303 resultobj = PyInt_FromLong((long)result);
16304 return resultobj;
16305 fail:
16306 return NULL;
16307}
16308
16309
16310static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16311 PyObject *resultobj;
16312 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16313 wxPoint result;
16314 PyObject * obj0 = 0 ;
16315 char *kwnames[] = {
16316 (char *) "self", NULL
16317 };
16318
16319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16321 {
16322 PyThreadState* __tstate = wxPyBeginAllowThreads();
16323 result = (arg1)->GetMarginTopLeft();
16324
16325 wxPyEndAllowThreads(__tstate);
16326 if (PyErr_Occurred()) SWIG_fail;
16327 }
16328 {
16329 wxPoint * resultptr;
16330 resultptr = new wxPoint((wxPoint &) result);
16331 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16332 }
16333 return resultobj;
16334 fail:
16335 return NULL;
16336}
16337
16338
16339static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16340 PyObject *resultobj;
16341 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16342 wxPoint result;
16343 PyObject * obj0 = 0 ;
16344 char *kwnames[] = {
16345 (char *) "self", NULL
16346 };
16347
16348 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16349 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16350 {
16351 PyThreadState* __tstate = wxPyBeginAllowThreads();
16352 result = (arg1)->GetMarginBottomRight();
16353
16354 wxPyEndAllowThreads(__tstate);
16355 if (PyErr_Occurred()) SWIG_fail;
16356 }
16357 {
16358 wxPoint * resultptr;
16359 resultptr = new wxPoint((wxPoint &) result);
16360 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16361 }
16362 return resultobj;
16363 fail:
16364 return NULL;
16365}
16366
16367
16368static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16369 PyObject *resultobj;
16370 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16371 wxPoint result;
16372 PyObject * obj0 = 0 ;
16373 char *kwnames[] = {
16374 (char *) "self", NULL
16375 };
16376
16377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16379 {
16380 PyThreadState* __tstate = wxPyBeginAllowThreads();
16381 result = (arg1)->GetMinMarginTopLeft();
16382
16383 wxPyEndAllowThreads(__tstate);
16384 if (PyErr_Occurred()) SWIG_fail;
16385 }
16386 {
16387 wxPoint * resultptr;
16388 resultptr = new wxPoint((wxPoint &) result);
16389 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16390 }
16391 return resultobj;
16392 fail:
16393 return NULL;
16394}
16395
16396
16397static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16398 PyObject *resultobj;
16399 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16400 wxPoint result;
16401 PyObject * obj0 = 0 ;
16402 char *kwnames[] = {
16403 (char *) "self", NULL
16404 };
16405
16406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16408 {
16409 PyThreadState* __tstate = wxPyBeginAllowThreads();
16410 result = (arg1)->GetMinMarginBottomRight();
16411
16412 wxPyEndAllowThreads(__tstate);
16413 if (PyErr_Occurred()) SWIG_fail;
16414 }
16415 {
16416 wxPoint * resultptr;
16417 resultptr = new wxPoint((wxPoint &) result);
16418 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16419 }
16420 return resultobj;
16421 fail:
16422 return NULL;
16423}
16424
16425
16426static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16427 PyObject *resultobj;
16428 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16429 int result;
16430 PyObject * obj0 = 0 ;
16431 char *kwnames[] = {
16432 (char *) "self", NULL
16433 };
16434
16435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16437 {
16438 PyThreadState* __tstate = wxPyBeginAllowThreads();
16439 result = (int)(arg1)->GetPaperId();
16440
16441 wxPyEndAllowThreads(__tstate);
16442 if (PyErr_Occurred()) SWIG_fail;
16443 }
16444 resultobj = PyInt_FromLong((long)result);
16445 return resultobj;
16446 fail:
16447 return NULL;
16448}
16449
16450
16451static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16452 PyObject *resultobj;
16453 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16454 wxSize result;
16455 PyObject * obj0 = 0 ;
16456 char *kwnames[] = {
16457 (char *) "self", NULL
16458 };
16459
16460 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16461 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16462 {
16463 PyThreadState* __tstate = wxPyBeginAllowThreads();
16464 result = (arg1)->GetPaperSize();
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 {
16470 wxSize * resultptr;
16471 resultptr = new wxSize((wxSize &) result);
16472 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16473 }
16474 return resultobj;
16475 fail:
16476 return NULL;
16477}
16478
16479
16480static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16481 PyObject *resultobj;
16482 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16483 wxPrintData *result;
16484 PyObject * obj0 = 0 ;
16485 char *kwnames[] = {
16486 (char *) "self", NULL
16487 };
16488
16489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16491 {
16492 PyThreadState* __tstate = wxPyBeginAllowThreads();
16493 {
16494 wxPrintData &_result_ref = (arg1)->GetPrintData();
16495 result = (wxPrintData *) &_result_ref;
16496 }
16497
16498 wxPyEndAllowThreads(__tstate);
16499 if (PyErr_Occurred()) SWIG_fail;
16500 }
16501 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16502 return resultobj;
16503 fail:
16504 return NULL;
16505}
16506
16507
16508static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16509 PyObject *resultobj;
16510 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16511 bool result;
16512 PyObject * obj0 = 0 ;
16513 char *kwnames[] = {
16514 (char *) "self", NULL
16515 };
16516
16517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16519 {
16520 PyThreadState* __tstate = wxPyBeginAllowThreads();
16521 result = (bool)(arg1)->Ok();
16522
16523 wxPyEndAllowThreads(__tstate);
16524 if (PyErr_Occurred()) SWIG_fail;
16525 }
16526 resultobj = PyInt_FromLong((long)result);
16527 return resultobj;
16528 fail:
16529 return NULL;
16530}
16531
16532
16533static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16534 PyObject *resultobj;
16535 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16536 bool arg2 ;
16537 PyObject * obj0 = 0 ;
16538 PyObject * obj1 = 0 ;
16539 char *kwnames[] = {
16540 (char *) "self",(char *) "flag", NULL
16541 };
16542
16543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16545 arg2 = PyInt_AsLong(obj1) ? true : false;
16546 if (PyErr_Occurred()) SWIG_fail;
16547 {
16548 PyThreadState* __tstate = wxPyBeginAllowThreads();
16549 (arg1)->SetDefaultInfo(arg2);
16550
16551 wxPyEndAllowThreads(__tstate);
16552 if (PyErr_Occurred()) SWIG_fail;
16553 }
16554 Py_INCREF(Py_None); resultobj = Py_None;
16555 return resultobj;
16556 fail:
16557 return NULL;
16558}
16559
16560
16561static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16562 PyObject *resultobj;
16563 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16564 bool arg2 ;
16565 PyObject * obj0 = 0 ;
16566 PyObject * obj1 = 0 ;
16567 char *kwnames[] = {
16568 (char *) "self",(char *) "flag", NULL
16569 };
16570
16571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16573 arg2 = PyInt_AsLong(obj1) ? true : false;
16574 if (PyErr_Occurred()) SWIG_fail;
16575 {
16576 PyThreadState* __tstate = wxPyBeginAllowThreads();
16577 (arg1)->SetDefaultMinMargins(arg2);
16578
16579 wxPyEndAllowThreads(__tstate);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
16582 Py_INCREF(Py_None); resultobj = Py_None;
16583 return resultobj;
16584 fail:
16585 return NULL;
16586}
16587
16588
16589static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16590 PyObject *resultobj;
16591 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16592 wxPoint *arg2 = 0 ;
16593 wxPoint temp2 ;
16594 PyObject * obj0 = 0 ;
16595 PyObject * obj1 = 0 ;
16596 char *kwnames[] = {
16597 (char *) "self",(char *) "pt", NULL
16598 };
16599
16600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16602 {
16603 arg2 = &temp2;
16604 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16605 }
16606 {
16607 PyThreadState* __tstate = wxPyBeginAllowThreads();
16608 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16609
16610 wxPyEndAllowThreads(__tstate);
16611 if (PyErr_Occurred()) SWIG_fail;
16612 }
16613 Py_INCREF(Py_None); resultobj = Py_None;
16614 return resultobj;
16615 fail:
16616 return NULL;
16617}
16618
16619
16620static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16621 PyObject *resultobj;
16622 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16623 wxPoint *arg2 = 0 ;
16624 wxPoint temp2 ;
16625 PyObject * obj0 = 0 ;
16626 PyObject * obj1 = 0 ;
16627 char *kwnames[] = {
16628 (char *) "self",(char *) "pt", NULL
16629 };
16630
16631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16633 {
16634 arg2 = &temp2;
16635 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16636 }
16637 {
16638 PyThreadState* __tstate = wxPyBeginAllowThreads();
16639 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16640
16641 wxPyEndAllowThreads(__tstate);
16642 if (PyErr_Occurred()) SWIG_fail;
16643 }
16644 Py_INCREF(Py_None); resultobj = Py_None;
16645 return resultobj;
16646 fail:
16647 return NULL;
16648}
16649
16650
16651static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16652 PyObject *resultobj;
16653 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16654 wxPoint *arg2 = 0 ;
16655 wxPoint temp2 ;
16656 PyObject * obj0 = 0 ;
16657 PyObject * obj1 = 0 ;
16658 char *kwnames[] = {
16659 (char *) "self",(char *) "pt", NULL
16660 };
16661
16662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16664 {
16665 arg2 = &temp2;
16666 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16667 }
16668 {
16669 PyThreadState* __tstate = wxPyBeginAllowThreads();
16670 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16671
16672 wxPyEndAllowThreads(__tstate);
16673 if (PyErr_Occurred()) SWIG_fail;
16674 }
16675 Py_INCREF(Py_None); resultobj = Py_None;
16676 return resultobj;
16677 fail:
16678 return NULL;
16679}
16680
16681
16682static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16683 PyObject *resultobj;
16684 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16685 wxPoint *arg2 = 0 ;
16686 wxPoint temp2 ;
16687 PyObject * obj0 = 0 ;
16688 PyObject * obj1 = 0 ;
16689 char *kwnames[] = {
16690 (char *) "self",(char *) "pt", NULL
16691 };
16692
16693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16695 {
16696 arg2 = &temp2;
16697 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16698 }
16699 {
16700 PyThreadState* __tstate = wxPyBeginAllowThreads();
16701 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16702
16703 wxPyEndAllowThreads(__tstate);
16704 if (PyErr_Occurred()) SWIG_fail;
16705 }
16706 Py_INCREF(Py_None); resultobj = Py_None;
16707 return resultobj;
16708 fail:
16709 return NULL;
16710}
16711
16712
16713static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16714 PyObject *resultobj;
16715 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16716 int arg2 ;
16717 PyObject * obj0 = 0 ;
16718 char *kwnames[] = {
16719 (char *) "self",(char *) "id", NULL
16720 };
16721
16722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16724 {
16725 PyThreadState* __tstate = wxPyBeginAllowThreads();
16726 (arg1)->SetPaperId((wxPaperSize )arg2);
16727
16728 wxPyEndAllowThreads(__tstate);
16729 if (PyErr_Occurred()) SWIG_fail;
16730 }
16731 Py_INCREF(Py_None); resultobj = Py_None;
16732 return resultobj;
16733 fail:
16734 return NULL;
16735}
16736
16737
16738static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16739 PyObject *resultobj;
16740 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16741 wxSize *arg2 = 0 ;
16742 wxSize temp2 ;
16743 PyObject * obj0 = 0 ;
16744 PyObject * obj1 = 0 ;
16745 char *kwnames[] = {
16746 (char *) "self",(char *) "size", NULL
16747 };
16748
16749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16751 {
16752 arg2 = &temp2;
16753 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16754 }
16755 {
16756 PyThreadState* __tstate = wxPyBeginAllowThreads();
16757 (arg1)->SetPaperSize((wxSize const &)*arg2);
16758
16759 wxPyEndAllowThreads(__tstate);
16760 if (PyErr_Occurred()) SWIG_fail;
16761 }
16762 Py_INCREF(Py_None); resultobj = Py_None;
16763 return resultobj;
16764 fail:
16765 return NULL;
16766}
16767
16768
16769static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16770 PyObject *resultobj;
16771 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16772 wxPrintData *arg2 = 0 ;
16773 PyObject * obj0 = 0 ;
16774 PyObject * obj1 = 0 ;
16775 char *kwnames[] = {
16776 (char *) "self",(char *) "printData", NULL
16777 };
16778
16779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16781 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16782 if (arg2 == NULL) {
16783 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16784 }
16785 {
16786 PyThreadState* __tstate = wxPyBeginAllowThreads();
16787 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16788
16789 wxPyEndAllowThreads(__tstate);
16790 if (PyErr_Occurred()) SWIG_fail;
16791 }
16792 Py_INCREF(Py_None); resultobj = Py_None;
16793 return resultobj;
16794 fail:
16795 return NULL;
16796}
16797
16798
16799static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16800 PyObject *obj;
16801 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16802 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16803 Py_INCREF(obj);
16804 return Py_BuildValue((char *)"");
16805}
16806static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16807 PyObject *resultobj;
16808 wxWindow *arg1 = (wxWindow *) 0 ;
16809 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16810 wxPageSetupDialog *result;
16811 PyObject * obj0 = 0 ;
16812 PyObject * obj1 = 0 ;
16813 char *kwnames[] = {
16814 (char *) "parent",(char *) "data", NULL
16815 };
16816
16817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
16818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16819 if (obj1) {
16820 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16821 }
16822 {
16823 PyThreadState* __tstate = wxPyBeginAllowThreads();
16824 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
16825
16826 wxPyEndAllowThreads(__tstate);
16827 if (PyErr_Occurred()) SWIG_fail;
16828 }
16829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
16830 return resultobj;
16831 fail:
16832 return NULL;
16833}
16834
16835
16836static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
16837 PyObject *resultobj;
16838 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16839 wxPageSetupDialogData *result;
16840 PyObject * obj0 = 0 ;
16841 char *kwnames[] = {
16842 (char *) "self", NULL
16843 };
16844
16845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
16846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16847 {
16848 PyThreadState* __tstate = wxPyBeginAllowThreads();
16849 {
16850 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
16851 result = (wxPageSetupDialogData *) &_result_ref;
16852 }
16853
16854 wxPyEndAllowThreads(__tstate);
16855 if (PyErr_Occurred()) SWIG_fail;
16856 }
16857 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
16858 return resultobj;
16859 fail:
16860 return NULL;
16861}
16862
16863
16864static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
16865 PyObject *resultobj;
16866 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16867 int result;
16868 PyObject * obj0 = 0 ;
16869 char *kwnames[] = {
16870 (char *) "self", NULL
16871 };
16872
16873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
16874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16875 {
16876 PyThreadState* __tstate = wxPyBeginAllowThreads();
16877 result = (int)(arg1)->ShowModal();
16878
16879 wxPyEndAllowThreads(__tstate);
16880 if (PyErr_Occurred()) SWIG_fail;
16881 }
16882 resultobj = PyInt_FromLong((long)result);
16883 return resultobj;
16884 fail:
16885 return NULL;
16886}
16887
16888
16889static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
16890 PyObject *obj;
16891 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16892 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
16893 Py_INCREF(obj);
16894 return Py_BuildValue((char *)"");
16895}
16896static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16897 PyObject *resultobj;
16898 wxPrintDialogData *result;
16899 char *kwnames[] = {
16900 NULL
16901 };
16902
16903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
16904 {
16905 PyThreadState* __tstate = wxPyBeginAllowThreads();
16906 result = (wxPrintDialogData *)new wxPrintDialogData();
16907
16908 wxPyEndAllowThreads(__tstate);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
16912 return resultobj;
16913 fail:
16914 return NULL;
16915}
16916
16917
16918static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16919 PyObject *resultobj;
16920 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16921 PyObject * obj0 = 0 ;
16922 char *kwnames[] = {
16923 (char *) "self", NULL
16924 };
16925
16926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
16927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16928 {
16929 PyThreadState* __tstate = wxPyBeginAllowThreads();
16930 delete arg1;
16931
16932 wxPyEndAllowThreads(__tstate);
16933 if (PyErr_Occurred()) SWIG_fail;
16934 }
16935 Py_INCREF(Py_None); resultobj = Py_None;
16936 return resultobj;
16937 fail:
16938 return NULL;
16939}
16940
16941
16942static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16943 PyObject *resultobj;
16944 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16945 int result;
16946 PyObject * obj0 = 0 ;
16947 char *kwnames[] = {
16948 (char *) "self", NULL
16949 };
16950
16951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
16952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16953 {
16954 PyThreadState* __tstate = wxPyBeginAllowThreads();
16955 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
16956
16957 wxPyEndAllowThreads(__tstate);
16958 if (PyErr_Occurred()) SWIG_fail;
16959 }
16960 resultobj = PyInt_FromLong((long)result);
16961 return resultobj;
16962 fail:
16963 return NULL;
16964}
16965
16966
16967static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16968 PyObject *resultobj;
16969 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16970 int result;
16971 PyObject * obj0 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
16977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 resultobj = PyInt_FromLong((long)result);
16986 return resultobj;
16987 fail:
16988 return NULL;
16989}
16990
16991
16992static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16995 int result;
16996 PyObject * obj0 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 resultobj = PyInt_FromLong((long)result);
17011 return resultobj;
17012 fail:
17013 return NULL;
17014}
17015
17016
17017static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17020 int result;
17021 PyObject * obj0 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "self", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17031
17032 wxPyEndAllowThreads(__tstate);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
17035 resultobj = PyInt_FromLong((long)result);
17036 return resultobj;
17037 fail:
17038 return NULL;
17039}
17040
17041
17042static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj;
17044 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17045 int result;
17046 PyObject * obj0 = 0 ;
17047 char *kwnames[] = {
17048 (char *) "self", NULL
17049 };
17050
17051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17053 {
17054 PyThreadState* __tstate = wxPyBeginAllowThreads();
17055 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17056
17057 wxPyEndAllowThreads(__tstate);
17058 if (PyErr_Occurred()) SWIG_fail;
17059 }
17060 resultobj = PyInt_FromLong((long)result);
17061 return resultobj;
17062 fail:
17063 return NULL;
17064}
17065
17066
17067static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj;
17069 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17070 bool result;
17071 PyObject * obj0 = 0 ;
17072 char *kwnames[] = {
17073 (char *) "self", NULL
17074 };
17075
17076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
17080 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17081
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 resultobj = PyInt_FromLong((long)result);
17086 return resultobj;
17087 fail:
17088 return NULL;
17089}
17090
17091
17092static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj;
17094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17095 bool result;
17096 PyObject * obj0 = 0 ;
17097 char *kwnames[] = {
17098 (char *) "self", NULL
17099 };
17100
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 resultobj = PyInt_FromLong((long)result);
17111 return resultobj;
17112 fail:
17113 return NULL;
17114}
17115
17116
17117static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17118 PyObject *resultobj;
17119 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17120 bool result;
17121 PyObject * obj0 = 0 ;
17122 char *kwnames[] = {
17123 (char *) "self", NULL
17124 };
17125
17126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17128 {
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17131
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 resultobj = PyInt_FromLong((long)result);
17136 return resultobj;
17137 fail:
17138 return NULL;
17139}
17140
17141
17142static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj;
17144 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17145 bool result;
17146 PyObject * obj0 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17153 {
17154 PyThreadState* __tstate = wxPyBeginAllowThreads();
17155 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17156
17157 wxPyEndAllowThreads(__tstate);
17158 if (PyErr_Occurred()) SWIG_fail;
17159 }
17160 resultobj = PyInt_FromLong((long)result);
17161 return resultobj;
17162 fail:
17163 return NULL;
17164}
17165
17166
17167static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj;
17169 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17170 bool result;
17171 PyObject * obj0 = 0 ;
17172 char *kwnames[] = {
17173 (char *) "self", NULL
17174 };
17175
17176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17178 {
17179 PyThreadState* __tstate = wxPyBeginAllowThreads();
17180 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17181
17182 wxPyEndAllowThreads(__tstate);
17183 if (PyErr_Occurred()) SWIG_fail;
17184 }
17185 resultobj = PyInt_FromLong((long)result);
17186 return resultobj;
17187 fail:
17188 return NULL;
17189}
17190
17191
17192static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17193 PyObject *resultobj;
17194 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17195 int arg2 ;
17196 PyObject * obj0 = 0 ;
17197 char *kwnames[] = {
17198 (char *) "self",(char *) "v", NULL
17199 };
17200
17201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17203 {
17204 PyThreadState* __tstate = wxPyBeginAllowThreads();
17205 (arg1)->SetFromPage(arg2);
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 Py_INCREF(Py_None); resultobj = Py_None;
17211 return resultobj;
17212 fail:
17213 return NULL;
17214}
17215
17216
17217static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17220 int arg2 ;
17221 PyObject * obj0 = 0 ;
17222 char *kwnames[] = {
17223 (char *) "self",(char *) "v", NULL
17224 };
17225
17226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 (arg1)->SetToPage(arg2);
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 Py_INCREF(Py_None); resultobj = Py_None;
17236 return resultobj;
17237 fail:
17238 return NULL;
17239}
17240
17241
17242static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17243 PyObject *resultobj;
17244 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17245 int arg2 ;
17246 PyObject * obj0 = 0 ;
17247 char *kwnames[] = {
17248 (char *) "self",(char *) "v", NULL
17249 };
17250
17251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 (arg1)->SetMinPage(arg2);
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 Py_INCREF(Py_None); resultobj = Py_None;
17261 return resultobj;
17262 fail:
17263 return NULL;
17264}
17265
17266
17267static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17268 PyObject *resultobj;
17269 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17270 int arg2 ;
17271 PyObject * obj0 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "self",(char *) "v", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17278 {
17279 PyThreadState* __tstate = wxPyBeginAllowThreads();
17280 (arg1)->SetMaxPage(arg2);
17281
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 Py_INCREF(Py_None); resultobj = Py_None;
17286 return resultobj;
17287 fail:
17288 return NULL;
17289}
17290
17291
17292static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17293 PyObject *resultobj;
17294 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17295 int arg2 ;
17296 PyObject * obj0 = 0 ;
17297 char *kwnames[] = {
17298 (char *) "self",(char *) "v", NULL
17299 };
17300
17301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17303 {
17304 PyThreadState* __tstate = wxPyBeginAllowThreads();
17305 (arg1)->SetNoCopies(arg2);
17306
17307 wxPyEndAllowThreads(__tstate);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 Py_INCREF(Py_None); resultobj = Py_None;
17311 return resultobj;
17312 fail:
17313 return NULL;
17314}
17315
17316
17317static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17318 PyObject *resultobj;
17319 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17320 bool arg2 ;
17321 PyObject * obj0 = 0 ;
17322 PyObject * obj1 = 0 ;
17323 char *kwnames[] = {
17324 (char *) "self",(char *) "flag", NULL
17325 };
17326
17327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17329 arg2 = PyInt_AsLong(obj1) ? true : false;
17330 if (PyErr_Occurred()) SWIG_fail;
17331 {
17332 PyThreadState* __tstate = wxPyBeginAllowThreads();
17333 (arg1)->SetAllPages(arg2);
17334
17335 wxPyEndAllowThreads(__tstate);
17336 if (PyErr_Occurred()) SWIG_fail;
17337 }
17338 Py_INCREF(Py_None); resultobj = Py_None;
17339 return resultobj;
17340 fail:
17341 return NULL;
17342}
17343
17344
17345static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17346 PyObject *resultobj;
17347 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17348 bool arg2 ;
17349 PyObject * obj0 = 0 ;
17350 PyObject * obj1 = 0 ;
17351 char *kwnames[] = {
17352 (char *) "self",(char *) "flag", NULL
17353 };
17354
17355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17357 arg2 = PyInt_AsLong(obj1) ? true : false;
17358 if (PyErr_Occurred()) SWIG_fail;
17359 {
17360 PyThreadState* __tstate = wxPyBeginAllowThreads();
17361 (arg1)->SetSelection(arg2);
17362
17363 wxPyEndAllowThreads(__tstate);
17364 if (PyErr_Occurred()) SWIG_fail;
17365 }
17366 Py_INCREF(Py_None); resultobj = Py_None;
17367 return resultobj;
17368 fail:
17369 return NULL;
17370}
17371
17372
17373static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17374 PyObject *resultobj;
17375 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17376 bool arg2 ;
17377 PyObject * obj0 = 0 ;
17378 PyObject * obj1 = 0 ;
17379 char *kwnames[] = {
17380 (char *) "self",(char *) "flag", NULL
17381 };
17382
17383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17385 arg2 = PyInt_AsLong(obj1) ? true : false;
17386 if (PyErr_Occurred()) SWIG_fail;
17387 {
17388 PyThreadState* __tstate = wxPyBeginAllowThreads();
17389 (arg1)->SetCollate(arg2);
17390
17391 wxPyEndAllowThreads(__tstate);
17392 if (PyErr_Occurred()) SWIG_fail;
17393 }
17394 Py_INCREF(Py_None); resultobj = Py_None;
17395 return resultobj;
17396 fail:
17397 return NULL;
17398}
17399
17400
17401static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17402 PyObject *resultobj;
17403 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17404 bool arg2 ;
17405 PyObject * obj0 = 0 ;
17406 PyObject * obj1 = 0 ;
17407 char *kwnames[] = {
17408 (char *) "self",(char *) "flag", NULL
17409 };
17410
17411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17413 arg2 = PyInt_AsLong(obj1) ? true : false;
17414 if (PyErr_Occurred()) SWIG_fail;
17415 {
17416 PyThreadState* __tstate = wxPyBeginAllowThreads();
17417 (arg1)->SetPrintToFile(arg2);
17418
17419 wxPyEndAllowThreads(__tstate);
17420 if (PyErr_Occurred()) SWIG_fail;
17421 }
17422 Py_INCREF(Py_None); resultobj = Py_None;
17423 return resultobj;
17424 fail:
17425 return NULL;
17426}
17427
17428
17429static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17430 PyObject *resultobj;
17431 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17432 bool arg2 ;
17433 PyObject * obj0 = 0 ;
17434 PyObject * obj1 = 0 ;
17435 char *kwnames[] = {
17436 (char *) "self",(char *) "flag", NULL
17437 };
17438
17439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17441 arg2 = PyInt_AsLong(obj1) ? true : false;
17442 if (PyErr_Occurred()) SWIG_fail;
17443 {
17444 PyThreadState* __tstate = wxPyBeginAllowThreads();
17445 (arg1)->SetSetupDialog(arg2);
17446
17447 wxPyEndAllowThreads(__tstate);
17448 if (PyErr_Occurred()) SWIG_fail;
17449 }
17450 Py_INCREF(Py_None); resultobj = Py_None;
17451 return resultobj;
17452 fail:
17453 return NULL;
17454}
17455
17456
17457static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17458 PyObject *resultobj;
17459 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17460 bool arg2 ;
17461 PyObject * obj0 = 0 ;
17462 PyObject * obj1 = 0 ;
17463 char *kwnames[] = {
17464 (char *) "self",(char *) "flag", NULL
17465 };
17466
17467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17469 arg2 = PyInt_AsLong(obj1) ? true : false;
17470 if (PyErr_Occurred()) SWIG_fail;
17471 {
17472 PyThreadState* __tstate = wxPyBeginAllowThreads();
17473 (arg1)->EnablePrintToFile(arg2);
17474
17475 wxPyEndAllowThreads(__tstate);
17476 if (PyErr_Occurred()) SWIG_fail;
17477 }
17478 Py_INCREF(Py_None); resultobj = Py_None;
17479 return resultobj;
17480 fail:
17481 return NULL;
17482}
17483
17484
17485static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17486 PyObject *resultobj;
17487 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17488 bool arg2 ;
17489 PyObject * obj0 = 0 ;
17490 PyObject * obj1 = 0 ;
17491 char *kwnames[] = {
17492 (char *) "self",(char *) "flag", NULL
17493 };
17494
17495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17497 arg2 = PyInt_AsLong(obj1) ? true : false;
17498 if (PyErr_Occurred()) SWIG_fail;
17499 {
17500 PyThreadState* __tstate = wxPyBeginAllowThreads();
17501 (arg1)->EnableSelection(arg2);
17502
17503 wxPyEndAllowThreads(__tstate);
17504 if (PyErr_Occurred()) SWIG_fail;
17505 }
17506 Py_INCREF(Py_None); resultobj = Py_None;
17507 return resultobj;
17508 fail:
17509 return NULL;
17510}
17511
17512
17513static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17514 PyObject *resultobj;
17515 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17516 bool arg2 ;
17517 PyObject * obj0 = 0 ;
17518 PyObject * obj1 = 0 ;
17519 char *kwnames[] = {
17520 (char *) "self",(char *) "flag", NULL
17521 };
17522
17523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17525 arg2 = PyInt_AsLong(obj1) ? true : false;
17526 if (PyErr_Occurred()) SWIG_fail;
17527 {
17528 PyThreadState* __tstate = wxPyBeginAllowThreads();
17529 (arg1)->EnablePageNumbers(arg2);
17530
17531 wxPyEndAllowThreads(__tstate);
17532 if (PyErr_Occurred()) SWIG_fail;
17533 }
17534 Py_INCREF(Py_None); resultobj = Py_None;
17535 return resultobj;
17536 fail:
17537 return NULL;
17538}
17539
17540
17541static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17542 PyObject *resultobj;
17543 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17544 bool arg2 ;
17545 PyObject * obj0 = 0 ;
17546 PyObject * obj1 = 0 ;
17547 char *kwnames[] = {
17548 (char *) "self",(char *) "flag", NULL
17549 };
17550
17551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17553 arg2 = PyInt_AsLong(obj1) ? true : false;
17554 if (PyErr_Occurred()) SWIG_fail;
17555 {
17556 PyThreadState* __tstate = wxPyBeginAllowThreads();
17557 (arg1)->EnableHelp(arg2);
17558
17559 wxPyEndAllowThreads(__tstate);
17560 if (PyErr_Occurred()) SWIG_fail;
17561 }
17562 Py_INCREF(Py_None); resultobj = Py_None;
17563 return resultobj;
17564 fail:
17565 return NULL;
17566}
17567
17568
17569static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17570 PyObject *resultobj;
17571 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17572 bool result;
17573 PyObject * obj0 = 0 ;
17574 char *kwnames[] = {
17575 (char *) "self", NULL
17576 };
17577
17578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17580 {
17581 PyThreadState* __tstate = wxPyBeginAllowThreads();
17582 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17583
17584 wxPyEndAllowThreads(__tstate);
17585 if (PyErr_Occurred()) SWIG_fail;
17586 }
17587 resultobj = PyInt_FromLong((long)result);
17588 return resultobj;
17589 fail:
17590 return NULL;
17591}
17592
17593
17594static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17595 PyObject *resultobj;
17596 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17597 bool result;
17598 PyObject * obj0 = 0 ;
17599 char *kwnames[] = {
17600 (char *) "self", NULL
17601 };
17602
17603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17608
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 resultobj = PyInt_FromLong((long)result);
17613 return resultobj;
17614 fail:
17615 return NULL;
17616}
17617
17618
17619static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17620 PyObject *resultobj;
17621 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17622 bool result;
17623 PyObject * obj0 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "self", NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
17632 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17633
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 resultobj = PyInt_FromLong((long)result);
17638 return resultobj;
17639 fail:
17640 return NULL;
17641}
17642
17643
17644static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17645 PyObject *resultobj;
17646 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17647 bool result;
17648 PyObject * obj0 = 0 ;
17649 char *kwnames[] = {
17650 (char *) "self", NULL
17651 };
17652
17653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17655 {
17656 PyThreadState* __tstate = wxPyBeginAllowThreads();
17657 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17658
17659 wxPyEndAllowThreads(__tstate);
17660 if (PyErr_Occurred()) SWIG_fail;
17661 }
17662 resultobj = PyInt_FromLong((long)result);
17663 return resultobj;
17664 fail:
17665 return NULL;
17666}
17667
17668
17669static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17670 PyObject *resultobj;
17671 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17672 bool result;
17673 PyObject * obj0 = 0 ;
17674 char *kwnames[] = {
17675 (char *) "self", NULL
17676 };
17677
17678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17680 {
17681 PyThreadState* __tstate = wxPyBeginAllowThreads();
17682 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17683
17684 wxPyEndAllowThreads(__tstate);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
17687 resultobj = PyInt_FromLong((long)result);
17688 return resultobj;
17689 fail:
17690 return NULL;
17691}
17692
17693
17694static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17695 PyObject *resultobj;
17696 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17697 wxPrintData *result;
17698 PyObject * obj0 = 0 ;
17699 char *kwnames[] = {
17700 (char *) "self", NULL
17701 };
17702
17703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17705 {
17706 PyThreadState* __tstate = wxPyBeginAllowThreads();
17707 {
17708 wxPrintData &_result_ref = (arg1)->GetPrintData();
17709 result = (wxPrintData *) &_result_ref;
17710 }
17711
17712 wxPyEndAllowThreads(__tstate);
17713 if (PyErr_Occurred()) SWIG_fail;
17714 }
17715 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17716 return resultobj;
17717 fail:
17718 return NULL;
17719}
17720
17721
17722static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17723 PyObject *resultobj;
17724 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17725 wxPrintData *arg2 = 0 ;
17726 PyObject * obj0 = 0 ;
17727 PyObject * obj1 = 0 ;
17728 char *kwnames[] = {
17729 (char *) "self",(char *) "printData", NULL
17730 };
17731
17732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17733 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17734 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17735 if (arg2 == NULL) {
17736 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17737 }
17738 {
17739 PyThreadState* __tstate = wxPyBeginAllowThreads();
17740 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17741
17742 wxPyEndAllowThreads(__tstate);
17743 if (PyErr_Occurred()) SWIG_fail;
17744 }
17745 Py_INCREF(Py_None); resultobj = Py_None;
17746 return resultobj;
17747 fail:
17748 return NULL;
17749}
17750
17751
17752static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17753 PyObject *obj;
17754 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17755 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17756 Py_INCREF(obj);
17757 return Py_BuildValue((char *)"");
17758}
17759static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17760 PyObject *resultobj;
17761 wxWindow *arg1 = (wxWindow *) 0 ;
17762 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17763 wxPrintDialog *result;
17764 PyObject * obj0 = 0 ;
17765 PyObject * obj1 = 0 ;
17766 char *kwnames[] = {
17767 (char *) "parent",(char *) "data", NULL
17768 };
17769
17770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17772 if (obj1) {
17773 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17774 }
17775 {
17776 PyThreadState* __tstate = wxPyBeginAllowThreads();
17777 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17778
17779 wxPyEndAllowThreads(__tstate);
17780 if (PyErr_Occurred()) SWIG_fail;
17781 }
17782 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17783 return resultobj;
17784 fail:
17785 return NULL;
17786}
17787
17788
17789static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17790 PyObject *resultobj;
17791 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17792 wxPrintDialogData *result;
17793 PyObject * obj0 = 0 ;
17794 char *kwnames[] = {
17795 (char *) "self", NULL
17796 };
17797
17798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17800 {
17801 PyThreadState* __tstate = wxPyBeginAllowThreads();
17802 {
17803 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17804 result = (wxPrintDialogData *) &_result_ref;
17805 }
17806
17807 wxPyEndAllowThreads(__tstate);
17808 if (PyErr_Occurred()) SWIG_fail;
17809 }
17810 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17811 return resultobj;
17812 fail:
17813 return NULL;
17814}
17815
17816
17817static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17818 PyObject *resultobj;
17819 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17820 wxDC *result;
17821 PyObject * obj0 = 0 ;
17822 char *kwnames[] = {
17823 (char *) "self", NULL
17824 };
17825
17826 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
17827 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
17830 result = (wxDC *)(arg1)->GetPrintDC();
17831
17832 wxPyEndAllowThreads(__tstate);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 }
17835 {
17836 resultobj = wxPyMake_wxObject(result);
17837 }
17838 return resultobj;
17839 fail:
17840 return NULL;
17841}
17842
17843
17844static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17845 PyObject *resultobj;
17846 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17847 int result;
17848 PyObject * obj0 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "self", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
17854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17855 {
17856 PyThreadState* __tstate = wxPyBeginAllowThreads();
17857 result = (int)(arg1)->ShowModal();
17858
17859 wxPyEndAllowThreads(__tstate);
17860 if (PyErr_Occurred()) SWIG_fail;
17861 }
17862 resultobj = PyInt_FromLong((long)result);
17863 return resultobj;
17864 fail:
17865 return NULL;
17866}
17867
17868
17869static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
17870 PyObject *obj;
17871 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17872 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
17873 Py_INCREF(obj);
17874 return Py_BuildValue((char *)"");
17875}
17876static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17877 PyObject *resultobj;
17878 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
17879 wxPrinter *result;
17880 PyObject * obj0 = 0 ;
17881 char *kwnames[] = {
17882 (char *) "data", NULL
17883 };
17884
17885 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
17886 if (obj0) {
17887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17888 }
17889 {
17890 PyThreadState* __tstate = wxPyBeginAllowThreads();
17891 result = (wxPrinter *)new wxPrinter(arg1);
17892
17893 wxPyEndAllowThreads(__tstate);
17894 if (PyErr_Occurred()) SWIG_fail;
17895 }
17896 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
17897 return resultobj;
17898 fail:
17899 return NULL;
17900}
17901
17902
17903static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17904 PyObject *resultobj;
17905 wxPrinter *arg1 = (wxPrinter *) 0 ;
17906 PyObject * obj0 = 0 ;
17907 char *kwnames[] = {
17908 (char *) "self", NULL
17909 };
17910
17911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
17912 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17913 {
17914 PyThreadState* __tstate = wxPyBeginAllowThreads();
17915 delete arg1;
17916
17917 wxPyEndAllowThreads(__tstate);
17918 if (PyErr_Occurred()) SWIG_fail;
17919 }
17920 Py_INCREF(Py_None); resultobj = Py_None;
17921 return resultobj;
17922 fail:
17923 return NULL;
17924}
17925
17926
17927static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17928 PyObject *resultobj;
17929 wxPrinter *arg1 = (wxPrinter *) 0 ;
17930 wxWindow *arg2 = (wxWindow *) 0 ;
17931 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17932 PyObject * obj0 = 0 ;
17933 PyObject * obj1 = 0 ;
17934 PyObject * obj2 = 0 ;
17935 char *kwnames[] = {
17936 (char *) "self",(char *) "parent",(char *) "printout", NULL
17937 };
17938
17939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
17940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17942 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17943 {
17944 PyThreadState* __tstate = wxPyBeginAllowThreads();
17945 (arg1)->CreateAbortWindow(arg2,arg3);
17946
17947 wxPyEndAllowThreads(__tstate);
17948 if (PyErr_Occurred()) SWIG_fail;
17949 }
17950 Py_INCREF(Py_None); resultobj = Py_None;
17951 return resultobj;
17952 fail:
17953 return NULL;
17954}
17955
17956
17957static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17958 PyObject *resultobj;
17959 wxPrinter *arg1 = (wxPrinter *) 0 ;
17960 wxPrintDialogData *result;
17961 PyObject * obj0 = 0 ;
17962 char *kwnames[] = {
17963 (char *) "self", NULL
17964 };
17965
17966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
17967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17968 {
17969 PyThreadState* __tstate = wxPyBeginAllowThreads();
17970 {
17971 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17972 result = (wxPrintDialogData *) &_result_ref;
17973 }
17974
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17979 return resultobj;
17980 fail:
17981 return NULL;
17982}
17983
17984
17985static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
17986 PyObject *resultobj;
17987 wxPrinter *arg1 = (wxPrinter *) 0 ;
17988 wxWindow *arg2 = (wxWindow *) 0 ;
17989 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
423f194a 17990 int arg4 = (int) True ;
d14a1e28
RD
17991 bool result;
17992 PyObject * obj0 = 0 ;
17993 PyObject * obj1 = 0 ;
17994 PyObject * obj2 = 0 ;
17995 char *kwnames[] = {
17996 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17997 };
17998
17999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18001 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18002 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18003 {
18004 PyThreadState* __tstate = wxPyBeginAllowThreads();
18005 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18006
18007 wxPyEndAllowThreads(__tstate);
18008 if (PyErr_Occurred()) SWIG_fail;
18009 }
18010 resultobj = PyInt_FromLong((long)result);
18011 return resultobj;
18012 fail:
18013 return NULL;
18014}
18015
18016
18017static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18018 PyObject *resultobj;
18019 wxPrinter *arg1 = (wxPrinter *) 0 ;
18020 wxWindow *arg2 = (wxWindow *) 0 ;
18021 wxDC *result;
18022 PyObject * obj0 = 0 ;
18023 PyObject * obj1 = 0 ;
18024 char *kwnames[] = {
18025 (char *) "self",(char *) "parent", NULL
18026 };
18027
18028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18030 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18031 {
18032 PyThreadState* __tstate = wxPyBeginAllowThreads();
18033 result = (wxDC *)(arg1)->PrintDialog(arg2);
18034
18035 wxPyEndAllowThreads(__tstate);
18036 if (PyErr_Occurred()) SWIG_fail;
18037 }
18038 {
18039 resultobj = wxPyMake_wxObject(result);
18040 }
18041 return resultobj;
18042 fail:
18043 return NULL;
18044}
18045
18046
18047static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18048 PyObject *resultobj;
18049 wxPrinter *arg1 = (wxPrinter *) 0 ;
18050 wxWindow *arg2 = (wxWindow *) 0 ;
18051 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18052 wxString *arg4 = 0 ;
423f194a 18053 bool temp4 = False ;
d14a1e28
RD
18054 PyObject * obj0 = 0 ;
18055 PyObject * obj1 = 0 ;
18056 PyObject * obj2 = 0 ;
18057 PyObject * obj3 = 0 ;
18058 char *kwnames[] = {
18059 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18060 };
18061
18062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18064 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18065 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18066 {
18067 arg4 = wxString_in_helper(obj3);
18068 if (arg4 == NULL) SWIG_fail;
423f194a 18069 temp4 = True;
d14a1e28
RD
18070 }
18071 {
18072 PyThreadState* __tstate = wxPyBeginAllowThreads();
18073 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18074
18075 wxPyEndAllowThreads(__tstate);
18076 if (PyErr_Occurred()) SWIG_fail;
18077 }
18078 Py_INCREF(Py_None); resultobj = Py_None;
18079 {
18080 if (temp4)
18081 delete arg4;
18082 }
18083 return resultobj;
18084 fail:
18085 {
18086 if (temp4)
18087 delete arg4;
18088 }
18089 return NULL;
18090}
18091
18092
18093static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18094 PyObject *resultobj;
18095 wxPrinter *arg1 = (wxPrinter *) 0 ;
18096 wxWindow *arg2 = (wxWindow *) 0 ;
18097 bool result;
18098 PyObject * obj0 = 0 ;
18099 PyObject * obj1 = 0 ;
18100 char *kwnames[] = {
18101 (char *) "self",(char *) "parent", NULL
18102 };
18103
18104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18106 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18107 {
18108 PyThreadState* __tstate = wxPyBeginAllowThreads();
18109 result = (bool)(arg1)->Setup(arg2);
18110
18111 wxPyEndAllowThreads(__tstate);
18112 if (PyErr_Occurred()) SWIG_fail;
18113 }
18114 resultobj = PyInt_FromLong((long)result);
18115 return resultobj;
18116 fail:
18117 return NULL;
18118}
18119
18120
18121static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18122 PyObject *resultobj;
18123 wxPrinter *arg1 = (wxPrinter *) 0 ;
18124 bool result;
18125 PyObject * obj0 = 0 ;
18126 char *kwnames[] = {
18127 (char *) "self", NULL
18128 };
18129
18130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18132 {
18133 PyThreadState* __tstate = wxPyBeginAllowThreads();
18134 result = (bool)(arg1)->GetAbort();
18135
18136 wxPyEndAllowThreads(__tstate);
18137 if (PyErr_Occurred()) SWIG_fail;
18138 }
18139 resultobj = PyInt_FromLong((long)result);
18140 return resultobj;
18141 fail:
18142 return NULL;
18143}
18144
18145
18146static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18147 PyObject *resultobj;
18148 int result;
18149 char *kwnames[] = {
18150 NULL
18151 };
18152
18153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18154 {
18155 PyThreadState* __tstate = wxPyBeginAllowThreads();
18156 result = (int)wxPrinter::GetLastError();
18157
18158 wxPyEndAllowThreads(__tstate);
18159 if (PyErr_Occurred()) SWIG_fail;
18160 }
18161 resultobj = PyInt_FromLong((long)result);
18162 return resultobj;
18163 fail:
18164 return NULL;
18165}
18166
18167
18168static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18169 PyObject *obj;
18170 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18171 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18172 Py_INCREF(obj);
18173 return Py_BuildValue((char *)"");
18174}
18175static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18176 PyObject *resultobj;
18177 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18178 wxString *arg1 = (wxString *) &arg1_defvalue ;
18179 wxPyPrintout *result;
423f194a 18180 bool temp1 = False ;
d14a1e28
RD
18181 PyObject * obj0 = 0 ;
18182 char *kwnames[] = {
18183 (char *) "title", NULL
18184 };
18185
18186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18187 if (obj0) {
18188 {
18189 arg1 = wxString_in_helper(obj0);
18190 if (arg1 == NULL) SWIG_fail;
423f194a 18191 temp1 = True;
d14a1e28
RD
18192 }
18193 }
18194 {
18195 PyThreadState* __tstate = wxPyBeginAllowThreads();
18196 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18197
18198 wxPyEndAllowThreads(__tstate);
18199 if (PyErr_Occurred()) SWIG_fail;
18200 }
18201 {
18202 resultobj = wxPyMake_wxObject(result);
18203 }
18204 {
18205 if (temp1)
18206 delete arg1;
18207 }
18208 return resultobj;
18209 fail:
18210 {
18211 if (temp1)
18212 delete arg1;
18213 }
18214 return NULL;
18215}
18216
18217
18218static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18219 PyObject *resultobj;
18220 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18221 PyObject *arg2 = (PyObject *) 0 ;
18222 PyObject *arg3 = (PyObject *) 0 ;
18223 PyObject * obj0 = 0 ;
18224 PyObject * obj1 = 0 ;
18225 PyObject * obj2 = 0 ;
18226 char *kwnames[] = {
18227 (char *) "self",(char *) "self",(char *) "_class", NULL
18228 };
18229
18230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18232 arg2 = obj1;
18233 arg3 = obj2;
18234 {
18235 PyThreadState* __tstate = wxPyBeginAllowThreads();
18236 (arg1)->_setCallbackInfo(arg2,arg3);
18237
18238 wxPyEndAllowThreads(__tstate);
18239 if (PyErr_Occurred()) SWIG_fail;
18240 }
18241 Py_INCREF(Py_None); resultobj = Py_None;
18242 return resultobj;
18243 fail:
18244 return NULL;
18245}
18246
18247
18248static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18249 PyObject *resultobj;
18250 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18251 wxString result;
18252 PyObject * obj0 = 0 ;
18253 char *kwnames[] = {
18254 (char *) "self", NULL
18255 };
18256
18257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18259 {
18260 PyThreadState* __tstate = wxPyBeginAllowThreads();
18261 result = ((wxPyPrintout const *)arg1)->GetTitle();
18262
18263 wxPyEndAllowThreads(__tstate);
18264 if (PyErr_Occurred()) SWIG_fail;
18265 }
18266 {
18267#if wxUSE_UNICODE
18268 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18269#else
18270 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18271#endif
18272 }
18273 return resultobj;
18274 fail:
18275 return NULL;
18276}
18277
18278
18279static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18280 PyObject *resultobj;
18281 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18282 wxDC *result;
18283 PyObject * obj0 = 0 ;
18284 char *kwnames[] = {
18285 (char *) "self", NULL
18286 };
18287
18288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18290 {
18291 PyThreadState* __tstate = wxPyBeginAllowThreads();
18292 result = (wxDC *)(arg1)->GetDC();
18293
18294 wxPyEndAllowThreads(__tstate);
18295 if (PyErr_Occurred()) SWIG_fail;
18296 }
18297 {
18298 resultobj = wxPyMake_wxObject(result);
18299 }
18300 return resultobj;
18301 fail:
18302 return NULL;
18303}
18304
18305
18306static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18307 PyObject *resultobj;
18308 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18309 wxDC *arg2 = (wxDC *) 0 ;
18310 PyObject * obj0 = 0 ;
18311 PyObject * obj1 = 0 ;
18312 char *kwnames[] = {
18313 (char *) "self",(char *) "dc", NULL
18314 };
18315
18316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18318 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18319 {
18320 PyThreadState* __tstate = wxPyBeginAllowThreads();
18321 (arg1)->SetDC(arg2);
18322
18323 wxPyEndAllowThreads(__tstate);
18324 if (PyErr_Occurred()) SWIG_fail;
18325 }
18326 Py_INCREF(Py_None); resultobj = Py_None;
18327 return resultobj;
18328 fail:
18329 return NULL;
18330}
18331
18332
44127b65 18333static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18334 PyObject *resultobj;
18335 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
44127b65
RD
18336 int arg2 ;
18337 int arg3 ;
d14a1e28
RD
18338 PyObject * obj0 = 0 ;
18339 char *kwnames[] = {
44127b65 18340 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
18341 };
18342
44127b65 18343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
d14a1e28
RD
18344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18345 {
18346 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18347 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
18348
18349 wxPyEndAllowThreads(__tstate);
18350 if (PyErr_Occurred()) SWIG_fail;
18351 }
18352 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
18353 return resultobj;
18354 fail:
18355 return NULL;
18356}
18357
18358
44127b65 18359static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18360 PyObject *resultobj;
18361 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
44127b65
RD
18362 int *arg2 = (int *) 0 ;
18363 int *arg3 = (int *) 0 ;
18364 int temp2 ;
18365 int temp3 ;
d14a1e28
RD
18366 PyObject * obj0 = 0 ;
18367 char *kwnames[] = {
44127b65 18368 (char *) "self", NULL
d14a1e28
RD
18369 };
18370
44127b65
RD
18371 arg2 = &temp2;
18372 arg3 = &temp3;
18373 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
d14a1e28
RD
18374 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18375 {
18376 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18377 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
18378
18379 wxPyEndAllowThreads(__tstate);
18380 if (PyErr_Occurred()) SWIG_fail;
18381 }
18382 Py_INCREF(Py_None); resultobj = Py_None;
44127b65
RD
18383 {
18384 PyObject *o = PyInt_FromLong((long) (*arg2));
18385 resultobj = t_output_helper(resultobj,o);
18386 }
18387 {
18388 PyObject *o = PyInt_FromLong((long) (*arg3));
18389 resultobj = t_output_helper(resultobj,o);
18390 }
d14a1e28
RD
18391 return resultobj;
18392 fail:
18393 return NULL;
18394}
18395
18396
18397static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18398 PyObject *resultobj;
18399 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18400 int arg2 ;
18401 int arg3 ;
18402 PyObject * obj0 = 0 ;
18403 char *kwnames[] = {
18404 (char *) "self",(char *) "w",(char *) "h", NULL
18405 };
18406
18407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18409 {
18410 PyThreadState* __tstate = wxPyBeginAllowThreads();
18411 (arg1)->SetPageSizeMM(arg2,arg3);
18412
18413 wxPyEndAllowThreads(__tstate);
18414 if (PyErr_Occurred()) SWIG_fail;
18415 }
18416 Py_INCREF(Py_None); resultobj = Py_None;
18417 return resultobj;
18418 fail:
18419 return NULL;
18420}
18421
18422
18423static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18424 PyObject *resultobj;
18425 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18426 int *arg2 = (int *) 0 ;
18427 int *arg3 = (int *) 0 ;
18428 int temp2 ;
18429 int temp3 ;
18430 PyObject * obj0 = 0 ;
18431 char *kwnames[] = {
18432 (char *) "self", NULL
18433 };
18434
18435 arg2 = &temp2;
18436 arg3 = &temp3;
18437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18439 {
18440 PyThreadState* __tstate = wxPyBeginAllowThreads();
18441 (arg1)->GetPageSizeMM(arg2,arg3);
18442
18443 wxPyEndAllowThreads(__tstate);
18444 if (PyErr_Occurred()) SWIG_fail;
18445 }
18446 Py_INCREF(Py_None); resultobj = Py_None;
18447 {
18448 PyObject *o = PyInt_FromLong((long) (*arg2));
18449 resultobj = t_output_helper(resultobj,o);
18450 }
18451 {
18452 PyObject *o = PyInt_FromLong((long) (*arg3));
18453 resultobj = t_output_helper(resultobj,o);
18454 }
18455 return resultobj;
18456 fail:
18457 return NULL;
18458}
18459
18460
18461static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18462 PyObject *resultobj;
18463 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18464 int arg2 ;
18465 int arg3 ;
18466 PyObject * obj0 = 0 ;
18467 char *kwnames[] = {
18468 (char *) "self",(char *) "x",(char *) "y", NULL
18469 };
18470
18471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18473 {
18474 PyThreadState* __tstate = wxPyBeginAllowThreads();
18475 (arg1)->SetPPIScreen(arg2,arg3);
18476
18477 wxPyEndAllowThreads(__tstate);
18478 if (PyErr_Occurred()) SWIG_fail;
18479 }
18480 Py_INCREF(Py_None); resultobj = Py_None;
18481 return resultobj;
18482 fail:
18483 return NULL;
18484}
18485
18486
18487static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18488 PyObject *resultobj;
18489 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18490 int *arg2 = (int *) 0 ;
18491 int *arg3 = (int *) 0 ;
18492 int temp2 ;
18493 int temp3 ;
18494 PyObject * obj0 = 0 ;
18495 char *kwnames[] = {
18496 (char *) "self", NULL
18497 };
18498
18499 arg2 = &temp2;
18500 arg3 = &temp3;
18501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18503 {
18504 PyThreadState* __tstate = wxPyBeginAllowThreads();
18505 (arg1)->GetPPIScreen(arg2,arg3);
18506
18507 wxPyEndAllowThreads(__tstate);
18508 if (PyErr_Occurred()) SWIG_fail;
18509 }
18510 Py_INCREF(Py_None); resultobj = Py_None;
18511 {
18512 PyObject *o = PyInt_FromLong((long) (*arg2));
18513 resultobj = t_output_helper(resultobj,o);
18514 }
18515 {
18516 PyObject *o = PyInt_FromLong((long) (*arg3));
18517 resultobj = t_output_helper(resultobj,o);
18518 }
18519 return resultobj;
18520 fail:
18521 return NULL;
18522}
18523
18524
18525static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18526 PyObject *resultobj;
18527 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18528 int arg2 ;
18529 int arg3 ;
18530 PyObject * obj0 = 0 ;
18531 char *kwnames[] = {
18532 (char *) "self",(char *) "x",(char *) "y", NULL
18533 };
18534
18535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18537 {
18538 PyThreadState* __tstate = wxPyBeginAllowThreads();
18539 (arg1)->SetPPIPrinter(arg2,arg3);
18540
18541 wxPyEndAllowThreads(__tstate);
18542 if (PyErr_Occurred()) SWIG_fail;
18543 }
18544 Py_INCREF(Py_None); resultobj = Py_None;
18545 return resultobj;
18546 fail:
18547 return NULL;
18548}
18549
18550
18551static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18552 PyObject *resultobj;
18553 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18554 int *arg2 = (int *) 0 ;
18555 int *arg3 = (int *) 0 ;
18556 int temp2 ;
18557 int temp3 ;
18558 PyObject * obj0 = 0 ;
18559 char *kwnames[] = {
18560 (char *) "self", NULL
18561 };
18562
18563 arg2 = &temp2;
18564 arg3 = &temp3;
18565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18567 {
18568 PyThreadState* __tstate = wxPyBeginAllowThreads();
18569 (arg1)->GetPPIPrinter(arg2,arg3);
18570
18571 wxPyEndAllowThreads(__tstate);
18572 if (PyErr_Occurred()) SWIG_fail;
18573 }
18574 Py_INCREF(Py_None); resultobj = Py_None;
18575 {
18576 PyObject *o = PyInt_FromLong((long) (*arg2));
18577 resultobj = t_output_helper(resultobj,o);
18578 }
18579 {
18580 PyObject *o = PyInt_FromLong((long) (*arg3));
18581 resultobj = t_output_helper(resultobj,o);
18582 }
18583 return resultobj;
18584 fail:
18585 return NULL;
18586}
18587
18588
18589static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18590 PyObject *resultobj;
18591 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18592 bool result;
18593 PyObject * obj0 = 0 ;
18594 char *kwnames[] = {
18595 (char *) "self", NULL
18596 };
18597
18598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18600 {
18601 PyThreadState* __tstate = wxPyBeginAllowThreads();
18602 result = (bool)(arg1)->IsPreview();
18603
18604 wxPyEndAllowThreads(__tstate);
18605 if (PyErr_Occurred()) SWIG_fail;
18606 }
18607 resultobj = PyInt_FromLong((long)result);
18608 return resultobj;
18609 fail:
18610 return NULL;
18611}
18612
18613
18614static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18615 PyObject *resultobj;
18616 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18617 bool arg2 ;
18618 PyObject * obj0 = 0 ;
18619 PyObject * obj1 = 0 ;
18620 char *kwnames[] = {
18621 (char *) "self",(char *) "p", NULL
18622 };
18623
18624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18626 arg2 = PyInt_AsLong(obj1) ? true : false;
18627 if (PyErr_Occurred()) SWIG_fail;
18628 {
18629 PyThreadState* __tstate = wxPyBeginAllowThreads();
18630 (arg1)->SetIsPreview(arg2);
18631
18632 wxPyEndAllowThreads(__tstate);
18633 if (PyErr_Occurred()) SWIG_fail;
18634 }
18635 Py_INCREF(Py_None); resultobj = Py_None;
18636 return resultobj;
18637 fail:
18638 return NULL;
18639}
18640
18641
18642static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18643 PyObject *resultobj;
18644 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18645 int arg2 ;
18646 int arg3 ;
18647 bool result;
18648 PyObject * obj0 = 0 ;
18649 char *kwnames[] = {
18650 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18651 };
18652
18653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18655 {
18656 PyThreadState* __tstate = wxPyBeginAllowThreads();
18657 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18658
18659 wxPyEndAllowThreads(__tstate);
18660 if (PyErr_Occurred()) SWIG_fail;
18661 }
18662 resultobj = PyInt_FromLong((long)result);
18663 return resultobj;
18664 fail:
18665 return NULL;
18666}
18667
18668
18669static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18670 PyObject *resultobj;
18671 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18672 PyObject * obj0 = 0 ;
18673 char *kwnames[] = {
18674 (char *) "self", NULL
18675 };
18676
18677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18679 {
18680 PyThreadState* __tstate = wxPyBeginAllowThreads();
18681 (arg1)->base_OnEndDocument();
18682
18683 wxPyEndAllowThreads(__tstate);
18684 if (PyErr_Occurred()) SWIG_fail;
18685 }
18686 Py_INCREF(Py_None); resultobj = Py_None;
18687 return resultobj;
18688 fail:
18689 return NULL;
18690}
18691
18692
18693static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18694 PyObject *resultobj;
18695 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18696 PyObject * obj0 = 0 ;
18697 char *kwnames[] = {
18698 (char *) "self", NULL
18699 };
18700
18701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18703 {
18704 PyThreadState* __tstate = wxPyBeginAllowThreads();
18705 (arg1)->base_OnBeginPrinting();
18706
18707 wxPyEndAllowThreads(__tstate);
18708 if (PyErr_Occurred()) SWIG_fail;
18709 }
18710 Py_INCREF(Py_None); resultobj = Py_None;
18711 return resultobj;
18712 fail:
18713 return NULL;
18714}
18715
18716
18717static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18718 PyObject *resultobj;
18719 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18720 PyObject * obj0 = 0 ;
18721 char *kwnames[] = {
18722 (char *) "self", NULL
18723 };
18724
18725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18727 {
18728 PyThreadState* __tstate = wxPyBeginAllowThreads();
18729 (arg1)->base_OnEndPrinting();
18730
18731 wxPyEndAllowThreads(__tstate);
18732 if (PyErr_Occurred()) SWIG_fail;
18733 }
18734 Py_INCREF(Py_None); resultobj = Py_None;
18735 return resultobj;
18736 fail:
18737 return NULL;
18738}
18739
18740
18741static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18742 PyObject *resultobj;
18743 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18744 PyObject * obj0 = 0 ;
18745 char *kwnames[] = {
18746 (char *) "self", NULL
18747 };
18748
18749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18751 {
18752 PyThreadState* __tstate = wxPyBeginAllowThreads();
18753 (arg1)->base_OnPreparePrinting();
18754
18755 wxPyEndAllowThreads(__tstate);
18756 if (PyErr_Occurred()) SWIG_fail;
18757 }
18758 Py_INCREF(Py_None); resultobj = Py_None;
18759 return resultobj;
18760 fail:
18761 return NULL;
18762}
18763
18764
44127b65
RD
18765static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18766 PyObject *resultobj;
18767 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18768 int arg2 ;
18769 bool result;
18770 PyObject * obj0 = 0 ;
18771 char *kwnames[] = {
18772 (char *) "self",(char *) "page", NULL
18773 };
18774
18775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18777 {
18778 PyThreadState* __tstate = wxPyBeginAllowThreads();
18779 result = (bool)(arg1)->base_HasPage(arg2);
18780
18781 wxPyEndAllowThreads(__tstate);
18782 if (PyErr_Occurred()) SWIG_fail;
18783 }
18784 resultobj = PyInt_FromLong((long)result);
18785 return resultobj;
18786 fail:
18787 return NULL;
18788}
18789
18790
d14a1e28
RD
18791static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18792 PyObject *resultobj;
18793 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18794 int *arg2 = (int *) 0 ;
18795 int *arg3 = (int *) 0 ;
18796 int *arg4 = (int *) 0 ;
18797 int *arg5 = (int *) 0 ;
18798 int temp2 ;
18799 int temp3 ;
18800 int temp4 ;
18801 int temp5 ;
18802 PyObject * obj0 = 0 ;
18803 char *kwnames[] = {
18804 (char *) "self", NULL
18805 };
18806
18807 arg2 = &temp2;
18808 arg3 = &temp3;
18809 arg4 = &temp4;
18810 arg5 = &temp5;
18811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
18812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18813 {
18814 PyThreadState* __tstate = wxPyBeginAllowThreads();
18815 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
18816
18817 wxPyEndAllowThreads(__tstate);
18818 if (PyErr_Occurred()) SWIG_fail;
18819 }
18820 Py_INCREF(Py_None); resultobj = Py_None;
18821 {
18822 PyObject *o = PyInt_FromLong((long) (*arg2));
18823 resultobj = t_output_helper(resultobj,o);
18824 }
18825 {
18826 PyObject *o = PyInt_FromLong((long) (*arg3));
18827 resultobj = t_output_helper(resultobj,o);
18828 }
18829 {
18830 PyObject *o = PyInt_FromLong((long) (*arg4));
18831 resultobj = t_output_helper(resultobj,o);
18832 }
18833 {
18834 PyObject *o = PyInt_FromLong((long) (*arg5));
18835 resultobj = t_output_helper(resultobj,o);
18836 }
18837 return resultobj;
18838 fail:
18839 return NULL;
18840}
18841
18842
d14a1e28
RD
18843static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
18844 PyObject *obj;
18845 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18846 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
18847 Py_INCREF(obj);
18848 return Py_BuildValue((char *)"");
18849}
18850static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18851 PyObject *resultobj;
18852 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18853 wxWindow *arg2 = (wxWindow *) 0 ;
18854 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18855 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18856 wxSize const &arg4_defvalue = wxDefaultSize ;
18857 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18858 long arg5 = (long) 0 ;
18859 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
18860 wxString *arg6 = (wxString *) &arg6_defvalue ;
18861 wxPreviewCanvas *result;
18862 wxPoint temp3 ;
18863 wxSize temp4 ;
423f194a 18864 bool temp6 = False ;
d14a1e28
RD
18865 PyObject * obj0 = 0 ;
18866 PyObject * obj1 = 0 ;
18867 PyObject * obj2 = 0 ;
18868 PyObject * obj3 = 0 ;
18869 PyObject * obj5 = 0 ;
18870 char *kwnames[] = {
18871 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18872 };
18873
18874 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
18875 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18876 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18877 if (obj2) {
18878 {
18879 arg3 = &temp3;
18880 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18881 }
18882 }
18883 if (obj3) {
18884 {
18885 arg4 = &temp4;
18886 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18887 }
18888 }
18889 if (obj5) {
18890 {
18891 arg6 = wxString_in_helper(obj5);
18892 if (arg6 == NULL) SWIG_fail;
423f194a 18893 temp6 = True;
d14a1e28
RD
18894 }
18895 }
18896 {
18897 PyThreadState* __tstate = wxPyBeginAllowThreads();
18898 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18899
18900 wxPyEndAllowThreads(__tstate);
18901 if (PyErr_Occurred()) SWIG_fail;
18902 }
18903 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
18904 {
18905 if (temp6)
18906 delete arg6;
18907 }
18908 return resultobj;
18909 fail:
18910 {
18911 if (temp6)
18912 delete arg6;
18913 }
18914 return NULL;
18915}
18916
18917
18918static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
18919 PyObject *obj;
18920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18921 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
18922 Py_INCREF(obj);
18923 return Py_BuildValue((char *)"");
18924}
18925static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
18926 PyObject *resultobj;
18927 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18928 wxFrame *arg2 = (wxFrame *) 0 ;
18929 wxString *arg3 = 0 ;
18930 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18931 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18932 wxSize const &arg5_defvalue = wxDefaultSize ;
18933 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18934 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
18935 wxString const &arg7_defvalue = wxPyFrameNameStr ;
18936 wxString *arg7 = (wxString *) &arg7_defvalue ;
18937 wxPreviewFrame *result;
423f194a 18938 bool temp3 = False ;
d14a1e28
RD
18939 wxPoint temp4 ;
18940 wxSize temp5 ;
423f194a 18941 bool temp7 = False ;
d14a1e28
RD
18942 PyObject * obj0 = 0 ;
18943 PyObject * obj1 = 0 ;
18944 PyObject * obj2 = 0 ;
18945 PyObject * obj3 = 0 ;
18946 PyObject * obj4 = 0 ;
18947 PyObject * obj6 = 0 ;
18948 char *kwnames[] = {
18949 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18950 };
18951
18952 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
18953 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18954 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18955 {
18956 arg3 = wxString_in_helper(obj2);
18957 if (arg3 == NULL) SWIG_fail;
423f194a 18958 temp3 = True;
d14a1e28
RD
18959 }
18960 if (obj3) {
18961 {
18962 arg4 = &temp4;
18963 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18964 }
18965 }
18966 if (obj4) {
18967 {
18968 arg5 = &temp5;
18969 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18970 }
18971 }
18972 if (obj6) {
18973 {
18974 arg7 = wxString_in_helper(obj6);
18975 if (arg7 == NULL) SWIG_fail;
423f194a 18976 temp7 = True;
d14a1e28
RD
18977 }
18978 }
18979 {
18980 PyThreadState* __tstate = wxPyBeginAllowThreads();
18981 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18982
18983 wxPyEndAllowThreads(__tstate);
18984 if (PyErr_Occurred()) SWIG_fail;
18985 }
18986 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
18987 {
18988 if (temp3)
18989 delete arg3;
18990 }
18991 {
18992 if (temp7)
18993 delete arg7;
18994 }
18995 return resultobj;
18996 fail:
18997 {
18998 if (temp3)
18999 delete arg3;
19000 }
19001 {
19002 if (temp7)
19003 delete arg7;
19004 }
19005 return NULL;
19006}
19007
19008
19009static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19010 PyObject *resultobj;
19011 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19012 PyObject * obj0 = 0 ;
19013 char *kwnames[] = {
19014 (char *) "self", NULL
19015 };
19016
19017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19019 {
19020 PyThreadState* __tstate = wxPyBeginAllowThreads();
19021 (arg1)->Initialize();
19022
19023 wxPyEndAllowThreads(__tstate);
19024 if (PyErr_Occurred()) SWIG_fail;
19025 }
19026 Py_INCREF(Py_None); resultobj = Py_None;
19027 return resultobj;
19028 fail:
19029 return NULL;
19030}
19031
19032
19033static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19034 PyObject *resultobj;
19035 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19036 PyObject * obj0 = 0 ;
19037 char *kwnames[] = {
19038 (char *) "self", NULL
19039 };
19040
19041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19043 {
19044 PyThreadState* __tstate = wxPyBeginAllowThreads();
19045 (arg1)->CreateControlBar();
19046
19047 wxPyEndAllowThreads(__tstate);
19048 if (PyErr_Occurred()) SWIG_fail;
19049 }
19050 Py_INCREF(Py_None); resultobj = Py_None;
19051 return resultobj;
19052 fail:
19053 return NULL;
19054}
19055
19056
19057static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19058 PyObject *resultobj;
19059 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19060 PyObject * obj0 = 0 ;
19061 char *kwnames[] = {
19062 (char *) "self", NULL
19063 };
19064
19065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19067 {
19068 PyThreadState* __tstate = wxPyBeginAllowThreads();
19069 (arg1)->CreateCanvas();
19070
19071 wxPyEndAllowThreads(__tstate);
19072 if (PyErr_Occurred()) SWIG_fail;
19073 }
19074 Py_INCREF(Py_None); resultobj = Py_None;
19075 return resultobj;
19076 fail:
19077 return NULL;
19078}
19079
19080
19081static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19082 PyObject *resultobj;
19083 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19084 wxPreviewControlBar *result;
19085 PyObject * obj0 = 0 ;
19086 char *kwnames[] = {
19087 (char *) "self", NULL
19088 };
19089
19090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19092 {
19093 PyThreadState* __tstate = wxPyBeginAllowThreads();
19094 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19095
19096 wxPyEndAllowThreads(__tstate);
19097 if (PyErr_Occurred()) SWIG_fail;
19098 }
19099 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19100 return resultobj;
19101 fail:
19102 return NULL;
19103}
19104
19105
19106static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19107 PyObject *obj;
19108 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19109 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19110 Py_INCREF(obj);
19111 return Py_BuildValue((char *)"");
19112}
19113static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19114 PyObject *resultobj;
19115 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19116 long arg2 ;
19117 wxWindow *arg3 = (wxWindow *) 0 ;
19118 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19119 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19120 wxSize const &arg5_defvalue = wxDefaultSize ;
19121 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19122 long arg6 = (long) wxTAB_TRAVERSAL ;
19123 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19124 wxString *arg7 = (wxString *) &arg7_defvalue ;
19125 wxPreviewControlBar *result;
19126 wxPoint temp4 ;
19127 wxSize temp5 ;
423f194a 19128 bool temp7 = False ;
d14a1e28
RD
19129 PyObject * obj0 = 0 ;
19130 PyObject * obj2 = 0 ;
19131 PyObject * obj3 = 0 ;
19132 PyObject * obj4 = 0 ;
19133 PyObject * obj6 = 0 ;
19134 char *kwnames[] = {
19135 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19136 };
19137
19138 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19139 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19140 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19141 if (obj3) {
19142 {
19143 arg4 = &temp4;
19144 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19145 }
19146 }
19147 if (obj4) {
19148 {
19149 arg5 = &temp5;
19150 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19151 }
19152 }
19153 if (obj6) {
19154 {
19155 arg7 = wxString_in_helper(obj6);
19156 if (arg7 == NULL) SWIG_fail;
423f194a 19157 temp7 = True;
d14a1e28
RD
19158 }
19159 }
19160 {
19161 PyThreadState* __tstate = wxPyBeginAllowThreads();
19162 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19163
19164 wxPyEndAllowThreads(__tstate);
19165 if (PyErr_Occurred()) SWIG_fail;
19166 }
19167 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19168 {
19169 if (temp7)
19170 delete arg7;
19171 }
19172 return resultobj;
19173 fail:
19174 {
19175 if (temp7)
19176 delete arg7;
19177 }
19178 return NULL;
19179}
19180
19181
19182static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19183 PyObject *resultobj;
19184 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19185 int result;
19186 PyObject * obj0 = 0 ;
19187 char *kwnames[] = {
19188 (char *) "self", NULL
19189 };
19190
19191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19193 {
19194 PyThreadState* __tstate = wxPyBeginAllowThreads();
19195 result = (int)(arg1)->GetZoomControl();
19196
19197 wxPyEndAllowThreads(__tstate);
19198 if (PyErr_Occurred()) SWIG_fail;
19199 }
19200 resultobj = PyInt_FromLong((long)result);
19201 return resultobj;
19202 fail:
19203 return NULL;
19204}
19205
19206
19207static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19208 PyObject *resultobj;
19209 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19210 int arg2 ;
19211 PyObject * obj0 = 0 ;
19212 char *kwnames[] = {
19213 (char *) "self",(char *) "zoom", NULL
19214 };
19215
19216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19218 {
19219 PyThreadState* __tstate = wxPyBeginAllowThreads();
19220 (arg1)->SetZoomControl(arg2);
19221
19222 wxPyEndAllowThreads(__tstate);
19223 if (PyErr_Occurred()) SWIG_fail;
19224 }
19225 Py_INCREF(Py_None); resultobj = Py_None;
19226 return resultobj;
19227 fail:
19228 return NULL;
19229}
19230
19231
19232static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19233 PyObject *resultobj;
19234 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19235 wxPrintPreview *result;
19236 PyObject * obj0 = 0 ;
19237 char *kwnames[] = {
19238 (char *) "self", NULL
19239 };
19240
19241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19246
19247 wxPyEndAllowThreads(__tstate);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19251 return resultobj;
19252 fail:
19253 return NULL;
19254}
19255
19256
19257static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19258 PyObject *resultobj;
19259 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19260 PyObject * obj0 = 0 ;
19261 char *kwnames[] = {
19262 (char *) "self", NULL
19263 };
19264
19265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19267 {
19268 PyThreadState* __tstate = wxPyBeginAllowThreads();
19269 (arg1)->OnNext();
19270
19271 wxPyEndAllowThreads(__tstate);
19272 if (PyErr_Occurred()) SWIG_fail;
19273 }
19274 Py_INCREF(Py_None); resultobj = Py_None;
19275 return resultobj;
19276 fail:
19277 return NULL;
19278}
19279
19280
19281static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19282 PyObject *resultobj;
19283 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19284 PyObject * obj0 = 0 ;
19285 char *kwnames[] = {
19286 (char *) "self", NULL
19287 };
19288
19289 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19290 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19291 {
19292 PyThreadState* __tstate = wxPyBeginAllowThreads();
19293 (arg1)->OnPrevious();
19294
19295 wxPyEndAllowThreads(__tstate);
19296 if (PyErr_Occurred()) SWIG_fail;
19297 }
19298 Py_INCREF(Py_None); resultobj = Py_None;
19299 return resultobj;
19300 fail:
19301 return NULL;
19302}
19303
19304
19305static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19306 PyObject *resultobj;
19307 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19308 PyObject * obj0 = 0 ;
19309 char *kwnames[] = {
19310 (char *) "self", NULL
19311 };
19312
19313 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19314 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19315 {
19316 PyThreadState* __tstate = wxPyBeginAllowThreads();
19317 (arg1)->OnFirst();
19318
19319 wxPyEndAllowThreads(__tstate);
19320 if (PyErr_Occurred()) SWIG_fail;
19321 }
19322 Py_INCREF(Py_None); resultobj = Py_None;
19323 return resultobj;
19324 fail:
19325 return NULL;
19326}
19327
19328
19329static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19330 PyObject *resultobj;
19331 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19332 PyObject * obj0 = 0 ;
19333 char *kwnames[] = {
19334 (char *) "self", NULL
19335 };
19336
19337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19339 {
19340 PyThreadState* __tstate = wxPyBeginAllowThreads();
19341 (arg1)->OnLast();
19342
19343 wxPyEndAllowThreads(__tstate);
19344 if (PyErr_Occurred()) SWIG_fail;
19345 }
19346 Py_INCREF(Py_None); resultobj = Py_None;
19347 return resultobj;
19348 fail:
19349 return NULL;
19350}
19351
19352
19353static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19354 PyObject *resultobj;
19355 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19356 PyObject * obj0 = 0 ;
19357 char *kwnames[] = {
19358 (char *) "self", NULL
19359 };
19360
19361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19363 {
19364 PyThreadState* __tstate = wxPyBeginAllowThreads();
19365 (arg1)->OnGoto();
19366
19367 wxPyEndAllowThreads(__tstate);
19368 if (PyErr_Occurred()) SWIG_fail;
19369 }
19370 Py_INCREF(Py_None); resultobj = Py_None;
19371 return resultobj;
19372 fail:
19373 return NULL;
19374}
19375
19376
19377static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19378 PyObject *obj;
19379 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19380 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19381 Py_INCREF(obj);
19382 return Py_BuildValue((char *)"");
19383}
19384static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19385 PyObject *resultobj;
19386 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19387 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19388 wxPrintData *arg3 = (wxPrintData *) NULL ;
19389 wxPrintPreview *result;
19390 PyObject * obj0 = 0 ;
19391 PyObject * obj1 = 0 ;
19392 PyObject * obj2 = 0 ;
19393 char *kwnames[] = {
19394 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19395 };
19396
19397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19399 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19400 if (obj2) {
19401 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19402 }
19403 {
19404 PyThreadState* __tstate = wxPyBeginAllowThreads();
19405 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19406
19407 wxPyEndAllowThreads(__tstate);
19408 if (PyErr_Occurred()) SWIG_fail;
19409 }
19410 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19411 return resultobj;
19412 fail:
19413 return NULL;
19414}
19415
19416
19417static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19418 PyObject *resultobj;
19419 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19420 int arg2 ;
19421 bool result;
19422 PyObject * obj0 = 0 ;
19423 char *kwnames[] = {
19424 (char *) "self",(char *) "pageNum", NULL
19425 };
19426
19427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19429 {
19430 PyThreadState* __tstate = wxPyBeginAllowThreads();
19431 result = (bool)(arg1)->SetCurrentPage(arg2);
19432
19433 wxPyEndAllowThreads(__tstate);
19434 if (PyErr_Occurred()) SWIG_fail;
19435 }
19436 resultobj = PyInt_FromLong((long)result);
19437 return resultobj;
19438 fail:
19439 return NULL;
19440}
19441
19442
19443static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19444 PyObject *resultobj;
19445 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19446 int result;
19447 PyObject * obj0 = 0 ;
19448 char *kwnames[] = {
19449 (char *) "self", NULL
19450 };
19451
19452 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19453 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19454 {
19455 PyThreadState* __tstate = wxPyBeginAllowThreads();
19456 result = (int)(arg1)->GetCurrentPage();
19457
19458 wxPyEndAllowThreads(__tstate);
19459 if (PyErr_Occurred()) SWIG_fail;
19460 }
19461 resultobj = PyInt_FromLong((long)result);
19462 return resultobj;
19463 fail:
19464 return NULL;
19465}
19466
19467
19468static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19469 PyObject *resultobj;
19470 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19471 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19472 PyObject * obj0 = 0 ;
19473 PyObject * obj1 = 0 ;
19474 char *kwnames[] = {
19475 (char *) "self",(char *) "printout", NULL
19476 };
19477
19478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19479 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19480 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19481 {
19482 PyThreadState* __tstate = wxPyBeginAllowThreads();
19483 (arg1)->SetPrintout(arg2);
19484
19485 wxPyEndAllowThreads(__tstate);
19486 if (PyErr_Occurred()) SWIG_fail;
19487 }
19488 Py_INCREF(Py_None); resultobj = Py_None;
19489 return resultobj;
19490 fail:
19491 return NULL;
19492}
19493
19494
19495static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19496 PyObject *resultobj;
19497 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19498 wxPyPrintout *result;
19499 PyObject * obj0 = 0 ;
19500 char *kwnames[] = {
19501 (char *) "self", NULL
19502 };
19503
19504 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19505 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19506 {
19507 PyThreadState* __tstate = wxPyBeginAllowThreads();
19508 result = (wxPyPrintout *)(arg1)->GetPrintout();
19509
19510 wxPyEndAllowThreads(__tstate);
19511 if (PyErr_Occurred()) SWIG_fail;
19512 }
19513 {
19514 resultobj = wxPyMake_wxObject(result);
19515 }
19516 return resultobj;
19517 fail:
19518 return NULL;
19519}
19520
19521
19522static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19523 PyObject *resultobj;
19524 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19525 wxPyPrintout *result;
19526 PyObject * obj0 = 0 ;
19527 char *kwnames[] = {
19528 (char *) "self", NULL
19529 };
19530
19531 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19532 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19533 {
19534 PyThreadState* __tstate = wxPyBeginAllowThreads();
19535 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19536
19537 wxPyEndAllowThreads(__tstate);
19538 if (PyErr_Occurred()) SWIG_fail;
19539 }
19540 {
19541 resultobj = wxPyMake_wxObject(result);
19542 }
19543 return resultobj;
19544 fail:
19545 return NULL;
19546}
19547
19548
19549static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19550 PyObject *resultobj;
19551 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19552 wxFrame *arg2 = (wxFrame *) 0 ;
19553 PyObject * obj0 = 0 ;
19554 PyObject * obj1 = 0 ;
19555 char *kwnames[] = {
19556 (char *) "self",(char *) "frame", NULL
19557 };
19558
19559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19561 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19562 {
19563 PyThreadState* __tstate = wxPyBeginAllowThreads();
19564 (arg1)->SetFrame(arg2);
19565
19566 wxPyEndAllowThreads(__tstate);
19567 if (PyErr_Occurred()) SWIG_fail;
19568 }
19569 Py_INCREF(Py_None); resultobj = Py_None;
19570 return resultobj;
19571 fail:
19572 return NULL;
19573}
19574
19575
19576static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19577 PyObject *resultobj;
19578 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19579 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19580 PyObject * obj0 = 0 ;
19581 PyObject * obj1 = 0 ;
19582 char *kwnames[] = {
19583 (char *) "self",(char *) "canvas", NULL
19584 };
19585
19586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19589 {
19590 PyThreadState* __tstate = wxPyBeginAllowThreads();
19591 (arg1)->SetCanvas(arg2);
19592
19593 wxPyEndAllowThreads(__tstate);
19594 if (PyErr_Occurred()) SWIG_fail;
19595 }
19596 Py_INCREF(Py_None); resultobj = Py_None;
19597 return resultobj;
19598 fail:
19599 return NULL;
19600}
19601
19602
19603static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19604 PyObject *resultobj;
19605 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19606 wxFrame *result;
19607 PyObject * obj0 = 0 ;
19608 char *kwnames[] = {
19609 (char *) "self", NULL
19610 };
19611
19612 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19613 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19614 {
19615 PyThreadState* __tstate = wxPyBeginAllowThreads();
19616 result = (wxFrame *)(arg1)->GetFrame();
19617
19618 wxPyEndAllowThreads(__tstate);
19619 if (PyErr_Occurred()) SWIG_fail;
19620 }
19621 {
19622 resultobj = wxPyMake_wxObject(result);
19623 }
19624 return resultobj;
19625 fail:
19626 return NULL;
19627}
19628
19629
19630static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19631 PyObject *resultobj;
19632 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19633 wxPreviewCanvas *result;
19634 PyObject * obj0 = 0 ;
19635 char *kwnames[] = {
19636 (char *) "self", NULL
19637 };
19638
19639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19641 {
19642 PyThreadState* __tstate = wxPyBeginAllowThreads();
19643 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19644
19645 wxPyEndAllowThreads(__tstate);
19646 if (PyErr_Occurred()) SWIG_fail;
19647 }
19648 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19649 return resultobj;
19650 fail:
19651 return NULL;
19652}
19653
19654
19655static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19656 PyObject *resultobj;
19657 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19658 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19659 wxDC *arg3 = 0 ;
19660 bool result;
19661 PyObject * obj0 = 0 ;
19662 PyObject * obj1 = 0 ;
19663 PyObject * obj2 = 0 ;
19664 char *kwnames[] = {
19665 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19666 };
19667
19668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19670 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19671 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19672 if (arg3 == NULL) {
19673 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19674 }
19675 {
19676 PyThreadState* __tstate = wxPyBeginAllowThreads();
19677 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19678
19679 wxPyEndAllowThreads(__tstate);
19680 if (PyErr_Occurred()) SWIG_fail;
19681 }
19682 resultobj = PyInt_FromLong((long)result);
19683 return resultobj;
19684 fail:
19685 return NULL;
19686}
19687
19688
19689static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19690 PyObject *resultobj;
19691 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19692 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19693 wxDC *arg3 = 0 ;
19694 bool result;
19695 PyObject * obj0 = 0 ;
19696 PyObject * obj1 = 0 ;
19697 PyObject * obj2 = 0 ;
19698 char *kwnames[] = {
19699 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19700 };
19701
19702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19704 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19705 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19706 if (arg3 == NULL) {
19707 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19708 }
19709 {
19710 PyThreadState* __tstate = wxPyBeginAllowThreads();
19711 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19712
19713 wxPyEndAllowThreads(__tstate);
19714 if (PyErr_Occurred()) SWIG_fail;
19715 }
19716 resultobj = PyInt_FromLong((long)result);
19717 return resultobj;
19718 fail:
19719 return NULL;
19720}
19721
19722
19723static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19724 PyObject *resultobj;
19725 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19726 int arg2 ;
19727 bool result;
19728 PyObject * obj0 = 0 ;
19729 char *kwnames[] = {
19730 (char *) "self",(char *) "pageNum", NULL
19731 };
19732
19733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19735 {
19736 PyThreadState* __tstate = wxPyBeginAllowThreads();
19737 result = (bool)(arg1)->RenderPage(arg2);
19738
19739 wxPyEndAllowThreads(__tstate);
19740 if (PyErr_Occurred()) SWIG_fail;
19741 }
19742 resultobj = PyInt_FromLong((long)result);
19743 return resultobj;
19744 fail:
19745 return NULL;
19746}
19747
19748
19749static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19750 PyObject *resultobj;
19751 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19752 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19753 PyObject * obj0 = 0 ;
19754 PyObject * obj1 = 0 ;
19755 char *kwnames[] = {
19756 (char *) "self",(char *) "canvas", NULL
19757 };
19758
19759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19760 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19761 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19762 {
19763 PyThreadState* __tstate = wxPyBeginAllowThreads();
19764 (arg1)->AdjustScrollbars(arg2);
19765
19766 wxPyEndAllowThreads(__tstate);
19767 if (PyErr_Occurred()) SWIG_fail;
19768 }
19769 Py_INCREF(Py_None); resultobj = Py_None;
19770 return resultobj;
19771 fail:
19772 return NULL;
19773}
19774
19775
19776static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19777 PyObject *resultobj;
19778 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19779 wxPrintDialogData *result;
19780 PyObject * obj0 = 0 ;
19781 char *kwnames[] = {
19782 (char *) "self", NULL
19783 };
19784
19785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19787 {
19788 PyThreadState* __tstate = wxPyBeginAllowThreads();
19789 {
19790 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19791 result = (wxPrintDialogData *) &_result_ref;
19792 }
19793
19794 wxPyEndAllowThreads(__tstate);
19795 if (PyErr_Occurred()) SWIG_fail;
19796 }
19797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19798 return resultobj;
19799 fail:
19800 return NULL;
19801}
19802
19803
19804static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19805 PyObject *resultobj;
19806 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19807 int arg2 ;
19808 PyObject * obj0 = 0 ;
19809 char *kwnames[] = {
19810 (char *) "self",(char *) "percent", NULL
19811 };
19812
19813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) 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 (arg1)->SetZoom(arg2);
19818
19819 wxPyEndAllowThreads(__tstate);
19820 if (PyErr_Occurred()) SWIG_fail;
19821 }
19822 Py_INCREF(Py_None); resultobj = Py_None;
19823 return resultobj;
19824 fail:
19825 return NULL;
19826}
19827
19828
19829static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19830 PyObject *resultobj;
19831 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19832 int result;
19833 PyObject * obj0 = 0 ;
19834 char *kwnames[] = {
19835 (char *) "self", NULL
19836 };
19837
19838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
19839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19840 {
19841 PyThreadState* __tstate = wxPyBeginAllowThreads();
19842 result = (int)(arg1)->GetZoom();
19843
19844 wxPyEndAllowThreads(__tstate);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
19847 resultobj = PyInt_FromLong((long)result);
19848 return resultobj;
19849 fail:
19850 return NULL;
19851}
19852
19853
19854static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19855 PyObject *resultobj;
19856 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19857 int result;
19858 PyObject * obj0 = 0 ;
19859 char *kwnames[] = {
19860 (char *) "self", NULL
19861 };
19862
19863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
19864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19865 {
19866 PyThreadState* __tstate = wxPyBeginAllowThreads();
19867 result = (int)(arg1)->GetMaxPage();
19868
19869 wxPyEndAllowThreads(__tstate);
19870 if (PyErr_Occurred()) SWIG_fail;
19871 }
19872 resultobj = PyInt_FromLong((long)result);
19873 return resultobj;
19874 fail:
19875 return NULL;
19876}
19877
19878
19879static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19880 PyObject *resultobj;
19881 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19882 int result;
19883 PyObject * obj0 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
19889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19890 {
19891 PyThreadState* __tstate = wxPyBeginAllowThreads();
19892 result = (int)(arg1)->GetMinPage();
19893
19894 wxPyEndAllowThreads(__tstate);
19895 if (PyErr_Occurred()) SWIG_fail;
19896 }
19897 resultobj = PyInt_FromLong((long)result);
19898 return resultobj;
19899 fail:
19900 return NULL;
19901}
19902
19903
19904static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19905 PyObject *resultobj;
19906 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19907 bool result;
19908 PyObject * obj0 = 0 ;
19909 char *kwnames[] = {
19910 (char *) "self", NULL
19911 };
19912
19913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
19914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 result = (bool)(arg1)->Ok();
19918
19919 wxPyEndAllowThreads(__tstate);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
19922 resultobj = PyInt_FromLong((long)result);
19923 return resultobj;
19924 fail:
19925 return NULL;
19926}
19927
19928
19929static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19930 PyObject *resultobj;
19931 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19932 bool arg2 ;
19933 PyObject * obj0 = 0 ;
19934 PyObject * obj1 = 0 ;
19935 char *kwnames[] = {
19936 (char *) "self",(char *) "ok", NULL
19937 };
19938
19939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
19940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19941 arg2 = PyInt_AsLong(obj1) ? true : false;
19942 if (PyErr_Occurred()) SWIG_fail;
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 (arg1)->SetOk(arg2);
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 Py_INCREF(Py_None); resultobj = Py_None;
19951 return resultobj;
19952 fail:
19953 return NULL;
19954}
19955
19956
19957static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19958 PyObject *resultobj;
19959 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19960 bool arg2 ;
19961 bool result;
19962 PyObject * obj0 = 0 ;
19963 PyObject * obj1 = 0 ;
19964 char *kwnames[] = {
19965 (char *) "self",(char *) "interactive", NULL
19966 };
19967
19968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
19969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19970 arg2 = PyInt_AsLong(obj1) ? true : false;
19971 if (PyErr_Occurred()) SWIG_fail;
19972 {
19973 PyThreadState* __tstate = wxPyBeginAllowThreads();
19974 result = (bool)(arg1)->Print(arg2);
19975
19976 wxPyEndAllowThreads(__tstate);
19977 if (PyErr_Occurred()) SWIG_fail;
19978 }
19979 resultobj = PyInt_FromLong((long)result);
19980 return resultobj;
19981 fail:
19982 return NULL;
19983}
19984
19985
19986static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19987 PyObject *resultobj;
19988 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19989 PyObject * obj0 = 0 ;
19990 char *kwnames[] = {
19991 (char *) "self", NULL
19992 };
19993
19994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
19995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19996 {
19997 PyThreadState* __tstate = wxPyBeginAllowThreads();
19998 (arg1)->DetermineScaling();
19999
20000 wxPyEndAllowThreads(__tstate);
20001 if (PyErr_Occurred()) SWIG_fail;
20002 }
20003 Py_INCREF(Py_None); resultobj = Py_None;
20004 return resultobj;
20005 fail:
20006 return NULL;
20007}
20008
20009
20010static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20011 PyObject *obj;
20012 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20013 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20014 Py_INCREF(obj);
20015 return Py_BuildValue((char *)"");
20016}
20017static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20018 PyObject *resultobj;
20019 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20020 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20021 wxPrintData *arg3 = (wxPrintData *) NULL ;
20022 wxPyPrintPreview *result;
20023 PyObject * obj0 = 0 ;
20024 PyObject * obj1 = 0 ;
20025 PyObject * obj2 = 0 ;
20026 char *kwnames[] = {
20027 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20028 };
20029
20030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20033 if (obj2) {
20034 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20035 }
20036 {
20037 PyThreadState* __tstate = wxPyBeginAllowThreads();
20038 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20039
20040 wxPyEndAllowThreads(__tstate);
20041 if (PyErr_Occurred()) SWIG_fail;
20042 }
20043 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20044 return resultobj;
20045 fail:
20046 return NULL;
20047}
20048
20049
20050static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20051 PyObject *resultobj;
20052 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20053 PyObject *arg2 = (PyObject *) 0 ;
20054 PyObject *arg3 = (PyObject *) 0 ;
20055 PyObject * obj0 = 0 ;
20056 PyObject * obj1 = 0 ;
20057 PyObject * obj2 = 0 ;
20058 char *kwnames[] = {
20059 (char *) "self",(char *) "self",(char *) "_class", NULL
20060 };
20061
20062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20064 arg2 = obj1;
20065 arg3 = obj2;
20066 {
20067 PyThreadState* __tstate = wxPyBeginAllowThreads();
20068 (arg1)->_setCallbackInfo(arg2,arg3);
20069
20070 wxPyEndAllowThreads(__tstate);
20071 if (PyErr_Occurred()) SWIG_fail;
20072 }
20073 Py_INCREF(Py_None); resultobj = Py_None;
20074 return resultobj;
20075 fail:
20076 return NULL;
20077}
20078
20079
20080static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20081 PyObject *resultobj;
20082 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20083 int arg2 ;
20084 bool result;
20085 PyObject * obj0 = 0 ;
20086 char *kwnames[] = {
20087 (char *) "self",(char *) "pageNum", NULL
20088 };
20089
20090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20092 {
20093 PyThreadState* __tstate = wxPyBeginAllowThreads();
20094 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20095
20096 wxPyEndAllowThreads(__tstate);
20097 if (PyErr_Occurred()) SWIG_fail;
20098 }
20099 resultobj = PyInt_FromLong((long)result);
20100 return resultobj;
20101 fail:
20102 return NULL;
20103}
20104
20105
20106static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20107 PyObject *resultobj;
20108 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20109 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20110 wxDC *arg3 = 0 ;
20111 bool result;
20112 PyObject * obj0 = 0 ;
20113 PyObject * obj1 = 0 ;
20114 PyObject * obj2 = 0 ;
20115 char *kwnames[] = {
20116 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20117 };
20118
20119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20122 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20123 if (arg3 == NULL) {
20124 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20125 }
20126 {
20127 PyThreadState* __tstate = wxPyBeginAllowThreads();
20128 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20129
20130 wxPyEndAllowThreads(__tstate);
20131 if (PyErr_Occurred()) SWIG_fail;
20132 }
20133 resultobj = PyInt_FromLong((long)result);
20134 return resultobj;
20135 fail:
20136 return NULL;
20137}
20138
20139
20140static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20141 PyObject *resultobj;
20142 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20143 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20144 wxDC *arg3 = 0 ;
20145 bool result;
20146 PyObject * obj0 = 0 ;
20147 PyObject * obj1 = 0 ;
20148 PyObject * obj2 = 0 ;
20149 char *kwnames[] = {
20150 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20151 };
20152
20153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20155 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20156 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20157 if (arg3 == NULL) {
20158 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20159 }
20160 {
20161 PyThreadState* __tstate = wxPyBeginAllowThreads();
20162 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20163
20164 wxPyEndAllowThreads(__tstate);
20165 if (PyErr_Occurred()) SWIG_fail;
20166 }
20167 resultobj = PyInt_FromLong((long)result);
20168 return resultobj;
20169 fail:
20170 return NULL;
20171}
20172
20173
20174static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20175 PyObject *resultobj;
20176 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20177 int arg2 ;
20178 bool result;
20179 PyObject * obj0 = 0 ;
20180 char *kwnames[] = {
20181 (char *) "self",(char *) "pageNum", NULL
20182 };
20183
20184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20186 {
20187 PyThreadState* __tstate = wxPyBeginAllowThreads();
20188 result = (bool)(arg1)->base_RenderPage(arg2);
20189
20190 wxPyEndAllowThreads(__tstate);
20191 if (PyErr_Occurred()) SWIG_fail;
20192 }
20193 resultobj = PyInt_FromLong((long)result);
20194 return resultobj;
20195 fail:
20196 return NULL;
20197}
20198
20199
20200static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20201 PyObject *resultobj;
20202 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20203 int arg2 ;
20204 PyObject * obj0 = 0 ;
20205 char *kwnames[] = {
20206 (char *) "self",(char *) "percent", NULL
20207 };
20208
20209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20211 {
20212 PyThreadState* __tstate = wxPyBeginAllowThreads();
20213 (arg1)->base_SetZoom(arg2);
20214
20215 wxPyEndAllowThreads(__tstate);
20216 if (PyErr_Occurred()) SWIG_fail;
20217 }
20218 Py_INCREF(Py_None); resultobj = Py_None;
20219 return resultobj;
20220 fail:
20221 return NULL;
20222}
20223
20224
20225static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20226 PyObject *resultobj;
20227 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20228 bool arg2 ;
20229 bool result;
20230 PyObject * obj0 = 0 ;
20231 PyObject * obj1 = 0 ;
20232 char *kwnames[] = {
20233 (char *) "self",(char *) "interactive", NULL
20234 };
20235
20236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20238 arg2 = PyInt_AsLong(obj1) ? true : false;
20239 if (PyErr_Occurred()) SWIG_fail;
20240 {
20241 PyThreadState* __tstate = wxPyBeginAllowThreads();
20242 result = (bool)(arg1)->base_Print(arg2);
20243
20244 wxPyEndAllowThreads(__tstate);
20245 if (PyErr_Occurred()) SWIG_fail;
20246 }
20247 resultobj = PyInt_FromLong((long)result);
20248 return resultobj;
20249 fail:
20250 return NULL;
20251}
20252
20253
20254static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20255 PyObject *resultobj;
20256 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20257 PyObject * obj0 = 0 ;
20258 char *kwnames[] = {
20259 (char *) "self", NULL
20260 };
20261
20262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20264 {
20265 PyThreadState* __tstate = wxPyBeginAllowThreads();
20266 (arg1)->base_DetermineScaling();
20267
20268 wxPyEndAllowThreads(__tstate);
20269 if (PyErr_Occurred()) SWIG_fail;
20270 }
20271 Py_INCREF(Py_None); resultobj = Py_None;
20272 return resultobj;
20273 fail:
20274 return NULL;
20275}
20276
20277
20278static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20279 PyObject *obj;
20280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20281 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20282 Py_INCREF(obj);
20283 return Py_BuildValue((char *)"");
20284}
20285static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20286 PyObject *resultobj;
20287 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20288 wxFrame *arg2 = (wxFrame *) 0 ;
20289 wxString *arg3 = 0 ;
20290 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20291 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20292 wxSize const &arg5_defvalue = wxDefaultSize ;
20293 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20294 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20295 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20296 wxString *arg7 = (wxString *) &arg7_defvalue ;
20297 wxPyPreviewFrame *result;
423f194a 20298 bool temp3 = False ;
d14a1e28
RD
20299 wxPoint temp4 ;
20300 wxSize temp5 ;
423f194a 20301 bool temp7 = False ;
d14a1e28
RD
20302 PyObject * obj0 = 0 ;
20303 PyObject * obj1 = 0 ;
20304 PyObject * obj2 = 0 ;
20305 PyObject * obj3 = 0 ;
20306 PyObject * obj4 = 0 ;
20307 PyObject * obj6 = 0 ;
20308 char *kwnames[] = {
20309 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20310 };
20311
20312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20314 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20315 {
20316 arg3 = wxString_in_helper(obj2);
20317 if (arg3 == NULL) SWIG_fail;
423f194a 20318 temp3 = True;
d14a1e28
RD
20319 }
20320 if (obj3) {
20321 {
20322 arg4 = &temp4;
20323 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20324 }
20325 }
20326 if (obj4) {
20327 {
20328 arg5 = &temp5;
20329 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20330 }
20331 }
20332 if (obj6) {
20333 {
20334 arg7 = wxString_in_helper(obj6);
20335 if (arg7 == NULL) SWIG_fail;
423f194a 20336 temp7 = True;
d14a1e28
RD
20337 }
20338 }
20339 {
20340 PyThreadState* __tstate = wxPyBeginAllowThreads();
20341 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20342
20343 wxPyEndAllowThreads(__tstate);
20344 if (PyErr_Occurred()) SWIG_fail;
20345 }
20346 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20347 {
20348 if (temp3)
20349 delete arg3;
20350 }
20351 {
20352 if (temp7)
20353 delete arg7;
20354 }
20355 return resultobj;
20356 fail:
20357 {
20358 if (temp3)
20359 delete arg3;
20360 }
20361 {
20362 if (temp7)
20363 delete arg7;
20364 }
20365 return NULL;
20366}
20367
20368
20369static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20370 PyObject *resultobj;
20371 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20372 PyObject *arg2 = (PyObject *) 0 ;
20373 PyObject *arg3 = (PyObject *) 0 ;
20374 PyObject * obj0 = 0 ;
20375 PyObject * obj1 = 0 ;
20376 PyObject * obj2 = 0 ;
20377 char *kwnames[] = {
20378 (char *) "self",(char *) "self",(char *) "_class", NULL
20379 };
20380
20381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20383 arg2 = obj1;
20384 arg3 = obj2;
20385 {
20386 PyThreadState* __tstate = wxPyBeginAllowThreads();
20387 (arg1)->_setCallbackInfo(arg2,arg3);
20388
20389 wxPyEndAllowThreads(__tstate);
20390 if (PyErr_Occurred()) SWIG_fail;
20391 }
20392 Py_INCREF(Py_None); resultobj = Py_None;
20393 return resultobj;
20394 fail:
20395 return NULL;
20396}
20397
20398
20399static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20400 PyObject *resultobj;
20401 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20402 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20403 PyObject * obj0 = 0 ;
20404 PyObject * obj1 = 0 ;
20405 char *kwnames[] = {
20406 (char *) "self",(char *) "canvas", NULL
20407 };
20408
20409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20411 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20412 {
20413 PyThreadState* __tstate = wxPyBeginAllowThreads();
20414 (arg1)->SetPreviewCanvas(arg2);
20415
20416 wxPyEndAllowThreads(__tstate);
20417 if (PyErr_Occurred()) SWIG_fail;
20418 }
20419 Py_INCREF(Py_None); resultobj = Py_None;
20420 return resultobj;
20421 fail:
20422 return NULL;
20423}
20424
20425
20426static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20427 PyObject *resultobj;
20428 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20429 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20430 PyObject * obj0 = 0 ;
20431 PyObject * obj1 = 0 ;
20432 char *kwnames[] = {
20433 (char *) "self",(char *) "bar", NULL
20434 };
20435
20436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20438 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20439 {
20440 PyThreadState* __tstate = wxPyBeginAllowThreads();
20441 (arg1)->SetControlBar(arg2);
20442
20443 wxPyEndAllowThreads(__tstate);
20444 if (PyErr_Occurred()) SWIG_fail;
20445 }
20446 Py_INCREF(Py_None); resultobj = Py_None;
20447 return resultobj;
20448 fail:
20449 return NULL;
20450}
20451
20452
20453static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20454 PyObject *resultobj;
20455 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20456 PyObject * obj0 = 0 ;
20457 char *kwnames[] = {
20458 (char *) "self", NULL
20459 };
20460
20461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20463 {
20464 PyThreadState* __tstate = wxPyBeginAllowThreads();
20465 (arg1)->base_Initialize();
20466
20467 wxPyEndAllowThreads(__tstate);
20468 if (PyErr_Occurred()) SWIG_fail;
20469 }
20470 Py_INCREF(Py_None); resultobj = Py_None;
20471 return resultobj;
20472 fail:
20473 return NULL;
20474}
20475
20476
20477static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20478 PyObject *resultobj;
20479 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20480 PyObject * obj0 = 0 ;
20481 char *kwnames[] = {
20482 (char *) "self", NULL
20483 };
20484
20485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20487 {
20488 PyThreadState* __tstate = wxPyBeginAllowThreads();
20489 (arg1)->base_CreateCanvas();
20490
20491 wxPyEndAllowThreads(__tstate);
20492 if (PyErr_Occurred()) SWIG_fail;
20493 }
20494 Py_INCREF(Py_None); resultobj = Py_None;
20495 return resultobj;
20496 fail:
20497 return NULL;
20498}
20499
20500
20501static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20502 PyObject *resultobj;
20503 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20504 PyObject * obj0 = 0 ;
20505 char *kwnames[] = {
20506 (char *) "self", NULL
20507 };
20508
20509 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20510 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20511 {
20512 PyThreadState* __tstate = wxPyBeginAllowThreads();
20513 (arg1)->base_CreateControlBar();
20514
20515 wxPyEndAllowThreads(__tstate);
20516 if (PyErr_Occurred()) SWIG_fail;
20517 }
20518 Py_INCREF(Py_None); resultobj = Py_None;
20519 return resultobj;
20520 fail:
20521 return NULL;
20522}
20523
20524
20525static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20526 PyObject *obj;
20527 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20528 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20529 Py_INCREF(obj);
20530 return Py_BuildValue((char *)"");
20531}
20532static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20533 PyObject *resultobj;
20534 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20535 long arg2 ;
20536 wxWindow *arg3 = (wxWindow *) 0 ;
20537 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20538 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20539 wxSize const &arg5_defvalue = wxDefaultSize ;
20540 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20541 long arg6 = (long) 0 ;
20542 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20543 wxString *arg7 = (wxString *) &arg7_defvalue ;
20544 wxPyPreviewControlBar *result;
20545 wxPoint temp4 ;
20546 wxSize temp5 ;
423f194a 20547 bool temp7 = False ;
d14a1e28
RD
20548 PyObject * obj0 = 0 ;
20549 PyObject * obj2 = 0 ;
20550 PyObject * obj3 = 0 ;
20551 PyObject * obj4 = 0 ;
20552 PyObject * obj6 = 0 ;
20553 char *kwnames[] = {
20554 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20555 };
20556
20557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20559 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20560 if (obj3) {
20561 {
20562 arg4 = &temp4;
20563 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20564 }
20565 }
20566 if (obj4) {
20567 {
20568 arg5 = &temp5;
20569 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20570 }
20571 }
20572 if (obj6) {
20573 {
20574 arg7 = wxString_in_helper(obj6);
20575 if (arg7 == NULL) SWIG_fail;
423f194a 20576 temp7 = True;
d14a1e28
RD
20577 }
20578 }
20579 {
20580 PyThreadState* __tstate = wxPyBeginAllowThreads();
20581 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20582
20583 wxPyEndAllowThreads(__tstate);
20584 if (PyErr_Occurred()) SWIG_fail;
20585 }
20586 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20587 {
20588 if (temp7)
20589 delete arg7;
20590 }
20591 return resultobj;
20592 fail:
20593 {
20594 if (temp7)
20595 delete arg7;
20596 }
20597 return NULL;
20598}
20599
20600
20601static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20602 PyObject *resultobj;
20603 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20604 PyObject *arg2 = (PyObject *) 0 ;
20605 PyObject *arg3 = (PyObject *) 0 ;
20606 PyObject * obj0 = 0 ;
20607 PyObject * obj1 = 0 ;
20608 PyObject * obj2 = 0 ;
20609 char *kwnames[] = {
20610 (char *) "self",(char *) "self",(char *) "_class", NULL
20611 };
20612
20613 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20614 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20615 arg2 = obj1;
20616 arg3 = obj2;
20617 {
20618 PyThreadState* __tstate = wxPyBeginAllowThreads();
20619 (arg1)->_setCallbackInfo(arg2,arg3);
20620
20621 wxPyEndAllowThreads(__tstate);
20622 if (PyErr_Occurred()) SWIG_fail;
20623 }
20624 Py_INCREF(Py_None); resultobj = Py_None;
20625 return resultobj;
20626 fail:
20627 return NULL;
20628}
20629
20630
20631static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20632 PyObject *resultobj;
20633 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20634 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20635 PyObject * obj0 = 0 ;
20636 PyObject * obj1 = 0 ;
20637 char *kwnames[] = {
20638 (char *) "self",(char *) "preview", NULL
20639 };
20640
20641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20643 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20644 {
20645 PyThreadState* __tstate = wxPyBeginAllowThreads();
20646 (arg1)->SetPrintPreview(arg2);
20647
20648 wxPyEndAllowThreads(__tstate);
20649 if (PyErr_Occurred()) SWIG_fail;
20650 }
20651 Py_INCREF(Py_None); resultobj = Py_None;
20652 return resultobj;
20653 fail:
20654 return NULL;
20655}
20656
20657
20658static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20659 PyObject *resultobj;
20660 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20661 PyObject * obj0 = 0 ;
20662 char *kwnames[] = {
20663 (char *) "self", NULL
20664 };
20665
20666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 (arg1)->base_CreateButtons();
20671
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
20675 Py_INCREF(Py_None); resultobj = Py_None;
20676 return resultobj;
20677 fail:
20678 return NULL;
20679}
20680
20681
20682static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20683 PyObject *resultobj;
20684 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20685 int arg2 ;
20686 PyObject * obj0 = 0 ;
20687 char *kwnames[] = {
20688 (char *) "self",(char *) "zoom", NULL
20689 };
20690
20691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20693 {
20694 PyThreadState* __tstate = wxPyBeginAllowThreads();
20695 (arg1)->base_SetZoomControl(arg2);
20696
20697 wxPyEndAllowThreads(__tstate);
20698 if (PyErr_Occurred()) SWIG_fail;
20699 }
20700 Py_INCREF(Py_None); resultobj = Py_None;
20701 return resultobj;
20702 fail:
20703 return NULL;
20704}
20705
20706
20707static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20708 PyObject *obj;
20709 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20710 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20711 Py_INCREF(obj);
20712 return Py_BuildValue((char *)"");
20713}
20714static PyMethodDef SwigMethods[] = {
20715 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20716 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20717 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20718 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20719 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20720 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20721 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20722 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20723 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20724 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20725 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20726 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20727 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20728 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20729 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20730 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20731 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20732 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20733 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20734 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20735 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20736 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20737 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20738 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20739 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20740 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
20741 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
20742 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
d14a1e28
RD
20743 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20744 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20745 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20746 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20747 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20748 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20749 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20750 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20751 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20752 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20753 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20754 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20755 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20756 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20757 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20758 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20759 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20760 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20761 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20762 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20763 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20764 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20765 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20766 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20767 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20768 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20769 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20770 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20771 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20772 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20773 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20774 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20775 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20776 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20777 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20778 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20779 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20780 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20781 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20782 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20783 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20784 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20785 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20786 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20787 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
20788 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20789 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20790 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20791 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20792 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20793 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20794 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20795 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20796 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20797 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20798 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20799 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20800 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20801 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20802 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20803 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20804 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20805 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20806 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20807 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20808 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20809 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20810 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20811 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20812 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20813 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20814 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20815 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20816 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
20817 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
20818 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
20819 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
20820 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
20821 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
20822 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
20823 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
20824 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
20825 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
20826 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
20827 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
20828 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
20829 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
20830 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
20831 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
20832 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
20833 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
20834 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
20835 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
20836 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
20837 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
20838 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20839 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20840 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20841 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20842 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20843 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20844 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20845 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20846 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
20847 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
20848 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20849 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20850 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
20851 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
20852 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
20853 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
20854 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
20855 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
20856 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
20857 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
20858 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
20859 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
20860 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
20861 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
20862 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20863 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20864 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20865 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20866 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20867 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20868 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20869 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20870 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20871 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20872 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20873 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20874 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20875 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20876 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
20877 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
20878 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
20879 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
20880 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
20881 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
20882 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
20883 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
20884 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
20885 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
20886 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20887 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20888 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20889 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20890 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
20891 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
20892 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20893 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20894 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20895 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20896 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
20897 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
20898 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20899 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20900 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
20901 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
20902 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
20903 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20904 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20905 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
20906 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20907 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20908 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
20910 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20911 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
20912 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20914 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
20915 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
20918 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
20921 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
20922 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
20923 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20924 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
20927 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
20928 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
20929 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
20933 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20936 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
20940 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
20947 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
20951 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
20973 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
20977 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20983 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
20984 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
20991 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
20992 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
20994 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21001 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21003 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21007 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21015 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21020 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21033 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21037 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21040 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21042 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21043 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21047 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21048 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21051 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21064 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21068 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21071 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21075 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21084 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21093 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21099 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21114 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21121 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21125 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21146 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21167 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21211 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21243 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21247 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21281 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21286 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21297 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
d14a1e28 21302 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
44127b65 21303 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
21304 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
d14a1e28 21317 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
44127b65 21318 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
21319 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21320 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21322 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21328 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21338 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21362 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21369 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21372 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21378 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21380 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21386 { NULL, NULL }
21387};
21388
21389
21390/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21391
21392static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21393 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21394}
21395static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21396 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21397}
21398static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21399 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21400}
21401static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21402 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21403}
21404static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21405 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21406}
21407static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21408 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21409}
21410static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21411 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21412}
21413static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21414 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21415}
21416static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21417 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21418}
21419static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21420 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21421}
21422static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21423 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21424}
21425static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21426 return (void *)((wxEvent *) ((wxPyEvent *) x));
21427}
21428static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21429 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21430}
21431static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21432 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21433}
21434static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21435 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21436}
21437static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21438 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21439}
21440static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21441 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21442}
21443static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21444 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21445}
21446static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21447 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21448}
21449static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21450 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21451}
21452static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21453 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21454}
21455static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21456 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21457}
21458static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21459 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21460}
21461static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21462 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21463}
21464static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21465 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21466}
21467static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21468 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21469}
21470static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21471 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21472}
21473static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21474 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21475}
21476static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21477 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21478}
21479static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21480 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21481}
21482static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21483 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21484}
21485static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21486 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21487}
21488static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21489 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21490}
21491static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21492 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21493}
21494static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21495 return (void *)((wxEvent *) ((wxShowEvent *) x));
21496}
21497static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21498 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21499}
21500static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21501 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21502}
21503static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21504 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21505}
21506static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21507 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21508}
21509static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21510 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21511}
21512static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21513 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21514}
21515static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21516 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21517}
21518static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21519 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21520}
21521static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21522 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21523}
21524static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21525 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21526}
21527static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21528 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21529}
21530static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21531 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21532}
21533static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21534 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21535}
21536static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21537 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21538}
21539static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21540 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21541}
21542static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21543 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21544}
21545static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21546 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21547}
21548static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21549 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21550}
21551static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21552 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21553}
21554static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21555 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21556}
21557static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21558 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21559}
21560static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21561 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21562}
21563static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21564 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21565}
21566static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21567 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21568}
21569static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21570 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21571}
21572static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21573 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21574}
21575static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21576 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21577}
21578static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21579 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21580}
21581static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21582 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21583}
21584static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21585 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21586}
21587static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21588 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21589}
21590static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21591 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21592}
21593static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21594 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21595}
21596static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21597 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21598}
21599static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21600 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21601}
21602static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21603 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21604}
21605static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21606 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21607}
21608static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21609 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21610}
21611static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21612 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21613}
21614static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21615 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21616}
21617static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21618 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21619}
21620static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21621 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21622}
21623static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21624 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21625}
21626static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21627 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21628}
21629static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21630 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21631}
21632static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21633 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21634}
21635static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21636 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21637}
21638static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21639 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21640}
21641static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21642 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21643}
21644static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21645 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21646}
21647static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21648 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21649}
21650static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21651 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21652}
21653static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21654 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21655}
21656static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21657 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21658}
21659static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21660 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21661}
21662static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21663 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21664}
21665static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21666 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21667}
21668static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21669 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21670}
21671static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21672 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21673}
21674static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21675 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21676}
21677static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21678 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21679}
21680static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21681 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21682}
21683static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21684 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21685}
21686static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21687 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21688}
21689static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21690 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21691}
21692static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21693 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21694}
21695static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21696 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21697}
21698static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21699 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21700}
21701static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21702 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21703}
21704static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21705 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21706}
21707static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21708 return (void *)((wxObject *) ((wxSizerItem *) x));
21709}
21710static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21711 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21712}
21713static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21714 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21715}
21716static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21717 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21718}
21719static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21720 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21721}
21722static void *_p_wxSizerTo_p_wxObject(void *x) {
21723 return (void *)((wxObject *) ((wxSizer *) x));
21724}
21725static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21726 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21727}
21728static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21729 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21730}
21731static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21732 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21733}
21734static void *_p_wxEventTo_p_wxObject(void *x) {
21735 return (void *)((wxObject *) ((wxEvent *) x));
21736}
21737static void *_p_wxFontDataTo_p_wxObject(void *x) {
21738 return (void *)((wxObject *) ((wxFontData *) x));
21739}
21740static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21741 return (void *)((wxObject *) ((wxPrintData *) x));
21742}
21743static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21744 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21745}
21746static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21747 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21748}
21749static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21750 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21751}
21752static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21753 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21754}
21755static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21756 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21757}
21758static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21759 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21760}
21761static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21762 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21763}
21764static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21765 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21766}
21767static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21768 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21769}
21770static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21771 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21772}
21773static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21774 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21775}
21776static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21777 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21778}
21779static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21781}
21782static void *_p_wxControlTo_p_wxObject(void *x) {
21783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21784}
21785static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21786 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21787}
21788static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21789 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21790}
21791static void *_p_wxFSFileTo_p_wxObject(void *x) {
21792 return (void *)((wxObject *) ((wxFSFile *) x));
21793}
21794static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21795 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21796}
21797static void *_p_wxPySizerTo_p_wxObject(void *x) {
21798 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21799}
21800static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21801 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21802}
21803static void *_p_wxColourDataTo_p_wxObject(void *x) {
21804 return (void *)((wxObject *) ((wxColourData *) x));
21805}
21806static void *_p_wxPyEventTo_p_wxObject(void *x) {
21807 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21808}
21809static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21810 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21811}
21812static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21813 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21814}
21815static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21816 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21817}
21818static void *_p_wxFileDialogTo_p_wxObject(void *x) {
21819 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21820}
21821static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
21822 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21823}
21824static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
21825 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21826}
21827static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
21828 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21829}
21830static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
21831 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21832}
21833static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
21834 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21835}
21836static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
21837 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21838}
21839static void *_p_wxShowEventTo_p_wxObject(void *x) {
21840 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21841}
21842static void *_p_wxPrinterTo_p_wxObject(void *x) {
21843 return (void *)((wxObject *) ((wxPrinter *) x));
21844}
21845static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21846 return (void *)((wxObject *) ((wxMenuItem *) x));
21847}
21848static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21849 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21850}
21851static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21852 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21853}
21854static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21855 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21856}
21857static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21858 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21859}
21860static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21861 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21862}
21863static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21864 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21865}
21866static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21867 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21868}
21869static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21870 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21871}
21872static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21873 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21874}
21875static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21876 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21877}
21878static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21879 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21880}
21881static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21882 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21883}
21884static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21885 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21886}
21887static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21888 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21889}
21890static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21891 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21892}
21893static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21894 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21895}
21896static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21897 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21898}
21899static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21900 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21901}
21902static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21903 return (void *)((wxObject *) ((wxImageHandler *) x));
21904}
21905static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21906 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21907}
21908static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21909 return (void *)((wxObject *) ((wxEvtHandler *) x));
21910}
21911static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
21912 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
21913}
21914static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
21915 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21916}
21917static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
21918 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21919}
21920static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21921 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21922}
21923static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
21924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21925}
21926static void *_p_wxImageTo_p_wxObject(void *x) {
21927 return (void *)((wxObject *) ((wxImage *) x));
21928}
21929static void *_p_wxFrameTo_p_wxObject(void *x) {
21930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21931}
21932static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
21933 return (void *)((wxObject *) ((wxPyPrintout *) x));
21934}
21935static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21936 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21937}
21938static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
21939 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
21940}
21941static void *_p_wxStatusBarTo_p_wxObject(void *x) {
21942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
21943}
21944static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
21945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21946}
21947static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21948 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21949}
21950static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21951 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21952}
21953static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21954 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21955}
d14a1e28
RD
21956static void *_p_wxWindowTo_p_wxObject(void *x) {
21957 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21958}
21959static void *_p_wxMenuTo_p_wxObject(void *x) {
21960 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21961}
21962static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21963 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21964}
41f1cec7
RD
21965static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
21966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21967}
d14a1e28
RD
21968static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
21969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
21970}
21971static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
21972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
21973}
21974static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
21975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
21976}
21977static void *_p_wxSashWindowTo_p_wxObject(void *x) {
21978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
21979}
21980static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
21981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21982}
21983static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
21984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
21985}
21986static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
21987 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21988}
21989static void *_p_wxTipWindowTo_p_wxObject(void *x) {
21990 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21991}
21992static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
21993 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21994}
21995static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
21996 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
21997}
21998static void *_p_wxSashEventTo_p_wxObject(void *x) {
21999 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22000}
22001static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22002 return (void *)((wxObject *) ((wxPrintPreview *) x));
22003}
22004static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22005 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22006}
22007static void *_p_wxPanelTo_p_wxObject(void *x) {
22008 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22009}
22010static void *_p_wxDialogTo_p_wxObject(void *x) {
22011 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22012}
22013static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22015}
22016static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22018}
22019static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22020 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22021}
22022static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22023 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22024}
22025static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22026 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22027}
22028static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22029 return (void *)((wxObject *) ((wxFileSystem *) x));
22030}
22031static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22032 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22033}
22034static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22035 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22036}
22037static void *_p_wxPyAppTo_p_wxObject(void *x) {
22038 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22039}
22040static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22041 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22042}
22043static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22044 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22045}
22046static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22047 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22048}
22049static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22050 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22051}
22052static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22053 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22054}
22055static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22056 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22057}
22058static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22059 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22060}
22061static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22062 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22063}
22064static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22065 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22066}
22067static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22068 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22069}
22070static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22071 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22072}
22073static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22074 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22075}
22076static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22077 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22078}
22079static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22080 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22081}
22082static void *_p_wxValidatorTo_p_wxObject(void *x) {
22083 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22084}
22085static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22086 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22087}
22088static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22089 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22090}
22091static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22092 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22093}
22094static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22095 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22096}
22097static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22098 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22099}
22100static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22101 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22102}
22103static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22104 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22105}
22106static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22107 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22108}
22109static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22110 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22111}
22112static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22113 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22114}
22115static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22116 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22117}
22118static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22119 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22120}
22121static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22122 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22123}
22124static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22125 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22126}
22127static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22128 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22129}
22130static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22131 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22132}
22133static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22134 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22135}
22136static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22137 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22138}
22139static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22140 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22141}
22142static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22143 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22144}
22145static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22146 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22147}
22148static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22149 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22150}
22151static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22152 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22153}
22154static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22155 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22156}
22157static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22158 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22159}
22160static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22161 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22162}
22163static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22164 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22165}
22166static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22167 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22168}
22169static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22170 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22171}
22172static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22173 return (void *)((wxWindow *) ((wxMenuBar *) x));
22174}
22175static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22176 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22177}
22178static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22179 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22180}
22181static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22182 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22183}
22184static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22185 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22186}
22187static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22188 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22189}
22190static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22191 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22192}
22193static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22194 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22195}
22196static void *_p_wxPanelTo_p_wxWindow(void *x) {
22197 return (void *)((wxWindow *) ((wxPanel *) x));
22198}
22199static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22200 return (void *)((wxWindow *) ((wxStatusBar *) x));
22201}
22202static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22203 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22204}
22205static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22206 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22207}
22208static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22209 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22210}
22211static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22212 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22213}
22214static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22215 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22216}
22217static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22218 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22219}
22220static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22221 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22222}
22223static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22224 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22225}
22226static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22227 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22228}
22229static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22230 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22231}
22232static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22233 return (void *)((wxWindow *) ((wxSashWindow *) x));
22234}
22235static void *_p_wxControlTo_p_wxWindow(void *x) {
22236 return (void *)((wxWindow *) ((wxControl *) x));
22237}
22238static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22240}
22241static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22242 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22243}
22244static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22245 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22246}
22247static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22248 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22249}
22250static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22251 return (void *)((wxWindow *) ((wxPyWindow *) x));
22252}
22253static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22254 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22255}
22256static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22257 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22258}
22259static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22260 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22261}
22262static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22263 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22264}
22265static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22266 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22267}
22268static void *_p_wxFrameTo_p_wxWindow(void *x) {
22269 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22270}
22271static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22272 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22273}
22274static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22275 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22276}
22277static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22278 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22279}
22280static void *_p_wxDialogTo_p_wxWindow(void *x) {
22281 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22282}
22283static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22284 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22285}
22286static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22287 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22288}
22289static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22290 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22291}
22292static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22293 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22294}
22295static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22296 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22297}
22298static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22299 return (void *)((wxDialog *) ((wxColourDialog *) x));
22300}
22301static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22302 return (void *)((wxDialog *) ((wxDirDialog *) x));
22303}
22304static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22305 return (void *)((wxDialog *) ((wxFontDialog *) x));
22306}
22307static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22308 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22309}
22310static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22311 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22312}
22313static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22314 return (void *)((wxDialog *) ((wxFileDialog *) x));
22315}
22316static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22317 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22318}
22319static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22320 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22321}
22322static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22323 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22324}
22325static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22326 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22327}
22328static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22329 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22330}
22331static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22332 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22333}
22334static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22335 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22336}
22337static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22338 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22339}
22340static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22341 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22342}
22343static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22344 return (void *)((wxPanel *) ((wxPyPanel *) x));
22345}
22346static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22347 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22348}
22349static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22350 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22351}
22352static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22353 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22354}
22355static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22356 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22357}
22358static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22359 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22360}
22361static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22362 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22363}
22364static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22365 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22366}
22367static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22368 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22369}
22370static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22371 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22372}
22373static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22374 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22375}
22376static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22377 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22378}
22379static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22380 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22381}
22382static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22383 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22384}
22385static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22386 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22387}
22388static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22389 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22390}
22391static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22392static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22393static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
d14a1e28
RD
22394static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22395static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22396static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22397static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22398static 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}};
22399static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22400static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22401static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22402static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22403static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22404static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22405static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22406static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22407static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22408static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22409static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22410static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22411static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22412static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22413static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22414static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22415static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22416static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22417static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22418static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22419static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22420static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22421static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22422static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22423static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22424static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
d14a1e28
RD
22425static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22426static 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}};
22427static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22428static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22429static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22430static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
d14a1e28
RD
22431static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22432static 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}};
22433static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22434static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22435static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22436static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22437static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22438static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22439static 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}};
22440static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22441static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22442static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22443static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22444static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
d14a1e28
RD
22445static 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}};
22446static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22447static 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}};
22448static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22449static 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}};
22450static 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}};
22451static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
41f1cec7 22452static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
d14a1e28
RD
22453static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22454static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22455static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22456static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22457static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
41f1cec7 22458static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
d14a1e28
RD
22459static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22460static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22461static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22462static 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}};
22463static 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}};
d14a1e28
RD
22464static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22465static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22466static 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}};
22467static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22468static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22469static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22470static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22471static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22472static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22473static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22474
22475static swig_type_info *swig_types_initial[] = {
22476_swigt__p_wxQueryLayoutInfoEvent,
22477_swigt__p_wxPreviewFrame,
22478_swigt__p_wxPyPreviewFrame,
d14a1e28
RD
22479_swigt__p_wxPyPanel,
22480_swigt__p_wxMenu,
22481_swigt__p_wxPrintData,
22482_swigt__p_wxFontData,
22483_swigt__p_wxEvent,
22484_swigt__p_wxTaskBarIcon,
22485_swigt__p_wxIconBundle,
22486_swigt__p_wxLayoutAlgorithm,
22487_swigt__p_wxFindDialogEvent,
22488_swigt__p_wxPreviewCanvas,
22489_swigt__p_wxFont,
22490_swigt__p_wxSplitterEvent,
22491_swigt__p_wxRegion,
22492_swigt__p_wxFindReplaceData,
22493_swigt__p_int,
22494_swigt__p_wxSize,
22495_swigt__p_wxDC,
22496_swigt__p_wxIcon,
22497_swigt__p_wxMDIChildFrame,
22498_swigt__p_wxColourData,
22499_swigt__p_wxNotifyEvent,
22500_swigt__p_wxPyWindow,
22501_swigt__p_wxSplashScreen,
22502_swigt__p_wxFindReplaceDialog,
22503_swigt__p_wxProgressDialog,
22504_swigt__p_wxMessageDialog,
22505_swigt__p_wxTextEntryDialog,
22506_swigt__p_wxSingleChoiceDialog,
22507_swigt__p_wxMultiChoiceDialog,
22508_swigt__p_wxFileDialog,
22509_swigt__p_wxPrinter,
d14a1e28
RD
22510_swigt__p_wxArrayInt,
22511_swigt__p_wxEvtHandler,
22512_swigt__p_wxCalculateLayoutEvent,
22513_swigt__p_wxPyHtmlListBox,
22514_swigt__p_wxPyVListBox,
22515_swigt__p_wxRect,
d14a1e28
RD
22516_swigt__p_wxMiniFrame,
22517_swigt__p_wxFrame,
22518_swigt__p_wxPyPrintout,
22519_swigt__p_wxTaskBarIconEvent,
22520_swigt__p_wxScrollWinEvent,
22521_swigt__p_wxStatusBar,
22522_swigt__p_wxMDIParentFrame,
22523_swigt__p_wxPoint,
22524_swigt__p_wxObject,
22525_swigt__p_unsigned_long,
22526_swigt__p_wxMDIClientWindow,
22527_swigt__p_wxTipWindow,
22528_swigt__p_wxSashLayoutWindow,
22529_swigt__p_wxSplitterWindow,
d14a1e28
RD
22530_swigt__p_wxPyVScrolledWindow,
22531_swigt__p_wxPyPopupTransientWindow,
22532_swigt__p_wxPopupWindow,
22533_swigt__p_wxSashWindow,
22534_swigt__p_wxTopLevelWindow,
22535_swigt__p_wxWindow,
22536_swigt__p_wxScrolledWindow,
41f1cec7 22537_swigt__p_wxSplashScreenWindow,
d14a1e28
RD
22538_swigt__p_wxMenuBar,
22539_swigt__p_wxPrintPreview,
22540_swigt__p_wxSashEvent,
22541_swigt__p_wxString,
22542_swigt__p_wxPyPrintPreview,
41f1cec7 22543_swigt__p_wxPageSetupDialog,
d14a1e28
RD
22544_swigt__p_wxFontDialog,
22545_swigt__p_wxDirDialog,
22546_swigt__p_wxColourDialog,
22547_swigt__p_wxDialog,
22548_swigt__p_wxPanel,
d14a1e28
RD
22549_swigt__p_wxPrintDialog,
22550_swigt__p_wxBitmap,
22551_swigt__p_wxCommandEvent,
22552_swigt__p_wxPrintQuality,
22553_swigt__p_wxPreviewControlBar,
22554_swigt__p_wxPyPreviewControlBar,
22555_swigt__p_wxColour,
22556_swigt__p_wxToolBar,
22557_swigt__p_wxPageSetupDialogData,
22558_swigt__p_wxPrintDialogData,
225590
22560};
22561
22562
22563/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22564
22565static swig_const_info swig_const_table[] = {
22566{ SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22567{ SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22568{ SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22569{ SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22570{ SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22571{ SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22572{ SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22573{ SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22574{ SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22575{ SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22576{ SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22577{ SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22578{ SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22579{ SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22580{ SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22581{ SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22582{ SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22583{ SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22584{ SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22585{ SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22586{ SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22587{ SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22588{ SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22589{ SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22590{ SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22591{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22592{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22593{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22594{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22595{ SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22596{ SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22597{ SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22598{ SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22599{ SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22600{ SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22601{ SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22602{ SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22603{ SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22604{ SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22605{ SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22606{ SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22607{ SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22608{ SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22609{ SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22610{ SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22611{ SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22612{ SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22613{ SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22614{ SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22615{ SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22616{ SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22617{ SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22618{ SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22619{ SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22620{ SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22621{ SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22622{ SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22623{ SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22624{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22625{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22626{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22627{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22628{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22629{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22630{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22631{ SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22632{ SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22633{ SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22634{ SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22635{ SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22636{ SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22637{ SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22638{ SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22639{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22640{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22641{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22642{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22643{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22644{ SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22645{ SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22646{ SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22647{ SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22648{ SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22649{ SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22650{ SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22651{ SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22652{ SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22653{ SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22654{ SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22655{ SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22656{ SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22657{ SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22658{ SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22659{ SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22660{ SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22661{ SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22662{ SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22663{ SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22664{ SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22665{ SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22666{ SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22667{ SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22668{ SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22669{ SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22670{ SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22671{ SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22672{ SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22673{ SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22674{ SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22675{0}};
22676
22677#ifdef __cplusplus
22678}
22679#endif
22680
22681#ifdef __cplusplus
22682extern "C"
22683#endif
22684SWIGEXPORT(void) SWIG_init(void) {
22685 static PyObject *SWIG_globals = 0;
22686 static int typeinit = 0;
22687 PyObject *m, *d;
22688 int i;
22689 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22690 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22691 d = PyModule_GetDict(m);
22692
22693 if (!typeinit) {
22694 for (i = 0; swig_types_initial[i]; i++) {
22695 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22696 }
22697 typeinit = 1;
22698 }
22699 SWIG_InstallConstants(d,swig_const_table);
22700
d14a1e28
RD
22701 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22702 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22703 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22704 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22705 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22706 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22707 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22708
22709 // Map renamed classes back to their common name for OOR
22710 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22711 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22712 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22713
22714 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22715 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22716 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22717 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22718 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22719 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22720 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22721 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22722 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22723 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22724 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22725 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22726
22727 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22728
22729}
22730