]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/windows_wrap.cpp
reSWIGged with the new SWIG runtime and also other recent changes
[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
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
f0983263
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
f0983263
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
f0983263 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
f0983263 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
f0983263 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
f0983263 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
f0983263
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
423f194a 124
d14a1e28
RD
125#endif
126
f0983263 127
d14a1e28
RD
128/***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
d14a1e28
RD
138#include "Python.h"
139
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144#define SWIG_PY_INT 1
145#define SWIG_PY_FLOAT 2
146#define SWIG_PY_STRING 3
147#define SWIG_PY_POINTER 4
148#define SWIG_PY_BINARY 5
149
150/* Flags for pointer conversion */
151
152#define SWIG_POINTER_EXCEPTION 0x1
153#define SWIG_POINTER_DISOWN 0x2
154
155/* Exception handling in wrappers */
156#define SWIG_fail goto fail
157
158/* Constant information structure */
159typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166} swig_const_info;
167
d14a1e28
RD
168/* Common SWIG API */
169#define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171#define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173#define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176/* Python-specific SWIG API */
177#define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179#define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
183#define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185#define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
f0983263
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
d14a1e28
RD
198
199
200/* Contract support */
201
423f194a 202#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 203
d14a1e28
RD
204#ifdef __cplusplus
205}
206#endif
207
208
209
210/* -------- TYPES TABLE (BEGIN) -------- */
211
212#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
213#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
214#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
41f1cec7
RD
215#define SWIGTYPE_p_wxPyPanel swig_types[3]
216#define SWIGTYPE_p_wxMenu swig_types[4]
217#define SWIGTYPE_p_wxPrintData swig_types[5]
218#define SWIGTYPE_p_wxFontData swig_types[6]
219#define SWIGTYPE_p_wxEvent swig_types[7]
220#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
221#define SWIGTYPE_p_wxIconBundle swig_types[9]
222#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
223#define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
224#define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
225#define SWIGTYPE_p_wxFont swig_types[13]
226#define SWIGTYPE_p_wxSplitterEvent swig_types[14]
227#define SWIGTYPE_p_wxRegion swig_types[15]
228#define SWIGTYPE_p_wxFindReplaceData swig_types[16]
229#define SWIGTYPE_p_int swig_types[17]
230#define SWIGTYPE_p_wxSize swig_types[18]
231#define SWIGTYPE_p_wxDC swig_types[19]
232#define SWIGTYPE_p_wxIcon swig_types[20]
233#define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
234#define SWIGTYPE_p_wxColourData swig_types[22]
235#define SWIGTYPE_p_wxNotifyEvent swig_types[23]
236#define SWIGTYPE_p_wxPyWindow swig_types[24]
237#define SWIGTYPE_p_wxSplashScreen swig_types[25]
238#define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
239#define SWIGTYPE_p_wxProgressDialog swig_types[27]
240#define SWIGTYPE_p_wxMessageDialog swig_types[28]
241#define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
242#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
243#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
244#define SWIGTYPE_p_wxFileDialog swig_types[32]
245#define SWIGTYPE_p_wxPrinter swig_types[33]
246#define SWIGTYPE_p_wxArrayInt swig_types[34]
247#define SWIGTYPE_p_wxEvtHandler swig_types[35]
248#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
249#define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
250#define SWIGTYPE_p_wxPyVListBox swig_types[38]
251#define SWIGTYPE_p_wxRect swig_types[39]
252#define SWIGTYPE_p_wxMiniFrame swig_types[40]
253#define SWIGTYPE_p_wxFrame swig_types[41]
254#define SWIGTYPE_p_wxPyPrintout swig_types[42]
255#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
256#define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
257#define SWIGTYPE_p_wxStatusBar swig_types[45]
258#define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
259#define SWIGTYPE_p_wxPoint swig_types[47]
260#define SWIGTYPE_p_wxObject swig_types[48]
261#define SWIGTYPE_p_unsigned_long swig_types[49]
262#define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
263#define SWIGTYPE_p_wxTipWindow swig_types[51]
264#define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
265#define SWIGTYPE_p_wxSplitterWindow swig_types[53]
266#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
267#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
268#define SWIGTYPE_p_wxPopupWindow swig_types[56]
269#define SWIGTYPE_p_wxSashWindow swig_types[57]
270#define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
271#define SWIGTYPE_p_wxWindow swig_types[59]
272#define SWIGTYPE_p_wxScrolledWindow swig_types[60]
273#define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
274#define SWIGTYPE_p_wxMenuBar swig_types[62]
275#define SWIGTYPE_p_wxPrintPreview swig_types[63]
276#define SWIGTYPE_p_wxSashEvent swig_types[64]
277#define SWIGTYPE_p_wxString swig_types[65]
278#define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
279#define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
280#define SWIGTYPE_p_wxFontDialog swig_types[68]
281#define SWIGTYPE_p_wxDirDialog swig_types[69]
282#define SWIGTYPE_p_wxColourDialog swig_types[70]
283#define SWIGTYPE_p_wxDialog swig_types[71]
284#define SWIGTYPE_p_wxPanel swig_types[72]
285#define SWIGTYPE_p_wxPrintDialog swig_types[73]
286#define SWIGTYPE_p_wxBitmap swig_types[74]
287#define SWIGTYPE_p_wxCommandEvent swig_types[75]
d03fd34d
RD
288#define SWIGTYPE_p_wxPreviewControlBar swig_types[76]
289#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[77]
290#define SWIGTYPE_p_wxColour swig_types[78]
291#define SWIGTYPE_p_wxToolBar swig_types[79]
292#define SWIGTYPE_p_wxPrintDialogData swig_types[80]
41f1cec7 293#define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
d03fd34d 294static swig_type_info *swig_types[83];
d14a1e28
RD
295
296/* -------- TYPES TABLE (END) -------- */
297
298
299/*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302#define SWIG_init init_windows
303
304#define SWIG_name "_windows"
305
306#include "wx/wxPython/wxPython.h"
307#include "wx/wxPython/pyclasses.h"
308
d14a1e28 309
d03fd34d
RD
310 static const wxString wxPyEmptyString(wxEmptyString);
311 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
312
313
314
315static PyObject* t_output_helper(PyObject* target, PyObject* o) {
316 PyObject* o2;
317 PyObject* o3;
318
319 if (!target) {
320 target = o;
321 } else if (target == Py_None) {
322 Py_DECREF(Py_None);
323 target = o;
324 } else {
325 if (!PyTuple_Check(target)) {
326 o2 = target;
327 target = PyTuple_New(1);
328 PyTuple_SetItem(target, 0, o2);
329 }
330 o3 = PyTuple_New(1);
331 PyTuple_SetItem(o3, 0, o);
332
333 o2 = target;
334 target = PySequence_Concat(o2, o3);
335 Py_DECREF(o2);
336 Py_DECREF(o3);
337 }
338 return target;
339}
340
d03fd34d
RD
341 static const wxString wxPyFrameNameStr(wxFrameNameStr);
342 static const wxString wxPyDialogNameStr(wxDialogNameStr);
343 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
344 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
d14a1e28
RD
345bool wxDialog_IsModalShowing(wxDialog *self){
346
347
348
349 return self->IsModalShowing();
350
351 }
352
353
44127b65
RD
354wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
355 wxRect r;
356 self->GetFieldRect(i, r);
357 return r;
358 }
eb9b6107
RD
359 static const wxString wxPySplitterNameStr(wxT("splitter"));
360 static const wxString wxPySashNameStr(wxT("sashWindow"));
361 static const wxString wxPySashLayoutNameStr(wxT("layoutWindow"));
d14a1e28
RD
362
363#include <wx/popupwin.h>
364
365
366class wxPyPopupTransientWindow : public wxPopupTransientWindow
367{
368public:
369 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
370 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
371 : wxPopupTransientWindow(parent, style) {}
372
373 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
374 DEC_PYCALLBACK__(OnDismiss);
375 DEC_PYCALLBACK_BOOL_(CanDismiss);
376 PYPRIVATE;
377};
378
379
380IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
381IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
382IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
383
384
385#include <wx/tipwin.h>
386
8a0b029b
RD
387wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
388 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
d14a1e28
RD
389 }
390
391#include <wx/tipwin.h>
392
393
394#include <wx/vscroll.h>
395
396
397class wxPyVScrolledWindow : public wxVScrolledWindow
398{
399 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
400public:
401 wxPyVScrolledWindow() : wxVScrolledWindow() {}
402
403 wxPyVScrolledWindow(wxWindow *parent,
404 wxWindowID id = wxID_ANY,
405 const wxPoint& pos = wxDefaultPosition,
406 const wxSize& size = wxDefaultSize,
407 long style = 0,
408 const wxString& name = wxPyPanelNameStr)
409 : wxVScrolledWindow(parent, id, pos, size, style, name)
410 {}
411
412 // Overridable virtuals
413
414 // this function must be overridden in the derived class and it should
415 // return the height of the given line in pixels
416 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
417
418
419 // this function doesn't have to be overridden but it may be useful to do
420 // it if calculating the lines heights is a relatively expensive operation
421 // as it gives the user code a possibility to calculate several of them at
422 // once
423 //
424 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
425 // shouldn't rely on the latter being called for all lines in the interval
426 // specified here. It is also possible that OnGetLineHeight() will be
427 // called for the lines outside of this interval, so this is really just a
428 // hint, not a promise.
429 //
430 // finally note that lineMin is inclusive, while lineMax is exclusive, as
431 // usual
432 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
433
434
435 // when the number of lines changes, we try to estimate the total height
436 // of all lines which is a rather expensive operation in terms of lines
437 // access, so if the user code may estimate the average height
438 // better/faster than we do, it should override this function to implement
439 // its own logic
440 //
441 // this function should return the best guess for the total height it may
442 // make
443 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
444
445
446 // Also expose some other interesting protected methods
447
448
449 // find the index of the line we need to show at the top of the window such
450 // that the last (fully or partially) visible line is the given one
423f194a 451 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
d14a1e28
RD
452 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
453
454 // get the total height of the lines between lineMin (inclusive) and
455 // lineMax (exclusive)
456 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
457 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
458
459
460 PYPRIVATE;
461};
462
463IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
464
465IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
466IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
467IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
468
469
470#include <wx/vlbox.h>
d14a1e28 471
d03fd34d 472 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
473
474class wxPyVListBox : public wxVListBox
475{
476 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
477public:
478 wxPyVListBox() : wxVListBox() {}
479
480 wxPyVListBox(wxWindow *parent,
481 wxWindowID id = wxID_ANY,
482 const wxPoint& pos = wxDefaultPosition,
483 const wxSize& size = wxDefaultSize,
484 long style = 0,
485 const wxString& name = wxPyVListBoxNameStr)
486 : wxVListBox(parent, id, pos, size, style, name)
487 {}
488
489 // Overridable virtuals
490
491 // the derived class must implement this function to actually draw the item
492 // with the given index on the provided DC
493 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
494 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
495
496
497 // the derived class must implement this method to return the height of the
498 // specified item
499 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
500 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
501
502
503 // this method may be used to draw separators between the lines; note that
504 // the rectangle may be modified, typically to deflate it a bit before
505 // passing to OnDrawItem()
506 //
507 // the base class version doesn't do anything
508 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
509 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
510
511
512 // this method is used to draw the items background and, maybe, a border
513 // around it
514 //
515 // the base class version implements a reasonable default behaviour which
516 // consists in drawing the selected item with the standard background
517 // colour and drawing a border around the item if it is either selected or
518 // current
519 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
520 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
521
522
523 PYPRIVATE;
524};
525
526IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
527
528IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
529IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
530IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
531IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
532
533
534
535#include <wx/htmllbox.h>
536
537
538class wxPyHtmlListBox : public wxHtmlListBox
539{
540 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
541public:
542 wxPyHtmlListBox() : wxHtmlListBox() {}
543
544 wxPyHtmlListBox(wxWindow *parent,
545 wxWindowID id = wxID_ANY,
546 const wxPoint& pos = wxDefaultPosition,
547 const wxSize& size = wxDefaultSize,
548 long style = 0,
549 const wxString& name = wxPyVListBoxNameStr)
550 : wxHtmlListBox(parent, id, pos, size, style, name)
551 {}
552
553 // Overridable virtuals
554
555 // this method must be implemented in the derived class and should return
556 // the body (i.e. without <html>) of the HTML for the given item
557 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
558
559 // this function may be overridden to decorate HTML returned by OnGetItem()
560 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
561
562// TODO:
563// // this method allows to customize the selection appearance: it may be used
564// // to specify the colour of the text which normally has the given colour
565// // colFg when it is inside the selection
566// //
567// // by default, the original colour is not used at all and all text has the
568// // same (default for this system) colour inside selection
569// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
570
571// // this is the same as GetSelectedTextColour() but allows to customize the
572// // background colour -- this is even more rarely used as you can change it
573// // globally using SetSelectionBackground()
574// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
575
576
577 PYPRIVATE;
578};
579
580
581IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
582
583IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
584IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
585
586
587
588
589
590#ifdef __WXMAC__
591// implement dummy classes and such for wxMac
592
593class wxTaskBarIcon : public wxEvtHandler
594{
595public:
cbd72d4f 596 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28
RD
597};
598
599
600class wxTaskBarIconEvent : public wxEvent
601{
602public:
603 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
cbd72d4f 604 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
605 virtual wxEvent* Clone() const { return NULL; }
606};
607
608enum {
609 wxEVT_TASKBAR_MOVE = 0,
610 wxEVT_TASKBAR_LEFT_DOWN = 0,
611 wxEVT_TASKBAR_LEFT_UP = 0,
612 wxEVT_TASKBAR_RIGHT_DOWN = 0,
613 wxEVT_TASKBAR_RIGHT_UP = 0,
614 wxEVT_TASKBAR_LEFT_DCLICK = 0,
615 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
616};
617#endif
618
d03fd34d
RD
619 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
620 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
621 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
622 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
623 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
624 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
d14a1e28
RD
625PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
626 wxArrayString arr;
627 self->GetFilenames(arr);
628 return wxArrayString2PyList_helper(arr);
629 }
630PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
631 wxArrayString arr;
632 self->GetPaths(arr);
633 return wxArrayString2PyList_helper(arr);
634 }
635PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
636 return wxArrayInt2PyList_helper(self->GetSelections());
637 }
638wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
639 return new wxSingleChoiceDialog(parent, message, caption,
640 choices, choices_array, NULL, style, pos);
641 }
642
643#include <wx/mdi.h>
644
645 // C++ version of Python aware wxWindow
646class wxPyWindow : public wxWindow
647{
648 DECLARE_DYNAMIC_CLASS(wxPyWindow)
649public:
650 wxPyWindow() : wxWindow() {}
651 wxPyWindow(wxWindow* parent, const wxWindowID id,
652 const wxPoint& pos = wxDefaultPosition,
653 const wxSize& size = wxDefaultSize,
654 long style = 0,
655 const wxString& name = wxPyPanelNameStr)
656 : wxWindow(parent, id, pos, size, style, name) {}
657
658
659 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
660 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
661 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
662 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
663
664 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
665 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
666 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
667
668 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
669 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
670
671 DEC_PYCALLBACK__(InitDialog);
672 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
673 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
674 DEC_PYCALLBACK_BOOL_(Validate);
675
676 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
677 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
678 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
679
680 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
681 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
682
683 PYPRIVATE;
684};
685
686IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
687
688IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
689IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
690IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
691IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
692
693IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
694IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
695IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
696
697IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
698IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
699
700IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
701IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
702IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
703IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
704
705IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
706IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
707IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
708
709IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
710IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
711
712
713 // C++ version of Python aware wxPanel
714class wxPyPanel : public wxPanel
715{
716 DECLARE_DYNAMIC_CLASS(wxPyPanel)
717public:
718 wxPyPanel() : wxPanel() {}
719 wxPyPanel(wxWindow* parent, const wxWindowID id,
720 const wxPoint& pos = wxDefaultPosition,
721 const wxSize& size = wxDefaultSize,
722 long style = 0,
723 const wxString& name = wxPyPanelNameStr)
724 : wxPanel(parent, id, pos, size, style, name) {}
725
726
727 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
728 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
729 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
730 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
731
732 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
733 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
734 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
735
736 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
737 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
738
739 DEC_PYCALLBACK__(InitDialog);
740 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
741 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
742 DEC_PYCALLBACK_BOOL_(Validate);
743
744 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
745 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
746 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
747
748 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
749 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
750
751 PYPRIVATE;
752};
753
754IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
755
756IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
757IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
758IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
759IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
760
761IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
762IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
763IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
764
765IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
766IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
767
768IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
769IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
770IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
771IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
772
773IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
774IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
775IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
776
777IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
778IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
779
780
781
782#include "wx/wxPython/printfw.h"
783
d14a1e28 784
eb9b6107
RD
785 static const wxString wxPyPrintoutTitleStr(wxT("Printout"));
786 static const wxString wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
d14a1e28
RD
787
788
789
790// Since this one would be tough and ugly to do with the Macros...
791void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
423f194a 792 bool hadErr = False;
d14a1e28
RD
793 bool found;
794
795 wxPyBeginBlockThreads();
796 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
797 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
798 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
799 PyObject* val;
800
801 val = PyTuple_GetItem(result, 0);
802 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
423f194a 803 else hadErr = True;
d14a1e28
RD
804
805 val = PyTuple_GetItem(result, 1);
806 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
423f194a 807 else hadErr = True;
d14a1e28
RD
808
809 val = PyTuple_GetItem(result, 2);
810 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
423f194a 811 else hadErr = True;
d14a1e28
RD
812
813 val = PyTuple_GetItem(result, 3);
814 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
423f194a 815 else hadErr = True;
d14a1e28
RD
816 }
817 else
423f194a 818 hadErr = True;
d14a1e28
RD
819
820 if (hadErr) {
821 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
822 PyErr_Print();
823 }
824 Py_DECREF(result);
825 }
826 wxPyEndBlockThreads();
827 if (! found)
828 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
829}
830
831void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
832 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
833}
834
835
836IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
837IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
838IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
839IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
840IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
841IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
842IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
843
844
845
846
847
848#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
849 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
850 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
851
852
853#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
854 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
423f194a 855 bool rval=False; \
d14a1e28
RD
856 bool found; \
857 wxPyBeginBlockThreads(); \
858 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
859 PyObject* win = wxPyMake_wxObject(a); \
860 PyObject* dc = wxPyMake_wxObject(&b); \
861 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
862 Py_DECREF(win); \
863 Py_DECREF(dc); \
864 } \
865 wxPyEndBlockThreads(); \
866 if (! found) \
867 rval = PCLASS::CBNAME(a, b); \
868 return rval; \
869 } \
870 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
871 return PCLASS::CBNAME(a, b); \
872 }
873
874
875
876
877class wxPyPrintPreview : public wxPrintPreview
878{
879 DECLARE_CLASS(wxPyPrintPreview)
880public:
881 wxPyPrintPreview(wxPyPrintout* printout,
882 wxPyPrintout* printoutForPrinting,
883 wxPrintData* data=NULL)
884 : wxPrintPreview(printout, printoutForPrinting, data)
885 {}
886
887 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
888 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
889 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
890 DEC_PYCALLBACK_BOOL_INT(RenderPage);
891 DEC_PYCALLBACK_VOID_INT(SetZoom);
892 DEC_PYCALLBACK_BOOL_BOOL(Print);
893 DEC_PYCALLBACK_VOID_(DetermineScaling);
894
895 PYPRIVATE;
896};
897
898// Stupid renamed classes... Fix this in 2.5...
899#if defined(__WXMSW__)
900IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
901#elif defined(__WXMAC__)
902IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
903#else
904IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
905#endif
906
907IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
908IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
909IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
910IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
911IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
912IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
913IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
914
915
916class wxPyPreviewFrame : public wxPreviewFrame
917{
918 DECLARE_CLASS(wxPyPreviewFrame);
919public:
920 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
921 const wxString& title,
922 const wxPoint& pos = wxDefaultPosition,
923 const wxSize& size = wxDefaultSize,
924 long style = wxDEFAULT_FRAME_STYLE,
925 const wxString& name = wxPyFrameNameStr)
926 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
927 {}
928
929 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
930 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
931
932 DEC_PYCALLBACK_VOID_(Initialize);
933 DEC_PYCALLBACK_VOID_(CreateCanvas);
934 DEC_PYCALLBACK_VOID_(CreateControlBar);
935
936 PYPRIVATE;
937};
938
939IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
940
941IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
942IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
943IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
944
945
946class wxPyPreviewControlBar : public wxPreviewControlBar
947{
948 DECLARE_CLASS(wxPyPreviewControlBar);
949public:
950 wxPyPreviewControlBar(wxPrintPreview *preview,
951 long buttons,
952 wxWindow *parent,
953 const wxPoint& pos = wxDefaultPosition,
954 const wxSize& size = wxDefaultSize,
955 long style = 0,
956 const wxString& name = wxPyPanelNameStr)
957 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
958 {}
959
960 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
961
962 DEC_PYCALLBACK_VOID_(CreateButtons);
963 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
964
965 PYPRIVATE;
966};
967
968IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
969IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
970IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
971
972#ifdef __cplusplus
973extern "C" {
974#endif
975static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
976 PyObject *resultobj;
977 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 978 int arg2 = (int) (int)-1 ;
d14a1e28
RD
979 wxPoint const &arg3_defvalue = wxDefaultPosition ;
980 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
981 wxSize const &arg4_defvalue = wxDefaultSize ;
982 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
983 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
984 wxString const &arg6_defvalue = wxPyPanelNameStr ;
985 wxString *arg6 = (wxString *) &arg6_defvalue ;
986 wxPanel *result;
987 wxPoint temp3 ;
988 wxSize temp4 ;
423f194a 989 bool temp6 = False ;
d14a1e28
RD
990 PyObject * obj0 = 0 ;
991 PyObject * obj2 = 0 ;
992 PyObject * obj3 = 0 ;
993 PyObject * obj5 = 0 ;
994 char *kwnames[] = {
995 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
996 };
997
423f194a 998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
d14a1e28
RD
999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1000 if (obj2) {
1001 {
1002 arg3 = &temp3;
1003 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1004 }
1005 }
1006 if (obj3) {
1007 {
1008 arg4 = &temp4;
1009 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1010 }
1011 }
1012 if (obj5) {
1013 {
1014 arg6 = wxString_in_helper(obj5);
1015 if (arg6 == NULL) SWIG_fail;
423f194a 1016 temp6 = True;
d14a1e28
RD
1017 }
1018 }
1019 {
1020 PyThreadState* __tstate = wxPyBeginAllowThreads();
1021 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1022
1023 wxPyEndAllowThreads(__tstate);
1024 if (PyErr_Occurred()) SWIG_fail;
1025 }
1026 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1027 {
1028 if (temp6)
1029 delete arg6;
1030 }
1031 return resultobj;
1032 fail:
1033 {
1034 if (temp6)
1035 delete arg6;
1036 }
1037 return NULL;
1038}
1039
1040
1041static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1042 PyObject *resultobj;
1043 wxPanel *result;
1044 char *kwnames[] = {
1045 NULL
1046 };
1047
1048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1049 {
1050 PyThreadState* __tstate = wxPyBeginAllowThreads();
1051 result = (wxPanel *)new wxPanel();
1052
1053 wxPyEndAllowThreads(__tstate);
1054 if (PyErr_Occurred()) SWIG_fail;
1055 }
1056 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1057 return resultobj;
1058 fail:
1059 return NULL;
1060}
1061
1062
1063static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1064 PyObject *resultobj;
1065 wxPanel *arg1 = (wxPanel *) 0 ;
1066 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1067 int arg3 ;
d14a1e28
RD
1068 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1069 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1070 wxSize const &arg5_defvalue = wxDefaultSize ;
1071 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1072 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1073 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1074 wxString *arg7 = (wxString *) &arg7_defvalue ;
1075 bool result;
1076 wxPoint temp4 ;
1077 wxSize temp5 ;
423f194a 1078 bool temp7 = False ;
d14a1e28
RD
1079 PyObject * obj0 = 0 ;
1080 PyObject * obj1 = 0 ;
1081 PyObject * obj3 = 0 ;
1082 PyObject * obj4 = 0 ;
1083 PyObject * obj6 = 0 ;
1084 char *kwnames[] = {
1085 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1086 };
1087
1088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1091 if (obj3) {
1092 {
1093 arg4 = &temp4;
1094 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1095 }
1096 }
1097 if (obj4) {
1098 {
1099 arg5 = &temp5;
1100 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1101 }
1102 }
1103 if (obj6) {
1104 {
1105 arg7 = wxString_in_helper(obj6);
1106 if (arg7 == NULL) SWIG_fail;
423f194a 1107 temp7 = True;
d14a1e28
RD
1108 }
1109 }
1110 {
1111 PyThreadState* __tstate = wxPyBeginAllowThreads();
1112 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1113
1114 wxPyEndAllowThreads(__tstate);
1115 if (PyErr_Occurred()) SWIG_fail;
1116 }
1117 resultobj = PyInt_FromLong((long)result);
1118 {
1119 if (temp7)
1120 delete arg7;
1121 }
1122 return resultobj;
1123 fail:
1124 {
1125 if (temp7)
1126 delete arg7;
1127 }
1128 return NULL;
1129}
1130
1131
1132static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1133 PyObject *resultobj;
1134 wxPanel *arg1 = (wxPanel *) 0 ;
1135 PyObject * obj0 = 0 ;
1136 char *kwnames[] = {
1137 (char *) "self", NULL
1138 };
1139
1140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1142 {
1143 PyThreadState* __tstate = wxPyBeginAllowThreads();
1144 (arg1)->InitDialog();
1145
1146 wxPyEndAllowThreads(__tstate);
1147 if (PyErr_Occurred()) SWIG_fail;
1148 }
1149 Py_INCREF(Py_None); resultobj = Py_None;
1150 return resultobj;
1151 fail:
1152 return NULL;
1153}
1154
1155
1156static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1157 PyObject *obj;
1158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1159 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1160 Py_INCREF(obj);
1161 return Py_BuildValue((char *)"");
1162}
1163static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1164 PyObject *resultobj;
1165 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1166 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1167 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1168 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1169 wxSize const &arg4_defvalue = wxDefaultSize ;
1170 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1171 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1172 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1173 wxString *arg6 = (wxString *) &arg6_defvalue ;
1174 wxScrolledWindow *result;
1175 wxPoint temp3 ;
1176 wxSize temp4 ;
423f194a 1177 bool temp6 = False ;
d14a1e28
RD
1178 PyObject * obj0 = 0 ;
1179 PyObject * obj2 = 0 ;
1180 PyObject * obj3 = 0 ;
1181 PyObject * obj5 = 0 ;
1182 char *kwnames[] = {
1183 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1184 };
1185
1186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1188 if (obj2) {
1189 {
1190 arg3 = &temp3;
1191 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1192 }
1193 }
1194 if (obj3) {
1195 {
1196 arg4 = &temp4;
1197 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1198 }
1199 }
1200 if (obj5) {
1201 {
1202 arg6 = wxString_in_helper(obj5);
1203 if (arg6 == NULL) SWIG_fail;
423f194a 1204 temp6 = True;
d14a1e28
RD
1205 }
1206 }
1207 {
1208 PyThreadState* __tstate = wxPyBeginAllowThreads();
1209 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1210
1211 wxPyEndAllowThreads(__tstate);
1212 if (PyErr_Occurred()) SWIG_fail;
1213 }
1214 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1215 {
1216 if (temp6)
1217 delete arg6;
1218 }
1219 return resultobj;
1220 fail:
1221 {
1222 if (temp6)
1223 delete arg6;
1224 }
1225 return NULL;
1226}
1227
1228
1229static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1230 PyObject *resultobj;
1231 wxScrolledWindow *result;
1232 char *kwnames[] = {
1233 NULL
1234 };
1235
1236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1237 {
1238 PyThreadState* __tstate = wxPyBeginAllowThreads();
1239 result = (wxScrolledWindow *)new wxScrolledWindow();
1240
1241 wxPyEndAllowThreads(__tstate);
1242 if (PyErr_Occurred()) SWIG_fail;
1243 }
1244 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1245 return resultobj;
1246 fail:
1247 return NULL;
1248}
1249
1250
1251static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1252 PyObject *resultobj;
1253 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1254 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1255 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1256 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1257 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1258 wxSize const &arg5_defvalue = wxDefaultSize ;
1259 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1260 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1261 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1262 wxString *arg7 = (wxString *) &arg7_defvalue ;
1263 bool result;
1264 wxPoint temp4 ;
1265 wxSize temp5 ;
423f194a 1266 bool temp7 = False ;
d14a1e28
RD
1267 PyObject * obj0 = 0 ;
1268 PyObject * obj1 = 0 ;
1269 PyObject * obj3 = 0 ;
1270 PyObject * obj4 = 0 ;
1271 PyObject * obj6 = 0 ;
1272 char *kwnames[] = {
1273 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1274 };
1275
1276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1279 if (obj3) {
1280 {
1281 arg4 = &temp4;
1282 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1283 }
1284 }
1285 if (obj4) {
1286 {
1287 arg5 = &temp5;
1288 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1289 }
1290 }
1291 if (obj6) {
1292 {
1293 arg7 = wxString_in_helper(obj6);
1294 if (arg7 == NULL) SWIG_fail;
423f194a 1295 temp7 = True;
d14a1e28
RD
1296 }
1297 }
1298 {
1299 PyThreadState* __tstate = wxPyBeginAllowThreads();
1300 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1301
1302 wxPyEndAllowThreads(__tstate);
1303 if (PyErr_Occurred()) SWIG_fail;
1304 }
1305 resultobj = PyInt_FromLong((long)result);
1306 {
1307 if (temp7)
1308 delete arg7;
1309 }
1310 return resultobj;
1311 fail:
1312 {
1313 if (temp7)
1314 delete arg7;
1315 }
1316 return NULL;
1317}
1318
1319
1320static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1321 PyObject *resultobj;
1322 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1323 int arg2 ;
1324 int arg3 ;
1325 int arg4 ;
1326 int arg5 ;
1327 int arg6 = (int) 0 ;
1328 int arg7 = (int) 0 ;
423f194a 1329 bool arg8 = (bool) False ;
d14a1e28
RD
1330 PyObject * obj0 = 0 ;
1331 PyObject * obj7 = 0 ;
1332 char *kwnames[] = {
1333 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1334 };
1335
1336 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1337 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1338 if (obj7) {
1339 arg8 = PyInt_AsLong(obj7) ? true : false;
1340 if (PyErr_Occurred()) SWIG_fail;
1341 }
1342 {
1343 PyThreadState* __tstate = wxPyBeginAllowThreads();
1344 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1345
1346 wxPyEndAllowThreads(__tstate);
1347 if (PyErr_Occurred()) SWIG_fail;
1348 }
1349 Py_INCREF(Py_None); resultobj = Py_None;
1350 return resultobj;
1351 fail:
1352 return NULL;
1353}
1354
1355
1356static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1357 PyObject *resultobj;
1358 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1359 int arg2 ;
1360 int arg3 ;
1361 PyObject * obj0 = 0 ;
1362 char *kwnames[] = {
1363 (char *) "self",(char *) "x",(char *) "y", NULL
1364 };
1365
1366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1368 {
1369 PyThreadState* __tstate = wxPyBeginAllowThreads();
1370 (arg1)->Scroll(arg2,arg3);
1371
1372 wxPyEndAllowThreads(__tstate);
1373 if (PyErr_Occurred()) SWIG_fail;
1374 }
1375 Py_INCREF(Py_None); resultobj = Py_None;
1376 return resultobj;
1377 fail:
1378 return NULL;
1379}
1380
1381
1382static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1383 PyObject *resultobj;
1384 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1385 int arg2 ;
1386 int result;
1387 PyObject * obj0 = 0 ;
1388 char *kwnames[] = {
1389 (char *) "self",(char *) "orient", NULL
1390 };
1391
1392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1394 {
1395 PyThreadState* __tstate = wxPyBeginAllowThreads();
1396 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1397
1398 wxPyEndAllowThreads(__tstate);
1399 if (PyErr_Occurred()) SWIG_fail;
1400 }
1401 resultobj = PyInt_FromLong((long)result);
1402 return resultobj;
1403 fail:
1404 return NULL;
1405}
1406
1407
1408static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1409 PyObject *resultobj;
1410 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1411 int arg2 ;
1412 int arg3 ;
1413 PyObject * obj0 = 0 ;
1414 char *kwnames[] = {
1415 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1416 };
1417
1418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1420 {
1421 PyThreadState* __tstate = wxPyBeginAllowThreads();
1422 (arg1)->SetScrollPageSize(arg2,arg3);
1423
1424 wxPyEndAllowThreads(__tstate);
1425 if (PyErr_Occurred()) SWIG_fail;
1426 }
1427 Py_INCREF(Py_None); resultobj = Py_None;
1428 return resultobj;
1429 fail:
1430 return NULL;
1431}
1432
1433
1434static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1435 PyObject *resultobj;
1436 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1437 int arg2 ;
1438 int arg3 ;
1439 PyObject * obj0 = 0 ;
1440 char *kwnames[] = {
1441 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1442 };
1443
1444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1446 {
1447 PyThreadState* __tstate = wxPyBeginAllowThreads();
1448 (arg1)->SetScrollRate(arg2,arg3);
1449
1450 wxPyEndAllowThreads(__tstate);
1451 if (PyErr_Occurred()) SWIG_fail;
1452 }
1453 Py_INCREF(Py_None); resultobj = Py_None;
1454 return resultobj;
1455 fail:
1456 return NULL;
1457}
1458
1459
1460static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1461 PyObject *resultobj;
1462 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1463 int *arg2 = (int *) 0 ;
1464 int *arg3 = (int *) 0 ;
1465 int temp2 ;
1466 int temp3 ;
1467 PyObject * obj0 = 0 ;
1468 char *kwnames[] = {
1469 (char *) "self", NULL
1470 };
1471
1472 arg2 = &temp2;
1473 arg3 = &temp3;
1474 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1475 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1476 {
1477 PyThreadState* __tstate = wxPyBeginAllowThreads();
1478 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1479
1480 wxPyEndAllowThreads(__tstate);
1481 if (PyErr_Occurred()) SWIG_fail;
1482 }
1483 Py_INCREF(Py_None); resultobj = Py_None;
1484 {
1485 PyObject *o = PyInt_FromLong((long) (*arg2));
1486 resultobj = t_output_helper(resultobj,o);
1487 }
1488 {
1489 PyObject *o = PyInt_FromLong((long) (*arg3));
1490 resultobj = t_output_helper(resultobj,o);
1491 }
1492 return resultobj;
1493 fail:
1494 return NULL;
1495}
1496
1497
1498static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1499 PyObject *resultobj;
1500 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1501 bool arg2 ;
1502 bool arg3 ;
1503 PyObject * obj0 = 0 ;
1504 PyObject * obj1 = 0 ;
1505 PyObject * obj2 = 0 ;
1506 char *kwnames[] = {
1507 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1508 };
1509
1510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1512 arg2 = PyInt_AsLong(obj1) ? true : false;
1513 if (PyErr_Occurred()) SWIG_fail;
1514 arg3 = PyInt_AsLong(obj2) ? true : false;
1515 if (PyErr_Occurred()) SWIG_fail;
1516 {
1517 PyThreadState* __tstate = wxPyBeginAllowThreads();
1518 (arg1)->EnableScrolling(arg2,arg3);
1519
1520 wxPyEndAllowThreads(__tstate);
1521 if (PyErr_Occurred()) SWIG_fail;
1522 }
1523 Py_INCREF(Py_None); resultobj = Py_None;
1524 return resultobj;
1525 fail:
1526 return NULL;
1527}
1528
1529
1530static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1531 PyObject *resultobj;
1532 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1533 int *arg2 = (int *) 0 ;
1534 int *arg3 = (int *) 0 ;
1535 int temp2 ;
1536 int temp3 ;
1537 PyObject * obj0 = 0 ;
1538 char *kwnames[] = {
1539 (char *) "self", NULL
1540 };
1541
1542 arg2 = &temp2;
1543 arg3 = &temp3;
1544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1546 {
1547 PyThreadState* __tstate = wxPyBeginAllowThreads();
1548 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1549
1550 wxPyEndAllowThreads(__tstate);
1551 if (PyErr_Occurred()) SWIG_fail;
1552 }
1553 Py_INCREF(Py_None); resultobj = Py_None;
1554 {
1555 PyObject *o = PyInt_FromLong((long) (*arg2));
1556 resultobj = t_output_helper(resultobj,o);
1557 }
1558 {
1559 PyObject *o = PyInt_FromLong((long) (*arg3));
1560 resultobj = t_output_helper(resultobj,o);
1561 }
1562 return resultobj;
1563 fail:
1564 return NULL;
1565}
1566
1567
1568static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1569 PyObject *resultobj;
1570 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1571 double arg2 ;
1572 double arg3 ;
1573 PyObject * obj0 = 0 ;
1574 char *kwnames[] = {
1575 (char *) "self",(char *) "xs",(char *) "ys", NULL
1576 };
1577
1578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1580 {
1581 PyThreadState* __tstate = wxPyBeginAllowThreads();
1582 (arg1)->SetScale(arg2,arg3);
1583
1584 wxPyEndAllowThreads(__tstate);
1585 if (PyErr_Occurred()) SWIG_fail;
1586 }
1587 Py_INCREF(Py_None); resultobj = Py_None;
1588 return resultobj;
1589 fail:
1590 return NULL;
1591}
1592
1593
1594static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1595 PyObject *resultobj;
1596 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1597 double result;
1598 PyObject * obj0 = 0 ;
1599 char *kwnames[] = {
1600 (char *) "self", NULL
1601 };
1602
1603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) 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 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1608
1609 wxPyEndAllowThreads(__tstate);
1610 if (PyErr_Occurred()) SWIG_fail;
1611 }
1612 resultobj = PyFloat_FromDouble(result);
1613 return resultobj;
1614 fail:
1615 return NULL;
1616}
1617
1618
1619static PyObject *_wrap_ScrolledWindow_GetScaleY(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_GetScaleY",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)->GetScaleY();
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_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1645 PyObject *resultobj;
1646 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1647 wxPoint *arg2 = 0 ;
1648 wxPoint result;
1649 wxPoint temp2 ;
d14a1e28 1650 PyObject * obj0 = 0 ;
44127b65 1651 PyObject * obj1 = 0 ;
d14a1e28 1652
44127b65 1653 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
d14a1e28 1654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
44127b65
RD
1655 {
1656 arg2 = &temp2;
1657 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1658 }
d14a1e28
RD
1659 {
1660 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1661 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
1662
1663 wxPyEndAllowThreads(__tstate);
1664 if (PyErr_Occurred()) SWIG_fail;
1665 }
d14a1e28 1666 {
44127b65
RD
1667 wxPoint * resultptr;
1668 resultptr = new wxPoint((wxPoint &) result);
1669 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
1670 }
1671 return resultobj;
1672 fail:
1673 return NULL;
1674}
1675
1676
1677static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1678 PyObject *resultobj;
1679 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1680 int arg2 ;
1681 int arg3 ;
1682 int *arg4 = (int *) 0 ;
1683 int *arg5 = (int *) 0 ;
1684 int temp4 ;
1685 int temp5 ;
d14a1e28 1686 PyObject * obj0 = 0 ;
d14a1e28 1687
44127b65
RD
1688 arg4 = &temp4;
1689 arg5 = &temp5;
1690 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
d14a1e28 1691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
1692 {
1693 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1694 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
1695
1696 wxPyEndAllowThreads(__tstate);
1697 if (PyErr_Occurred()) SWIG_fail;
1698 }
44127b65 1699 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 1700 {
44127b65
RD
1701 PyObject *o = PyInt_FromLong((long) (*arg4));
1702 resultobj = t_output_helper(resultobj,o);
1703 }
1704 {
1705 PyObject *o = PyInt_FromLong((long) (*arg5));
1706 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
1707 }
1708 return resultobj;
1709 fail:
1710 return NULL;
1711}
1712
1713
1714static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1715 int argc;
1716 PyObject *argv[4];
1717 int ii;
1718
1719 argc = PyObject_Length(args);
1720 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1721 argv[ii] = PyTuple_GetItem(args,ii);
1722 }
1723 if (argc == 2) {
1724 int _v;
1725 {
1726 void *ptr;
1727 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1728 _v = 0;
1729 PyErr_Clear();
1730 } else {
1731 _v = 1;
1732 }
1733 }
1734 if (_v) {
1735 {
1736 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1737 }
1738 if (_v) {
44127b65 1739 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
1740 }
1741 }
1742 }
1743 if (argc == 3) {
1744 int _v;
1745 {
1746 void *ptr;
1747 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1748 _v = 0;
1749 PyErr_Clear();
1750 } else {
1751 _v = 1;
1752 }
1753 }
1754 if (_v) {
1755 {
1756 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1757 }
1758 if (_v) {
1759 {
1760 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1761 }
1762 if (_v) {
44127b65 1763 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
1764 }
1765 }
1766 }
1767 }
1768
1769 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1770 return NULL;
1771}
1772
1773
1774static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1775 PyObject *resultobj;
1776 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1777 wxPoint *arg2 = 0 ;
1778 wxPoint result;
1779 wxPoint temp2 ;
d14a1e28 1780 PyObject * obj0 = 0 ;
44127b65 1781 PyObject * obj1 = 0 ;
d14a1e28 1782
44127b65 1783 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
d14a1e28 1784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
44127b65
RD
1785 {
1786 arg2 = &temp2;
1787 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1788 }
d14a1e28
RD
1789 {
1790 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1791 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
1792
1793 wxPyEndAllowThreads(__tstate);
1794 if (PyErr_Occurred()) SWIG_fail;
1795 }
d14a1e28 1796 {
44127b65
RD
1797 wxPoint * resultptr;
1798 resultptr = new wxPoint((wxPoint &) result);
1799 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
1800 }
1801 return resultobj;
1802 fail:
1803 return NULL;
1804}
1805
1806
1807static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1808 PyObject *resultobj;
1809 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1810 int arg2 ;
1811 int arg3 ;
1812 int *arg4 = (int *) 0 ;
1813 int *arg5 = (int *) 0 ;
1814 int temp4 ;
1815 int temp5 ;
d14a1e28 1816 PyObject * obj0 = 0 ;
d14a1e28 1817
44127b65
RD
1818 arg4 = &temp4;
1819 arg5 = &temp5;
1820 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
d14a1e28 1821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
1822 {
1823 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1824 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
1825
1826 wxPyEndAllowThreads(__tstate);
1827 if (PyErr_Occurred()) SWIG_fail;
1828 }
44127b65
RD
1829 Py_INCREF(Py_None); resultobj = Py_None;
1830 {
1831 PyObject *o = PyInt_FromLong((long) (*arg4));
1832 resultobj = t_output_helper(resultobj,o);
1833 }
d14a1e28 1834 {
44127b65
RD
1835 PyObject *o = PyInt_FromLong((long) (*arg5));
1836 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
1837 }
1838 return resultobj;
1839 fail:
1840 return NULL;
1841}
1842
1843
1844static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1845 int argc;
1846 PyObject *argv[4];
1847 int ii;
1848
1849 argc = PyObject_Length(args);
1850 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1851 argv[ii] = PyTuple_GetItem(args,ii);
1852 }
1853 if (argc == 2) {
1854 int _v;
1855 {
1856 void *ptr;
1857 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1858 _v = 0;
1859 PyErr_Clear();
1860 } else {
1861 _v = 1;
1862 }
1863 }
1864 if (_v) {
1865 {
1866 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1867 }
1868 if (_v) {
44127b65 1869 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
1870 }
1871 }
1872 }
1873 if (argc == 3) {
1874 int _v;
1875 {
1876 void *ptr;
1877 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1878 _v = 0;
1879 PyErr_Clear();
1880 } else {
1881 _v = 1;
1882 }
1883 }
1884 if (_v) {
1885 {
1886 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1887 }
1888 if (_v) {
1889 {
1890 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1891 }
1892 if (_v) {
44127b65 1893 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
1894 }
1895 }
1896 }
1897 }
1898
1899 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1900 return NULL;
1901}
1902
1903
1904static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1905 PyObject *resultobj;
1906 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1907 PyObject * obj0 = 0 ;
1908 char *kwnames[] = {
1909 (char *) "self", NULL
1910 };
1911
1912 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1913 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1914 {
1915 PyThreadState* __tstate = wxPyBeginAllowThreads();
1916 (arg1)->AdjustScrollbars();
1917
1918 wxPyEndAllowThreads(__tstate);
1919 if (PyErr_Occurred()) SWIG_fail;
1920 }
1921 Py_INCREF(Py_None); resultobj = Py_None;
1922 return resultobj;
1923 fail:
1924 return NULL;
1925}
1926
1927
1928static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1929 PyObject *resultobj;
1930 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1931 wxScrollWinEvent *arg2 = 0 ;
1932 int result;
1933 PyObject * obj0 = 0 ;
1934 PyObject * obj1 = 0 ;
1935 char *kwnames[] = {
1936 (char *) "self",(char *) "event", NULL
1937 };
1938
1939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1941 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1942 if (arg2 == NULL) {
1943 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1944 }
1945 {
1946 PyThreadState* __tstate = wxPyBeginAllowThreads();
1947 result = (int)(arg1)->CalcScrollInc(*arg2);
1948
1949 wxPyEndAllowThreads(__tstate);
1950 if (PyErr_Occurred()) SWIG_fail;
1951 }
1952 resultobj = PyInt_FromLong((long)result);
1953 return resultobj;
1954 fail:
1955 return NULL;
1956}
1957
1958
1959static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1960 PyObject *resultobj;
1961 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1962 wxWindow *arg2 = (wxWindow *) 0 ;
1963 PyObject * obj0 = 0 ;
1964 PyObject * obj1 = 0 ;
1965 char *kwnames[] = {
1966 (char *) "self",(char *) "target", NULL
1967 };
1968
1969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1971 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1972 {
1973 PyThreadState* __tstate = wxPyBeginAllowThreads();
1974 (arg1)->SetTargetWindow(arg2);
1975
1976 wxPyEndAllowThreads(__tstate);
1977 if (PyErr_Occurred()) SWIG_fail;
1978 }
1979 Py_INCREF(Py_None); resultobj = Py_None;
1980 return resultobj;
1981 fail:
1982 return NULL;
1983}
1984
1985
1986static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1987 PyObject *resultobj;
1988 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1989 wxWindow *result;
1990 PyObject * obj0 = 0 ;
1991 char *kwnames[] = {
1992 (char *) "self", NULL
1993 };
1994
1995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
1996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1997 {
1998 PyThreadState* __tstate = wxPyBeginAllowThreads();
1999 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2000
2001 wxPyEndAllowThreads(__tstate);
2002 if (PyErr_Occurred()) SWIG_fail;
2003 }
2004 {
2005 resultobj = wxPyMake_wxObject(result);
2006 }
2007 return resultobj;
2008 fail:
2009 return NULL;
2010}
2011
2012
2013static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2014 PyObject *resultobj;
2015 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2016 wxRect *arg2 = 0 ;
2017 wxRect temp2 ;
2018 PyObject * obj0 = 0 ;
2019 PyObject * obj1 = 0 ;
2020 char *kwnames[] = {
2021 (char *) "self",(char *) "rect", NULL
2022 };
2023
2024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2026 {
2027 arg2 = &temp2;
2028 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2029 }
2030 {
2031 PyThreadState* __tstate = wxPyBeginAllowThreads();
2032 (arg1)->SetTargetRect((wxRect const &)*arg2);
2033
2034 wxPyEndAllowThreads(__tstate);
2035 if (PyErr_Occurred()) SWIG_fail;
2036 }
2037 Py_INCREF(Py_None); resultobj = Py_None;
2038 return resultobj;
2039 fail:
2040 return NULL;
2041}
2042
2043
2044static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2045 PyObject *resultobj;
2046 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2047 wxRect result;
2048 PyObject * obj0 = 0 ;
2049 char *kwnames[] = {
2050 (char *) "self", NULL
2051 };
2052
2053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2055 {
2056 PyThreadState* __tstate = wxPyBeginAllowThreads();
2057 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2058
2059 wxPyEndAllowThreads(__tstate);
2060 if (PyErr_Occurred()) SWIG_fail;
2061 }
2062 {
2063 wxRect * resultptr;
2064 resultptr = new wxRect((wxRect &) result);
2065 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2066 }
2067 return resultobj;
2068 fail:
2069 return NULL;
2070}
2071
2072
2073static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2074 PyObject *obj;
2075 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2076 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2077 Py_INCREF(obj);
2078 return Py_BuildValue((char *)"");
2079}
d03fd34d
RD
2080static int _wrap_FrameNameStr_set(PyObject *_val) {
2081 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2082 return 1;
2083}
2084
2085
2086static PyObject *_wrap_FrameNameStr_get() {
2087 PyObject *pyobj;
2088
2089 {
2090#if wxUSE_UNICODE
2091 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2092#else
2093 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2094#endif
2095 }
2096 return pyobj;
2097}
2098
2099
2100static int _wrap_DialogNameStr_set(PyObject *_val) {
2101 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2102 return 1;
2103}
2104
2105
2106static PyObject *_wrap_DialogNameStr_get() {
2107 PyObject *pyobj;
2108
2109 {
2110#if wxUSE_UNICODE
2111 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2112#else
2113 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2114#endif
2115 }
2116 return pyobj;
2117}
2118
2119
2120static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2121 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2122 return 1;
2123}
2124
2125
2126static PyObject *_wrap_StatusLineNameStr_get() {
2127 PyObject *pyobj;
2128
2129 {
2130#if wxUSE_UNICODE
2131 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2132#else
2133 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2134#endif
2135 }
2136 return pyobj;
2137}
2138
2139
2140static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2141 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2142 return 1;
2143}
2144
2145
2146static PyObject *_wrap_ToolBarNameStr_get() {
2147 PyObject *pyobj;
2148
2149 {
2150#if wxUSE_UNICODE
2151 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2152#else
2153 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2154#endif
2155 }
2156 return pyobj;
2157}
2158
2159
d14a1e28
RD
2160static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2161 PyObject *resultobj;
2162 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
423f194a 2163 bool arg2 = (bool) True ;
d14a1e28
RD
2164 PyObject * obj0 = 0 ;
2165 PyObject * obj1 = 0 ;
2166 char *kwnames[] = {
2167 (char *) "self",(char *) "maximize", NULL
2168 };
2169
2170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2172 if (obj1) {
2173 arg2 = PyInt_AsLong(obj1) ? true : false;
2174 if (PyErr_Occurred()) SWIG_fail;
2175 }
2176 {
2177 PyThreadState* __tstate = wxPyBeginAllowThreads();
2178 (arg1)->Maximize(arg2);
2179
2180 wxPyEndAllowThreads(__tstate);
2181 if (PyErr_Occurred()) SWIG_fail;
2182 }
2183 Py_INCREF(Py_None); resultobj = Py_None;
2184 return resultobj;
2185 fail:
2186 return NULL;
2187}
2188
2189
2190static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2191 PyObject *resultobj;
2192 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2193 PyObject * obj0 = 0 ;
2194 char *kwnames[] = {
2195 (char *) "self", NULL
2196 };
2197
2198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",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 (arg1)->Restore();
2203
2204 wxPyEndAllowThreads(__tstate);
2205 if (PyErr_Occurred()) SWIG_fail;
2206 }
2207 Py_INCREF(Py_None); resultobj = Py_None;
2208 return resultobj;
2209 fail:
2210 return NULL;
2211}
2212
2213
2214static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2215 PyObject *resultobj;
2216 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
423f194a 2217 bool arg2 = (bool) True ;
d14a1e28
RD
2218 PyObject * obj0 = 0 ;
2219 PyObject * obj1 = 0 ;
2220 char *kwnames[] = {
2221 (char *) "self",(char *) "iconize", NULL
2222 };
2223
2224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2226 if (obj1) {
2227 arg2 = PyInt_AsLong(obj1) ? true : false;
2228 if (PyErr_Occurred()) SWIG_fail;
2229 }
2230 {
2231 PyThreadState* __tstate = wxPyBeginAllowThreads();
2232 (arg1)->Iconize(arg2);
2233
2234 wxPyEndAllowThreads(__tstate);
2235 if (PyErr_Occurred()) SWIG_fail;
2236 }
2237 Py_INCREF(Py_None); resultobj = Py_None;
2238 return resultobj;
2239 fail:
2240 return NULL;
2241}
2242
2243
2244static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2245 PyObject *resultobj;
2246 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2247 bool result;
2248 PyObject * obj0 = 0 ;
2249 char *kwnames[] = {
2250 (char *) "self", NULL
2251 };
2252
2253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2255 {
2256 PyThreadState* __tstate = wxPyBeginAllowThreads();
2257 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2258
2259 wxPyEndAllowThreads(__tstate);
2260 if (PyErr_Occurred()) SWIG_fail;
2261 }
2262 resultobj = PyInt_FromLong((long)result);
2263 return resultobj;
2264 fail:
2265 return NULL;
2266}
2267
2268
2269static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2270 PyObject *resultobj;
2271 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2272 bool result;
2273 PyObject * obj0 = 0 ;
2274 char *kwnames[] = {
2275 (char *) "self", NULL
2276 };
2277
2278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2280 {
2281 PyThreadState* __tstate = wxPyBeginAllowThreads();
2282 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2283
2284 wxPyEndAllowThreads(__tstate);
2285 if (PyErr_Occurred()) SWIG_fail;
2286 }
2287 resultobj = PyInt_FromLong((long)result);
2288 return resultobj;
2289 fail:
2290 return NULL;
2291}
2292
2293
2294static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2295 PyObject *resultobj;
2296 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2297 wxIcon result;
2298 PyObject * obj0 = 0 ;
2299 char *kwnames[] = {
2300 (char *) "self", NULL
2301 };
2302
2303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2305 {
2306 PyThreadState* __tstate = wxPyBeginAllowThreads();
2307 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2308
2309 wxPyEndAllowThreads(__tstate);
2310 if (PyErr_Occurred()) SWIG_fail;
2311 }
2312 {
2313 wxIcon * resultptr;
2314 resultptr = new wxIcon((wxIcon &) result);
2315 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2316 }
2317 return resultobj;
2318 fail:
2319 return NULL;
2320}
2321
2322
2323static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2324 PyObject *resultobj;
2325 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2326 wxIcon *arg2 = 0 ;
2327 PyObject * obj0 = 0 ;
2328 PyObject * obj1 = 0 ;
2329 char *kwnames[] = {
2330 (char *) "self",(char *) "icon", NULL
2331 };
2332
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2336 if (arg2 == NULL) {
2337 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2338 }
2339 {
2340 PyThreadState* __tstate = wxPyBeginAllowThreads();
2341 (arg1)->SetIcon((wxIcon const &)*arg2);
2342
2343 wxPyEndAllowThreads(__tstate);
2344 if (PyErr_Occurred()) SWIG_fail;
2345 }
2346 Py_INCREF(Py_None); resultobj = Py_None;
2347 return resultobj;
2348 fail:
2349 return NULL;
2350}
2351
2352
2353static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2354 PyObject *resultobj;
2355 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2356 wxIconBundle *arg2 = 0 ;
2357 PyObject * obj0 = 0 ;
2358 PyObject * obj1 = 0 ;
2359 char *kwnames[] = {
2360 (char *) "self",(char *) "icons", NULL
2361 };
2362
2363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2365 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2366 if (arg2 == NULL) {
2367 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2368 }
2369 {
2370 PyThreadState* __tstate = wxPyBeginAllowThreads();
2371 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2372
2373 wxPyEndAllowThreads(__tstate);
2374 if (PyErr_Occurred()) SWIG_fail;
2375 }
2376 Py_INCREF(Py_None); resultobj = Py_None;
2377 return resultobj;
2378 fail:
2379 return NULL;
2380}
2381
2382
2383static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2384 PyObject *resultobj;
2385 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2386 bool arg2 ;
2387 long arg3 = (long) wxFULLSCREEN_ALL ;
2388 bool result;
2389 PyObject * obj0 = 0 ;
2390 PyObject * obj1 = 0 ;
2391 char *kwnames[] = {
2392 (char *) "self",(char *) "show",(char *) "style", NULL
2393 };
2394
2395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2397 arg2 = PyInt_AsLong(obj1) ? true : false;
2398 if (PyErr_Occurred()) SWIG_fail;
2399 {
2400 PyThreadState* __tstate = wxPyBeginAllowThreads();
2401 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2402
2403 wxPyEndAllowThreads(__tstate);
2404 if (PyErr_Occurred()) SWIG_fail;
2405 }
2406 resultobj = PyInt_FromLong((long)result);
2407 return resultobj;
2408 fail:
2409 return NULL;
2410}
2411
2412
2413static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2414 PyObject *resultobj;
2415 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2416 bool result;
2417 PyObject * obj0 = 0 ;
2418 char *kwnames[] = {
2419 (char *) "self", NULL
2420 };
2421
2422 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2423 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2424 {
2425 PyThreadState* __tstate = wxPyBeginAllowThreads();
2426 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2427
2428 wxPyEndAllowThreads(__tstate);
2429 if (PyErr_Occurred()) SWIG_fail;
2430 }
2431 resultobj = PyInt_FromLong((long)result);
2432 return resultobj;
2433 fail:
2434 return NULL;
2435}
2436
2437
2438static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2439 PyObject *resultobj;
2440 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2441 wxString *arg2 = 0 ;
423f194a 2442 bool temp2 = False ;
d14a1e28
RD
2443 PyObject * obj0 = 0 ;
2444 PyObject * obj1 = 0 ;
2445 char *kwnames[] = {
2446 (char *) "self",(char *) "title", NULL
2447 };
2448
2449 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2450 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2451 {
2452 arg2 = wxString_in_helper(obj1);
2453 if (arg2 == NULL) SWIG_fail;
423f194a 2454 temp2 = True;
d14a1e28
RD
2455 }
2456 {
2457 PyThreadState* __tstate = wxPyBeginAllowThreads();
2458 (arg1)->SetTitle((wxString const &)*arg2);
2459
2460 wxPyEndAllowThreads(__tstate);
2461 if (PyErr_Occurred()) SWIG_fail;
2462 }
2463 Py_INCREF(Py_None); resultobj = Py_None;
2464 {
2465 if (temp2)
2466 delete arg2;
2467 }
2468 return resultobj;
2469 fail:
2470 {
2471 if (temp2)
2472 delete arg2;
2473 }
2474 return NULL;
2475}
2476
2477
2478static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2479 PyObject *resultobj;
2480 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2481 wxString result;
2482 PyObject * obj0 = 0 ;
2483 char *kwnames[] = {
2484 (char *) "self", NULL
2485 };
2486
2487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2489 {
2490 PyThreadState* __tstate = wxPyBeginAllowThreads();
2491 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2492
2493 wxPyEndAllowThreads(__tstate);
2494 if (PyErr_Occurred()) SWIG_fail;
2495 }
2496 {
2497#if wxUSE_UNICODE
2498 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2499#else
2500 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2501#endif
2502 }
2503 return resultobj;
2504 fail:
2505 return NULL;
2506}
2507
2508
2509static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2510 PyObject *resultobj;
2511 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2512 wxRegion *arg2 = 0 ;
2513 bool result;
2514 PyObject * obj0 = 0 ;
2515 PyObject * obj1 = 0 ;
2516 char *kwnames[] = {
2517 (char *) "self",(char *) "region", NULL
2518 };
2519
2520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2522 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2523 if (arg2 == NULL) {
2524 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2525 }
2526 {
2527 PyThreadState* __tstate = wxPyBeginAllowThreads();
2528 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2529
2530 wxPyEndAllowThreads(__tstate);
2531 if (PyErr_Occurred()) SWIG_fail;
2532 }
2533 resultobj = PyInt_FromLong((long)result);
2534 return resultobj;
2535 fail:
2536 return NULL;
2537}
2538
2539
2540static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2541 PyObject *obj;
2542 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2543 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2544 Py_INCREF(obj);
2545 return Py_BuildValue((char *)"");
2546}
2547static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2548 PyObject *resultobj;
2549 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 2550 int arg2 ;
d14a1e28
RD
2551 wxString *arg3 = 0 ;
2552 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2553 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2554 wxSize const &arg5_defvalue = wxDefaultSize ;
2555 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2556 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2557 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2558 wxString *arg7 = (wxString *) &arg7_defvalue ;
2559 wxFrame *result;
423f194a 2560 bool temp3 = False ;
d14a1e28
RD
2561 wxPoint temp4 ;
2562 wxSize temp5 ;
423f194a 2563 bool temp7 = False ;
d14a1e28
RD
2564 PyObject * obj0 = 0 ;
2565 PyObject * obj2 = 0 ;
2566 PyObject * obj3 = 0 ;
2567 PyObject * obj4 = 0 ;
2568 PyObject * obj6 = 0 ;
2569 char *kwnames[] = {
2570 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2571 };
2572
2573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2575 {
2576 arg3 = wxString_in_helper(obj2);
2577 if (arg3 == NULL) SWIG_fail;
423f194a 2578 temp3 = True;
d14a1e28
RD
2579 }
2580 if (obj3) {
2581 {
2582 arg4 = &temp4;
2583 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2584 }
2585 }
2586 if (obj4) {
2587 {
2588 arg5 = &temp5;
2589 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2590 }
2591 }
2592 if (obj6) {
2593 {
2594 arg7 = wxString_in_helper(obj6);
2595 if (arg7 == NULL) SWIG_fail;
423f194a 2596 temp7 = True;
d14a1e28
RD
2597 }
2598 }
2599 {
2600 PyThreadState* __tstate = wxPyBeginAllowThreads();
2601 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2602
2603 wxPyEndAllowThreads(__tstate);
2604 if (PyErr_Occurred()) SWIG_fail;
2605 }
2606 {
2607 resultobj = wxPyMake_wxObject(result);
2608 }
2609 {
2610 if (temp3)
2611 delete arg3;
2612 }
2613 {
2614 if (temp7)
2615 delete arg7;
2616 }
2617 return resultobj;
2618 fail:
2619 {
2620 if (temp3)
2621 delete arg3;
2622 }
2623 {
2624 if (temp7)
2625 delete arg7;
2626 }
2627 return NULL;
2628}
2629
2630
2631static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2632 PyObject *resultobj;
2633 wxFrame *result;
2634 char *kwnames[] = {
2635 NULL
2636 };
2637
2638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2639 {
2640 PyThreadState* __tstate = wxPyBeginAllowThreads();
2641 result = (wxFrame *)new wxFrame();
2642
2643 wxPyEndAllowThreads(__tstate);
2644 if (PyErr_Occurred()) SWIG_fail;
2645 }
2646 {
2647 resultobj = wxPyMake_wxObject(result);
2648 }
2649 return resultobj;
2650 fail:
2651 return NULL;
2652}
2653
2654
2655static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2656 PyObject *resultobj;
2657 wxFrame *arg1 = (wxFrame *) 0 ;
2658 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 2659 int arg3 ;
d14a1e28
RD
2660 wxString *arg4 = 0 ;
2661 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2662 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2663 wxSize const &arg6_defvalue = wxDefaultSize ;
2664 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2665 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2666 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2667 wxString *arg8 = (wxString *) &arg8_defvalue ;
2668 bool result;
423f194a 2669 bool temp4 = False ;
d14a1e28
RD
2670 wxPoint temp5 ;
2671 wxSize temp6 ;
423f194a 2672 bool temp8 = False ;
d14a1e28
RD
2673 PyObject * obj0 = 0 ;
2674 PyObject * obj1 = 0 ;
2675 PyObject * obj3 = 0 ;
2676 PyObject * obj4 = 0 ;
2677 PyObject * obj5 = 0 ;
2678 PyObject * obj7 = 0 ;
2679 char *kwnames[] = {
2680 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2681 };
2682
2683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2685 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2686 {
2687 arg4 = wxString_in_helper(obj3);
2688 if (arg4 == NULL) SWIG_fail;
423f194a 2689 temp4 = True;
d14a1e28
RD
2690 }
2691 if (obj4) {
2692 {
2693 arg5 = &temp5;
2694 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2695 }
2696 }
2697 if (obj5) {
2698 {
2699 arg6 = &temp6;
2700 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2701 }
2702 }
2703 if (obj7) {
2704 {
2705 arg8 = wxString_in_helper(obj7);
2706 if (arg8 == NULL) SWIG_fail;
423f194a 2707 temp8 = True;
d14a1e28
RD
2708 }
2709 }
2710 {
2711 PyThreadState* __tstate = wxPyBeginAllowThreads();
2712 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2713
2714 wxPyEndAllowThreads(__tstate);
2715 if (PyErr_Occurred()) SWIG_fail;
2716 }
2717 resultobj = PyInt_FromLong((long)result);
2718 {
2719 if (temp4)
2720 delete arg4;
2721 }
2722 {
2723 if (temp8)
2724 delete arg8;
2725 }
2726 return resultobj;
2727 fail:
2728 {
2729 if (temp4)
2730 delete arg4;
2731 }
2732 {
2733 if (temp8)
2734 delete arg8;
2735 }
2736 return NULL;
2737}
2738
2739
2740static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2741 PyObject *resultobj;
2742 wxFrame *arg1 = (wxFrame *) 0 ;
2743 wxPoint result;
2744 PyObject * obj0 = 0 ;
2745 char *kwnames[] = {
2746 (char *) "self", NULL
2747 };
2748
2749 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2750 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2751 {
2752 PyThreadState* __tstate = wxPyBeginAllowThreads();
2753 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2754
2755 wxPyEndAllowThreads(__tstate);
2756 if (PyErr_Occurred()) SWIG_fail;
2757 }
2758 {
2759 wxPoint * resultptr;
2760 resultptr = new wxPoint((wxPoint &) result);
2761 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2762 }
2763 return resultobj;
2764 fail:
2765 return NULL;
2766}
2767
2768
2769static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2770 PyObject *resultobj;
2771 wxFrame *arg1 = (wxFrame *) 0 ;
2772 PyObject * obj0 = 0 ;
2773 char *kwnames[] = {
2774 (char *) "self", NULL
2775 };
2776
2777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2779 {
2780 PyThreadState* __tstate = wxPyBeginAllowThreads();
2781 (arg1)->SendSizeEvent();
2782
2783 wxPyEndAllowThreads(__tstate);
2784 if (PyErr_Occurred()) SWIG_fail;
2785 }
2786 Py_INCREF(Py_None); resultobj = Py_None;
2787 return resultobj;
2788 fail:
2789 return NULL;
2790}
2791
2792
2793static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2794 PyObject *resultobj;
2795 wxFrame *arg1 = (wxFrame *) 0 ;
2796 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2797 PyObject * obj0 = 0 ;
2798 PyObject * obj1 = 0 ;
2799 char *kwnames[] = {
2800 (char *) "self",(char *) "menubar", NULL
2801 };
2802
2803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2805 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2806 {
2807 PyThreadState* __tstate = wxPyBeginAllowThreads();
2808 (arg1)->SetMenuBar(arg2);
2809
2810 wxPyEndAllowThreads(__tstate);
2811 if (PyErr_Occurred()) SWIG_fail;
2812 }
2813 Py_INCREF(Py_None); resultobj = Py_None;
2814 return resultobj;
2815 fail:
2816 return NULL;
2817}
2818
2819
2820static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2821 PyObject *resultobj;
2822 wxFrame *arg1 = (wxFrame *) 0 ;
2823 wxMenuBar *result;
2824 PyObject * obj0 = 0 ;
2825 char *kwnames[] = {
2826 (char *) "self", NULL
2827 };
2828
2829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2831 {
2832 PyThreadState* __tstate = wxPyBeginAllowThreads();
2833 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2834
2835 wxPyEndAllowThreads(__tstate);
2836 if (PyErr_Occurred()) SWIG_fail;
2837 }
2838 {
2839 resultobj = wxPyMake_wxObject(result);
2840 }
2841 return resultobj;
2842 fail:
2843 return NULL;
2844}
2845
2846
2847static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2848 PyObject *resultobj;
2849 wxFrame *arg1 = (wxFrame *) 0 ;
2850 int arg2 ;
2851 bool result;
2852 PyObject * obj0 = 0 ;
2853 char *kwnames[] = {
2854 (char *) "self",(char *) "winid", NULL
2855 };
2856
2857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2859 {
2860 PyThreadState* __tstate = wxPyBeginAllowThreads();
2861 result = (bool)(arg1)->ProcessCommand(arg2);
2862
2863 wxPyEndAllowThreads(__tstate);
2864 if (PyErr_Occurred()) SWIG_fail;
2865 }
2866 resultobj = PyInt_FromLong((long)result);
2867 return resultobj;
2868 fail:
2869 return NULL;
2870}
2871
2872
2873static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2874 PyObject *resultobj;
2875 wxFrame *arg1 = (wxFrame *) 0 ;
2876 int arg2 = (int) 1 ;
2877 long arg3 = (long) wxST_SIZEGRIP ;
423f194a 2878 int arg4 = (int) 0 ;
d14a1e28
RD
2879 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2880 wxString *arg5 = (wxString *) &arg5_defvalue ;
2881 wxStatusBar *result;
423f194a 2882 bool temp5 = False ;
d14a1e28
RD
2883 PyObject * obj0 = 0 ;
2884 PyObject * obj4 = 0 ;
2885 char *kwnames[] = {
2886 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2887 };
2888
2889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2891 if (obj4) {
2892 {
2893 arg5 = wxString_in_helper(obj4);
2894 if (arg5 == NULL) SWIG_fail;
423f194a 2895 temp5 = True;
d14a1e28
RD
2896 }
2897 }
2898 {
2899 PyThreadState* __tstate = wxPyBeginAllowThreads();
2900 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2901
2902 wxPyEndAllowThreads(__tstate);
2903 if (PyErr_Occurred()) SWIG_fail;
2904 }
2905 {
2906 resultobj = wxPyMake_wxObject(result);
2907 }
2908 {
2909 if (temp5)
2910 delete arg5;
2911 }
2912 return resultobj;
2913 fail:
2914 {
2915 if (temp5)
2916 delete arg5;
2917 }
2918 return NULL;
2919}
2920
2921
2922static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2923 PyObject *resultobj;
2924 wxFrame *arg1 = (wxFrame *) 0 ;
2925 wxStatusBar *result;
2926 PyObject * obj0 = 0 ;
2927 char *kwnames[] = {
2928 (char *) "self", NULL
2929 };
2930
2931 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2932 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2933 {
2934 PyThreadState* __tstate = wxPyBeginAllowThreads();
2935 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2936
2937 wxPyEndAllowThreads(__tstate);
2938 if (PyErr_Occurred()) SWIG_fail;
2939 }
2940 {
2941 resultobj = wxPyMake_wxObject(result);
2942 }
2943 return resultobj;
2944 fail:
2945 return NULL;
2946}
2947
2948
2949static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2950 PyObject *resultobj;
2951 wxFrame *arg1 = (wxFrame *) 0 ;
2952 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2953 PyObject * obj0 = 0 ;
2954 PyObject * obj1 = 0 ;
2955 char *kwnames[] = {
2956 (char *) "self",(char *) "statBar", NULL
2957 };
2958
2959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2961 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2962 {
2963 PyThreadState* __tstate = wxPyBeginAllowThreads();
2964 (arg1)->SetStatusBar(arg2);
2965
2966 wxPyEndAllowThreads(__tstate);
2967 if (PyErr_Occurred()) SWIG_fail;
2968 }
2969 Py_INCREF(Py_None); resultobj = Py_None;
2970 return resultobj;
2971 fail:
2972 return NULL;
2973}
2974
2975
2976static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2977 PyObject *resultobj;
2978 wxFrame *arg1 = (wxFrame *) 0 ;
2979 wxString *arg2 = 0 ;
2980 int arg3 = (int) 0 ;
423f194a 2981 bool temp2 = False ;
d14a1e28
RD
2982 PyObject * obj0 = 0 ;
2983 PyObject * obj1 = 0 ;
2984 char *kwnames[] = {
2985 (char *) "self",(char *) "text",(char *) "number", NULL
2986 };
2987
2988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2990 {
2991 arg2 = wxString_in_helper(obj1);
2992 if (arg2 == NULL) SWIG_fail;
423f194a 2993 temp2 = True;
d14a1e28
RD
2994 }
2995 {
2996 PyThreadState* __tstate = wxPyBeginAllowThreads();
2997 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2998
2999 wxPyEndAllowThreads(__tstate);
3000 if (PyErr_Occurred()) SWIG_fail;
3001 }
3002 Py_INCREF(Py_None); resultobj = Py_None;
3003 {
3004 if (temp2)
3005 delete arg2;
3006 }
3007 return resultobj;
3008 fail:
3009 {
3010 if (temp2)
3011 delete arg2;
3012 }
3013 return NULL;
3014}
3015
3016
3017static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3018 PyObject *resultobj;
3019 wxFrame *arg1 = (wxFrame *) 0 ;
3020 int arg2 ;
3021 int *arg3 = (int *) 0 ;
3022 PyObject * obj0 = 0 ;
3023 PyObject * obj1 = 0 ;
3024 char *kwnames[] = {
3025 (char *) "self",(char *) "widths", NULL
3026 };
3027
3028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3029 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3030 {
3031 arg2 = PyList_Size(obj1);
3032 arg3 = int_LIST_helper(obj1);
3033 if (arg3 == NULL) SWIG_fail;
3034 }
3035 {
3036 PyThreadState* __tstate = wxPyBeginAllowThreads();
3037 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3038
3039 wxPyEndAllowThreads(__tstate);
3040 if (PyErr_Occurred()) SWIG_fail;
3041 }
3042 Py_INCREF(Py_None); resultobj = Py_None;
3043 {
3044 if (arg3) delete [] arg3;
3045 }
3046 return resultobj;
3047 fail:
3048 {
3049 if (arg3) delete [] arg3;
3050 }
3051 return NULL;
3052}
3053
3054
3055static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3056 PyObject *resultobj;
3057 wxFrame *arg1 = (wxFrame *) 0 ;
3058 wxString *arg2 = 0 ;
3059 int arg3 = (int) 0 ;
423f194a 3060 bool temp2 = False ;
d14a1e28
RD
3061 PyObject * obj0 = 0 ;
3062 PyObject * obj1 = 0 ;
3063 char *kwnames[] = {
3064 (char *) "self",(char *) "text",(char *) "number", NULL
3065 };
3066
3067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3069 {
3070 arg2 = wxString_in_helper(obj1);
3071 if (arg2 == NULL) SWIG_fail;
423f194a 3072 temp2 = True;
d14a1e28
RD
3073 }
3074 {
3075 PyThreadState* __tstate = wxPyBeginAllowThreads();
3076 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3077
3078 wxPyEndAllowThreads(__tstate);
3079 if (PyErr_Occurred()) SWIG_fail;
3080 }
3081 Py_INCREF(Py_None); resultobj = Py_None;
3082 {
3083 if (temp2)
3084 delete arg2;
3085 }
3086 return resultobj;
3087 fail:
3088 {
3089 if (temp2)
3090 delete arg2;
3091 }
3092 return NULL;
3093}
3094
3095
3096static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3097 PyObject *resultobj;
3098 wxFrame *arg1 = (wxFrame *) 0 ;
3099 int arg2 = (int) 0 ;
3100 PyObject * obj0 = 0 ;
3101 char *kwnames[] = {
3102 (char *) "self",(char *) "number", NULL
3103 };
3104
3105 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3106 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3107 {
3108 PyThreadState* __tstate = wxPyBeginAllowThreads();
3109 (arg1)->PopStatusText(arg2);
3110
3111 wxPyEndAllowThreads(__tstate);
3112 if (PyErr_Occurred()) SWIG_fail;
3113 }
3114 Py_INCREF(Py_None); resultobj = Py_None;
3115 return resultobj;
3116 fail:
3117 return NULL;
3118}
3119
3120
3121static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3122 PyObject *resultobj;
3123 wxFrame *arg1 = (wxFrame *) 0 ;
3124 int arg2 ;
3125 PyObject * obj0 = 0 ;
3126 char *kwnames[] = {
3127 (char *) "self",(char *) "n", NULL
3128 };
3129
3130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3132 {
3133 PyThreadState* __tstate = wxPyBeginAllowThreads();
3134 (arg1)->SetStatusBarPane(arg2);
3135
3136 wxPyEndAllowThreads(__tstate);
3137 if (PyErr_Occurred()) SWIG_fail;
3138 }
3139 Py_INCREF(Py_None); resultobj = Py_None;
3140 return resultobj;
3141 fail:
3142 return NULL;
3143}
3144
3145
3146static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3147 PyObject *resultobj;
3148 wxFrame *arg1 = (wxFrame *) 0 ;
3149 int result;
3150 PyObject * obj0 = 0 ;
3151 char *kwnames[] = {
3152 (char *) "self", NULL
3153 };
3154
3155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3157 {
3158 PyThreadState* __tstate = wxPyBeginAllowThreads();
3159 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3160
3161 wxPyEndAllowThreads(__tstate);
3162 if (PyErr_Occurred()) SWIG_fail;
3163 }
3164 resultobj = PyInt_FromLong((long)result);
3165 return resultobj;
3166 fail:
3167 return NULL;
3168}
3169
3170
3171static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3172 PyObject *resultobj;
3173 wxFrame *arg1 = (wxFrame *) 0 ;
3174 long arg2 = (long) -1 ;
423f194a 3175 int arg3 = (int) -1 ;
d14a1e28
RD
3176 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3177 wxString *arg4 = (wxString *) &arg4_defvalue ;
3178 wxToolBar *result;
423f194a 3179 bool temp4 = False ;
d14a1e28
RD
3180 PyObject * obj0 = 0 ;
3181 PyObject * obj3 = 0 ;
3182 char *kwnames[] = {
3183 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3184 };
3185
3186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3188 if (obj3) {
3189 {
3190 arg4 = wxString_in_helper(obj3);
3191 if (arg4 == NULL) SWIG_fail;
423f194a 3192 temp4 = True;
d14a1e28
RD
3193 }
3194 }
3195 {
3196 PyThreadState* __tstate = wxPyBeginAllowThreads();
3197 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3198
3199 wxPyEndAllowThreads(__tstate);
3200 if (PyErr_Occurred()) SWIG_fail;
3201 }
3202 {
3203 resultobj = wxPyMake_wxObject(result);
3204 }
3205 {
3206 if (temp4)
3207 delete arg4;
3208 }
3209 return resultobj;
3210 fail:
3211 {
3212 if (temp4)
3213 delete arg4;
3214 }
3215 return NULL;
3216}
3217
3218
3219static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3220 PyObject *resultobj;
3221 wxFrame *arg1 = (wxFrame *) 0 ;
3222 wxToolBar *result;
3223 PyObject * obj0 = 0 ;
3224 char *kwnames[] = {
3225 (char *) "self", NULL
3226 };
3227
3228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3230 {
3231 PyThreadState* __tstate = wxPyBeginAllowThreads();
3232 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3233
3234 wxPyEndAllowThreads(__tstate);
3235 if (PyErr_Occurred()) SWIG_fail;
3236 }
3237 {
3238 resultobj = wxPyMake_wxObject(result);
3239 }
3240 return resultobj;
3241 fail:
3242 return NULL;
3243}
3244
3245
3246static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3247 PyObject *resultobj;
3248 wxFrame *arg1 = (wxFrame *) 0 ;
3249 wxToolBar *arg2 = (wxToolBar *) 0 ;
3250 PyObject * obj0 = 0 ;
3251 PyObject * obj1 = 0 ;
3252 char *kwnames[] = {
3253 (char *) "self",(char *) "toolbar", NULL
3254 };
3255
3256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3258 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3259 {
3260 PyThreadState* __tstate = wxPyBeginAllowThreads();
3261 (arg1)->SetToolBar(arg2);
3262
3263 wxPyEndAllowThreads(__tstate);
3264 if (PyErr_Occurred()) SWIG_fail;
3265 }
3266 Py_INCREF(Py_None); resultobj = Py_None;
3267 return resultobj;
3268 fail:
3269 return NULL;
3270}
3271
3272
3273static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3274 PyObject *resultobj;
3275 wxFrame *arg1 = (wxFrame *) 0 ;
3276 wxString *arg2 = 0 ;
3277 bool arg3 ;
423f194a 3278 bool temp2 = False ;
d14a1e28
RD
3279 PyObject * obj0 = 0 ;
3280 PyObject * obj1 = 0 ;
3281 PyObject * obj2 = 0 ;
3282 char *kwnames[] = {
3283 (char *) "self",(char *) "text",(char *) "show", NULL
3284 };
3285
3286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3288 {
3289 arg2 = wxString_in_helper(obj1);
3290 if (arg2 == NULL) SWIG_fail;
423f194a 3291 temp2 = True;
d14a1e28
RD
3292 }
3293 arg3 = PyInt_AsLong(obj2) ? true : false;
3294 if (PyErr_Occurred()) SWIG_fail;
3295 {
3296 PyThreadState* __tstate = wxPyBeginAllowThreads();
3297 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3298
3299 wxPyEndAllowThreads(__tstate);
3300 if (PyErr_Occurred()) SWIG_fail;
3301 }
3302 Py_INCREF(Py_None); resultobj = Py_None;
3303 {
3304 if (temp2)
3305 delete arg2;
3306 }
3307 return resultobj;
3308 fail:
3309 {
3310 if (temp2)
3311 delete arg2;
3312 }
3313 return NULL;
3314}
3315
3316
3317static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3318 PyObject *resultobj;
3319 wxFrame *arg1 = (wxFrame *) 0 ;
3320 wxMenu *arg2 = (wxMenu *) NULL ;
3321 PyObject * obj0 = 0 ;
3322 PyObject * obj1 = 0 ;
3323 char *kwnames[] = {
3324 (char *) "self",(char *) "menu", NULL
3325 };
3326
3327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3329 if (obj1) {
3330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3331 }
3332 {
3333 PyThreadState* __tstate = wxPyBeginAllowThreads();
3334 (arg1)->DoMenuUpdates(arg2);
3335
3336 wxPyEndAllowThreads(__tstate);
3337 if (PyErr_Occurred()) SWIG_fail;
3338 }
3339 Py_INCREF(Py_None); resultobj = Py_None;
3340 return resultobj;
3341 fail:
3342 return NULL;
3343}
3344
3345
3346static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3347 PyObject *obj;
3348 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3349 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3350 Py_INCREF(obj);
3351 return Py_BuildValue((char *)"");
3352}
3353static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3354 PyObject *resultobj;
3355 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3356 int arg2 ;
d14a1e28
RD
3357 wxString *arg3 = 0 ;
3358 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3359 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3360 wxSize const &arg5_defvalue = wxDefaultSize ;
3361 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3362 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3363 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3364 wxString *arg7 = (wxString *) &arg7_defvalue ;
3365 wxDialog *result;
423f194a 3366 bool temp3 = False ;
d14a1e28
RD
3367 wxPoint temp4 ;
3368 wxSize temp5 ;
423f194a 3369 bool temp7 = False ;
d14a1e28
RD
3370 PyObject * obj0 = 0 ;
3371 PyObject * obj2 = 0 ;
3372 PyObject * obj3 = 0 ;
3373 PyObject * obj4 = 0 ;
3374 PyObject * obj6 = 0 ;
3375 char *kwnames[] = {
3376 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3377 };
3378
3379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3381 {
3382 arg3 = wxString_in_helper(obj2);
3383 if (arg3 == NULL) SWIG_fail;
423f194a 3384 temp3 = True;
d14a1e28
RD
3385 }
3386 if (obj3) {
3387 {
3388 arg4 = &temp4;
3389 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3390 }
3391 }
3392 if (obj4) {
3393 {
3394 arg5 = &temp5;
3395 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3396 }
3397 }
3398 if (obj6) {
3399 {
3400 arg7 = wxString_in_helper(obj6);
3401 if (arg7 == NULL) SWIG_fail;
423f194a 3402 temp7 = True;
d14a1e28
RD
3403 }
3404 }
3405 {
3406 PyThreadState* __tstate = wxPyBeginAllowThreads();
3407 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3408
3409 wxPyEndAllowThreads(__tstate);
3410 if (PyErr_Occurred()) SWIG_fail;
3411 }
3412 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3413 {
3414 if (temp3)
3415 delete arg3;
3416 }
3417 {
3418 if (temp7)
3419 delete arg7;
3420 }
3421 return resultobj;
3422 fail:
3423 {
3424 if (temp3)
3425 delete arg3;
3426 }
3427 {
3428 if (temp7)
3429 delete arg7;
3430 }
3431 return NULL;
3432}
3433
3434
3435static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3436 PyObject *resultobj;
3437 wxDialog *result;
3438 char *kwnames[] = {
3439 NULL
3440 };
3441
3442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3443 {
3444 PyThreadState* __tstate = wxPyBeginAllowThreads();
3445 result = (wxDialog *)new wxDialog();
3446
3447 wxPyEndAllowThreads(__tstate);
3448 if (PyErr_Occurred()) SWIG_fail;
3449 }
3450 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3451 return resultobj;
3452 fail:
3453 return NULL;
3454}
3455
3456
3457static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3458 PyObject *resultobj;
3459 wxDialog *arg1 = (wxDialog *) 0 ;
3460 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3461 int arg3 ;
d14a1e28
RD
3462 wxString *arg4 = 0 ;
3463 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3464 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3465 wxSize const &arg6_defvalue = wxDefaultSize ;
3466 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3467 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3468 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3469 wxString *arg8 = (wxString *) &arg8_defvalue ;
3470 bool result;
423f194a 3471 bool temp4 = False ;
d14a1e28
RD
3472 wxPoint temp5 ;
3473 wxSize temp6 ;
423f194a 3474 bool temp8 = False ;
d14a1e28
RD
3475 PyObject * obj0 = 0 ;
3476 PyObject * obj1 = 0 ;
3477 PyObject * obj3 = 0 ;
3478 PyObject * obj4 = 0 ;
3479 PyObject * obj5 = 0 ;
3480 PyObject * obj7 = 0 ;
3481 char *kwnames[] = {
3482 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3483 };
3484
3485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3487 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3488 {
3489 arg4 = wxString_in_helper(obj3);
3490 if (arg4 == NULL) SWIG_fail;
423f194a 3491 temp4 = True;
d14a1e28
RD
3492 }
3493 if (obj4) {
3494 {
3495 arg5 = &temp5;
3496 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3497 }
3498 }
3499 if (obj5) {
3500 {
3501 arg6 = &temp6;
3502 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3503 }
3504 }
3505 if (obj7) {
3506 {
3507 arg8 = wxString_in_helper(obj7);
3508 if (arg8 == NULL) SWIG_fail;
423f194a 3509 temp8 = True;
d14a1e28
RD
3510 }
3511 }
3512 {
3513 PyThreadState* __tstate = wxPyBeginAllowThreads();
3514 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3515
3516 wxPyEndAllowThreads(__tstate);
3517 if (PyErr_Occurred()) SWIG_fail;
3518 }
3519 resultobj = PyInt_FromLong((long)result);
3520 {
3521 if (temp4)
3522 delete arg4;
3523 }
3524 {
3525 if (temp8)
3526 delete arg8;
3527 }
3528 return resultobj;
3529 fail:
3530 {
3531 if (temp4)
3532 delete arg4;
3533 }
3534 {
3535 if (temp8)
3536 delete arg8;
3537 }
3538 return NULL;
3539}
3540
3541
3542static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3543 PyObject *resultobj;
3544 wxDialog *arg1 = (wxDialog *) 0 ;
3545 int arg2 ;
3546 PyObject * obj0 = 0 ;
3547 char *kwnames[] = {
3548 (char *) "self",(char *) "returnCode", NULL
3549 };
3550
3551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3553 {
3554 PyThreadState* __tstate = wxPyBeginAllowThreads();
3555 (arg1)->SetReturnCode(arg2);
3556
3557 wxPyEndAllowThreads(__tstate);
3558 if (PyErr_Occurred()) SWIG_fail;
3559 }
3560 Py_INCREF(Py_None); resultobj = Py_None;
3561 return resultobj;
3562 fail:
3563 return NULL;
3564}
3565
3566
3567static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3568 PyObject *resultobj;
3569 wxDialog *arg1 = (wxDialog *) 0 ;
3570 int result;
3571 PyObject * obj0 = 0 ;
3572 char *kwnames[] = {
3573 (char *) "self", NULL
3574 };
3575
3576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3577 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3578 {
3579 PyThreadState* __tstate = wxPyBeginAllowThreads();
3580 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3581
3582 wxPyEndAllowThreads(__tstate);
3583 if (PyErr_Occurred()) SWIG_fail;
3584 }
3585 resultobj = PyInt_FromLong((long)result);
3586 return resultobj;
3587 fail:
3588 return NULL;
3589}
3590
3591
3592static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3593 PyObject *resultobj;
3594 wxDialog *arg1 = (wxDialog *) 0 ;
3595 wxString *arg2 = 0 ;
3596 wxSizer *result;
423f194a 3597 bool temp2 = False ;
d14a1e28
RD
3598 PyObject * obj0 = 0 ;
3599 PyObject * obj1 = 0 ;
3600 char *kwnames[] = {
3601 (char *) "self",(char *) "message", NULL
3602 };
3603
3604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3606 {
3607 arg2 = wxString_in_helper(obj1);
3608 if (arg2 == NULL) SWIG_fail;
423f194a 3609 temp2 = True;
d14a1e28
RD
3610 }
3611 {
3612 PyThreadState* __tstate = wxPyBeginAllowThreads();
3613 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3614
3615 wxPyEndAllowThreads(__tstate);
3616 if (PyErr_Occurred()) SWIG_fail;
3617 }
3618 {
3619 resultobj = wxPyMake_wxSizer(result);
3620 }
3621 {
3622 if (temp2)
3623 delete arg2;
3624 }
3625 return resultobj;
3626 fail:
3627 {
3628 if (temp2)
3629 delete arg2;
3630 }
3631 return NULL;
3632}
3633
3634
3635static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3636 PyObject *resultobj;
3637 wxDialog *arg1 = (wxDialog *) 0 ;
3638 long arg2 ;
3639 wxSizer *result;
3640 PyObject * obj0 = 0 ;
3641 char *kwnames[] = {
3642 (char *) "self",(char *) "flags", NULL
3643 };
3644
3645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) 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 = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3650
3651 wxPyEndAllowThreads(__tstate);
3652 if (PyErr_Occurred()) SWIG_fail;
3653 }
3654 {
3655 resultobj = wxPyMake_wxSizer(result);
3656 }
3657 return resultobj;
3658 fail:
3659 return NULL;
3660}
3661
3662
d14a1e28
RD
3663static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3664 PyObject *resultobj;
3665 wxDialog *arg1 = (wxDialog *) 0 ;
3666 bool result;
3667 PyObject * obj0 = 0 ;
3668 char *kwnames[] = {
3669 (char *) "self", NULL
3670 };
3671
3672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3674 {
3675 PyThreadState* __tstate = wxPyBeginAllowThreads();
3676 result = (bool)((wxDialog const *)arg1)->IsModal();
3677
3678 wxPyEndAllowThreads(__tstate);
3679 if (PyErr_Occurred()) SWIG_fail;
3680 }
3681 resultobj = PyInt_FromLong((long)result);
3682 return resultobj;
3683 fail:
3684 return NULL;
3685}
3686
3687
3688static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3689 PyObject *resultobj;
3690 wxDialog *arg1 = (wxDialog *) 0 ;
3691 int result;
3692 PyObject * obj0 = 0 ;
3693 char *kwnames[] = {
3694 (char *) "self", NULL
3695 };
3696
3697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3699 {
3700 PyThreadState* __tstate = wxPyBeginAllowThreads();
3701 result = (int)(arg1)->ShowModal();
3702
3703 wxPyEndAllowThreads(__tstate);
3704 if (PyErr_Occurred()) SWIG_fail;
3705 }
3706 resultobj = PyInt_FromLong((long)result);
3707 return resultobj;
3708 fail:
3709 return NULL;
3710}
3711
3712
3713static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3714 PyObject *resultobj;
3715 wxDialog *arg1 = (wxDialog *) 0 ;
3716 int arg2 ;
3717 PyObject * obj0 = 0 ;
3718 char *kwnames[] = {
3719 (char *) "self",(char *) "retCode", NULL
3720 };
3721
3722 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3723 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3724 {
3725 PyThreadState* __tstate = wxPyBeginAllowThreads();
3726 (arg1)->EndModal(arg2);
3727
3728 wxPyEndAllowThreads(__tstate);
3729 if (PyErr_Occurred()) SWIG_fail;
3730 }
3731 Py_INCREF(Py_None); resultobj = Py_None;
3732 return resultobj;
3733 fail:
3734 return NULL;
3735}
3736
3737
3738static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3739 PyObject *resultobj;
3740 wxDialog *arg1 = (wxDialog *) 0 ;
3741 bool result;
3742 PyObject * obj0 = 0 ;
3743 char *kwnames[] = {
3744 (char *) "self", NULL
3745 };
3746
3747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3749 {
3750 PyThreadState* __tstate = wxPyBeginAllowThreads();
3751 result = (bool)wxDialog_IsModalShowing(arg1);
3752
3753 wxPyEndAllowThreads(__tstate);
3754 if (PyErr_Occurred()) SWIG_fail;
3755 }
3756 resultobj = PyInt_FromLong((long)result);
3757 return resultobj;
3758 fail:
3759 return NULL;
3760}
3761
3762
3763static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3764 PyObject *obj;
3765 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3766 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3767 Py_INCREF(obj);
3768 return Py_BuildValue((char *)"");
3769}
3770static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3771 PyObject *resultobj;
3772 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3773 int arg2 ;
d14a1e28
RD
3774 wxString *arg3 = 0 ;
3775 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3776 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3777 wxSize const &arg5_defvalue = wxDefaultSize ;
3778 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3779 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3780 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3781 wxString *arg7 = (wxString *) &arg7_defvalue ;
3782 wxMiniFrame *result;
423f194a 3783 bool temp3 = False ;
d14a1e28
RD
3784 wxPoint temp4 ;
3785 wxSize temp5 ;
423f194a 3786 bool temp7 = False ;
d14a1e28
RD
3787 PyObject * obj0 = 0 ;
3788 PyObject * obj2 = 0 ;
3789 PyObject * obj3 = 0 ;
3790 PyObject * obj4 = 0 ;
3791 PyObject * obj6 = 0 ;
3792 char *kwnames[] = {
3793 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3794 };
3795
3796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3798 {
3799 arg3 = wxString_in_helper(obj2);
3800 if (arg3 == NULL) SWIG_fail;
423f194a 3801 temp3 = True;
d14a1e28
RD
3802 }
3803 if (obj3) {
3804 {
3805 arg4 = &temp4;
3806 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3807 }
3808 }
3809 if (obj4) {
3810 {
3811 arg5 = &temp5;
3812 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3813 }
3814 }
3815 if (obj6) {
3816 {
3817 arg7 = wxString_in_helper(obj6);
3818 if (arg7 == NULL) SWIG_fail;
423f194a 3819 temp7 = True;
d14a1e28
RD
3820 }
3821 }
3822 {
3823 PyThreadState* __tstate = wxPyBeginAllowThreads();
3824 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3825
3826 wxPyEndAllowThreads(__tstate);
3827 if (PyErr_Occurred()) SWIG_fail;
3828 }
3829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3830 {
3831 if (temp3)
3832 delete arg3;
3833 }
3834 {
3835 if (temp7)
3836 delete arg7;
3837 }
3838 return resultobj;
3839 fail:
3840 {
3841 if (temp3)
3842 delete arg3;
3843 }
3844 {
3845 if (temp7)
3846 delete arg7;
3847 }
3848 return NULL;
3849}
3850
3851
3852static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3853 PyObject *resultobj;
3854 wxMiniFrame *result;
3855 char *kwnames[] = {
3856 NULL
3857 };
3858
3859 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3860 {
3861 PyThreadState* __tstate = wxPyBeginAllowThreads();
3862 result = (wxMiniFrame *)new wxMiniFrame();
3863
3864 wxPyEndAllowThreads(__tstate);
3865 if (PyErr_Occurred()) SWIG_fail;
3866 }
3867 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3868 return resultobj;
3869 fail:
3870 return NULL;
3871}
3872
3873
3874static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3875 PyObject *resultobj;
3876 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3877 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3878 int arg3 ;
d14a1e28
RD
3879 wxString *arg4 = 0 ;
3880 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3881 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3882 wxSize const &arg6_defvalue = wxDefaultSize ;
3883 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3884 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3885 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3886 wxString *arg8 = (wxString *) &arg8_defvalue ;
3887 bool result;
423f194a 3888 bool temp4 = False ;
d14a1e28
RD
3889 wxPoint temp5 ;
3890 wxSize temp6 ;
423f194a 3891 bool temp8 = False ;
d14a1e28
RD
3892 PyObject * obj0 = 0 ;
3893 PyObject * obj1 = 0 ;
3894 PyObject * obj3 = 0 ;
3895 PyObject * obj4 = 0 ;
3896 PyObject * obj5 = 0 ;
3897 PyObject * obj7 = 0 ;
3898 char *kwnames[] = {
3899 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3900 };
3901
3902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3904 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3905 {
3906 arg4 = wxString_in_helper(obj3);
3907 if (arg4 == NULL) SWIG_fail;
423f194a 3908 temp4 = True;
d14a1e28
RD
3909 }
3910 if (obj4) {
3911 {
3912 arg5 = &temp5;
3913 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3914 }
3915 }
3916 if (obj5) {
3917 {
3918 arg6 = &temp6;
3919 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3920 }
3921 }
3922 if (obj7) {
3923 {
3924 arg8 = wxString_in_helper(obj7);
3925 if (arg8 == NULL) SWIG_fail;
423f194a 3926 temp8 = True;
d14a1e28
RD
3927 }
3928 }
3929 {
3930 PyThreadState* __tstate = wxPyBeginAllowThreads();
3931 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3932
3933 wxPyEndAllowThreads(__tstate);
3934 if (PyErr_Occurred()) SWIG_fail;
3935 }
3936 resultobj = PyInt_FromLong((long)result);
3937 {
3938 if (temp4)
3939 delete arg4;
3940 }
3941 {
3942 if (temp8)
3943 delete arg8;
3944 }
3945 return resultobj;
3946 fail:
3947 {
3948 if (temp4)
3949 delete arg4;
3950 }
3951 {
3952 if (temp8)
3953 delete arg8;
3954 }
3955 return NULL;
3956}
3957
3958
3959static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3960 PyObject *obj;
3961 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3962 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3963 Py_INCREF(obj);
3964 return Py_BuildValue((char *)"");
3965}
3966static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3967 PyObject *resultobj;
3968 wxBitmap *arg1 = 0 ;
3969 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3970 int arg3 ;
d14a1e28
RD
3971 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3972 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3973 wxSize const &arg5_defvalue = wxDefaultSize ;
3974 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3975 long arg6 = (long) wxNO_BORDER ;
3976 wxSplashScreenWindow *result;
3977 wxPoint temp4 ;
3978 wxSize temp5 ;
3979 PyObject * obj0 = 0 ;
3980 PyObject * obj1 = 0 ;
3981 PyObject * obj3 = 0 ;
3982 PyObject * obj4 = 0 ;
3983 char *kwnames[] = {
3984 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3985 };
3986
3987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
3988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3989 if (arg1 == NULL) {
3990 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3991 }
3992 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3993 if (obj3) {
3994 {
3995 arg4 = &temp4;
3996 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3997 }
3998 }
3999 if (obj4) {
4000 {
4001 arg5 = &temp5;
4002 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4003 }
4004 }
4005 {
4006 PyThreadState* __tstate = wxPyBeginAllowThreads();
4007 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4008
4009 wxPyEndAllowThreads(__tstate);
4010 if (PyErr_Occurred()) SWIG_fail;
4011 }
4012 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4013 return resultobj;
4014 fail:
4015 return NULL;
4016}
4017
4018
4019static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4020 PyObject *resultobj;
4021 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4022 wxBitmap *arg2 = 0 ;
4023 PyObject * obj0 = 0 ;
4024 PyObject * obj1 = 0 ;
4025 char *kwnames[] = {
4026 (char *) "self",(char *) "bitmap", NULL
4027 };
4028
4029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4031 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4032 if (arg2 == NULL) {
4033 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4034 }
4035 {
4036 PyThreadState* __tstate = wxPyBeginAllowThreads();
4037 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4038
4039 wxPyEndAllowThreads(__tstate);
4040 if (PyErr_Occurred()) SWIG_fail;
4041 }
4042 Py_INCREF(Py_None); resultobj = Py_None;
4043 return resultobj;
4044 fail:
4045 return NULL;
4046}
4047
4048
4049static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4050 PyObject *resultobj;
4051 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4052 wxBitmap *result;
4053 PyObject * obj0 = 0 ;
4054 char *kwnames[] = {
4055 (char *) "self", NULL
4056 };
4057
4058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4060 {
4061 PyThreadState* __tstate = wxPyBeginAllowThreads();
4062 {
4063 wxBitmap &_result_ref = (arg1)->GetBitmap();
4064 result = (wxBitmap *) &_result_ref;
4065 }
4066
4067 wxPyEndAllowThreads(__tstate);
4068 if (PyErr_Occurred()) SWIG_fail;
4069 }
4070 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4071 return resultobj;
4072 fail:
4073 return NULL;
4074}
4075
4076
4077static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4078 PyObject *obj;
4079 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4080 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4081 Py_INCREF(obj);
4082 return Py_BuildValue((char *)"");
4083}
4084static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4085 PyObject *resultobj;
4086 wxBitmap *arg1 = 0 ;
4087 long arg2 ;
4088 int arg3 ;
4089 wxWindow *arg4 = (wxWindow *) 0 ;
423f194a 4090 int arg5 ;
d14a1e28
RD
4091 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4092 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4093 wxSize const &arg7_defvalue = wxDefaultSize ;
4094 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4095 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4096 wxSplashScreen *result;
4097 wxPoint temp6 ;
4098 wxSize temp7 ;
4099 PyObject * obj0 = 0 ;
4100 PyObject * obj3 = 0 ;
4101 PyObject * obj5 = 0 ;
4102 PyObject * obj6 = 0 ;
4103 char *kwnames[] = {
4104 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4105 };
4106
4107 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4108 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4109 if (arg1 == NULL) {
4110 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4111 }
4112 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4113 if (obj5) {
4114 {
4115 arg6 = &temp6;
4116 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4117 }
4118 }
4119 if (obj6) {
4120 {
4121 arg7 = &temp7;
4122 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4123 }
4124 }
4125 {
4126 PyThreadState* __tstate = wxPyBeginAllowThreads();
4127 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4128
4129 wxPyEndAllowThreads(__tstate);
4130 if (PyErr_Occurred()) SWIG_fail;
4131 }
4132 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4133 return resultobj;
4134 fail:
4135 return NULL;
4136}
4137
4138
4139static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4140 PyObject *resultobj;
4141 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4142 long result;
4143 PyObject * obj0 = 0 ;
4144 char *kwnames[] = {
4145 (char *) "self", NULL
4146 };
4147
4148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4150 {
4151 PyThreadState* __tstate = wxPyBeginAllowThreads();
4152 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4153
4154 wxPyEndAllowThreads(__tstate);
4155 if (PyErr_Occurred()) SWIG_fail;
4156 }
4157 resultobj = PyInt_FromLong((long)result);
4158 return resultobj;
4159 fail:
4160 return NULL;
4161}
4162
4163
4164static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4165 PyObject *resultobj;
4166 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4167 wxSplashScreenWindow *result;
4168 PyObject * obj0 = 0 ;
4169 char *kwnames[] = {
4170 (char *) "self", NULL
4171 };
4172
4173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4175 {
4176 PyThreadState* __tstate = wxPyBeginAllowThreads();
4177 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4178
4179 wxPyEndAllowThreads(__tstate);
4180 if (PyErr_Occurred()) SWIG_fail;
4181 }
4182 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4183 return resultobj;
4184 fail:
4185 return NULL;
4186}
4187
4188
4189static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4190 PyObject *resultobj;
4191 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4192 int result;
4193 PyObject * obj0 = 0 ;
4194 char *kwnames[] = {
4195 (char *) "self", NULL
4196 };
4197
4198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4200 {
4201 PyThreadState* __tstate = wxPyBeginAllowThreads();
4202 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4203
4204 wxPyEndAllowThreads(__tstate);
4205 if (PyErr_Occurred()) SWIG_fail;
4206 }
4207 resultobj = PyInt_FromLong((long)result);
4208 return resultobj;
4209 fail:
4210 return NULL;
4211}
4212
4213
4214static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4215 PyObject *obj;
4216 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4217 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4218 Py_INCREF(obj);
4219 return Py_BuildValue((char *)"");
4220}
4221static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4222 PyObject *resultobj;
4223 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4224 int arg2 = (int) -1 ;
d14a1e28
RD
4225 long arg3 = (long) wxST_SIZEGRIP ;
4226 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4227 wxString *arg4 = (wxString *) &arg4_defvalue ;
4228 wxStatusBar *result;
423f194a 4229 bool temp4 = False ;
d14a1e28
RD
4230 PyObject * obj0 = 0 ;
4231 PyObject * obj3 = 0 ;
4232 char *kwnames[] = {
4233 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4234 };
4235
4236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4238 if (obj3) {
4239 {
4240 arg4 = wxString_in_helper(obj3);
4241 if (arg4 == NULL) SWIG_fail;
423f194a 4242 temp4 = True;
d14a1e28
RD
4243 }
4244 }
4245 {
4246 PyThreadState* __tstate = wxPyBeginAllowThreads();
4247 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4248
4249 wxPyEndAllowThreads(__tstate);
4250 if (PyErr_Occurred()) SWIG_fail;
4251 }
4252 {
4253 resultobj = wxPyMake_wxObject(result);
4254 }
4255 {
4256 if (temp4)
4257 delete arg4;
4258 }
4259 return resultobj;
4260 fail:
4261 {
4262 if (temp4)
4263 delete arg4;
4264 }
4265 return NULL;
4266}
4267
4268
4269static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4270 PyObject *resultobj;
4271 wxStatusBar *result;
4272 char *kwnames[] = {
4273 NULL
4274 };
4275
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4277 {
4278 PyThreadState* __tstate = wxPyBeginAllowThreads();
4279 result = (wxStatusBar *)new wxStatusBar();
4280
4281 wxPyEndAllowThreads(__tstate);
4282 if (PyErr_Occurred()) SWIG_fail;
4283 }
4284 {
4285 resultobj = wxPyMake_wxObject(result);
4286 }
4287 return resultobj;
4288 fail:
4289 return NULL;
4290}
4291
4292
4293static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4294 PyObject *resultobj;
4295 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4296 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4297 int arg3 ;
d14a1e28
RD
4298 long arg4 = (long) wxST_SIZEGRIP ;
4299 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4300 wxString *arg5 = (wxString *) &arg5_defvalue ;
4301 bool result;
423f194a 4302 bool temp5 = False ;
d14a1e28
RD
4303 PyObject * obj0 = 0 ;
4304 PyObject * obj1 = 0 ;
4305 PyObject * obj4 = 0 ;
4306 char *kwnames[] = {
4307 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4308 };
4309
4310 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4311 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4312 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4313 if (obj4) {
4314 {
4315 arg5 = wxString_in_helper(obj4);
4316 if (arg5 == NULL) SWIG_fail;
423f194a 4317 temp5 = True;
d14a1e28
RD
4318 }
4319 }
4320 {
4321 PyThreadState* __tstate = wxPyBeginAllowThreads();
4322 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4323
4324 wxPyEndAllowThreads(__tstate);
4325 if (PyErr_Occurred()) SWIG_fail;
4326 }
4327 resultobj = PyInt_FromLong((long)result);
4328 {
4329 if (temp5)
4330 delete arg5;
4331 }
4332 return resultobj;
4333 fail:
4334 {
4335 if (temp5)
4336 delete arg5;
4337 }
4338 return NULL;
4339}
4340
4341
4342static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4343 PyObject *resultobj;
4344 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4345 int arg2 = (int) 1 ;
4346 PyObject * obj0 = 0 ;
4347 char *kwnames[] = {
4348 (char *) "self",(char *) "number", NULL
4349 };
4350
4351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4353 {
4354 PyThreadState* __tstate = wxPyBeginAllowThreads();
4355 (arg1)->SetFieldsCount(arg2);
4356
4357 wxPyEndAllowThreads(__tstate);
4358 if (PyErr_Occurred()) SWIG_fail;
4359 }
4360 Py_INCREF(Py_None); resultobj = Py_None;
4361 return resultobj;
4362 fail:
4363 return NULL;
4364}
4365
4366
4367static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4368 PyObject *resultobj;
4369 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4370 int result;
4371 PyObject * obj0 = 0 ;
4372 char *kwnames[] = {
4373 (char *) "self", NULL
4374 };
4375
4376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4378 {
4379 PyThreadState* __tstate = wxPyBeginAllowThreads();
4380 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4381
4382 wxPyEndAllowThreads(__tstate);
4383 if (PyErr_Occurred()) SWIG_fail;
4384 }
4385 resultobj = PyInt_FromLong((long)result);
4386 return resultobj;
4387 fail:
4388 return NULL;
4389}
4390
4391
4392static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4393 PyObject *resultobj;
4394 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4395 wxString *arg2 = 0 ;
4396 int arg3 = (int) 0 ;
423f194a 4397 bool temp2 = False ;
d14a1e28
RD
4398 PyObject * obj0 = 0 ;
4399 PyObject * obj1 = 0 ;
4400 char *kwnames[] = {
4401 (char *) "self",(char *) "text",(char *) "number", NULL
4402 };
4403
4404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4406 {
4407 arg2 = wxString_in_helper(obj1);
4408 if (arg2 == NULL) SWIG_fail;
423f194a 4409 temp2 = True;
d14a1e28
RD
4410 }
4411 {
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4414
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 Py_INCREF(Py_None); resultobj = Py_None;
4419 {
4420 if (temp2)
4421 delete arg2;
4422 }
4423 return resultobj;
4424 fail:
4425 {
4426 if (temp2)
4427 delete arg2;
4428 }
4429 return NULL;
4430}
4431
4432
4433static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4434 PyObject *resultobj;
4435 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4436 int arg2 = (int) 0 ;
4437 wxString result;
4438 PyObject * obj0 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self",(char *) "number", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4445 {
4446 PyThreadState* __tstate = wxPyBeginAllowThreads();
4447 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4448
4449 wxPyEndAllowThreads(__tstate);
4450 if (PyErr_Occurred()) SWIG_fail;
4451 }
4452 {
4453#if wxUSE_UNICODE
4454 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4455#else
4456 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4457#endif
4458 }
4459 return resultobj;
4460 fail:
4461 return NULL;
4462}
4463
4464
4465static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4466 PyObject *resultobj;
4467 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4468 wxString *arg2 = 0 ;
4469 int arg3 = (int) 0 ;
423f194a 4470 bool temp2 = False ;
d14a1e28
RD
4471 PyObject * obj0 = 0 ;
4472 PyObject * obj1 = 0 ;
4473 char *kwnames[] = {
4474 (char *) "self",(char *) "text",(char *) "number", NULL
4475 };
4476
4477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4479 {
4480 arg2 = wxString_in_helper(obj1);
4481 if (arg2 == NULL) SWIG_fail;
423f194a 4482 temp2 = True;
d14a1e28
RD
4483 }
4484 {
4485 PyThreadState* __tstate = wxPyBeginAllowThreads();
4486 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4487
4488 wxPyEndAllowThreads(__tstate);
4489 if (PyErr_Occurred()) SWIG_fail;
4490 }
4491 Py_INCREF(Py_None); resultobj = Py_None;
4492 {
4493 if (temp2)
4494 delete arg2;
4495 }
4496 return resultobj;
4497 fail:
4498 {
4499 if (temp2)
4500 delete arg2;
4501 }
4502 return NULL;
4503}
4504
4505
4506static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4507 PyObject *resultobj;
4508 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4509 int arg2 = (int) 0 ;
4510 PyObject * obj0 = 0 ;
4511 char *kwnames[] = {
4512 (char *) "self",(char *) "number", NULL
4513 };
4514
4515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4517 {
4518 PyThreadState* __tstate = wxPyBeginAllowThreads();
4519 (arg1)->PopStatusText(arg2);
4520
4521 wxPyEndAllowThreads(__tstate);
4522 if (PyErr_Occurred()) SWIG_fail;
4523 }
4524 Py_INCREF(Py_None); resultobj = Py_None;
4525 return resultobj;
4526 fail:
4527 return NULL;
4528}
4529
4530
4531static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4532 PyObject *resultobj;
4533 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4534 int arg2 ;
4535 int *arg3 = (int *) 0 ;
4536 PyObject * obj0 = 0 ;
4537 PyObject * obj1 = 0 ;
4538 char *kwnames[] = {
4539 (char *) "self",(char *) "widths", NULL
4540 };
4541
4542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4544 {
4545 arg2 = PyList_Size(obj1);
4546 arg3 = int_LIST_helper(obj1);
4547 if (arg3 == NULL) SWIG_fail;
4548 }
4549 {
4550 PyThreadState* __tstate = wxPyBeginAllowThreads();
4551 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4552
4553 wxPyEndAllowThreads(__tstate);
4554 if (PyErr_Occurred()) SWIG_fail;
4555 }
4556 Py_INCREF(Py_None); resultobj = Py_None;
4557 {
4558 if (arg3) delete [] arg3;
4559 }
4560 return resultobj;
4561 fail:
4562 {
4563 if (arg3) delete [] arg3;
4564 }
4565 return NULL;
4566}
4567
4568
4569static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4570 PyObject *resultobj;
4571 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4572 int arg2 ;
44127b65 4573 wxRect result;
d14a1e28 4574 PyObject * obj0 = 0 ;
d14a1e28 4575 char *kwnames[] = {
44127b65 4576 (char *) "self",(char *) "i", NULL
d14a1e28
RD
4577 };
4578
44127b65 4579 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 4580 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
4581 {
4582 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 4583 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
4584
4585 wxPyEndAllowThreads(__tstate);
4586 if (PyErr_Occurred()) SWIG_fail;
4587 }
44127b65
RD
4588 {
4589 wxRect * resultptr;
4590 resultptr = new wxRect((wxRect &) result);
4591 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4592 }
d14a1e28
RD
4593 return resultobj;
4594 fail:
4595 return NULL;
4596}
4597
4598
4599static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4600 PyObject *resultobj;
4601 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4602 int arg2 ;
4603 PyObject * obj0 = 0 ;
4604 char *kwnames[] = {
4605 (char *) "self",(char *) "height", NULL
4606 };
4607
4608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4610 {
4611 PyThreadState* __tstate = wxPyBeginAllowThreads();
4612 (arg1)->SetMinHeight(arg2);
4613
4614 wxPyEndAllowThreads(__tstate);
4615 if (PyErr_Occurred()) SWIG_fail;
4616 }
4617 Py_INCREF(Py_None); resultobj = Py_None;
4618 return resultobj;
4619 fail:
4620 return NULL;
4621}
4622
4623
4624static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4625 PyObject *resultobj;
4626 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4627 int result;
4628 PyObject * obj0 = 0 ;
4629 char *kwnames[] = {
4630 (char *) "self", NULL
4631 };
4632
4633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4634 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4635 {
4636 PyThreadState* __tstate = wxPyBeginAllowThreads();
4637 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4638
4639 wxPyEndAllowThreads(__tstate);
4640 if (PyErr_Occurred()) SWIG_fail;
4641 }
4642 resultobj = PyInt_FromLong((long)result);
4643 return resultobj;
4644 fail:
4645 return NULL;
4646}
4647
4648
4649static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4650 PyObject *resultobj;
4651 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4652 int result;
4653 PyObject * obj0 = 0 ;
4654 char *kwnames[] = {
4655 (char *) "self", NULL
4656 };
4657
4658 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4659 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4660 {
4661 PyThreadState* __tstate = wxPyBeginAllowThreads();
4662 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4663
4664 wxPyEndAllowThreads(__tstate);
4665 if (PyErr_Occurred()) SWIG_fail;
4666 }
4667 resultobj = PyInt_FromLong((long)result);
4668 return resultobj;
4669 fail:
4670 return NULL;
4671}
4672
4673
4674static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4675 PyObject *obj;
4676 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4677 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4678 Py_INCREF(obj);
4679 return Py_BuildValue((char *)"");
4680}
d03fd34d
RD
4681static int _wrap_SplitterNameStr_set(PyObject *_val) {
4682 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
4683 return 1;
4684}
4685
4686
4687static PyObject *_wrap_SplitterNameStr_get() {
4688 PyObject *pyobj;
4689
4690 {
4691#if wxUSE_UNICODE
4692 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4693#else
4694 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4695#endif
4696 }
4697 return pyobj;
4698}
4699
4700
d14a1e28
RD
4701static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4702 PyObject *resultobj;
4703 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4704 int arg2 ;
d14a1e28
RD
4705 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4706 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4707 wxSize const &arg4_defvalue = wxDefaultSize ;
4708 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4709 long arg5 = (long) wxSP_3D ;
4710 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4711 wxString *arg6 = (wxString *) &arg6_defvalue ;
4712 wxSplitterWindow *result;
4713 wxPoint temp3 ;
4714 wxSize temp4 ;
423f194a 4715 bool temp6 = False ;
d14a1e28
RD
4716 PyObject * obj0 = 0 ;
4717 PyObject * obj2 = 0 ;
4718 PyObject * obj3 = 0 ;
4719 PyObject * obj5 = 0 ;
4720 char *kwnames[] = {
4721 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4722 };
4723
4724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4726 if (obj2) {
4727 {
4728 arg3 = &temp3;
4729 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4730 }
4731 }
4732 if (obj3) {
4733 {
4734 arg4 = &temp4;
4735 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4736 }
4737 }
4738 if (obj5) {
4739 {
4740 arg6 = wxString_in_helper(obj5);
4741 if (arg6 == NULL) SWIG_fail;
423f194a 4742 temp6 = True;
d14a1e28
RD
4743 }
4744 }
4745 {
4746 PyThreadState* __tstate = wxPyBeginAllowThreads();
4747 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4748
4749 wxPyEndAllowThreads(__tstate);
4750 if (PyErr_Occurred()) SWIG_fail;
4751 }
4752 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4753 {
4754 if (temp6)
4755 delete arg6;
4756 }
4757 return resultobj;
4758 fail:
4759 {
4760 if (temp6)
4761 delete arg6;
4762 }
4763 return NULL;
4764}
4765
4766
4767static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4768 PyObject *resultobj;
4769 wxSplitterWindow *result;
4770 char *kwnames[] = {
4771 NULL
4772 };
4773
4774 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4775 {
4776 PyThreadState* __tstate = wxPyBeginAllowThreads();
4777 result = (wxSplitterWindow *)new wxSplitterWindow();
4778
4779 wxPyEndAllowThreads(__tstate);
4780 if (PyErr_Occurred()) SWIG_fail;
4781 }
4782 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4783 return resultobj;
4784 fail:
4785 return NULL;
4786}
4787
4788
4789static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4790 PyObject *resultobj;
4791 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4792 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4793 int arg3 ;
d14a1e28
RD
4794 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4795 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4796 wxSize const &arg5_defvalue = wxDefaultSize ;
4797 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4798 long arg6 = (long) wxSP_3D ;
4799 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4800 wxString *arg7 = (wxString *) &arg7_defvalue ;
4801 bool result;
4802 wxPoint temp4 ;
4803 wxSize temp5 ;
423f194a 4804 bool temp7 = False ;
d14a1e28
RD
4805 PyObject * obj0 = 0 ;
4806 PyObject * obj1 = 0 ;
4807 PyObject * obj3 = 0 ;
4808 PyObject * obj4 = 0 ;
4809 PyObject * obj6 = 0 ;
4810 char *kwnames[] = {
4811 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4812 };
4813
4814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4816 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4817 if (obj3) {
4818 {
4819 arg4 = &temp4;
4820 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4821 }
4822 }
4823 if (obj4) {
4824 {
4825 arg5 = &temp5;
4826 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4827 }
4828 }
4829 if (obj6) {
4830 {
4831 arg7 = wxString_in_helper(obj6);
4832 if (arg7 == NULL) SWIG_fail;
423f194a 4833 temp7 = True;
d14a1e28
RD
4834 }
4835 }
4836 {
4837 PyThreadState* __tstate = wxPyBeginAllowThreads();
4838 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4839
4840 wxPyEndAllowThreads(__tstate);
4841 if (PyErr_Occurred()) SWIG_fail;
4842 }
4843 resultobj = PyInt_FromLong((long)result);
4844 {
4845 if (temp7)
4846 delete arg7;
4847 }
4848 return resultobj;
4849 fail:
4850 {
4851 if (temp7)
4852 delete arg7;
4853 }
4854 return NULL;
4855}
4856
4857
4858static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4859 PyObject *resultobj;
4860 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4861 wxWindow *result;
4862 PyObject * obj0 = 0 ;
4863 char *kwnames[] = {
4864 (char *) "self", NULL
4865 };
4866
4867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4869 {
4870 PyThreadState* __tstate = wxPyBeginAllowThreads();
4871 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 {
4877 resultobj = wxPyMake_wxObject(result);
4878 }
4879 return resultobj;
4880 fail:
4881 return NULL;
4882}
4883
4884
4885static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4886 PyObject *resultobj;
4887 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4888 wxWindow *result;
4889 PyObject * obj0 = 0 ;
4890 char *kwnames[] = {
4891 (char *) "self", NULL
4892 };
4893
4894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4896 {
4897 PyThreadState* __tstate = wxPyBeginAllowThreads();
4898 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4899
4900 wxPyEndAllowThreads(__tstate);
4901 if (PyErr_Occurred()) SWIG_fail;
4902 }
4903 {
4904 resultobj = wxPyMake_wxObject(result);
4905 }
4906 return resultobj;
4907 fail:
4908 return NULL;
4909}
4910
4911
4912static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4913 PyObject *resultobj;
4914 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4915 int arg2 ;
4916 PyObject * obj0 = 0 ;
4917 char *kwnames[] = {
4918 (char *) "self",(char *) "mode", NULL
4919 };
4920
4921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4923 {
4924 PyThreadState* __tstate = wxPyBeginAllowThreads();
4925 (arg1)->SetSplitMode(arg2);
4926
4927 wxPyEndAllowThreads(__tstate);
4928 if (PyErr_Occurred()) SWIG_fail;
4929 }
4930 Py_INCREF(Py_None); resultobj = Py_None;
4931 return resultobj;
4932 fail:
4933 return NULL;
4934}
4935
4936
4937static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4938 PyObject *resultobj;
4939 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4940 int result;
4941 PyObject * obj0 = 0 ;
4942 char *kwnames[] = {
4943 (char *) "self", NULL
4944 };
4945
4946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4948 {
4949 PyThreadState* __tstate = wxPyBeginAllowThreads();
4950 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4951
4952 wxPyEndAllowThreads(__tstate);
4953 if (PyErr_Occurred()) SWIG_fail;
4954 }
4955 resultobj = PyInt_FromLong((long)result);
4956 return resultobj;
4957 fail:
4958 return NULL;
4959}
4960
4961
4962static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4963 PyObject *resultobj;
4964 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4965 wxWindow *arg2 = (wxWindow *) 0 ;
4966 PyObject * obj0 = 0 ;
4967 PyObject * obj1 = 0 ;
4968 char *kwnames[] = {
4969 (char *) "self",(char *) "window", NULL
4970 };
4971
4972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
4973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4974 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4975 {
4976 PyThreadState* __tstate = wxPyBeginAllowThreads();
4977 (arg1)->Initialize(arg2);
4978
4979 wxPyEndAllowThreads(__tstate);
4980 if (PyErr_Occurred()) SWIG_fail;
4981 }
4982 Py_INCREF(Py_None); resultobj = Py_None;
4983 return resultobj;
4984 fail:
4985 return NULL;
4986}
4987
4988
4989static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
4990 PyObject *resultobj;
4991 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4992 wxWindow *arg2 = (wxWindow *) 0 ;
4993 wxWindow *arg3 = (wxWindow *) 0 ;
4994 int arg4 = (int) 0 ;
4995 bool result;
4996 PyObject * obj0 = 0 ;
4997 PyObject * obj1 = 0 ;
4998 PyObject * obj2 = 0 ;
4999 char *kwnames[] = {
5000 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5001 };
5002
5003 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5004 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5005 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5006 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5007 {
5008 PyThreadState* __tstate = wxPyBeginAllowThreads();
5009 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5010
5011 wxPyEndAllowThreads(__tstate);
5012 if (PyErr_Occurred()) SWIG_fail;
5013 }
5014 resultobj = PyInt_FromLong((long)result);
5015 return resultobj;
5016 fail:
5017 return NULL;
5018}
5019
5020
5021static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5022 PyObject *resultobj;
5023 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5024 wxWindow *arg2 = (wxWindow *) 0 ;
5025 wxWindow *arg3 = (wxWindow *) 0 ;
5026 int arg4 = (int) 0 ;
5027 bool result;
5028 PyObject * obj0 = 0 ;
5029 PyObject * obj1 = 0 ;
5030 PyObject * obj2 = 0 ;
5031 char *kwnames[] = {
5032 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5033 };
5034
5035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5037 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5038 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5039 {
5040 PyThreadState* __tstate = wxPyBeginAllowThreads();
5041 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5042
5043 wxPyEndAllowThreads(__tstate);
5044 if (PyErr_Occurred()) SWIG_fail;
5045 }
5046 resultobj = PyInt_FromLong((long)result);
5047 return resultobj;
5048 fail:
5049 return NULL;
5050}
5051
5052
5053static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5054 PyObject *resultobj;
5055 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5056 wxWindow *arg2 = (wxWindow *) NULL ;
5057 bool result;
5058 PyObject * obj0 = 0 ;
5059 PyObject * obj1 = 0 ;
5060 char *kwnames[] = {
5061 (char *) "self",(char *) "toRemove", NULL
5062 };
5063
5064 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5065 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5066 if (obj1) {
5067 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5068 }
5069 {
5070 PyThreadState* __tstate = wxPyBeginAllowThreads();
5071 result = (bool)(arg1)->Unsplit(arg2);
5072
5073 wxPyEndAllowThreads(__tstate);
5074 if (PyErr_Occurred()) SWIG_fail;
5075 }
5076 resultobj = PyInt_FromLong((long)result);
5077 return resultobj;
5078 fail:
5079 return NULL;
5080}
5081
5082
5083static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5084 PyObject *resultobj;
5085 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5086 wxWindow *arg2 = (wxWindow *) 0 ;
5087 wxWindow *arg3 = (wxWindow *) 0 ;
5088 bool result;
5089 PyObject * obj0 = 0 ;
5090 PyObject * obj1 = 0 ;
5091 PyObject * obj2 = 0 ;
5092 char *kwnames[] = {
5093 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5094 };
5095
5096 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5097 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5098 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5099 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5100 {
5101 PyThreadState* __tstate = wxPyBeginAllowThreads();
5102 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5103
5104 wxPyEndAllowThreads(__tstate);
5105 if (PyErr_Occurred()) SWIG_fail;
5106 }
5107 resultobj = PyInt_FromLong((long)result);
5108 return resultobj;
5109 fail:
5110 return NULL;
5111}
5112
5113
5114static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5115 PyObject *resultobj;
5116 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5117 bool result;
5118 PyObject * obj0 = 0 ;
5119 char *kwnames[] = {
5120 (char *) "self", NULL
5121 };
5122
5123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5125 {
5126 PyThreadState* __tstate = wxPyBeginAllowThreads();
5127 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5128
5129 wxPyEndAllowThreads(__tstate);
5130 if (PyErr_Occurred()) SWIG_fail;
5131 }
5132 resultobj = PyInt_FromLong((long)result);
5133 return resultobj;
5134 fail:
5135 return NULL;
5136}
5137
5138
5139static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5140 PyObject *resultobj;
5141 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5142 int arg2 ;
5143 PyObject * obj0 = 0 ;
5144 char *kwnames[] = {
5145 (char *) "self",(char *) "width", NULL
5146 };
5147
5148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5150 {
5151 PyThreadState* __tstate = wxPyBeginAllowThreads();
5152 (arg1)->SetSashSize(arg2);
5153
5154 wxPyEndAllowThreads(__tstate);
5155 if (PyErr_Occurred()) SWIG_fail;
5156 }
5157 Py_INCREF(Py_None); resultobj = Py_None;
5158 return resultobj;
5159 fail:
5160 return NULL;
5161}
5162
5163
5164static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5165 PyObject *resultobj;
5166 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5167 int arg2 ;
5168 PyObject * obj0 = 0 ;
5169 char *kwnames[] = {
5170 (char *) "self",(char *) "width", NULL
5171 };
5172
5173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5174 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5175 {
5176 PyThreadState* __tstate = wxPyBeginAllowThreads();
5177 (arg1)->SetBorderSize(arg2);
5178
5179 wxPyEndAllowThreads(__tstate);
5180 if (PyErr_Occurred()) SWIG_fail;
5181 }
5182 Py_INCREF(Py_None); resultobj = Py_None;
5183 return resultobj;
5184 fail:
5185 return NULL;
5186}
5187
5188
5189static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5190 PyObject *resultobj;
5191 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5192 int result;
5193 PyObject * obj0 = 0 ;
5194 char *kwnames[] = {
5195 (char *) "self", NULL
5196 };
5197
5198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5200 {
5201 PyThreadState* __tstate = wxPyBeginAllowThreads();
5202 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5203
5204 wxPyEndAllowThreads(__tstate);
5205 if (PyErr_Occurred()) SWIG_fail;
5206 }
5207 resultobj = PyInt_FromLong((long)result);
5208 return resultobj;
5209 fail:
5210 return NULL;
5211}
5212
5213
5214static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5215 PyObject *resultobj;
5216 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5217 int result;
5218 PyObject * obj0 = 0 ;
5219 char *kwnames[] = {
5220 (char *) "self", NULL
5221 };
5222
5223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5225 {
5226 PyThreadState* __tstate = wxPyBeginAllowThreads();
5227 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5228
5229 wxPyEndAllowThreads(__tstate);
5230 if (PyErr_Occurred()) SWIG_fail;
5231 }
5232 resultobj = PyInt_FromLong((long)result);
5233 return resultobj;
5234 fail:
5235 return NULL;
5236}
5237
5238
5239static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5240 PyObject *resultobj;
5241 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5242 int arg2 ;
423f194a 5243 bool arg3 = (bool) True ;
d14a1e28
RD
5244 PyObject * obj0 = 0 ;
5245 PyObject * obj2 = 0 ;
5246 char *kwnames[] = {
5247 (char *) "self",(char *) "position",(char *) "redraw", NULL
5248 };
5249
5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5252 if (obj2) {
5253 arg3 = PyInt_AsLong(obj2) ? true : false;
5254 if (PyErr_Occurred()) SWIG_fail;
5255 }
5256 {
5257 PyThreadState* __tstate = wxPyBeginAllowThreads();
5258 (arg1)->SetSashPosition(arg2,arg3);
5259
5260 wxPyEndAllowThreads(__tstate);
5261 if (PyErr_Occurred()) SWIG_fail;
5262 }
5263 Py_INCREF(Py_None); resultobj = Py_None;
5264 return resultobj;
5265 fail:
5266 return NULL;
5267}
5268
5269
5270static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5271 PyObject *resultobj;
5272 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5273 int result;
5274 PyObject * obj0 = 0 ;
5275 char *kwnames[] = {
5276 (char *) "self", NULL
5277 };
5278
5279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5281 {
5282 PyThreadState* __tstate = wxPyBeginAllowThreads();
5283 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5284
5285 wxPyEndAllowThreads(__tstate);
5286 if (PyErr_Occurred()) SWIG_fail;
5287 }
5288 resultobj = PyInt_FromLong((long)result);
5289 return resultobj;
5290 fail:
5291 return NULL;
5292}
5293
5294
5295static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5296 PyObject *resultobj;
5297 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5298 int arg2 ;
5299 PyObject * obj0 = 0 ;
5300 char *kwnames[] = {
5301 (char *) "self",(char *) "min", NULL
5302 };
5303
5304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5306 {
5307 PyThreadState* __tstate = wxPyBeginAllowThreads();
5308 (arg1)->SetMinimumPaneSize(arg2);
5309
5310 wxPyEndAllowThreads(__tstate);
5311 if (PyErr_Occurred()) SWIG_fail;
5312 }
5313 Py_INCREF(Py_None); resultobj = Py_None;
5314 return resultobj;
5315 fail:
5316 return NULL;
5317}
5318
5319
5320static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5321 PyObject *resultobj;
5322 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5323 int result;
5324 PyObject * obj0 = 0 ;
5325 char *kwnames[] = {
5326 (char *) "self", NULL
5327 };
5328
5329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5331 {
5332 PyThreadState* __tstate = wxPyBeginAllowThreads();
5333 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5334
5335 wxPyEndAllowThreads(__tstate);
5336 if (PyErr_Occurred()) SWIG_fail;
5337 }
5338 resultobj = PyInt_FromLong((long)result);
5339 return resultobj;
5340 fail:
5341 return NULL;
5342}
5343
5344
5345static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5346 PyObject *resultobj;
5347 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5348 int arg2 ;
5349 int arg3 ;
5350 int arg4 = (int) 5 ;
5351 bool result;
5352 PyObject * obj0 = 0 ;
5353 char *kwnames[] = {
5354 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5355 };
5356
5357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5359 {
5360 PyThreadState* __tstate = wxPyBeginAllowThreads();
5361 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5362
5363 wxPyEndAllowThreads(__tstate);
5364 if (PyErr_Occurred()) SWIG_fail;
5365 }
5366 resultobj = PyInt_FromLong((long)result);
5367 return resultobj;
5368 fail:
5369 return NULL;
5370}
5371
5372
5373static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5374 PyObject *resultobj;
5375 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5376 PyObject * obj0 = 0 ;
5377 char *kwnames[] = {
5378 (char *) "self", NULL
5379 };
5380
5381 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5382 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5383 {
5384 PyThreadState* __tstate = wxPyBeginAllowThreads();
5385 (arg1)->SizeWindows();
5386
5387 wxPyEndAllowThreads(__tstate);
5388 if (PyErr_Occurred()) SWIG_fail;
5389 }
5390 Py_INCREF(Py_None); resultobj = Py_None;
5391 return resultobj;
5392 fail:
5393 return NULL;
5394}
5395
5396
5397static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5398 PyObject *resultobj;
5399 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5400 bool arg2 ;
5401 PyObject * obj0 = 0 ;
5402 PyObject * obj1 = 0 ;
5403 char *kwnames[] = {
5404 (char *) "self",(char *) "needUpdating", NULL
5405 };
5406
5407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5409 arg2 = PyInt_AsLong(obj1) ? true : false;
5410 if (PyErr_Occurred()) SWIG_fail;
5411 {
5412 PyThreadState* __tstate = wxPyBeginAllowThreads();
5413 (arg1)->SetNeedUpdating(arg2);
5414
5415 wxPyEndAllowThreads(__tstate);
5416 if (PyErr_Occurred()) SWIG_fail;
5417 }
5418 Py_INCREF(Py_None); resultobj = Py_None;
5419 return resultobj;
5420 fail:
5421 return NULL;
5422}
5423
5424
5425static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5426 PyObject *resultobj;
5427 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5428 bool result;
5429 PyObject * obj0 = 0 ;
5430 char *kwnames[] = {
5431 (char *) "self", NULL
5432 };
5433
5434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5436 {
5437 PyThreadState* __tstate = wxPyBeginAllowThreads();
5438 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5439
5440 wxPyEndAllowThreads(__tstate);
5441 if (PyErr_Occurred()) SWIG_fail;
5442 }
5443 resultobj = PyInt_FromLong((long)result);
5444 return resultobj;
5445 fail:
5446 return NULL;
5447}
5448
5449
5450static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5451 PyObject *obj;
5452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5453 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5454 Py_INCREF(obj);
5455 return Py_BuildValue((char *)"");
5456}
5457static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5458 PyObject *resultobj;
5459 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5460 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5461 wxSplitterEvent *result;
5462 PyObject * obj1 = 0 ;
5463 char *kwnames[] = {
5464 (char *) "type",(char *) "splitter", NULL
5465 };
5466
5467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5468 if (obj1) {
5469 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5470 }
5471 {
5472 PyThreadState* __tstate = wxPyBeginAllowThreads();
5473 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5474
5475 wxPyEndAllowThreads(__tstate);
5476 if (PyErr_Occurred()) SWIG_fail;
5477 }
5478 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5479 return resultobj;
5480 fail:
5481 return NULL;
5482}
5483
5484
5485static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5486 PyObject *resultobj;
5487 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5488 int arg2 ;
5489 PyObject * obj0 = 0 ;
5490 char *kwnames[] = {
5491 (char *) "self",(char *) "pos", NULL
5492 };
5493
5494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5495 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5496 {
5497 PyThreadState* __tstate = wxPyBeginAllowThreads();
5498 (arg1)->SetSashPosition(arg2);
5499
5500 wxPyEndAllowThreads(__tstate);
5501 if (PyErr_Occurred()) SWIG_fail;
5502 }
5503 Py_INCREF(Py_None); resultobj = Py_None;
5504 return resultobj;
5505 fail:
5506 return NULL;
5507}
5508
5509
5510static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5511 PyObject *resultobj;
5512 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5513 int result;
5514 PyObject * obj0 = 0 ;
5515 char *kwnames[] = {
5516 (char *) "self", NULL
5517 };
5518
5519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5521 {
5522 PyThreadState* __tstate = wxPyBeginAllowThreads();
5523 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5524
5525 wxPyEndAllowThreads(__tstate);
5526 if (PyErr_Occurred()) SWIG_fail;
5527 }
5528 resultobj = PyInt_FromLong((long)result);
5529 return resultobj;
5530 fail:
5531 return NULL;
5532}
5533
5534
5535static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5536 PyObject *resultobj;
5537 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5538 wxWindow *result;
5539 PyObject * obj0 = 0 ;
5540 char *kwnames[] = {
5541 (char *) "self", NULL
5542 };
5543
5544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5546 {
5547 PyThreadState* __tstate = wxPyBeginAllowThreads();
5548 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5549
5550 wxPyEndAllowThreads(__tstate);
5551 if (PyErr_Occurred()) SWIG_fail;
5552 }
5553 {
5554 resultobj = wxPyMake_wxObject(result);
5555 }
5556 return resultobj;
5557 fail:
5558 return NULL;
5559}
5560
5561
5562static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5563 PyObject *resultobj;
5564 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5565 int result;
5566 PyObject * obj0 = 0 ;
5567 char *kwnames[] = {
5568 (char *) "self", NULL
5569 };
5570
5571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5573 {
5574 PyThreadState* __tstate = wxPyBeginAllowThreads();
5575 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5576
5577 wxPyEndAllowThreads(__tstate);
5578 if (PyErr_Occurred()) SWIG_fail;
5579 }
5580 resultobj = PyInt_FromLong((long)result);
5581 return resultobj;
5582 fail:
5583 return NULL;
5584}
5585
5586
5587static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5588 PyObject *resultobj;
5589 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5590 int result;
5591 PyObject * obj0 = 0 ;
5592 char *kwnames[] = {
5593 (char *) "self", NULL
5594 };
5595
5596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5598 {
5599 PyThreadState* __tstate = wxPyBeginAllowThreads();
5600 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5601
5602 wxPyEndAllowThreads(__tstate);
5603 if (PyErr_Occurred()) SWIG_fail;
5604 }
5605 resultobj = PyInt_FromLong((long)result);
5606 return resultobj;
5607 fail:
5608 return NULL;
5609}
5610
5611
5612static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5613 PyObject *obj;
5614 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5615 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5616 Py_INCREF(obj);
5617 return Py_BuildValue((char *)"");
5618}
d03fd34d
RD
5619static int _wrap_SashNameStr_set(PyObject *_val) {
5620 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
5621 return 1;
5622}
5623
5624
5625static PyObject *_wrap_SashNameStr_get() {
5626 PyObject *pyobj;
5627
5628 {
5629#if wxUSE_UNICODE
5630 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5631#else
5632 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5633#endif
5634 }
5635 return pyobj;
5636}
5637
5638
5639static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
5640 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
5641 return 1;
5642}
5643
5644
5645static PyObject *_wrap_SashLayoutNameStr_get() {
5646 PyObject *pyobj;
5647
5648 {
5649#if wxUSE_UNICODE
5650 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5651#else
5652 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5653#endif
5654 }
5655 return pyobj;
5656}
5657
5658
d14a1e28
RD
5659static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5660 PyObject *resultobj;
5661 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 5662 int arg2 ;
d14a1e28
RD
5663 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5664 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5665 wxSize const &arg4_defvalue = wxDefaultSize ;
5666 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5667 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5668 wxString const &arg6_defvalue = wxPySashNameStr ;
5669 wxString *arg6 = (wxString *) &arg6_defvalue ;
5670 wxSashWindow *result;
5671 wxPoint temp3 ;
5672 wxSize temp4 ;
423f194a 5673 bool temp6 = False ;
d14a1e28
RD
5674 PyObject * obj0 = 0 ;
5675 PyObject * obj2 = 0 ;
5676 PyObject * obj3 = 0 ;
5677 PyObject * obj5 = 0 ;
5678 char *kwnames[] = {
5679 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5680 };
5681
5682 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5683 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5684 if (obj2) {
5685 {
5686 arg3 = &temp3;
5687 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5688 }
5689 }
5690 if (obj3) {
5691 {
5692 arg4 = &temp4;
5693 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5694 }
5695 }
5696 if (obj5) {
5697 {
5698 arg6 = wxString_in_helper(obj5);
5699 if (arg6 == NULL) SWIG_fail;
423f194a 5700 temp6 = True;
d14a1e28
RD
5701 }
5702 }
5703 {
5704 PyThreadState* __tstate = wxPyBeginAllowThreads();
5705 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5706
5707 wxPyEndAllowThreads(__tstate);
5708 if (PyErr_Occurred()) SWIG_fail;
5709 }
5710 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5711 {
5712 if (temp6)
5713 delete arg6;
5714 }
5715 return resultobj;
5716 fail:
5717 {
5718 if (temp6)
5719 delete arg6;
5720 }
5721 return NULL;
5722}
5723
5724
5725static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5726 PyObject *resultobj;
5727 wxSashWindow *result;
5728 char *kwnames[] = {
5729 NULL
5730 };
5731
5732 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5733 {
5734 PyThreadState* __tstate = wxPyBeginAllowThreads();
5735 result = (wxSashWindow *)new wxSashWindow();
5736
5737 wxPyEndAllowThreads(__tstate);
5738 if (PyErr_Occurred()) SWIG_fail;
5739 }
5740 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5741 return resultobj;
5742 fail:
5743 return NULL;
5744}
5745
5746
5747static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5748 PyObject *resultobj;
5749 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5750 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 5751 int arg3 ;
d14a1e28
RD
5752 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5753 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5754 wxSize const &arg5_defvalue = wxDefaultSize ;
5755 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5756 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5757 wxString const &arg7_defvalue = wxPySashNameStr ;
5758 wxString *arg7 = (wxString *) &arg7_defvalue ;
5759 bool result;
5760 wxPoint temp4 ;
5761 wxSize temp5 ;
423f194a 5762 bool temp7 = False ;
d14a1e28
RD
5763 PyObject * obj0 = 0 ;
5764 PyObject * obj1 = 0 ;
5765 PyObject * obj3 = 0 ;
5766 PyObject * obj4 = 0 ;
5767 PyObject * obj6 = 0 ;
5768 char *kwnames[] = {
5769 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5770 };
5771
5772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5774 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5775 if (obj3) {
5776 {
5777 arg4 = &temp4;
5778 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5779 }
5780 }
5781 if (obj4) {
5782 {
5783 arg5 = &temp5;
5784 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5785 }
5786 }
5787 if (obj6) {
5788 {
5789 arg7 = wxString_in_helper(obj6);
5790 if (arg7 == NULL) SWIG_fail;
423f194a 5791 temp7 = True;
d14a1e28
RD
5792 }
5793 }
5794 {
5795 PyThreadState* __tstate = wxPyBeginAllowThreads();
5796 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5797
5798 wxPyEndAllowThreads(__tstate);
5799 if (PyErr_Occurred()) SWIG_fail;
5800 }
5801 resultobj = PyInt_FromLong((long)result);
5802 {
5803 if (temp7)
5804 delete arg7;
5805 }
5806 return resultobj;
5807 fail:
5808 {
5809 if (temp7)
5810 delete arg7;
5811 }
5812 return NULL;
5813}
5814
5815
5816static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5817 PyObject *resultobj;
5818 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5819 int arg2 ;
5820 bool arg3 ;
5821 PyObject * obj0 = 0 ;
5822 PyObject * obj2 = 0 ;
5823 char *kwnames[] = {
5824 (char *) "self",(char *) "edge",(char *) "sash", NULL
5825 };
5826
5827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5829 arg3 = PyInt_AsLong(obj2) ? true : false;
5830 if (PyErr_Occurred()) SWIG_fail;
5831 {
5832 PyThreadState* __tstate = wxPyBeginAllowThreads();
5833 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5834
5835 wxPyEndAllowThreads(__tstate);
5836 if (PyErr_Occurred()) SWIG_fail;
5837 }
5838 Py_INCREF(Py_None); resultobj = Py_None;
5839 return resultobj;
5840 fail:
5841 return NULL;
5842}
5843
5844
5845static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5846 PyObject *resultobj;
5847 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5848 int arg2 ;
5849 bool result;
5850 PyObject * obj0 = 0 ;
5851 char *kwnames[] = {
5852 (char *) "self",(char *) "edge", NULL
5853 };
5854
5855 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5856 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5857 {
5858 PyThreadState* __tstate = wxPyBeginAllowThreads();
5859 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5860
5861 wxPyEndAllowThreads(__tstate);
5862 if (PyErr_Occurred()) SWIG_fail;
5863 }
5864 resultobj = PyInt_FromLong((long)result);
5865 return resultobj;
5866 fail:
5867 return NULL;
5868}
5869
5870
5871static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5872 PyObject *resultobj;
5873 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5874 int arg2 ;
5875 bool arg3 ;
5876 PyObject * obj0 = 0 ;
5877 PyObject * obj2 = 0 ;
5878 char *kwnames[] = {
5879 (char *) "self",(char *) "edge",(char *) "border", NULL
5880 };
5881
5882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5884 arg3 = PyInt_AsLong(obj2) ? true : false;
5885 if (PyErr_Occurred()) SWIG_fail;
5886 {
5887 PyThreadState* __tstate = wxPyBeginAllowThreads();
5888 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5889
5890 wxPyEndAllowThreads(__tstate);
5891 if (PyErr_Occurred()) SWIG_fail;
5892 }
5893 Py_INCREF(Py_None); resultobj = Py_None;
5894 return resultobj;
5895 fail:
5896 return NULL;
5897}
5898
5899
5900static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5901 PyObject *resultobj;
5902 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5903 int arg2 ;
5904 bool result;
5905 PyObject * obj0 = 0 ;
5906 char *kwnames[] = {
5907 (char *) "self",(char *) "edge", NULL
5908 };
5909
5910 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5911 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5912 {
5913 PyThreadState* __tstate = wxPyBeginAllowThreads();
5914 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5915
5916 wxPyEndAllowThreads(__tstate);
5917 if (PyErr_Occurred()) SWIG_fail;
5918 }
5919 resultobj = PyInt_FromLong((long)result);
5920 return resultobj;
5921 fail:
5922 return NULL;
5923}
5924
5925
5926static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5927 PyObject *resultobj;
5928 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5929 int arg2 ;
5930 int result;
5931 PyObject * obj0 = 0 ;
5932 char *kwnames[] = {
5933 (char *) "self",(char *) "edge", NULL
5934 };
5935
5936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5938 {
5939 PyThreadState* __tstate = wxPyBeginAllowThreads();
5940 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5941
5942 wxPyEndAllowThreads(__tstate);
5943 if (PyErr_Occurred()) SWIG_fail;
5944 }
5945 resultobj = PyInt_FromLong((long)result);
5946 return resultobj;
5947 fail:
5948 return NULL;
5949}
5950
5951
5952static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5953 PyObject *resultobj;
5954 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5955 int arg2 ;
5956 PyObject * obj0 = 0 ;
5957 char *kwnames[] = {
5958 (char *) "self",(char *) "width", NULL
5959 };
5960
5961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5963 {
5964 PyThreadState* __tstate = wxPyBeginAllowThreads();
5965 (arg1)->SetDefaultBorderSize(arg2);
5966
5967 wxPyEndAllowThreads(__tstate);
5968 if (PyErr_Occurred()) SWIG_fail;
5969 }
5970 Py_INCREF(Py_None); resultobj = Py_None;
5971 return resultobj;
5972 fail:
5973 return NULL;
5974}
5975
5976
5977static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5978 PyObject *resultobj;
5979 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5980 int result;
5981 PyObject * obj0 = 0 ;
5982 char *kwnames[] = {
5983 (char *) "self", NULL
5984 };
5985
5986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
5987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5988 {
5989 PyThreadState* __tstate = wxPyBeginAllowThreads();
5990 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
5991
5992 wxPyEndAllowThreads(__tstate);
5993 if (PyErr_Occurred()) SWIG_fail;
5994 }
5995 resultobj = PyInt_FromLong((long)result);
5996 return resultobj;
5997 fail:
5998 return NULL;
5999}
6000
6001
6002static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6003 PyObject *resultobj;
6004 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6005 int arg2 ;
6006 PyObject * obj0 = 0 ;
6007 char *kwnames[] = {
6008 (char *) "self",(char *) "width", NULL
6009 };
6010
6011 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6012 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6013 {
6014 PyThreadState* __tstate = wxPyBeginAllowThreads();
6015 (arg1)->SetExtraBorderSize(arg2);
6016
6017 wxPyEndAllowThreads(__tstate);
6018 if (PyErr_Occurred()) SWIG_fail;
6019 }
6020 Py_INCREF(Py_None); resultobj = Py_None;
6021 return resultobj;
6022 fail:
6023 return NULL;
6024}
6025
6026
6027static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6028 PyObject *resultobj;
6029 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6030 int result;
6031 PyObject * obj0 = 0 ;
6032 char *kwnames[] = {
6033 (char *) "self", NULL
6034 };
6035
6036 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6037 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6038 {
6039 PyThreadState* __tstate = wxPyBeginAllowThreads();
6040 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6041
6042 wxPyEndAllowThreads(__tstate);
6043 if (PyErr_Occurred()) SWIG_fail;
6044 }
6045 resultobj = PyInt_FromLong((long)result);
6046 return resultobj;
6047 fail:
6048 return NULL;
6049}
6050
6051
6052static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6053 PyObject *resultobj;
6054 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6055 int arg2 ;
6056 PyObject * obj0 = 0 ;
6057 char *kwnames[] = {
6058 (char *) "self",(char *) "min", NULL
6059 };
6060
6061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6063 {
6064 PyThreadState* __tstate = wxPyBeginAllowThreads();
6065 (arg1)->SetMinimumSizeX(arg2);
6066
6067 wxPyEndAllowThreads(__tstate);
6068 if (PyErr_Occurred()) SWIG_fail;
6069 }
6070 Py_INCREF(Py_None); resultobj = Py_None;
6071 return resultobj;
6072 fail:
6073 return NULL;
6074}
6075
6076
6077static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6078 PyObject *resultobj;
6079 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6080 int arg2 ;
6081 PyObject * obj0 = 0 ;
6082 char *kwnames[] = {
6083 (char *) "self",(char *) "min", NULL
6084 };
6085
6086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6088 {
6089 PyThreadState* __tstate = wxPyBeginAllowThreads();
6090 (arg1)->SetMinimumSizeY(arg2);
6091
6092 wxPyEndAllowThreads(__tstate);
6093 if (PyErr_Occurred()) SWIG_fail;
6094 }
6095 Py_INCREF(Py_None); resultobj = Py_None;
6096 return resultobj;
6097 fail:
6098 return NULL;
6099}
6100
6101
6102static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6103 PyObject *resultobj;
6104 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6105 int result;
6106 PyObject * obj0 = 0 ;
6107 char *kwnames[] = {
6108 (char *) "self", NULL
6109 };
6110
6111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6113 {
6114 PyThreadState* __tstate = wxPyBeginAllowThreads();
6115 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6116
6117 wxPyEndAllowThreads(__tstate);
6118 if (PyErr_Occurred()) SWIG_fail;
6119 }
6120 resultobj = PyInt_FromLong((long)result);
6121 return resultobj;
6122 fail:
6123 return NULL;
6124}
6125
6126
6127static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6128 PyObject *resultobj;
6129 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6130 int result;
6131 PyObject * obj0 = 0 ;
6132 char *kwnames[] = {
6133 (char *) "self", NULL
6134 };
6135
6136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6138 {
6139 PyThreadState* __tstate = wxPyBeginAllowThreads();
6140 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6141
6142 wxPyEndAllowThreads(__tstate);
6143 if (PyErr_Occurred()) SWIG_fail;
6144 }
6145 resultobj = PyInt_FromLong((long)result);
6146 return resultobj;
6147 fail:
6148 return NULL;
6149}
6150
6151
6152static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6153 PyObject *resultobj;
6154 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6155 int arg2 ;
6156 PyObject * obj0 = 0 ;
6157 char *kwnames[] = {
6158 (char *) "self",(char *) "max", NULL
6159 };
6160
6161 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6162 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6163 {
6164 PyThreadState* __tstate = wxPyBeginAllowThreads();
6165 (arg1)->SetMaximumSizeX(arg2);
6166
6167 wxPyEndAllowThreads(__tstate);
6168 if (PyErr_Occurred()) SWIG_fail;
6169 }
6170 Py_INCREF(Py_None); resultobj = Py_None;
6171 return resultobj;
6172 fail:
6173 return NULL;
6174}
6175
6176
6177static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6178 PyObject *resultobj;
6179 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6180 int arg2 ;
6181 PyObject * obj0 = 0 ;
6182 char *kwnames[] = {
6183 (char *) "self",(char *) "max", NULL
6184 };
6185
6186 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6187 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6188 {
6189 PyThreadState* __tstate = wxPyBeginAllowThreads();
6190 (arg1)->SetMaximumSizeY(arg2);
6191
6192 wxPyEndAllowThreads(__tstate);
6193 if (PyErr_Occurred()) SWIG_fail;
6194 }
6195 Py_INCREF(Py_None); resultobj = Py_None;
6196 return resultobj;
6197 fail:
6198 return NULL;
6199}
6200
6201
6202static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6203 PyObject *resultobj;
6204 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6205 int result;
6206 PyObject * obj0 = 0 ;
6207 char *kwnames[] = {
6208 (char *) "self", NULL
6209 };
6210
6211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6213 {
6214 PyThreadState* __tstate = wxPyBeginAllowThreads();
6215 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6216
6217 wxPyEndAllowThreads(__tstate);
6218 if (PyErr_Occurred()) SWIG_fail;
6219 }
6220 resultobj = PyInt_FromLong((long)result);
6221 return resultobj;
6222 fail:
6223 return NULL;
6224}
6225
6226
6227static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6228 PyObject *resultobj;
6229 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6230 int result;
6231 PyObject * obj0 = 0 ;
6232 char *kwnames[] = {
6233 (char *) "self", NULL
6234 };
6235
6236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6237 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6238 {
6239 PyThreadState* __tstate = wxPyBeginAllowThreads();
6240 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6241
6242 wxPyEndAllowThreads(__tstate);
6243 if (PyErr_Occurred()) SWIG_fail;
6244 }
6245 resultobj = PyInt_FromLong((long)result);
6246 return resultobj;
6247 fail:
6248 return NULL;
6249}
6250
6251
6252static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6253 PyObject *resultobj;
6254 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6255 int arg2 ;
6256 int arg3 ;
6257 int arg4 = (int) 2 ;
6258 int result;
6259 PyObject * obj0 = 0 ;
6260 char *kwnames[] = {
6261 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6262 };
6263
6264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6265 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6266 {
6267 PyThreadState* __tstate = wxPyBeginAllowThreads();
6268 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6269
6270 wxPyEndAllowThreads(__tstate);
6271 if (PyErr_Occurred()) SWIG_fail;
6272 }
6273 resultobj = PyInt_FromLong((long)result);
6274 return resultobj;
6275 fail:
6276 return NULL;
6277}
6278
6279
6280static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6281 PyObject *resultobj;
6282 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6283 PyObject * obj0 = 0 ;
6284 char *kwnames[] = {
6285 (char *) "self", NULL
6286 };
6287
6288 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6289 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6290 {
6291 PyThreadState* __tstate = wxPyBeginAllowThreads();
6292 (arg1)->SizeWindows();
6293
6294 wxPyEndAllowThreads(__tstate);
6295 if (PyErr_Occurred()) SWIG_fail;
6296 }
6297 Py_INCREF(Py_None); resultobj = Py_None;
6298 return resultobj;
6299 fail:
6300 return NULL;
6301}
6302
6303
6304static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6305 PyObject *obj;
6306 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6307 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6308 Py_INCREF(obj);
6309 return Py_BuildValue((char *)"");
6310}
6311static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6312 PyObject *resultobj;
6313 int arg1 = (int) 0 ;
6314 int arg2 = (int) wxSASH_NONE ;
6315 wxSashEvent *result;
6316 char *kwnames[] = {
6317 (char *) "id",(char *) "edge", NULL
6318 };
6319
6320 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6321 {
6322 PyThreadState* __tstate = wxPyBeginAllowThreads();
6323 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6324
6325 wxPyEndAllowThreads(__tstate);
6326 if (PyErr_Occurred()) SWIG_fail;
6327 }
6328 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6329 return resultobj;
6330 fail:
6331 return NULL;
6332}
6333
6334
6335static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6336 PyObject *resultobj;
6337 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6338 int arg2 ;
6339 PyObject * obj0 = 0 ;
6340 char *kwnames[] = {
6341 (char *) "self",(char *) "edge", NULL
6342 };
6343
6344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6346 {
6347 PyThreadState* __tstate = wxPyBeginAllowThreads();
6348 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6349
6350 wxPyEndAllowThreads(__tstate);
6351 if (PyErr_Occurred()) SWIG_fail;
6352 }
6353 Py_INCREF(Py_None); resultobj = Py_None;
6354 return resultobj;
6355 fail:
6356 return NULL;
6357}
6358
6359
6360static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6361 PyObject *resultobj;
6362 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6363 int result;
6364 PyObject * obj0 = 0 ;
6365 char *kwnames[] = {
6366 (char *) "self", NULL
6367 };
6368
6369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6371 {
6372 PyThreadState* __tstate = wxPyBeginAllowThreads();
6373 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6374
6375 wxPyEndAllowThreads(__tstate);
6376 if (PyErr_Occurred()) SWIG_fail;
6377 }
6378 resultobj = PyInt_FromLong((long)result);
6379 return resultobj;
6380 fail:
6381 return NULL;
6382}
6383
6384
6385static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6386 PyObject *resultobj;
6387 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6388 wxRect *arg2 = 0 ;
6389 wxRect temp2 ;
6390 PyObject * obj0 = 0 ;
6391 PyObject * obj1 = 0 ;
6392 char *kwnames[] = {
6393 (char *) "self",(char *) "rect", NULL
6394 };
6395
6396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6398 {
6399 arg2 = &temp2;
6400 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6401 }
6402 {
6403 PyThreadState* __tstate = wxPyBeginAllowThreads();
6404 (arg1)->SetDragRect((wxRect const &)*arg2);
6405
6406 wxPyEndAllowThreads(__tstate);
6407 if (PyErr_Occurred()) SWIG_fail;
6408 }
6409 Py_INCREF(Py_None); resultobj = Py_None;
6410 return resultobj;
6411 fail:
6412 return NULL;
6413}
6414
6415
6416static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6417 PyObject *resultobj;
6418 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6419 wxRect result;
6420 PyObject * obj0 = 0 ;
6421 char *kwnames[] = {
6422 (char *) "self", NULL
6423 };
6424
6425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6427 {
6428 PyThreadState* __tstate = wxPyBeginAllowThreads();
6429 result = ((wxSashEvent const *)arg1)->GetDragRect();
6430
6431 wxPyEndAllowThreads(__tstate);
6432 if (PyErr_Occurred()) SWIG_fail;
6433 }
6434 {
6435 wxRect * resultptr;
6436 resultptr = new wxRect((wxRect &) result);
6437 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6438 }
6439 return resultobj;
6440 fail:
6441 return NULL;
6442}
6443
6444
6445static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6446 PyObject *resultobj;
6447 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6448 int arg2 ;
6449 PyObject * obj0 = 0 ;
6450 char *kwnames[] = {
6451 (char *) "self",(char *) "status", NULL
6452 };
6453
6454 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6455 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6456 {
6457 PyThreadState* __tstate = wxPyBeginAllowThreads();
6458 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6459
6460 wxPyEndAllowThreads(__tstate);
6461 if (PyErr_Occurred()) SWIG_fail;
6462 }
6463 Py_INCREF(Py_None); resultobj = Py_None;
6464 return resultobj;
6465 fail:
6466 return NULL;
6467}
6468
6469
6470static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6471 PyObject *resultobj;
6472 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6473 int result;
6474 PyObject * obj0 = 0 ;
6475 char *kwnames[] = {
6476 (char *) "self", NULL
6477 };
6478
6479 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6480 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6481 {
6482 PyThreadState* __tstate = wxPyBeginAllowThreads();
6483 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6484
6485 wxPyEndAllowThreads(__tstate);
6486 if (PyErr_Occurred()) SWIG_fail;
6487 }
6488 resultobj = PyInt_FromLong((long)result);
6489 return resultobj;
6490 fail:
6491 return NULL;
6492}
6493
6494
6495static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6496 PyObject *obj;
6497 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6498 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6499 Py_INCREF(obj);
6500 return Py_BuildValue((char *)"");
6501}
6502static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6503 PyObject *resultobj;
423f194a 6504 int arg1 = (int) 0 ;
d14a1e28
RD
6505 wxQueryLayoutInfoEvent *result;
6506 char *kwnames[] = {
6507 (char *) "id", NULL
6508 };
6509
6510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6511 {
6512 PyThreadState* __tstate = wxPyBeginAllowThreads();
6513 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6514
6515 wxPyEndAllowThreads(__tstate);
6516 if (PyErr_Occurred()) SWIG_fail;
6517 }
6518 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6519 return resultobj;
6520 fail:
6521 return NULL;
6522}
6523
6524
6525static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6526 PyObject *resultobj;
6527 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6528 int arg2 ;
6529 PyObject * obj0 = 0 ;
6530 char *kwnames[] = {
6531 (char *) "self",(char *) "length", NULL
6532 };
6533
6534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6535 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6536 {
6537 PyThreadState* __tstate = wxPyBeginAllowThreads();
6538 (arg1)->SetRequestedLength(arg2);
6539
6540 wxPyEndAllowThreads(__tstate);
6541 if (PyErr_Occurred()) SWIG_fail;
6542 }
6543 Py_INCREF(Py_None); resultobj = Py_None;
6544 return resultobj;
6545 fail:
6546 return NULL;
6547}
6548
6549
6550static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6551 PyObject *resultobj;
6552 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6553 int result;
6554 PyObject * obj0 = 0 ;
6555 char *kwnames[] = {
6556 (char *) "self", NULL
6557 };
6558
6559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6561 {
6562 PyThreadState* __tstate = wxPyBeginAllowThreads();
6563 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6564
6565 wxPyEndAllowThreads(__tstate);
6566 if (PyErr_Occurred()) SWIG_fail;
6567 }
6568 resultobj = PyInt_FromLong((long)result);
6569 return resultobj;
6570 fail:
6571 return NULL;
6572}
6573
6574
6575static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6576 PyObject *resultobj;
6577 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6578 int arg2 ;
6579 PyObject * obj0 = 0 ;
6580 char *kwnames[] = {
6581 (char *) "self",(char *) "flags", NULL
6582 };
6583
6584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6586 {
6587 PyThreadState* __tstate = wxPyBeginAllowThreads();
6588 (arg1)->SetFlags(arg2);
6589
6590 wxPyEndAllowThreads(__tstate);
6591 if (PyErr_Occurred()) SWIG_fail;
6592 }
6593 Py_INCREF(Py_None); resultobj = Py_None;
6594 return resultobj;
6595 fail:
6596 return NULL;
6597}
6598
6599
6600static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6601 PyObject *resultobj;
6602 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6603 int result;
6604 PyObject * obj0 = 0 ;
6605 char *kwnames[] = {
6606 (char *) "self", NULL
6607 };
6608
6609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6611 {
6612 PyThreadState* __tstate = wxPyBeginAllowThreads();
6613 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6614
6615 wxPyEndAllowThreads(__tstate);
6616 if (PyErr_Occurred()) SWIG_fail;
6617 }
6618 resultobj = PyInt_FromLong((long)result);
6619 return resultobj;
6620 fail:
6621 return NULL;
6622}
6623
6624
6625static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6626 PyObject *resultobj;
6627 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6628 wxSize *arg2 = 0 ;
6629 wxSize temp2 ;
6630 PyObject * obj0 = 0 ;
6631 PyObject * obj1 = 0 ;
6632 char *kwnames[] = {
6633 (char *) "self",(char *) "size", NULL
6634 };
6635
6636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6638 {
6639 arg2 = &temp2;
6640 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6641 }
6642 {
6643 PyThreadState* __tstate = wxPyBeginAllowThreads();
6644 (arg1)->SetSize((wxSize const &)*arg2);
6645
6646 wxPyEndAllowThreads(__tstate);
6647 if (PyErr_Occurred()) SWIG_fail;
6648 }
6649 Py_INCREF(Py_None); resultobj = Py_None;
6650 return resultobj;
6651 fail:
6652 return NULL;
6653}
6654
6655
6656static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6657 PyObject *resultobj;
6658 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6659 wxSize result;
6660 PyObject * obj0 = 0 ;
6661 char *kwnames[] = {
6662 (char *) "self", NULL
6663 };
6664
6665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6667 {
6668 PyThreadState* __tstate = wxPyBeginAllowThreads();
6669 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6670
6671 wxPyEndAllowThreads(__tstate);
6672 if (PyErr_Occurred()) SWIG_fail;
6673 }
6674 {
6675 wxSize * resultptr;
6676 resultptr = new wxSize((wxSize &) result);
6677 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6678 }
6679 return resultobj;
6680 fail:
6681 return NULL;
6682}
6683
6684
6685static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6686 PyObject *resultobj;
6687 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6688 int arg2 ;
6689 PyObject * obj0 = 0 ;
6690 char *kwnames[] = {
6691 (char *) "self",(char *) "orient", NULL
6692 };
6693
6694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6695 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6696 {
6697 PyThreadState* __tstate = wxPyBeginAllowThreads();
6698 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6699
6700 wxPyEndAllowThreads(__tstate);
6701 if (PyErr_Occurred()) SWIG_fail;
6702 }
6703 Py_INCREF(Py_None); resultobj = Py_None;
6704 return resultobj;
6705 fail:
6706 return NULL;
6707}
6708
6709
6710static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6711 PyObject *resultobj;
6712 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6713 int result;
6714 PyObject * obj0 = 0 ;
6715 char *kwnames[] = {
6716 (char *) "self", NULL
6717 };
6718
6719 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6720 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6721 {
6722 PyThreadState* __tstate = wxPyBeginAllowThreads();
6723 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6724
6725 wxPyEndAllowThreads(__tstate);
6726 if (PyErr_Occurred()) SWIG_fail;
6727 }
6728 resultobj = PyInt_FromLong((long)result);
6729 return resultobj;
6730 fail:
6731 return NULL;
6732}
6733
6734
6735static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6736 PyObject *resultobj;
6737 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6738 int arg2 ;
6739 PyObject * obj0 = 0 ;
6740 char *kwnames[] = {
6741 (char *) "self",(char *) "align", NULL
6742 };
6743
6744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6746 {
6747 PyThreadState* __tstate = wxPyBeginAllowThreads();
6748 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6749
6750 wxPyEndAllowThreads(__tstate);
6751 if (PyErr_Occurred()) SWIG_fail;
6752 }
6753 Py_INCREF(Py_None); resultobj = Py_None;
6754 return resultobj;
6755 fail:
6756 return NULL;
6757}
6758
6759
6760static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6761 PyObject *resultobj;
6762 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6763 int result;
6764 PyObject * obj0 = 0 ;
6765 char *kwnames[] = {
6766 (char *) "self", NULL
6767 };
6768
6769 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6770 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6771 {
6772 PyThreadState* __tstate = wxPyBeginAllowThreads();
6773 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6774
6775 wxPyEndAllowThreads(__tstate);
6776 if (PyErr_Occurred()) SWIG_fail;
6777 }
6778 resultobj = PyInt_FromLong((long)result);
6779 return resultobj;
6780 fail:
6781 return NULL;
6782}
6783
6784
6785static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6786 PyObject *obj;
6787 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6788 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6789 Py_INCREF(obj);
6790 return Py_BuildValue((char *)"");
6791}
6792static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6793 PyObject *resultobj;
423f194a 6794 int arg1 = (int) 0 ;
d14a1e28
RD
6795 wxCalculateLayoutEvent *result;
6796 char *kwnames[] = {
6797 (char *) "id", NULL
6798 };
6799
6800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6801 {
6802 PyThreadState* __tstate = wxPyBeginAllowThreads();
6803 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6804
6805 wxPyEndAllowThreads(__tstate);
6806 if (PyErr_Occurred()) SWIG_fail;
6807 }
6808 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6809 return resultobj;
6810 fail:
6811 return NULL;
6812}
6813
6814
6815static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6816 PyObject *resultobj;
6817 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6818 int arg2 ;
6819 PyObject * obj0 = 0 ;
6820 char *kwnames[] = {
6821 (char *) "self",(char *) "flags", NULL
6822 };
6823
6824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6826 {
6827 PyThreadState* __tstate = wxPyBeginAllowThreads();
6828 (arg1)->SetFlags(arg2);
6829
6830 wxPyEndAllowThreads(__tstate);
6831 if (PyErr_Occurred()) SWIG_fail;
6832 }
6833 Py_INCREF(Py_None); resultobj = Py_None;
6834 return resultobj;
6835 fail:
6836 return NULL;
6837}
6838
6839
6840static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6841 PyObject *resultobj;
6842 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6843 int result;
6844 PyObject * obj0 = 0 ;
6845 char *kwnames[] = {
6846 (char *) "self", NULL
6847 };
6848
6849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6851 {
6852 PyThreadState* __tstate = wxPyBeginAllowThreads();
6853 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6854
6855 wxPyEndAllowThreads(__tstate);
6856 if (PyErr_Occurred()) SWIG_fail;
6857 }
6858 resultobj = PyInt_FromLong((long)result);
6859 return resultobj;
6860 fail:
6861 return NULL;
6862}
6863
6864
6865static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6866 PyObject *resultobj;
6867 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6868 wxRect *arg2 = 0 ;
6869 wxRect temp2 ;
6870 PyObject * obj0 = 0 ;
6871 PyObject * obj1 = 0 ;
6872 char *kwnames[] = {
6873 (char *) "self",(char *) "rect", NULL
6874 };
6875
6876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6878 {
6879 arg2 = &temp2;
6880 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6881 }
6882 {
6883 PyThreadState* __tstate = wxPyBeginAllowThreads();
6884 (arg1)->SetRect((wxRect const &)*arg2);
6885
6886 wxPyEndAllowThreads(__tstate);
6887 if (PyErr_Occurred()) SWIG_fail;
6888 }
6889 Py_INCREF(Py_None); resultobj = Py_None;
6890 return resultobj;
6891 fail:
6892 return NULL;
6893}
6894
6895
6896static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6897 PyObject *resultobj;
6898 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6899 wxRect result;
6900 PyObject * obj0 = 0 ;
6901 char *kwnames[] = {
6902 (char *) "self", NULL
6903 };
6904
6905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6907 {
6908 PyThreadState* __tstate = wxPyBeginAllowThreads();
6909 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6910
6911 wxPyEndAllowThreads(__tstate);
6912 if (PyErr_Occurred()) SWIG_fail;
6913 }
6914 {
6915 wxRect * resultptr;
6916 resultptr = new wxRect((wxRect &) result);
6917 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6918 }
6919 return resultobj;
6920 fail:
6921 return NULL;
6922}
6923
6924
6925static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6926 PyObject *obj;
6927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6928 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6929 Py_INCREF(obj);
6930 return Py_BuildValue((char *)"");
6931}
6932static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6933 PyObject *resultobj;
6934 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 6935 int arg2 ;
d14a1e28
RD
6936 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6937 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6938 wxSize const &arg4_defvalue = wxDefaultSize ;
6939 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6940 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6941 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6942 wxString *arg6 = (wxString *) &arg6_defvalue ;
6943 wxSashLayoutWindow *result;
6944 wxPoint temp3 ;
6945 wxSize temp4 ;
423f194a 6946 bool temp6 = False ;
d14a1e28
RD
6947 PyObject * obj0 = 0 ;
6948 PyObject * obj2 = 0 ;
6949 PyObject * obj3 = 0 ;
6950 PyObject * obj5 = 0 ;
6951 char *kwnames[] = {
6952 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6953 };
6954
6955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6957 if (obj2) {
6958 {
6959 arg3 = &temp3;
6960 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6961 }
6962 }
6963 if (obj3) {
6964 {
6965 arg4 = &temp4;
6966 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6967 }
6968 }
6969 if (obj5) {
6970 {
6971 arg6 = wxString_in_helper(obj5);
6972 if (arg6 == NULL) SWIG_fail;
423f194a 6973 temp6 = True;
d14a1e28
RD
6974 }
6975 }
6976 {
6977 PyThreadState* __tstate = wxPyBeginAllowThreads();
6978 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6979
6980 wxPyEndAllowThreads(__tstate);
6981 if (PyErr_Occurred()) SWIG_fail;
6982 }
6983 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6984 {
6985 if (temp6)
6986 delete arg6;
6987 }
6988 return resultobj;
6989 fail:
6990 {
6991 if (temp6)
6992 delete arg6;
6993 }
6994 return NULL;
6995}
6996
6997
6998static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6999 PyObject *resultobj;
7000 wxSashLayoutWindow *result;
7001 char *kwnames[] = {
7002 NULL
7003 };
7004
7005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
7013 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7014 return resultobj;
7015 fail:
7016 return NULL;
7017}
7018
7019
7020static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj;
7022 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7023 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 7024 int arg3 ;
d14a1e28
RD
7025 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7026 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7027 wxSize const &arg5_defvalue = wxDefaultSize ;
7028 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7029 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7030 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7031 wxString *arg7 = (wxString *) &arg7_defvalue ;
7032 bool result;
7033 wxPoint temp4 ;
7034 wxSize temp5 ;
423f194a 7035 bool temp7 = False ;
d14a1e28
RD
7036 PyObject * obj0 = 0 ;
7037 PyObject * obj1 = 0 ;
7038 PyObject * obj3 = 0 ;
7039 PyObject * obj4 = 0 ;
7040 PyObject * obj6 = 0 ;
7041 char *kwnames[] = {
7042 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7043 };
7044
7045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7047 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7048 if (obj3) {
7049 {
7050 arg4 = &temp4;
7051 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7052 }
7053 }
7054 if (obj4) {
7055 {
7056 arg5 = &temp5;
7057 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7058 }
7059 }
7060 if (obj6) {
7061 {
7062 arg7 = wxString_in_helper(obj6);
7063 if (arg7 == NULL) SWIG_fail;
423f194a 7064 temp7 = True;
d14a1e28
RD
7065 }
7066 }
7067 {
7068 PyThreadState* __tstate = wxPyBeginAllowThreads();
7069 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7070
7071 wxPyEndAllowThreads(__tstate);
7072 if (PyErr_Occurred()) SWIG_fail;
7073 }
7074 resultobj = PyInt_FromLong((long)result);
7075 {
7076 if (temp7)
7077 delete arg7;
7078 }
7079 return resultobj;
7080 fail:
7081 {
7082 if (temp7)
7083 delete arg7;
7084 }
7085 return NULL;
7086}
7087
7088
7089static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7090 PyObject *resultobj;
7091 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7092 int result;
7093 PyObject * obj0 = 0 ;
7094 char *kwnames[] = {
7095 (char *) "self", NULL
7096 };
7097
7098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7100 {
7101 PyThreadState* __tstate = wxPyBeginAllowThreads();
7102 result = (int)(arg1)->GetAlignment();
7103
7104 wxPyEndAllowThreads(__tstate);
7105 if (PyErr_Occurred()) SWIG_fail;
7106 }
7107 resultobj = PyInt_FromLong((long)result);
7108 return resultobj;
7109 fail:
7110 return NULL;
7111}
7112
7113
7114static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7115 PyObject *resultobj;
7116 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7117 int result;
7118 PyObject * obj0 = 0 ;
7119 char *kwnames[] = {
7120 (char *) "self", NULL
7121 };
7122
7123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7125 {
7126 PyThreadState* __tstate = wxPyBeginAllowThreads();
7127 result = (int)(arg1)->GetOrientation();
7128
7129 wxPyEndAllowThreads(__tstate);
7130 if (PyErr_Occurred()) SWIG_fail;
7131 }
7132 resultobj = PyInt_FromLong((long)result);
7133 return resultobj;
7134 fail:
7135 return NULL;
7136}
7137
7138
7139static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7140 PyObject *resultobj;
7141 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7142 int arg2 ;
7143 PyObject * obj0 = 0 ;
7144 char *kwnames[] = {
7145 (char *) "self",(char *) "alignment", NULL
7146 };
7147
7148 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7149 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7150 {
7151 PyThreadState* __tstate = wxPyBeginAllowThreads();
7152 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7153
7154 wxPyEndAllowThreads(__tstate);
7155 if (PyErr_Occurred()) SWIG_fail;
7156 }
7157 Py_INCREF(Py_None); resultobj = Py_None;
7158 return resultobj;
7159 fail:
7160 return NULL;
7161}
7162
7163
7164static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7165 PyObject *resultobj;
7166 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7167 wxSize *arg2 = 0 ;
7168 wxSize temp2 ;
7169 PyObject * obj0 = 0 ;
7170 PyObject * obj1 = 0 ;
7171 char *kwnames[] = {
7172 (char *) "self",(char *) "size", NULL
7173 };
7174
7175 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7176 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7177 {
7178 arg2 = &temp2;
7179 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7180 }
7181 {
7182 PyThreadState* __tstate = wxPyBeginAllowThreads();
7183 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7184
7185 wxPyEndAllowThreads(__tstate);
7186 if (PyErr_Occurred()) SWIG_fail;
7187 }
7188 Py_INCREF(Py_None); resultobj = Py_None;
7189 return resultobj;
7190 fail:
7191 return NULL;
7192}
7193
7194
7195static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7196 PyObject *resultobj;
7197 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7198 int arg2 ;
7199 PyObject * obj0 = 0 ;
7200 char *kwnames[] = {
7201 (char *) "self",(char *) "orientation", NULL
7202 };
7203
7204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7206 {
7207 PyThreadState* __tstate = wxPyBeginAllowThreads();
7208 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7209
7210 wxPyEndAllowThreads(__tstate);
7211 if (PyErr_Occurred()) SWIG_fail;
7212 }
7213 Py_INCREF(Py_None); resultobj = Py_None;
7214 return resultobj;
7215 fail:
7216 return NULL;
7217}
7218
7219
7220static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7221 PyObject *obj;
7222 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7223 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7224 Py_INCREF(obj);
7225 return Py_BuildValue((char *)"");
7226}
7227static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7228 PyObject *resultobj;
7229 wxLayoutAlgorithm *result;
7230 char *kwnames[] = {
7231 NULL
7232 };
7233
7234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7235 {
7236 PyThreadState* __tstate = wxPyBeginAllowThreads();
7237 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7238
7239 wxPyEndAllowThreads(__tstate);
7240 if (PyErr_Occurred()) SWIG_fail;
7241 }
7242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7243 return resultobj;
7244 fail:
7245 return NULL;
7246}
7247
7248
7249static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7250 PyObject *resultobj;
7251 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7252 PyObject * obj0 = 0 ;
7253 char *kwnames[] = {
7254 (char *) "self", NULL
7255 };
7256
7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7259 {
7260 PyThreadState* __tstate = wxPyBeginAllowThreads();
7261 delete arg1;
7262
7263 wxPyEndAllowThreads(__tstate);
7264 if (PyErr_Occurred()) SWIG_fail;
7265 }
7266 Py_INCREF(Py_None); resultobj = Py_None;
7267 return resultobj;
7268 fail:
7269 return NULL;
7270}
7271
7272
7273static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7274 PyObject *resultobj;
7275 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7276 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7277 wxRect *arg3 = (wxRect *) NULL ;
7278 bool result;
7279 PyObject * obj0 = 0 ;
7280 PyObject * obj1 = 0 ;
7281 PyObject * obj2 = 0 ;
7282 char *kwnames[] = {
7283 (char *) "self",(char *) "frame",(char *) "rect", NULL
7284 };
7285
7286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7288 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7289 if (obj2) {
7290 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7291 }
7292 {
7293 PyThreadState* __tstate = wxPyBeginAllowThreads();
7294 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7295
7296 wxPyEndAllowThreads(__tstate);
7297 if (PyErr_Occurred()) SWIG_fail;
7298 }
7299 resultobj = PyInt_FromLong((long)result);
7300 return resultobj;
7301 fail:
7302 return NULL;
7303}
7304
7305
7306static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7307 PyObject *resultobj;
7308 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7309 wxFrame *arg2 = (wxFrame *) 0 ;
7310 wxWindow *arg3 = (wxWindow *) NULL ;
7311 bool result;
7312 PyObject * obj0 = 0 ;
7313 PyObject * obj1 = 0 ;
7314 PyObject * obj2 = 0 ;
7315 char *kwnames[] = {
7316 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7317 };
7318
7319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7321 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7322 if (obj2) {
7323 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7324 }
7325 {
7326 PyThreadState* __tstate = wxPyBeginAllowThreads();
7327 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7328
7329 wxPyEndAllowThreads(__tstate);
7330 if (PyErr_Occurred()) SWIG_fail;
7331 }
7332 resultobj = PyInt_FromLong((long)result);
7333 return resultobj;
7334 fail:
7335 return NULL;
7336}
7337
7338
7339static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7340 PyObject *resultobj;
7341 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7342 wxWindow *arg2 = (wxWindow *) 0 ;
7343 wxWindow *arg3 = (wxWindow *) NULL ;
7344 bool result;
7345 PyObject * obj0 = 0 ;
7346 PyObject * obj1 = 0 ;
7347 PyObject * obj2 = 0 ;
7348 char *kwnames[] = {
7349 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7350 };
7351
7352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,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 if (obj2) {
7356 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7357 }
7358 {
7359 PyThreadState* __tstate = wxPyBeginAllowThreads();
7360 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7361
7362 wxPyEndAllowThreads(__tstate);
7363 if (PyErr_Occurred()) SWIG_fail;
7364 }
7365 resultobj = PyInt_FromLong((long)result);
7366 return resultobj;
7367 fail:
7368 return NULL;
7369}
7370
7371
7372static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7373 PyObject *obj;
7374 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7375 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7376 Py_INCREF(obj);
7377 return Py_BuildValue((char *)"");
7378}
7379static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7380 PyObject *resultobj;
7381 wxWindow *arg1 = (wxWindow *) 0 ;
7382 int arg2 = (int) wxBORDER_NONE ;
7383 wxPopupWindow *result;
7384 PyObject * obj0 = 0 ;
7385 char *kwnames[] = {
7386 (char *) "parent",(char *) "flags", NULL
7387 };
7388
7389 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7390 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7391 {
7392 PyThreadState* __tstate = wxPyBeginAllowThreads();
7393 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7394
7395 wxPyEndAllowThreads(__tstate);
7396 if (PyErr_Occurred()) SWIG_fail;
7397 }
7398 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7399 return resultobj;
7400 fail:
7401 return NULL;
7402}
7403
7404
7405static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7406 PyObject *resultobj;
7407 wxPopupWindow *result;
7408 char *kwnames[] = {
7409 NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7413 {
7414 PyThreadState* __tstate = wxPyBeginAllowThreads();
7415 result = (wxPopupWindow *)new wxPopupWindow();
7416
7417 wxPyEndAllowThreads(__tstate);
7418 if (PyErr_Occurred()) SWIG_fail;
7419 }
7420 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7421 return resultobj;
7422 fail:
7423 return NULL;
7424}
7425
7426
7427static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7428 PyObject *resultobj;
7429 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7430 wxWindow *arg2 = (wxWindow *) 0 ;
7431 int arg3 = (int) wxBORDER_NONE ;
7432 bool result;
7433 PyObject * obj0 = 0 ;
7434 PyObject * obj1 = 0 ;
7435 char *kwnames[] = {
7436 (char *) "self",(char *) "parent",(char *) "flags", NULL
7437 };
7438
7439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7441 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7442 {
7443 PyThreadState* __tstate = wxPyBeginAllowThreads();
7444 result = (bool)(arg1)->Create(arg2,arg3);
7445
7446 wxPyEndAllowThreads(__tstate);
7447 if (PyErr_Occurred()) SWIG_fail;
7448 }
7449 resultobj = PyInt_FromLong((long)result);
7450 return resultobj;
7451 fail:
7452 return NULL;
7453}
7454
7455
7456static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7457 PyObject *resultobj;
7458 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7459 wxPoint *arg2 = 0 ;
7460 wxSize *arg3 = 0 ;
7461 wxPoint temp2 ;
7462 wxSize temp3 ;
7463 PyObject * obj0 = 0 ;
7464 PyObject * obj1 = 0 ;
7465 PyObject * obj2 = 0 ;
7466 char *kwnames[] = {
7467 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7468 };
7469
7470 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7471 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7472 {
7473 arg2 = &temp2;
7474 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7475 }
7476 {
7477 arg3 = &temp3;
7478 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7479 }
7480 {
7481 PyThreadState* __tstate = wxPyBeginAllowThreads();
7482 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7483
7484 wxPyEndAllowThreads(__tstate);
7485 if (PyErr_Occurred()) SWIG_fail;
7486 }
7487 Py_INCREF(Py_None); resultobj = Py_None;
7488 return resultobj;
7489 fail:
7490 return NULL;
7491}
7492
7493
7494static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7495 PyObject *obj;
7496 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7497 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7498 Py_INCREF(obj);
7499 return Py_BuildValue((char *)"");
7500}
7501static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7502 PyObject *resultobj;
7503 wxWindow *arg1 = (wxWindow *) 0 ;
7504 int arg2 = (int) wxBORDER_NONE ;
7505 wxPyPopupTransientWindow *result;
7506 PyObject * obj0 = 0 ;
7507 char *kwnames[] = {
7508 (char *) "parent",(char *) "style", NULL
7509 };
7510
7511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7513 {
7514 PyThreadState* __tstate = wxPyBeginAllowThreads();
7515 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7516
7517 wxPyEndAllowThreads(__tstate);
7518 if (PyErr_Occurred()) SWIG_fail;
7519 }
7520 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7521 return resultobj;
7522 fail:
7523 return NULL;
7524}
7525
7526
7527static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7528 PyObject *resultobj;
7529 wxPyPopupTransientWindow *result;
7530 char *kwnames[] = {
7531 NULL
7532 };
7533
7534 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7535 {
7536 PyThreadState* __tstate = wxPyBeginAllowThreads();
7537 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7538
7539 wxPyEndAllowThreads(__tstate);
7540 if (PyErr_Occurred()) SWIG_fail;
7541 }
7542 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7543 return resultobj;
7544 fail:
7545 return NULL;
7546}
7547
7548
7549static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7550 PyObject *resultobj;
7551 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7552 PyObject *arg2 = (PyObject *) 0 ;
7553 PyObject *arg3 = (PyObject *) 0 ;
7554 PyObject * obj0 = 0 ;
7555 PyObject * obj1 = 0 ;
7556 PyObject * obj2 = 0 ;
7557 char *kwnames[] = {
7558 (char *) "self",(char *) "self",(char *) "_class", NULL
7559 };
7560
7561 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7562 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7563 arg2 = obj1;
7564 arg3 = obj2;
7565 {
7566 PyThreadState* __tstate = wxPyBeginAllowThreads();
7567 (arg1)->_setCallbackInfo(arg2,arg3);
7568
7569 wxPyEndAllowThreads(__tstate);
7570 if (PyErr_Occurred()) SWIG_fail;
7571 }
7572 Py_INCREF(Py_None); resultobj = Py_None;
7573 return resultobj;
7574 fail:
7575 return NULL;
7576}
7577
7578
7579static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7580 PyObject *resultobj;
7581 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7582 wxWindow *arg2 = (wxWindow *) NULL ;
7583 PyObject * obj0 = 0 ;
7584 PyObject * obj1 = 0 ;
7585 char *kwnames[] = {
7586 (char *) "self",(char *) "focus", NULL
7587 };
7588
7589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7591 if (obj1) {
7592 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7593 }
7594 {
7595 PyThreadState* __tstate = wxPyBeginAllowThreads();
7596 (arg1)->Popup(arg2);
7597
7598 wxPyEndAllowThreads(__tstate);
7599 if (PyErr_Occurred()) SWIG_fail;
7600 }
7601 Py_INCREF(Py_None); resultobj = Py_None;
7602 return resultobj;
7603 fail:
7604 return NULL;
7605}
7606
7607
7608static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7609 PyObject *resultobj;
7610 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7611 PyObject * obj0 = 0 ;
7612 char *kwnames[] = {
7613 (char *) "self", NULL
7614 };
7615
7616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7618 {
7619 PyThreadState* __tstate = wxPyBeginAllowThreads();
7620 (arg1)->Dismiss();
7621
7622 wxPyEndAllowThreads(__tstate);
7623 if (PyErr_Occurred()) SWIG_fail;
7624 }
7625 Py_INCREF(Py_None); resultobj = Py_None;
7626 return resultobj;
7627 fail:
7628 return NULL;
7629}
7630
7631
7632static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7633 PyObject *obj;
7634 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7635 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7636 Py_INCREF(obj);
7637 return Py_BuildValue((char *)"");
7638}
7639static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7640 PyObject *resultobj;
7641 wxWindow *arg1 = (wxWindow *) 0 ;
8a0b029b 7642 wxString *arg2 = 0 ;
423f194a 7643 int arg3 = (int) 100 ;
d14a1e28
RD
7644 wxRect *arg4 = (wxRect *) NULL ;
7645 wxTipWindow *result;
8a0b029b 7646 bool temp2 = False ;
d14a1e28
RD
7647 PyObject * obj0 = 0 ;
7648 PyObject * obj1 = 0 ;
7649 PyObject * obj3 = 0 ;
7650 char *kwnames[] = {
7651 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7652 };
7653
7654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8a0b029b
RD
7656 {
7657 arg2 = wxString_in_helper(obj1);
7658 if (arg2 == NULL) SWIG_fail;
7659 temp2 = True;
7660 }
d14a1e28
RD
7661 if (obj3) {
7662 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7663 }
7664 {
7665 PyThreadState* __tstate = wxPyBeginAllowThreads();
8a0b029b 7666 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
7667
7668 wxPyEndAllowThreads(__tstate);
7669 if (PyErr_Occurred()) SWIG_fail;
7670 }
7671 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
8a0b029b
RD
7672 {
7673 if (temp2)
7674 delete arg2;
7675 }
d14a1e28
RD
7676 return resultobj;
7677 fail:
8a0b029b
RD
7678 {
7679 if (temp2)
7680 delete arg2;
7681 }
d14a1e28
RD
7682 return NULL;
7683}
7684
7685
7686static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7687 PyObject *resultobj;
7688 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7689 wxRect *arg2 = 0 ;
7690 wxRect temp2 ;
7691 PyObject * obj0 = 0 ;
7692 PyObject * obj1 = 0 ;
7693 char *kwnames[] = {
7694 (char *) "self",(char *) "rectBound", NULL
7695 };
7696
7697 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7698 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7699 {
7700 arg2 = &temp2;
7701 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7702 }
7703 {
7704 PyThreadState* __tstate = wxPyBeginAllowThreads();
7705 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7706
7707 wxPyEndAllowThreads(__tstate);
7708 if (PyErr_Occurred()) SWIG_fail;
7709 }
7710 Py_INCREF(Py_None); resultobj = Py_None;
7711 return resultobj;
7712 fail:
7713 return NULL;
7714}
7715
7716
7717static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7718 PyObject *resultobj;
7719 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7720 PyObject * obj0 = 0 ;
7721 char *kwnames[] = {
7722 (char *) "self", NULL
7723 };
7724
7725 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7726 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7727 {
7728 PyThreadState* __tstate = wxPyBeginAllowThreads();
7729 (arg1)->Close();
7730
7731 wxPyEndAllowThreads(__tstate);
7732 if (PyErr_Occurred()) SWIG_fail;
7733 }
7734 Py_INCREF(Py_None); resultobj = Py_None;
7735 return resultobj;
7736 fail:
7737 return NULL;
7738}
7739
7740
7741static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7742 PyObject *obj;
7743 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7744 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7745 Py_INCREF(obj);
7746 return Py_BuildValue((char *)"");
7747}
7748static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7749 PyObject *resultobj;
7750 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 7751 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
7752 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7753 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7754 wxSize const &arg4_defvalue = wxDefaultSize ;
7755 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7756 long arg5 = (long) 0 ;
7757 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7758 wxString *arg6 = (wxString *) &arg6_defvalue ;
7759 wxPyVScrolledWindow *result;
7760 wxPoint temp3 ;
7761 wxSize temp4 ;
423f194a 7762 bool temp6 = False ;
d14a1e28
RD
7763 PyObject * obj0 = 0 ;
7764 PyObject * obj2 = 0 ;
7765 PyObject * obj3 = 0 ;
7766 PyObject * obj5 = 0 ;
7767 char *kwnames[] = {
7768 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7769 };
7770
7771 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7772 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7773 if (obj2) {
7774 {
7775 arg3 = &temp3;
7776 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7777 }
7778 }
7779 if (obj3) {
7780 {
7781 arg4 = &temp4;
7782 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7783 }
7784 }
7785 if (obj5) {
7786 {
7787 arg6 = wxString_in_helper(obj5);
7788 if (arg6 == NULL) SWIG_fail;
423f194a 7789 temp6 = True;
d14a1e28
RD
7790 }
7791 }
7792 {
7793 PyThreadState* __tstate = wxPyBeginAllowThreads();
7794 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7795
7796 wxPyEndAllowThreads(__tstate);
7797 if (PyErr_Occurred()) SWIG_fail;
7798 }
7799 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7800 {
7801 if (temp6)
7802 delete arg6;
7803 }
7804 return resultobj;
7805 fail:
7806 {
7807 if (temp6)
7808 delete arg6;
7809 }
7810 return NULL;
7811}
7812
7813
7814static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7815 PyObject *resultobj;
7816 wxPyVScrolledWindow *result;
7817 char *kwnames[] = {
7818 NULL
7819 };
7820
7821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7825
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7830 return resultobj;
7831 fail:
7832 return NULL;
7833}
7834
7835
7836static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7837 PyObject *resultobj;
7838 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7839 PyObject *arg2 = (PyObject *) 0 ;
7840 PyObject *arg3 = (PyObject *) 0 ;
7841 PyObject * obj0 = 0 ;
7842 PyObject * obj1 = 0 ;
7843 PyObject * obj2 = 0 ;
7844 char *kwnames[] = {
7845 (char *) "self",(char *) "self",(char *) "_class", NULL
7846 };
7847
7848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7850 arg2 = obj1;
7851 arg3 = obj2;
7852 {
7853 PyThreadState* __tstate = wxPyBeginAllowThreads();
7854 (arg1)->_setCallbackInfo(arg2,arg3);
7855
7856 wxPyEndAllowThreads(__tstate);
7857 if (PyErr_Occurred()) SWIG_fail;
7858 }
7859 Py_INCREF(Py_None); resultobj = Py_None;
7860 return resultobj;
7861 fail:
7862 return NULL;
7863}
7864
7865
7866static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7867 PyObject *resultobj;
7868 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7869 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 7870 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
7871 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7872 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7873 wxSize const &arg5_defvalue = wxDefaultSize ;
7874 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7875 long arg6 = (long) 0 ;
7876 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7877 wxString *arg7 = (wxString *) &arg7_defvalue ;
7878 bool result;
7879 wxPoint temp4 ;
7880 wxSize temp5 ;
423f194a 7881 bool temp7 = False ;
d14a1e28
RD
7882 PyObject * obj0 = 0 ;
7883 PyObject * obj1 = 0 ;
7884 PyObject * obj3 = 0 ;
7885 PyObject * obj4 = 0 ;
7886 PyObject * obj6 = 0 ;
7887 char *kwnames[] = {
7888 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7889 };
7890
7891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7893 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7894 if (obj3) {
7895 {
7896 arg4 = &temp4;
7897 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7898 }
7899 }
7900 if (obj4) {
7901 {
7902 arg5 = &temp5;
7903 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7904 }
7905 }
7906 if (obj6) {
7907 {
7908 arg7 = wxString_in_helper(obj6);
7909 if (arg7 == NULL) SWIG_fail;
423f194a 7910 temp7 = True;
d14a1e28
RD
7911 }
7912 }
7913 {
7914 PyThreadState* __tstate = wxPyBeginAllowThreads();
7915 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7916
7917 wxPyEndAllowThreads(__tstate);
7918 if (PyErr_Occurred()) SWIG_fail;
7919 }
7920 resultobj = PyInt_FromLong((long)result);
7921 {
7922 if (temp7)
7923 delete arg7;
7924 }
7925 return resultobj;
7926 fail:
7927 {
7928 if (temp7)
7929 delete arg7;
7930 }
7931 return NULL;
7932}
7933
7934
7935static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7936 PyObject *resultobj;
7937 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7938 size_t arg2 ;
7939 PyObject * obj0 = 0 ;
7940 PyObject * obj1 = 0 ;
7941 char *kwnames[] = {
7942 (char *) "self",(char *) "count", NULL
7943 };
7944
7945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7947 arg2 = (size_t) PyInt_AsLong(obj1);
7948 if (PyErr_Occurred()) SWIG_fail;
7949 {
7950 PyThreadState* __tstate = wxPyBeginAllowThreads();
7951 (arg1)->SetLineCount(arg2);
7952
7953 wxPyEndAllowThreads(__tstate);
7954 if (PyErr_Occurred()) SWIG_fail;
7955 }
7956 Py_INCREF(Py_None); resultobj = Py_None;
7957 return resultobj;
7958 fail:
7959 return NULL;
7960}
7961
7962
7963static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7964 PyObject *resultobj;
7965 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7966 size_t arg2 ;
7967 bool result;
7968 PyObject * obj0 = 0 ;
7969 PyObject * obj1 = 0 ;
7970 char *kwnames[] = {
7971 (char *) "self",(char *) "line", NULL
7972 };
7973
7974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
7975 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7976 arg2 = (size_t) PyInt_AsLong(obj1);
7977 if (PyErr_Occurred()) SWIG_fail;
7978 {
7979 PyThreadState* __tstate = wxPyBeginAllowThreads();
7980 result = (bool)(arg1)->ScrollToLine(arg2);
7981
7982 wxPyEndAllowThreads(__tstate);
7983 if (PyErr_Occurred()) SWIG_fail;
7984 }
7985 resultobj = PyInt_FromLong((long)result);
7986 return resultobj;
7987 fail:
7988 return NULL;
7989}
7990
7991
7992static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7993 PyObject *resultobj;
7994 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7995 int arg2 ;
7996 bool result;
7997 PyObject * obj0 = 0 ;
7998 char *kwnames[] = {
7999 (char *) "self",(char *) "lines", NULL
8000 };
8001
8002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
8003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8004 {
8005 PyThreadState* __tstate = wxPyBeginAllowThreads();
8006 result = (bool)(arg1)->ScrollLines(arg2);
8007
8008 wxPyEndAllowThreads(__tstate);
8009 if (PyErr_Occurred()) SWIG_fail;
8010 }
8011 resultobj = PyInt_FromLong((long)result);
8012 return resultobj;
8013 fail:
8014 return NULL;
8015}
8016
8017
8018static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
8019 PyObject *resultobj;
8020 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8021 int arg2 ;
8022 bool result;
8023 PyObject * obj0 = 0 ;
8024 char *kwnames[] = {
8025 (char *) "self",(char *) "pages", NULL
8026 };
8027
8028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) 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 = (bool)(arg1)->ScrollPages(arg2);
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_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8045 PyObject *resultobj;
8046 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8047 size_t arg2 ;
8048 PyObject * obj0 = 0 ;
8049 PyObject * obj1 = 0 ;
8050 char *kwnames[] = {
8051 (char *) "self",(char *) "line", NULL
8052 };
8053
8054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
8055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8056 arg2 = (size_t) PyInt_AsLong(obj1);
8057 if (PyErr_Occurred()) SWIG_fail;
8058 {
8059 PyThreadState* __tstate = wxPyBeginAllowThreads();
8060 (arg1)->RefreshLine(arg2);
8061
8062 wxPyEndAllowThreads(__tstate);
8063 if (PyErr_Occurred()) SWIG_fail;
8064 }
8065 Py_INCREF(Py_None); resultobj = Py_None;
8066 return resultobj;
8067 fail:
8068 return NULL;
8069}
8070
8071
8072static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
8073 PyObject *resultobj;
8074 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8075 size_t arg2 ;
8076 size_t arg3 ;
8077 PyObject * obj0 = 0 ;
8078 PyObject * obj1 = 0 ;
8079 PyObject * obj2 = 0 ;
8080 char *kwnames[] = {
8081 (char *) "self",(char *) "from",(char *) "to", NULL
8082 };
8083
8084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
8085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8086 arg2 = (size_t) PyInt_AsLong(obj1);
8087 if (PyErr_Occurred()) SWIG_fail;
8088 arg3 = (size_t) PyInt_AsLong(obj2);
8089 if (PyErr_Occurred()) SWIG_fail;
8090 {
8091 PyThreadState* __tstate = wxPyBeginAllowThreads();
8092 (arg1)->RefreshLines(arg2,arg3);
8093
8094 wxPyEndAllowThreads(__tstate);
8095 if (PyErr_Occurred()) SWIG_fail;
8096 }
8097 Py_INCREF(Py_None); resultobj = Py_None;
8098 return resultobj;
8099 fail:
8100 return NULL;
8101}
8102
8103
8104static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8105 PyObject *resultobj;
8106 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
423f194a
RD
8107 int arg2 ;
8108 int arg3 ;
d14a1e28
RD
8109 int result;
8110 PyObject * obj0 = 0 ;
8111 char *kwnames[] = {
8112 (char *) "self",(char *) "x",(char *) "y", NULL
8113 };
8114
8115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8117 {
8118 PyThreadState* __tstate = wxPyBeginAllowThreads();
8119 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8120
8121 wxPyEndAllowThreads(__tstate);
8122 if (PyErr_Occurred()) SWIG_fail;
8123 }
8124 resultobj = PyInt_FromLong((long)result);
8125 return resultobj;
8126 fail:
8127 return NULL;
8128}
8129
8130
8131static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8132 PyObject *resultobj;
8133 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8134 wxPoint *arg2 = 0 ;
8135 int result;
8136 wxPoint temp2 ;
8137 PyObject * obj0 = 0 ;
8138 PyObject * obj1 = 0 ;
8139 char *kwnames[] = {
8140 (char *) "self",(char *) "pt", NULL
8141 };
8142
8143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8145 {
8146 arg2 = &temp2;
8147 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8148 }
8149 {
8150 PyThreadState* __tstate = wxPyBeginAllowThreads();
8151 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8152
8153 wxPyEndAllowThreads(__tstate);
8154 if (PyErr_Occurred()) SWIG_fail;
8155 }
8156 resultobj = PyInt_FromLong((long)result);
8157 return resultobj;
8158 fail:
8159 return NULL;
8160}
8161
8162
8163static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8164 PyObject *resultobj;
8165 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8166 PyObject * obj0 = 0 ;
8167 char *kwnames[] = {
8168 (char *) "self", NULL
8169 };
8170
8171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8173 {
8174 PyThreadState* __tstate = wxPyBeginAllowThreads();
8175 (arg1)->RefreshAll();
8176
8177 wxPyEndAllowThreads(__tstate);
8178 if (PyErr_Occurred()) SWIG_fail;
8179 }
8180 Py_INCREF(Py_None); resultobj = Py_None;
8181 return resultobj;
8182 fail:
8183 return NULL;
8184}
8185
8186
8187static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8188 PyObject *resultobj;
8189 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8190 size_t result;
8191 PyObject * obj0 = 0 ;
8192 char *kwnames[] = {
8193 (char *) "self", NULL
8194 };
8195
8196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8198 {
8199 PyThreadState* __tstate = wxPyBeginAllowThreads();
8200 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8201
8202 wxPyEndAllowThreads(__tstate);
8203 if (PyErr_Occurred()) SWIG_fail;
8204 }
8205 resultobj = PyInt_FromLong((long)result);
8206 return resultobj;
8207 fail:
8208 return NULL;
8209}
8210
8211
8212static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8213 PyObject *resultobj;
8214 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8215 size_t result;
8216 PyObject * obj0 = 0 ;
8217 char *kwnames[] = {
8218 (char *) "self", NULL
8219 };
8220
8221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8223 {
8224 PyThreadState* __tstate = wxPyBeginAllowThreads();
8225 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8226
8227 wxPyEndAllowThreads(__tstate);
8228 if (PyErr_Occurred()) SWIG_fail;
8229 }
8230 resultobj = PyInt_FromLong((long)result);
8231 return resultobj;
8232 fail:
8233 return NULL;
8234}
8235
8236
8237static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8238 PyObject *resultobj;
8239 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8240 size_t result;
8241 PyObject * obj0 = 0 ;
8242 char *kwnames[] = {
8243 (char *) "self", NULL
8244 };
8245
8246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 resultobj = PyInt_FromLong((long)result);
8256 return resultobj;
8257 fail:
8258 return NULL;
8259}
8260
8261
8262static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8263 PyObject *resultobj;
8264 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8265 size_t arg2 ;
8266 bool result;
8267 PyObject * obj0 = 0 ;
8268 PyObject * obj1 = 0 ;
8269 char *kwnames[] = {
8270 (char *) "self",(char *) "line", NULL
8271 };
8272
8273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8275 arg2 = (size_t) PyInt_AsLong(obj1);
8276 if (PyErr_Occurred()) SWIG_fail;
8277 {
8278 PyThreadState* __tstate = wxPyBeginAllowThreads();
8279 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8280
8281 wxPyEndAllowThreads(__tstate);
8282 if (PyErr_Occurred()) SWIG_fail;
8283 }
8284 resultobj = PyInt_FromLong((long)result);
8285 return resultobj;
8286 fail:
8287 return NULL;
8288}
8289
8290
8291static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8292 PyObject *obj;
8293 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8294 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8295 Py_INCREF(obj);
8296 return Py_BuildValue((char *)"");
8297}
d03fd34d
RD
8298static int _wrap_VListBoxNameStr_set(PyObject *_val) {
8299 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
8300 return 1;
8301}
8302
8303
8304static PyObject *_wrap_VListBoxNameStr_get() {
8305 PyObject *pyobj;
8306
8307 {
8308#if wxUSE_UNICODE
8309 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8310#else
8311 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8312#endif
8313 }
8314 return pyobj;
8315}
8316
8317
d14a1e28
RD
8318static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8319 PyObject *resultobj;
8320 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 8321 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
8322 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8323 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8324 wxSize const &arg4_defvalue = wxDefaultSize ;
8325 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8326 long arg5 = (long) 0 ;
8327 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8328 wxString *arg6 = (wxString *) &arg6_defvalue ;
8329 wxPyVListBox *result;
8330 wxPoint temp3 ;
8331 wxSize temp4 ;
423f194a 8332 bool temp6 = False ;
d14a1e28
RD
8333 PyObject * obj0 = 0 ;
8334 PyObject * obj2 = 0 ;
8335 PyObject * obj3 = 0 ;
8336 PyObject * obj5 = 0 ;
8337 char *kwnames[] = {
8338 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8339 };
8340
8341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8343 if (obj2) {
8344 {
8345 arg3 = &temp3;
8346 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8347 }
8348 }
8349 if (obj3) {
8350 {
8351 arg4 = &temp4;
8352 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8353 }
8354 }
8355 if (obj5) {
8356 {
8357 arg6 = wxString_in_helper(obj5);
8358 if (arg6 == NULL) SWIG_fail;
423f194a 8359 temp6 = True;
d14a1e28
RD
8360 }
8361 }
8362 {
8363 PyThreadState* __tstate = wxPyBeginAllowThreads();
8364 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8365
8366 wxPyEndAllowThreads(__tstate);
8367 if (PyErr_Occurred()) SWIG_fail;
8368 }
8369 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8370 {
8371 if (temp6)
8372 delete arg6;
8373 }
8374 return resultobj;
8375 fail:
8376 {
8377 if (temp6)
8378 delete arg6;
8379 }
8380 return NULL;
8381}
8382
8383
8384static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8385 PyObject *resultobj;
8386 wxPyVListBox *result;
8387 char *kwnames[] = {
8388 NULL
8389 };
8390
8391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8392 {
8393 PyThreadState* __tstate = wxPyBeginAllowThreads();
8394 result = (wxPyVListBox *)new wxPyVListBox();
8395
8396 wxPyEndAllowThreads(__tstate);
8397 if (PyErr_Occurred()) SWIG_fail;
8398 }
8399 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8400 return resultobj;
8401 fail:
8402 return NULL;
8403}
8404
8405
8406static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8407 PyObject *resultobj;
8408 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8409 PyObject *arg2 = (PyObject *) 0 ;
8410 PyObject *arg3 = (PyObject *) 0 ;
8411 PyObject * obj0 = 0 ;
8412 PyObject * obj1 = 0 ;
8413 PyObject * obj2 = 0 ;
8414 char *kwnames[] = {
8415 (char *) "self",(char *) "self",(char *) "_class", NULL
8416 };
8417
8418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8420 arg2 = obj1;
8421 arg3 = obj2;
8422 {
8423 PyThreadState* __tstate = wxPyBeginAllowThreads();
8424 (arg1)->_setCallbackInfo(arg2,arg3);
8425
8426 wxPyEndAllowThreads(__tstate);
8427 if (PyErr_Occurred()) SWIG_fail;
8428 }
8429 Py_INCREF(Py_None); resultobj = Py_None;
8430 return resultobj;
8431 fail:
8432 return NULL;
8433}
8434
8435
8436static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8437 PyObject *resultobj;
8438 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8439 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 8440 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
8441 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8442 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8443 wxSize const &arg5_defvalue = wxDefaultSize ;
8444 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8445 long arg6 = (long) 0 ;
8446 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8447 wxString *arg7 = (wxString *) &arg7_defvalue ;
8448 bool result;
8449 wxPoint temp4 ;
8450 wxSize temp5 ;
423f194a 8451 bool temp7 = False ;
d14a1e28
RD
8452 PyObject * obj0 = 0 ;
8453 PyObject * obj1 = 0 ;
8454 PyObject * obj3 = 0 ;
8455 PyObject * obj4 = 0 ;
8456 PyObject * obj6 = 0 ;
8457 char *kwnames[] = {
8458 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8459 };
8460
8461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8463 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8464 if (obj3) {
8465 {
8466 arg4 = &temp4;
8467 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8468 }
8469 }
8470 if (obj4) {
8471 {
8472 arg5 = &temp5;
8473 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8474 }
8475 }
8476 if (obj6) {
8477 {
8478 arg7 = wxString_in_helper(obj6);
8479 if (arg7 == NULL) SWIG_fail;
423f194a 8480 temp7 = True;
d14a1e28
RD
8481 }
8482 }
8483 {
8484 PyThreadState* __tstate = wxPyBeginAllowThreads();
8485 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8486
8487 wxPyEndAllowThreads(__tstate);
8488 if (PyErr_Occurred()) SWIG_fail;
8489 }
8490 resultobj = PyInt_FromLong((long)result);
8491 {
8492 if (temp7)
8493 delete arg7;
8494 }
8495 return resultobj;
8496 fail:
8497 {
8498 if (temp7)
8499 delete arg7;
8500 }
8501 return NULL;
8502}
8503
8504
8505static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8506 PyObject *resultobj;
8507 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8508 size_t result;
8509 PyObject * obj0 = 0 ;
8510 char *kwnames[] = {
8511 (char *) "self", NULL
8512 };
8513
8514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8516 {
8517 PyThreadState* __tstate = wxPyBeginAllowThreads();
8518 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8519
8520 wxPyEndAllowThreads(__tstate);
8521 if (PyErr_Occurred()) SWIG_fail;
8522 }
8523 resultobj = PyInt_FromLong((long)result);
8524 return resultobj;
8525 fail:
8526 return NULL;
8527}
8528
8529
8530static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8531 PyObject *resultobj;
8532 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8533 bool result;
8534 PyObject * obj0 = 0 ;
8535 char *kwnames[] = {
8536 (char *) "self", NULL
8537 };
8538
8539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8541 {
8542 PyThreadState* __tstate = wxPyBeginAllowThreads();
8543 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8544
8545 wxPyEndAllowThreads(__tstate);
8546 if (PyErr_Occurred()) SWIG_fail;
8547 }
8548 resultobj = PyInt_FromLong((long)result);
8549 return resultobj;
8550 fail:
8551 return NULL;
8552}
8553
8554
8555static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8556 PyObject *resultobj;
8557 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8558 int result;
8559 PyObject * obj0 = 0 ;
8560 char *kwnames[] = {
8561 (char *) "self", NULL
8562 };
8563
8564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8569
8570 wxPyEndAllowThreads(__tstate);
8571 if (PyErr_Occurred()) SWIG_fail;
8572 }
8573 resultobj = PyInt_FromLong((long)result);
8574 return resultobj;
8575 fail:
8576 return NULL;
8577}
8578
8579
8580static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject *resultobj;
8582 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8583 size_t arg2 ;
8584 bool result;
8585 PyObject * obj0 = 0 ;
8586 PyObject * obj1 = 0 ;
8587 char *kwnames[] = {
8588 (char *) "self",(char *) "item", NULL
8589 };
8590
8591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8593 arg2 = (size_t) PyInt_AsLong(obj1);
8594 if (PyErr_Occurred()) SWIG_fail;
8595 {
8596 PyThreadState* __tstate = wxPyBeginAllowThreads();
8597 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8598
8599 wxPyEndAllowThreads(__tstate);
8600 if (PyErr_Occurred()) SWIG_fail;
8601 }
8602 resultobj = PyInt_FromLong((long)result);
8603 return resultobj;
8604 fail:
8605 return NULL;
8606}
8607
8608
8609static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8610 PyObject *resultobj;
8611 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8612 size_t arg2 ;
8613 bool result;
8614 PyObject * obj0 = 0 ;
8615 PyObject * obj1 = 0 ;
8616 char *kwnames[] = {
8617 (char *) "self",(char *) "item", NULL
8618 };
8619
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8622 arg2 = (size_t) PyInt_AsLong(obj1);
8623 if (PyErr_Occurred()) SWIG_fail;
8624 {
8625 PyThreadState* __tstate = wxPyBeginAllowThreads();
8626 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8627
8628 wxPyEndAllowThreads(__tstate);
8629 if (PyErr_Occurred()) SWIG_fail;
8630 }
8631 resultobj = PyInt_FromLong((long)result);
8632 return resultobj;
8633 fail:
8634 return NULL;
8635}
8636
8637
8638static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8639 PyObject *resultobj;
8640 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8641 size_t result;
8642 PyObject * obj0 = 0 ;
8643 char *kwnames[] = {
8644 (char *) "self", NULL
8645 };
8646
8647 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8648 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8649 {
8650 PyThreadState* __tstate = wxPyBeginAllowThreads();
8651 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8652
8653 wxPyEndAllowThreads(__tstate);
8654 if (PyErr_Occurred()) SWIG_fail;
8655 }
8656 resultobj = PyInt_FromLong((long)result);
8657 return resultobj;
8658 fail:
8659 return NULL;
8660}
8661
8662
8663static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8664 PyObject *resultobj;
8665 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8666 unsigned long *arg2 = 0 ;
8667 int result;
8668 PyObject * obj0 = 0 ;
8669 PyObject * obj1 = 0 ;
8670 char *kwnames[] = {
8671 (char *) "self",(char *) "cookie", NULL
8672 };
8673
8674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8676 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8677 if (arg2 == NULL) {
8678 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8679 }
8680 {
8681 PyThreadState* __tstate = wxPyBeginAllowThreads();
8682 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8683
8684 wxPyEndAllowThreads(__tstate);
8685 if (PyErr_Occurred()) SWIG_fail;
8686 }
8687 resultobj = PyInt_FromLong((long)result);
8688 return resultobj;
8689 fail:
8690 return NULL;
8691}
8692
8693
8694static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8695 PyObject *resultobj;
8696 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8697 unsigned long *arg2 = 0 ;
8698 int result;
8699 PyObject * obj0 = 0 ;
8700 PyObject * obj1 = 0 ;
8701 char *kwnames[] = {
8702 (char *) "self",(char *) "cookie", NULL
8703 };
8704
8705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8707 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8708 if (arg2 == NULL) {
8709 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8710 }
8711 {
8712 PyThreadState* __tstate = wxPyBeginAllowThreads();
8713 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8714
8715 wxPyEndAllowThreads(__tstate);
8716 if (PyErr_Occurred()) SWIG_fail;
8717 }
8718 resultobj = PyInt_FromLong((long)result);
8719 return resultobj;
8720 fail:
8721 return NULL;
8722}
8723
8724
8725static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8726 PyObject *resultobj;
8727 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8728 wxPoint result;
8729 PyObject * obj0 = 0 ;
8730 char *kwnames[] = {
8731 (char *) "self", NULL
8732 };
8733
8734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8736 {
8737 PyThreadState* __tstate = wxPyBeginAllowThreads();
8738 result = ((wxPyVListBox const *)arg1)->GetMargins();
8739
8740 wxPyEndAllowThreads(__tstate);
8741 if (PyErr_Occurred()) SWIG_fail;
8742 }
8743 {
8744 wxPoint * resultptr;
8745 resultptr = new wxPoint((wxPoint &) result);
8746 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8747 }
8748 return resultobj;
8749 fail:
8750 return NULL;
8751}
8752
8753
8754static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8755 PyObject *resultobj;
8756 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8757 wxColour *result;
8758 PyObject * obj0 = 0 ;
8759 char *kwnames[] = {
8760 (char *) "self", NULL
8761 };
8762
8763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8765 {
8766 PyThreadState* __tstate = wxPyBeginAllowThreads();
8767 {
8768 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8769 result = (wxColour *) &_result_ref;
8770 }
8771
8772 wxPyEndAllowThreads(__tstate);
8773 if (PyErr_Occurred()) SWIG_fail;
8774 }
8775 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8776 return resultobj;
8777 fail:
8778 return NULL;
8779}
8780
8781
8782static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8783 PyObject *resultobj;
8784 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8785 size_t arg2 ;
8786 PyObject * obj0 = 0 ;
8787 PyObject * obj1 = 0 ;
8788 char *kwnames[] = {
8789 (char *) "self",(char *) "count", NULL
8790 };
8791
8792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8794 arg2 = (size_t) PyInt_AsLong(obj1);
8795 if (PyErr_Occurred()) SWIG_fail;
8796 {
8797 PyThreadState* __tstate = wxPyBeginAllowThreads();
8798 (arg1)->SetItemCount(arg2);
8799
8800 wxPyEndAllowThreads(__tstate);
8801 if (PyErr_Occurred()) SWIG_fail;
8802 }
8803 Py_INCREF(Py_None); resultobj = Py_None;
8804 return resultobj;
8805 fail:
8806 return NULL;
8807}
8808
8809
8810static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8811 PyObject *resultobj;
8812 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8813 PyObject * obj0 = 0 ;
8814 char *kwnames[] = {
8815 (char *) "self", NULL
8816 };
8817
8818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8820 {
8821 PyThreadState* __tstate = wxPyBeginAllowThreads();
8822 (arg1)->Clear();
8823
8824 wxPyEndAllowThreads(__tstate);
8825 if (PyErr_Occurred()) SWIG_fail;
8826 }
8827 Py_INCREF(Py_None); resultobj = Py_None;
8828 return resultobj;
8829 fail:
8830 return NULL;
8831}
8832
8833
8834static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8835 PyObject *resultobj;
8836 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8837 int arg2 ;
8838 PyObject * obj0 = 0 ;
8839 char *kwnames[] = {
8840 (char *) "self",(char *) "selection", NULL
8841 };
8842
8843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8845 {
8846 PyThreadState* __tstate = wxPyBeginAllowThreads();
8847 (arg1)->SetSelection(arg2);
8848
8849 wxPyEndAllowThreads(__tstate);
8850 if (PyErr_Occurred()) SWIG_fail;
8851 }
8852 Py_INCREF(Py_None); resultobj = Py_None;
8853 return resultobj;
8854 fail:
8855 return NULL;
8856}
8857
8858
8859static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8860 PyObject *resultobj;
8861 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8862 size_t arg2 ;
423f194a 8863 bool arg3 = (bool) True ;
d14a1e28
RD
8864 bool result;
8865 PyObject * obj0 = 0 ;
8866 PyObject * obj1 = 0 ;
8867 PyObject * obj2 = 0 ;
8868 char *kwnames[] = {
8869 (char *) "self",(char *) "item",(char *) "select", NULL
8870 };
8871
8872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8874 arg2 = (size_t) PyInt_AsLong(obj1);
8875 if (PyErr_Occurred()) SWIG_fail;
8876 if (obj2) {
8877 arg3 = PyInt_AsLong(obj2) ? true : false;
8878 if (PyErr_Occurred()) SWIG_fail;
8879 }
8880 {
8881 PyThreadState* __tstate = wxPyBeginAllowThreads();
8882 result = (bool)(arg1)->Select(arg2,arg3);
8883
8884 wxPyEndAllowThreads(__tstate);
8885 if (PyErr_Occurred()) SWIG_fail;
8886 }
8887 resultobj = PyInt_FromLong((long)result);
8888 return resultobj;
8889 fail:
8890 return NULL;
8891}
8892
8893
8894static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8895 PyObject *resultobj;
8896 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8897 size_t arg2 ;
8898 size_t arg3 ;
8899 bool result;
8900 PyObject * obj0 = 0 ;
8901 PyObject * obj1 = 0 ;
8902 PyObject * obj2 = 0 ;
8903 char *kwnames[] = {
8904 (char *) "self",(char *) "from",(char *) "to", NULL
8905 };
8906
8907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8909 arg2 = (size_t) PyInt_AsLong(obj1);
8910 if (PyErr_Occurred()) SWIG_fail;
8911 arg3 = (size_t) PyInt_AsLong(obj2);
8912 if (PyErr_Occurred()) SWIG_fail;
8913 {
8914 PyThreadState* __tstate = wxPyBeginAllowThreads();
8915 result = (bool)(arg1)->SelectRange(arg2,arg3);
8916
8917 wxPyEndAllowThreads(__tstate);
8918 if (PyErr_Occurred()) SWIG_fail;
8919 }
8920 resultobj = PyInt_FromLong((long)result);
8921 return resultobj;
8922 fail:
8923 return NULL;
8924}
8925
8926
8927static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8928 PyObject *resultobj;
8929 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8930 size_t arg2 ;
8931 PyObject * obj0 = 0 ;
8932 PyObject * obj1 = 0 ;
8933 char *kwnames[] = {
8934 (char *) "self",(char *) "item", NULL
8935 };
8936
8937 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8938 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8939 arg2 = (size_t) PyInt_AsLong(obj1);
8940 if (PyErr_Occurred()) SWIG_fail;
8941 {
8942 PyThreadState* __tstate = wxPyBeginAllowThreads();
8943 (arg1)->Toggle(arg2);
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_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8956 PyObject *resultobj;
8957 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8958 bool result;
8959 PyObject * obj0 = 0 ;
8960 char *kwnames[] = {
8961 (char *) "self", NULL
8962 };
8963
8964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8966 {
8967 PyThreadState* __tstate = wxPyBeginAllowThreads();
8968 result = (bool)(arg1)->SelectAll();
8969
8970 wxPyEndAllowThreads(__tstate);
8971 if (PyErr_Occurred()) SWIG_fail;
8972 }
8973 resultobj = PyInt_FromLong((long)result);
8974 return resultobj;
8975 fail:
8976 return NULL;
8977}
8978
8979
8980static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8981 PyObject *resultobj;
8982 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8983 bool result;
8984 PyObject * obj0 = 0 ;
8985 char *kwnames[] = {
8986 (char *) "self", NULL
8987 };
8988
8989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
8990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8991 {
8992 PyThreadState* __tstate = wxPyBeginAllowThreads();
8993 result = (bool)(arg1)->DeselectAll();
8994
8995 wxPyEndAllowThreads(__tstate);
8996 if (PyErr_Occurred()) SWIG_fail;
8997 }
8998 resultobj = PyInt_FromLong((long)result);
8999 return resultobj;
9000 fail:
9001 return NULL;
9002}
9003
9004
9005static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
9006 PyObject *resultobj;
9007 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9008 wxPoint *arg2 = 0 ;
9009 wxPoint temp2 ;
9010 PyObject * obj0 = 0 ;
9011 PyObject * obj1 = 0 ;
9012 char *kwnames[] = {
9013 (char *) "self",(char *) "pt", NULL
9014 };
9015
9016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
9017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9018 {
9019 arg2 = &temp2;
9020 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
9021 }
9022 {
9023 PyThreadState* __tstate = wxPyBeginAllowThreads();
9024 (arg1)->SetMargins((wxPoint const &)*arg2);
9025
9026 wxPyEndAllowThreads(__tstate);
9027 if (PyErr_Occurred()) SWIG_fail;
9028 }
9029 Py_INCREF(Py_None); resultobj = Py_None;
9030 return resultobj;
9031 fail:
9032 return NULL;
9033}
9034
9035
9036static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
9037 PyObject *resultobj;
9038 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
423f194a
RD
9039 int arg2 ;
9040 int arg3 ;
d14a1e28
RD
9041 PyObject * obj0 = 0 ;
9042 char *kwnames[] = {
9043 (char *) "self",(char *) "x",(char *) "y", NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
9047 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9048 {
9049 PyThreadState* __tstate = wxPyBeginAllowThreads();
9050 (arg1)->SetMargins(arg2,arg3);
9051
9052 wxPyEndAllowThreads(__tstate);
9053 if (PyErr_Occurred()) SWIG_fail;
9054 }
9055 Py_INCREF(Py_None); resultobj = Py_None;
9056 return resultobj;
9057 fail:
9058 return NULL;
9059}
9060
9061
9062static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
9063 PyObject *resultobj;
9064 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
9065 wxColour *arg2 = 0 ;
9066 wxColour temp2 ;
9067 PyObject * obj0 = 0 ;
9068 PyObject * obj1 = 0 ;
9069 char *kwnames[] = {
9070 (char *) "self",(char *) "col", NULL
9071 };
9072
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
9074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9075 {
9076 arg2 = &temp2;
9077 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9078 }
9079 {
9080 PyThreadState* __tstate = wxPyBeginAllowThreads();
9081 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
9082
9083 wxPyEndAllowThreads(__tstate);
9084 if (PyErr_Occurred()) SWIG_fail;
9085 }
9086 Py_INCREF(Py_None); resultobj = Py_None;
9087 return resultobj;
9088 fail:
9089 return NULL;
9090}
9091
9092
9093static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
9094 PyObject *obj;
9095 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9096 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
9097 Py_INCREF(obj);
9098 return Py_BuildValue((char *)"");
9099}
9100static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9101 PyObject *resultobj;
9102 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 9103 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
9104 wxPoint const &arg3_defvalue = wxDefaultPosition ;
9105 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
9106 wxSize const &arg4_defvalue = wxDefaultSize ;
9107 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
9108 long arg5 = (long) 0 ;
9109 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
9110 wxString *arg6 = (wxString *) &arg6_defvalue ;
9111 wxPyHtmlListBox *result;
9112 wxPoint temp3 ;
9113 wxSize temp4 ;
423f194a 9114 bool temp6 = False ;
d14a1e28
RD
9115 PyObject * obj0 = 0 ;
9116 PyObject * obj2 = 0 ;
9117 PyObject * obj3 = 0 ;
9118 PyObject * obj5 = 0 ;
9119 char *kwnames[] = {
9120 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9121 };
9122
9123 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9124 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9125 if (obj2) {
9126 {
9127 arg3 = &temp3;
9128 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9129 }
9130 }
9131 if (obj3) {
9132 {
9133 arg4 = &temp4;
9134 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9135 }
9136 }
9137 if (obj5) {
9138 {
9139 arg6 = wxString_in_helper(obj5);
9140 if (arg6 == NULL) SWIG_fail;
423f194a 9141 temp6 = True;
d14a1e28
RD
9142 }
9143 }
9144 {
9145 PyThreadState* __tstate = wxPyBeginAllowThreads();
9146 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9147
9148 wxPyEndAllowThreads(__tstate);
9149 if (PyErr_Occurred()) SWIG_fail;
9150 }
9151 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9152 {
9153 if (temp6)
9154 delete arg6;
9155 }
9156 return resultobj;
9157 fail:
9158 {
9159 if (temp6)
9160 delete arg6;
9161 }
9162 return NULL;
9163}
9164
9165
9166static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9167 PyObject *resultobj;
9168 wxPyHtmlListBox *result;
9169 char *kwnames[] = {
9170 NULL
9171 };
9172
9173 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9174 {
9175 PyThreadState* __tstate = wxPyBeginAllowThreads();
9176 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9177
9178 wxPyEndAllowThreads(__tstate);
9179 if (PyErr_Occurred()) SWIG_fail;
9180 }
9181 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9182 return resultobj;
9183 fail:
9184 return NULL;
9185}
9186
9187
9188static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9189 PyObject *resultobj;
9190 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9191 PyObject *arg2 = (PyObject *) 0 ;
9192 PyObject *arg3 = (PyObject *) 0 ;
9193 PyObject * obj0 = 0 ;
9194 PyObject * obj1 = 0 ;
9195 PyObject * obj2 = 0 ;
9196 char *kwnames[] = {
9197 (char *) "self",(char *) "self",(char *) "_class", NULL
9198 };
9199
9200 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9201 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9202 arg2 = obj1;
9203 arg3 = obj2;
9204 {
9205 PyThreadState* __tstate = wxPyBeginAllowThreads();
9206 (arg1)->_setCallbackInfo(arg2,arg3);
9207
9208 wxPyEndAllowThreads(__tstate);
9209 if (PyErr_Occurred()) SWIG_fail;
9210 }
9211 Py_INCREF(Py_None); resultobj = Py_None;
9212 return resultobj;
9213 fail:
9214 return NULL;
9215}
9216
9217
9218static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9219 PyObject *resultobj;
9220 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9221 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 9222 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
9223 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9224 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9225 wxSize const &arg5_defvalue = wxDefaultSize ;
9226 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9227 long arg6 = (long) 0 ;
9228 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9229 wxString *arg7 = (wxString *) &arg7_defvalue ;
9230 bool result;
9231 wxPoint temp4 ;
9232 wxSize temp5 ;
423f194a 9233 bool temp7 = False ;
d14a1e28
RD
9234 PyObject * obj0 = 0 ;
9235 PyObject * obj1 = 0 ;
9236 PyObject * obj3 = 0 ;
9237 PyObject * obj4 = 0 ;
9238 PyObject * obj6 = 0 ;
9239 char *kwnames[] = {
9240 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9241 };
9242
9243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9245 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9246 if (obj3) {
9247 {
9248 arg4 = &temp4;
9249 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9250 }
9251 }
9252 if (obj4) {
9253 {
9254 arg5 = &temp5;
9255 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9256 }
9257 }
9258 if (obj6) {
9259 {
9260 arg7 = wxString_in_helper(obj6);
9261 if (arg7 == NULL) SWIG_fail;
423f194a 9262 temp7 = True;
d14a1e28
RD
9263 }
9264 }
9265 {
9266 PyThreadState* __tstate = wxPyBeginAllowThreads();
9267 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9268
9269 wxPyEndAllowThreads(__tstate);
9270 if (PyErr_Occurred()) SWIG_fail;
9271 }
9272 resultobj = PyInt_FromLong((long)result);
9273 {
9274 if (temp7)
9275 delete arg7;
9276 }
9277 return resultobj;
9278 fail:
9279 {
9280 if (temp7)
9281 delete arg7;
9282 }
9283 return NULL;
9284}
9285
9286
9287static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9288 PyObject *resultobj;
9289 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9290 PyObject * obj0 = 0 ;
9291 char *kwnames[] = {
9292 (char *) "self", NULL
9293 };
9294
9295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9297 {
9298 PyThreadState* __tstate = wxPyBeginAllowThreads();
9299 (arg1)->RefreshAll();
9300
9301 wxPyEndAllowThreads(__tstate);
9302 if (PyErr_Occurred()) SWIG_fail;
9303 }
9304 Py_INCREF(Py_None); resultobj = Py_None;
9305 return resultobj;
9306 fail:
9307 return NULL;
9308}
9309
9310
9311static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9312 PyObject *resultobj;
9313 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9314 size_t arg2 ;
9315 PyObject * obj0 = 0 ;
9316 PyObject * obj1 = 0 ;
9317 char *kwnames[] = {
9318 (char *) "self",(char *) "count", NULL
9319 };
9320
9321 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9322 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9323 arg2 = (size_t) PyInt_AsLong(obj1);
9324 if (PyErr_Occurred()) SWIG_fail;
9325 {
9326 PyThreadState* __tstate = wxPyBeginAllowThreads();
9327 (arg1)->SetItemCount(arg2);
9328
9329 wxPyEndAllowThreads(__tstate);
9330 if (PyErr_Occurred()) SWIG_fail;
9331 }
9332 Py_INCREF(Py_None); resultobj = Py_None;
9333 return resultobj;
9334 fail:
9335 return NULL;
9336}
9337
9338
9339static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9340 PyObject *obj;
9341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9342 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9343 Py_INCREF(obj);
9344 return Py_BuildValue((char *)"");
9345}
9346static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9347 PyObject *resultobj;
9348 wxTaskBarIcon *result;
9349 char *kwnames[] = {
9350 NULL
9351 };
9352
9353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9354 {
9355 PyThreadState* __tstate = wxPyBeginAllowThreads();
9356 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9357
9358 wxPyEndAllowThreads(__tstate);
9359 if (PyErr_Occurred()) SWIG_fail;
9360 }
9361 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9362 return resultobj;
9363 fail:
9364 return NULL;
9365}
9366
9367
9368static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9369 PyObject *resultobj;
9370 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9371 PyObject * obj0 = 0 ;
9372 char *kwnames[] = {
9373 (char *) "self", NULL
9374 };
9375
9376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9378 {
9379 PyThreadState* __tstate = wxPyBeginAllowThreads();
9380 delete arg1;
9381
9382 wxPyEndAllowThreads(__tstate);
9383 if (PyErr_Occurred()) SWIG_fail;
9384 }
9385 Py_INCREF(Py_None); resultobj = Py_None;
9386 return resultobj;
9387 fail:
9388 return NULL;
9389}
9390
9391
9392static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9393 PyObject *resultobj;
9394 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9395 bool result;
9396 PyObject * obj0 = 0 ;
9397 char *kwnames[] = {
9398 (char *) "self", NULL
9399 };
9400
9401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9403 {
9404 PyThreadState* __tstate = wxPyBeginAllowThreads();
9405 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9406
9407 wxPyEndAllowThreads(__tstate);
9408 if (PyErr_Occurred()) SWIG_fail;
9409 }
9410 resultobj = PyInt_FromLong((long)result);
9411 return resultobj;
9412 fail:
9413 return NULL;
9414}
9415
9416
9417static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9418 PyObject *resultobj;
9419 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9420 bool result;
9421 PyObject * obj0 = 0 ;
9422 char *kwnames[] = {
9423 (char *) "self", NULL
9424 };
9425
9426 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9427 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9428 {
9429 PyThreadState* __tstate = wxPyBeginAllowThreads();
9430 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9431
9432 wxPyEndAllowThreads(__tstate);
9433 if (PyErr_Occurred()) SWIG_fail;
9434 }
9435 resultobj = PyInt_FromLong((long)result);
9436 return resultobj;
9437 fail:
9438 return NULL;
9439}
9440
9441
9442static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9443 PyObject *resultobj;
9444 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9445 wxIcon *arg2 = 0 ;
9446 wxString const &arg3_defvalue = wxPyEmptyString ;
9447 wxString *arg3 = (wxString *) &arg3_defvalue ;
9448 bool result;
423f194a 9449 bool temp3 = False ;
d14a1e28
RD
9450 PyObject * obj0 = 0 ;
9451 PyObject * obj1 = 0 ;
9452 PyObject * obj2 = 0 ;
9453 char *kwnames[] = {
9454 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9455 };
9456
9457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9459 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9460 if (arg2 == NULL) {
9461 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9462 }
9463 if (obj2) {
9464 {
9465 arg3 = wxString_in_helper(obj2);
9466 if (arg3 == NULL) SWIG_fail;
423f194a 9467 temp3 = True;
d14a1e28
RD
9468 }
9469 }
9470 {
9471 PyThreadState* __tstate = wxPyBeginAllowThreads();
9472 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9473
9474 wxPyEndAllowThreads(__tstate);
9475 if (PyErr_Occurred()) SWIG_fail;
9476 }
9477 resultobj = PyInt_FromLong((long)result);
9478 {
9479 if (temp3)
9480 delete arg3;
9481 }
9482 return resultobj;
9483 fail:
9484 {
9485 if (temp3)
9486 delete arg3;
9487 }
9488 return NULL;
9489}
9490
9491
9492static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9493 PyObject *resultobj;
9494 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9495 bool result;
9496 PyObject * obj0 = 0 ;
9497 char *kwnames[] = {
9498 (char *) "self", NULL
9499 };
9500
9501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 result = (bool)(arg1)->RemoveIcon();
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 resultobj = PyInt_FromLong((long)result);
9511 return resultobj;
9512 fail:
9513 return NULL;
9514}
9515
9516
9517static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9520 wxMenu *arg2 = (wxMenu *) 0 ;
9521 bool result;
9522 PyObject * obj0 = 0 ;
9523 PyObject * obj1 = 0 ;
9524 char *kwnames[] = {
9525 (char *) "self",(char *) "menu", NULL
9526 };
9527
9528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9530 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9531 {
9532 PyThreadState* __tstate = wxPyBeginAllowThreads();
9533 result = (bool)(arg1)->PopupMenu(arg2);
9534
9535 wxPyEndAllowThreads(__tstate);
9536 if (PyErr_Occurred()) SWIG_fail;
9537 }
9538 resultobj = PyInt_FromLong((long)result);
9539 return resultobj;
9540 fail:
9541 return NULL;
9542}
9543
9544
9545static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9546 PyObject *obj;
9547 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9548 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9549 Py_INCREF(obj);
9550 return Py_BuildValue((char *)"");
9551}
9552static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9553 PyObject *resultobj;
9554 wxEventType arg1 ;
9555 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9556 wxTaskBarIconEvent *result;
9557 PyObject * obj1 = 0 ;
9558 char *kwnames[] = {
9559 (char *) "evtType",(char *) "tbIcon", NULL
9560 };
9561
9562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9563 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9564 {
9565 PyThreadState* __tstate = wxPyBeginAllowThreads();
9566 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9567
9568 wxPyEndAllowThreads(__tstate);
9569 if (PyErr_Occurred()) SWIG_fail;
9570 }
9571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9572 return resultobj;
9573 fail:
9574 return NULL;
9575}
9576
9577
9578static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9579 PyObject *obj;
9580 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9581 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9582 Py_INCREF(obj);
9583 return Py_BuildValue((char *)"");
9584}
d03fd34d
RD
9585static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
9586 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
9587 return 1;
9588}
9589
9590
9591static PyObject *_wrap_FileSelectorPromptStr_get() {
9592 PyObject *pyobj;
9593
9594 {
9595#if wxUSE_UNICODE
9596 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9597#else
9598 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9599#endif
9600 }
9601 return pyobj;
9602}
9603
9604
9605static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
9606 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
9607 return 1;
9608}
9609
9610
9611static PyObject *_wrap_DirSelectorPromptStr_get() {
9612 PyObject *pyobj;
9613
9614 {
9615#if wxUSE_UNICODE
9616 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9617#else
9618 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9619#endif
9620 }
9621 return pyobj;
9622}
9623
9624
9625static int _wrap_DirDialogNameStr_set(PyObject *_val) {
9626 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
9627 return 1;
9628}
9629
9630
9631static PyObject *_wrap_DirDialogNameStr_get() {
9632 PyObject *pyobj;
9633
9634 {
9635#if wxUSE_UNICODE
9636 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9637#else
9638 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9639#endif
9640 }
9641 return pyobj;
9642}
9643
9644
9645static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
9646 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
9647 return 1;
9648}
9649
9650
9651static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
9652 PyObject *pyobj;
9653
9654 {
9655#if wxUSE_UNICODE
9656 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9657#else
9658 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9659#endif
9660 }
9661 return pyobj;
9662}
9663
9664
9665static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
9666 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
9667 return 1;
9668}
9669
9670
9671static PyObject *_wrap_GetTextFromUserPromptStr_get() {
9672 PyObject *pyobj;
9673
9674 {
9675#if wxUSE_UNICODE
9676 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9677#else
9678 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9679#endif
9680 }
9681 return pyobj;
9682}
9683
9684
9685static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
9686 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
9687 return 1;
9688}
9689
9690
9691static PyObject *_wrap_MessageBoxCaptionStr_get() {
9692 PyObject *pyobj;
9693
9694 {
9695#if wxUSE_UNICODE
9696 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9697#else
9698 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9699#endif
9700 }
9701 return pyobj;
9702}
9703
9704
d14a1e28
RD
9705static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9706 PyObject *resultobj;
9707 wxColourData *result;
9708 char *kwnames[] = {
9709 NULL
9710 };
9711
9712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9713 {
9714 PyThreadState* __tstate = wxPyBeginAllowThreads();
9715 result = (wxColourData *)new wxColourData();
9716
9717 wxPyEndAllowThreads(__tstate);
9718 if (PyErr_Occurred()) SWIG_fail;
9719 }
9720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9721 return resultobj;
9722 fail:
9723 return NULL;
9724}
9725
9726
9727static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9728 PyObject *resultobj;
9729 wxColourData *arg1 = (wxColourData *) 0 ;
9730 PyObject * obj0 = 0 ;
9731 char *kwnames[] = {
9732 (char *) "self", NULL
9733 };
9734
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 delete arg1;
9740
9741 wxPyEndAllowThreads(__tstate);
9742 if (PyErr_Occurred()) SWIG_fail;
9743 }
9744 Py_INCREF(Py_None); resultobj = Py_None;
9745 return resultobj;
9746 fail:
9747 return NULL;
9748}
9749
9750
9751static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9752 PyObject *resultobj;
9753 wxColourData *arg1 = (wxColourData *) 0 ;
9754 bool result;
9755 PyObject * obj0 = 0 ;
9756 char *kwnames[] = {
9757 (char *) "self", NULL
9758 };
9759
9760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9762 {
9763 PyThreadState* __tstate = wxPyBeginAllowThreads();
9764 result = (bool)(arg1)->GetChooseFull();
9765
9766 wxPyEndAllowThreads(__tstate);
9767 if (PyErr_Occurred()) SWIG_fail;
9768 }
9769 resultobj = PyInt_FromLong((long)result);
9770 return resultobj;
9771 fail:
9772 return NULL;
9773}
9774
9775
9776static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9777 PyObject *resultobj;
9778 wxColourData *arg1 = (wxColourData *) 0 ;
9779 wxColour result;
9780 PyObject * obj0 = 0 ;
9781 char *kwnames[] = {
9782 (char *) "self", NULL
9783 };
9784
9785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9787 {
9788 PyThreadState* __tstate = wxPyBeginAllowThreads();
9789 result = (arg1)->GetColour();
9790
9791 wxPyEndAllowThreads(__tstate);
9792 if (PyErr_Occurred()) SWIG_fail;
9793 }
9794 {
9795 wxColour * resultptr;
9796 resultptr = new wxColour((wxColour &) result);
9797 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9798 }
9799 return resultobj;
9800 fail:
9801 return NULL;
9802}
9803
9804
9805static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9806 PyObject *resultobj;
9807 wxColourData *arg1 = (wxColourData *) 0 ;
9808 int arg2 ;
9809 wxColour result;
9810 PyObject * obj0 = 0 ;
9811 char *kwnames[] = {
9812 (char *) "self",(char *) "i", NULL
9813 };
9814
9815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9817 {
9818 PyThreadState* __tstate = wxPyBeginAllowThreads();
9819 result = (arg1)->GetCustomColour(arg2);
9820
9821 wxPyEndAllowThreads(__tstate);
9822 if (PyErr_Occurred()) SWIG_fail;
9823 }
9824 {
9825 wxColour * resultptr;
9826 resultptr = new wxColour((wxColour &) result);
9827 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9828 }
9829 return resultobj;
9830 fail:
9831 return NULL;
9832}
9833
9834
9835static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9836 PyObject *resultobj;
9837 wxColourData *arg1 = (wxColourData *) 0 ;
9838 int arg2 ;
9839 PyObject * obj0 = 0 ;
9840 char *kwnames[] = {
9841 (char *) "self",(char *) "flag", NULL
9842 };
9843
9844 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9845 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9846 {
9847 PyThreadState* __tstate = wxPyBeginAllowThreads();
9848 (arg1)->SetChooseFull(arg2);
9849
9850 wxPyEndAllowThreads(__tstate);
9851 if (PyErr_Occurred()) SWIG_fail;
9852 }
9853 Py_INCREF(Py_None); resultobj = Py_None;
9854 return resultobj;
9855 fail:
9856 return NULL;
9857}
9858
9859
9860static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9861 PyObject *resultobj;
9862 wxColourData *arg1 = (wxColourData *) 0 ;
9863 wxColour *arg2 = 0 ;
9864 wxColour temp2 ;
9865 PyObject * obj0 = 0 ;
9866 PyObject * obj1 = 0 ;
9867 char *kwnames[] = {
9868 (char *) "self",(char *) "colour", NULL
9869 };
9870
9871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9872 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9873 {
9874 arg2 = &temp2;
9875 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9876 }
9877 {
9878 PyThreadState* __tstate = wxPyBeginAllowThreads();
9879 (arg1)->SetColour((wxColour const &)*arg2);
9880
9881 wxPyEndAllowThreads(__tstate);
9882 if (PyErr_Occurred()) SWIG_fail;
9883 }
9884 Py_INCREF(Py_None); resultobj = Py_None;
9885 return resultobj;
9886 fail:
9887 return NULL;
9888}
9889
9890
9891static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9892 PyObject *resultobj;
9893 wxColourData *arg1 = (wxColourData *) 0 ;
9894 int arg2 ;
9895 wxColour *arg3 = 0 ;
9896 wxColour temp3 ;
9897 PyObject * obj0 = 0 ;
9898 PyObject * obj2 = 0 ;
9899 char *kwnames[] = {
9900 (char *) "self",(char *) "i",(char *) "colour", NULL
9901 };
9902
9903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9905 {
9906 arg3 = &temp3;
9907 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9908 }
9909 {
9910 PyThreadState* __tstate = wxPyBeginAllowThreads();
9911 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9912
9913 wxPyEndAllowThreads(__tstate);
9914 if (PyErr_Occurred()) SWIG_fail;
9915 }
9916 Py_INCREF(Py_None); resultobj = Py_None;
9917 return resultobj;
9918 fail:
9919 return NULL;
9920}
9921
9922
9923static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9924 PyObject *obj;
9925 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9926 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9927 Py_INCREF(obj);
9928 return Py_BuildValue((char *)"");
9929}
9930static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9931 PyObject *resultobj;
9932 wxWindow *arg1 = (wxWindow *) 0 ;
9933 wxColourData *arg2 = (wxColourData *) NULL ;
9934 wxColourDialog *result;
9935 PyObject * obj0 = 0 ;
9936 PyObject * obj1 = 0 ;
9937 char *kwnames[] = {
9938 (char *) "parent",(char *) "data", NULL
9939 };
9940
9941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9943 if (obj1) {
9944 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9945 }
9946 {
9947 PyThreadState* __tstate = wxPyBeginAllowThreads();
9948 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9949
9950 wxPyEndAllowThreads(__tstate);
9951 if (PyErr_Occurred()) SWIG_fail;
9952 }
9953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9954 return resultobj;
9955 fail:
9956 return NULL;
9957}
9958
9959
9960static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9961 PyObject *resultobj;
9962 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9963 wxColourData *result;
9964 PyObject * obj0 = 0 ;
9965 char *kwnames[] = {
9966 (char *) "self", NULL
9967 };
9968
9969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9971 {
9972 PyThreadState* __tstate = wxPyBeginAllowThreads();
9973 {
9974 wxColourData &_result_ref = (arg1)->GetColourData();
9975 result = (wxColourData *) &_result_ref;
9976 }
9977
9978 wxPyEndAllowThreads(__tstate);
9979 if (PyErr_Occurred()) SWIG_fail;
9980 }
9981 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9982 return resultobj;
9983 fail:
9984 return NULL;
9985}
9986
9987
9988static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9989 PyObject *resultobj;
9990 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9991 int result;
9992 PyObject * obj0 = 0 ;
9993 char *kwnames[] = {
9994 (char *) "self", NULL
9995 };
9996
9997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9999 {
10000 PyThreadState* __tstate = wxPyBeginAllowThreads();
10001 result = (int)(arg1)->ShowModal();
10002
10003 wxPyEndAllowThreads(__tstate);
10004 if (PyErr_Occurred()) SWIG_fail;
10005 }
10006 resultobj = PyInt_FromLong((long)result);
10007 return resultobj;
10008 fail:
10009 return NULL;
10010}
10011
10012
10013static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
10014 PyObject *obj;
10015 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10016 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
10017 Py_INCREF(obj);
10018 return Py_BuildValue((char *)"");
10019}
10020static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10021 PyObject *resultobj;
10022 wxWindow *arg1 = (wxWindow *) 0 ;
10023 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
10024 wxString *arg2 = (wxString *) &arg2_defvalue ;
10025 wxString const &arg3_defvalue = wxPyEmptyString ;
10026 wxString *arg3 = (wxString *) &arg3_defvalue ;
10027 long arg4 = (long) 0 ;
10028 wxPoint const &arg5_defvalue = wxDefaultPosition ;
10029 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
10030 wxSize const &arg6_defvalue = wxDefaultSize ;
10031 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
10032 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
10033 wxString *arg7 = (wxString *) &arg7_defvalue ;
10034 wxDirDialog *result;
423f194a
RD
10035 bool temp2 = False ;
10036 bool temp3 = False ;
d14a1e28
RD
10037 wxPoint temp5 ;
10038 wxSize temp6 ;
423f194a 10039 bool temp7 = False ;
d14a1e28
RD
10040 PyObject * obj0 = 0 ;
10041 PyObject * obj1 = 0 ;
10042 PyObject * obj2 = 0 ;
10043 PyObject * obj4 = 0 ;
10044 PyObject * obj5 = 0 ;
10045 PyObject * obj6 = 0 ;
10046 char *kwnames[] = {
10047 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
10048 };
10049
10050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
10051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10052 if (obj1) {
10053 {
10054 arg2 = wxString_in_helper(obj1);
10055 if (arg2 == NULL) SWIG_fail;
423f194a 10056 temp2 = True;
d14a1e28
RD
10057 }
10058 }
10059 if (obj2) {
10060 {
10061 arg3 = wxString_in_helper(obj2);
10062 if (arg3 == NULL) SWIG_fail;
423f194a 10063 temp3 = True;
d14a1e28
RD
10064 }
10065 }
10066 if (obj4) {
10067 {
10068 arg5 = &temp5;
10069 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
10070 }
10071 }
10072 if (obj5) {
10073 {
10074 arg6 = &temp6;
10075 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
10076 }
10077 }
10078 if (obj6) {
10079 {
10080 arg7 = wxString_in_helper(obj6);
10081 if (arg7 == NULL) SWIG_fail;
423f194a 10082 temp7 = True;
d14a1e28
RD
10083 }
10084 }
10085 {
10086 PyThreadState* __tstate = wxPyBeginAllowThreads();
10087 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
10088
10089 wxPyEndAllowThreads(__tstate);
10090 if (PyErr_Occurred()) SWIG_fail;
10091 }
10092 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
10093 {
10094 if (temp2)
10095 delete arg2;
10096 }
10097 {
10098 if (temp3)
10099 delete arg3;
10100 }
10101 {
10102 if (temp7)
10103 delete arg7;
10104 }
10105 return resultobj;
10106 fail:
10107 {
10108 if (temp2)
10109 delete arg2;
10110 }
10111 {
10112 if (temp3)
10113 delete arg3;
10114 }
10115 {
10116 if (temp7)
10117 delete arg7;
10118 }
10119 return NULL;
10120}
10121
10122
10123static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10124 PyObject *resultobj;
10125 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10126 wxString result;
10127 PyObject * obj0 = 0 ;
10128 char *kwnames[] = {
10129 (char *) "self", NULL
10130 };
10131
10132 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
10133 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10134 {
10135 PyThreadState* __tstate = wxPyBeginAllowThreads();
10136 result = (arg1)->GetPath();
10137
10138 wxPyEndAllowThreads(__tstate);
10139 if (PyErr_Occurred()) SWIG_fail;
10140 }
10141 {
10142#if wxUSE_UNICODE
10143 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10144#else
10145 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10146#endif
10147 }
10148 return resultobj;
10149 fail:
10150 return NULL;
10151}
10152
10153
10154static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10155 PyObject *resultobj;
10156 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10157 wxString result;
10158 PyObject * obj0 = 0 ;
10159 char *kwnames[] = {
10160 (char *) "self", NULL
10161 };
10162
10163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
10164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10165 {
10166 PyThreadState* __tstate = wxPyBeginAllowThreads();
10167 result = (arg1)->GetMessage();
10168
10169 wxPyEndAllowThreads(__tstate);
10170 if (PyErr_Occurred()) SWIG_fail;
10171 }
10172 {
10173#if wxUSE_UNICODE
10174 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10175#else
10176 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10177#endif
10178 }
10179 return resultobj;
10180 fail:
10181 return NULL;
10182}
10183
10184
10185static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10186 PyObject *resultobj;
10187 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10188 long result;
10189 PyObject * obj0 = 0 ;
10190 char *kwnames[] = {
10191 (char *) "self", NULL
10192 };
10193
10194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
10195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10196 {
10197 PyThreadState* __tstate = wxPyBeginAllowThreads();
10198 result = (long)(arg1)->GetStyle();
10199
10200 wxPyEndAllowThreads(__tstate);
10201 if (PyErr_Occurred()) SWIG_fail;
10202 }
10203 resultobj = PyInt_FromLong((long)result);
10204 return resultobj;
10205 fail:
10206 return NULL;
10207}
10208
10209
10210static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10211 PyObject *resultobj;
10212 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10213 wxString *arg2 = 0 ;
423f194a 10214 bool temp2 = False ;
d14a1e28
RD
10215 PyObject * obj0 = 0 ;
10216 PyObject * obj1 = 0 ;
10217 char *kwnames[] = {
10218 (char *) "self",(char *) "message", NULL
10219 };
10220
10221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10223 {
10224 arg2 = wxString_in_helper(obj1);
10225 if (arg2 == NULL) SWIG_fail;
423f194a 10226 temp2 = True;
d14a1e28
RD
10227 }
10228 {
10229 PyThreadState* __tstate = wxPyBeginAllowThreads();
10230 (arg1)->SetMessage((wxString const &)*arg2);
10231
10232 wxPyEndAllowThreads(__tstate);
10233 if (PyErr_Occurred()) SWIG_fail;
10234 }
10235 Py_INCREF(Py_None); resultobj = Py_None;
10236 {
10237 if (temp2)
10238 delete arg2;
10239 }
10240 return resultobj;
10241 fail:
10242 {
10243 if (temp2)
10244 delete arg2;
10245 }
10246 return NULL;
10247}
10248
10249
10250static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10251 PyObject *resultobj;
10252 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10253 wxString *arg2 = 0 ;
423f194a 10254 bool temp2 = False ;
d14a1e28
RD
10255 PyObject * obj0 = 0 ;
10256 PyObject * obj1 = 0 ;
10257 char *kwnames[] = {
10258 (char *) "self",(char *) "path", NULL
10259 };
10260
10261 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10262 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10263 {
10264 arg2 = wxString_in_helper(obj1);
10265 if (arg2 == NULL) SWIG_fail;
423f194a 10266 temp2 = True;
d14a1e28
RD
10267 }
10268 {
10269 PyThreadState* __tstate = wxPyBeginAllowThreads();
10270 (arg1)->SetPath((wxString const &)*arg2);
10271
10272 wxPyEndAllowThreads(__tstate);
10273 if (PyErr_Occurred()) SWIG_fail;
10274 }
10275 Py_INCREF(Py_None); resultobj = Py_None;
10276 {
10277 if (temp2)
10278 delete arg2;
10279 }
10280 return resultobj;
10281 fail:
10282 {
10283 if (temp2)
10284 delete arg2;
10285 }
10286 return NULL;
10287}
10288
10289
10290static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10291 PyObject *resultobj;
10292 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10293 int result;
10294 PyObject * obj0 = 0 ;
10295 char *kwnames[] = {
10296 (char *) "self", NULL
10297 };
10298
10299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10301 {
10302 PyThreadState* __tstate = wxPyBeginAllowThreads();
10303 result = (int)(arg1)->ShowModal();
10304
10305 wxPyEndAllowThreads(__tstate);
10306 if (PyErr_Occurred()) SWIG_fail;
10307 }
10308 resultobj = PyInt_FromLong((long)result);
10309 return resultobj;
10310 fail:
10311 return NULL;
10312}
10313
10314
10315static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10316 PyObject *obj;
10317 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10318 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10319 Py_INCREF(obj);
10320 return Py_BuildValue((char *)"");
10321}
10322static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10323 PyObject *resultobj;
10324 wxWindow *arg1 = (wxWindow *) 0 ;
10325 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10326 wxString *arg2 = (wxString *) &arg2_defvalue ;
10327 wxString const &arg3_defvalue = wxPyEmptyString ;
10328 wxString *arg3 = (wxString *) &arg3_defvalue ;
10329 wxString const &arg4_defvalue = wxPyEmptyString ;
10330 wxString *arg4 = (wxString *) &arg4_defvalue ;
10331 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10332 wxString *arg5 = (wxString *) &arg5_defvalue ;
10333 long arg6 = (long) 0 ;
10334 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10335 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10336 wxFileDialog *result;
423f194a
RD
10337 bool temp2 = False ;
10338 bool temp3 = False ;
10339 bool temp4 = False ;
10340 bool temp5 = False ;
d14a1e28
RD
10341 wxPoint temp7 ;
10342 PyObject * obj0 = 0 ;
10343 PyObject * obj1 = 0 ;
10344 PyObject * obj2 = 0 ;
10345 PyObject * obj3 = 0 ;
10346 PyObject * obj4 = 0 ;
10347 PyObject * obj6 = 0 ;
10348 char *kwnames[] = {
10349 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10350 };
10351
10352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10354 if (obj1) {
10355 {
10356 arg2 = wxString_in_helper(obj1);
10357 if (arg2 == NULL) SWIG_fail;
423f194a 10358 temp2 = True;
d14a1e28
RD
10359 }
10360 }
10361 if (obj2) {
10362 {
10363 arg3 = wxString_in_helper(obj2);
10364 if (arg3 == NULL) SWIG_fail;
423f194a 10365 temp3 = True;
d14a1e28
RD
10366 }
10367 }
10368 if (obj3) {
10369 {
10370 arg4 = wxString_in_helper(obj3);
10371 if (arg4 == NULL) SWIG_fail;
423f194a 10372 temp4 = True;
d14a1e28
RD
10373 }
10374 }
10375 if (obj4) {
10376 {
10377 arg5 = wxString_in_helper(obj4);
10378 if (arg5 == NULL) SWIG_fail;
423f194a 10379 temp5 = True;
d14a1e28
RD
10380 }
10381 }
10382 if (obj6) {
10383 {
10384 arg7 = &temp7;
10385 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10386 }
10387 }
10388 {
10389 PyThreadState* __tstate = wxPyBeginAllowThreads();
10390 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10391
10392 wxPyEndAllowThreads(__tstate);
10393 if (PyErr_Occurred()) SWIG_fail;
10394 }
10395 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10396 {
10397 if (temp2)
10398 delete arg2;
10399 }
10400 {
10401 if (temp3)
10402 delete arg3;
10403 }
10404 {
10405 if (temp4)
10406 delete arg4;
10407 }
10408 {
10409 if (temp5)
10410 delete arg5;
10411 }
10412 return resultobj;
10413 fail:
10414 {
10415 if (temp2)
10416 delete arg2;
10417 }
10418 {
10419 if (temp3)
10420 delete arg3;
10421 }
10422 {
10423 if (temp4)
10424 delete arg4;
10425 }
10426 {
10427 if (temp5)
10428 delete arg5;
10429 }
10430 return NULL;
10431}
10432
10433
10434static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10435 PyObject *resultobj;
10436 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10437 wxString *arg2 = 0 ;
423f194a 10438 bool temp2 = False ;
d14a1e28
RD
10439 PyObject * obj0 = 0 ;
10440 PyObject * obj1 = 0 ;
10441 char *kwnames[] = {
10442 (char *) "self",(char *) "message", NULL
10443 };
10444
10445 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10446 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10447 {
10448 arg2 = wxString_in_helper(obj1);
10449 if (arg2 == NULL) SWIG_fail;
423f194a 10450 temp2 = True;
d14a1e28
RD
10451 }
10452 {
10453 PyThreadState* __tstate = wxPyBeginAllowThreads();
10454 (arg1)->SetMessage((wxString const &)*arg2);
10455
10456 wxPyEndAllowThreads(__tstate);
10457 if (PyErr_Occurred()) SWIG_fail;
10458 }
10459 Py_INCREF(Py_None); resultobj = Py_None;
10460 {
10461 if (temp2)
10462 delete arg2;
10463 }
10464 return resultobj;
10465 fail:
10466 {
10467 if (temp2)
10468 delete arg2;
10469 }
10470 return NULL;
10471}
10472
10473
10474static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10475 PyObject *resultobj;
10476 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10477 wxString *arg2 = 0 ;
423f194a 10478 bool temp2 = False ;
d14a1e28
RD
10479 PyObject * obj0 = 0 ;
10480 PyObject * obj1 = 0 ;
10481 char *kwnames[] = {
10482 (char *) "self",(char *) "path", NULL
10483 };
10484
10485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10487 {
10488 arg2 = wxString_in_helper(obj1);
10489 if (arg2 == NULL) SWIG_fail;
423f194a 10490 temp2 = True;
d14a1e28
RD
10491 }
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 (arg1)->SetPath((wxString const &)*arg2);
10495
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 Py_INCREF(Py_None); resultobj = Py_None;
10500 {
10501 if (temp2)
10502 delete arg2;
10503 }
10504 return resultobj;
10505 fail:
10506 {
10507 if (temp2)
10508 delete arg2;
10509 }
10510 return NULL;
10511}
10512
10513
10514static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10515 PyObject *resultobj;
10516 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10517 wxString *arg2 = 0 ;
423f194a 10518 bool temp2 = False ;
d14a1e28
RD
10519 PyObject * obj0 = 0 ;
10520 PyObject * obj1 = 0 ;
10521 char *kwnames[] = {
10522 (char *) "self",(char *) "dir", NULL
10523 };
10524
10525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10527 {
10528 arg2 = wxString_in_helper(obj1);
10529 if (arg2 == NULL) SWIG_fail;
423f194a 10530 temp2 = True;
d14a1e28
RD
10531 }
10532 {
10533 PyThreadState* __tstate = wxPyBeginAllowThreads();
10534 (arg1)->SetDirectory((wxString const &)*arg2);
10535
10536 wxPyEndAllowThreads(__tstate);
10537 if (PyErr_Occurred()) SWIG_fail;
10538 }
10539 Py_INCREF(Py_None); resultobj = Py_None;
10540 {
10541 if (temp2)
10542 delete arg2;
10543 }
10544 return resultobj;
10545 fail:
10546 {
10547 if (temp2)
10548 delete arg2;
10549 }
10550 return NULL;
10551}
10552
10553
10554static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10555 PyObject *resultobj;
10556 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10557 wxString *arg2 = 0 ;
423f194a 10558 bool temp2 = False ;
d14a1e28
RD
10559 PyObject * obj0 = 0 ;
10560 PyObject * obj1 = 0 ;
10561 char *kwnames[] = {
10562 (char *) "self",(char *) "name", NULL
10563 };
10564
10565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10567 {
10568 arg2 = wxString_in_helper(obj1);
10569 if (arg2 == NULL) SWIG_fail;
423f194a 10570 temp2 = True;
d14a1e28
RD
10571 }
10572 {
10573 PyThreadState* __tstate = wxPyBeginAllowThreads();
10574 (arg1)->SetFilename((wxString const &)*arg2);
10575
10576 wxPyEndAllowThreads(__tstate);
10577 if (PyErr_Occurred()) SWIG_fail;
10578 }
10579 Py_INCREF(Py_None); resultobj = Py_None;
10580 {
10581 if (temp2)
10582 delete arg2;
10583 }
10584 return resultobj;
10585 fail:
10586 {
10587 if (temp2)
10588 delete arg2;
10589 }
10590 return NULL;
10591}
10592
10593
10594static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10595 PyObject *resultobj;
10596 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10597 wxString *arg2 = 0 ;
423f194a 10598 bool temp2 = False ;
d14a1e28
RD
10599 PyObject * obj0 = 0 ;
10600 PyObject * obj1 = 0 ;
10601 char *kwnames[] = {
10602 (char *) "self",(char *) "wildCard", NULL
10603 };
10604
10605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10607 {
10608 arg2 = wxString_in_helper(obj1);
10609 if (arg2 == NULL) SWIG_fail;
423f194a 10610 temp2 = True;
d14a1e28
RD
10611 }
10612 {
10613 PyThreadState* __tstate = wxPyBeginAllowThreads();
10614 (arg1)->SetWildcard((wxString const &)*arg2);
10615
10616 wxPyEndAllowThreads(__tstate);
10617 if (PyErr_Occurred()) SWIG_fail;
10618 }
10619 Py_INCREF(Py_None); resultobj = Py_None;
10620 {
10621 if (temp2)
10622 delete arg2;
10623 }
10624 return resultobj;
10625 fail:
10626 {
10627 if (temp2)
10628 delete arg2;
10629 }
10630 return NULL;
10631}
10632
10633
10634static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj;
10636 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10637 long arg2 ;
10638 PyObject * obj0 = 0 ;
10639 char *kwnames[] = {
10640 (char *) "self",(char *) "style", NULL
10641 };
10642
10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 (arg1)->SetStyle(arg2);
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 Py_INCREF(Py_None); resultobj = Py_None;
10653 return resultobj;
10654 fail:
10655 return NULL;
10656}
10657
10658
10659static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10660 PyObject *resultobj;
10661 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10662 int arg2 ;
10663 PyObject * obj0 = 0 ;
10664 char *kwnames[] = {
10665 (char *) "self",(char *) "filterIndex", NULL
10666 };
10667
10668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10670 {
10671 PyThreadState* __tstate = wxPyBeginAllowThreads();
10672 (arg1)->SetFilterIndex(arg2);
10673
10674 wxPyEndAllowThreads(__tstate);
10675 if (PyErr_Occurred()) SWIG_fail;
10676 }
10677 Py_INCREF(Py_None); resultobj = Py_None;
10678 return resultobj;
10679 fail:
10680 return NULL;
10681}
10682
10683
10684static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10685 PyObject *resultobj;
10686 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10687 wxString result;
10688 PyObject * obj0 = 0 ;
10689 char *kwnames[] = {
10690 (char *) "self", NULL
10691 };
10692
10693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10695 {
10696 PyThreadState* __tstate = wxPyBeginAllowThreads();
10697 result = ((wxFileDialog const *)arg1)->GetMessage();
10698
10699 wxPyEndAllowThreads(__tstate);
10700 if (PyErr_Occurred()) SWIG_fail;
10701 }
10702 {
10703#if wxUSE_UNICODE
10704 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10705#else
10706 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10707#endif
10708 }
10709 return resultobj;
10710 fail:
10711 return NULL;
10712}
10713
10714
10715static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10716 PyObject *resultobj;
10717 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10718 wxString result;
10719 PyObject * obj0 = 0 ;
10720 char *kwnames[] = {
10721 (char *) "self", NULL
10722 };
10723
10724 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10725 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10726 {
10727 PyThreadState* __tstate = wxPyBeginAllowThreads();
10728 result = ((wxFileDialog const *)arg1)->GetPath();
10729
10730 wxPyEndAllowThreads(__tstate);
10731 if (PyErr_Occurred()) SWIG_fail;
10732 }
10733 {
10734#if wxUSE_UNICODE
10735 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10736#else
10737 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10738#endif
10739 }
10740 return resultobj;
10741 fail:
10742 return NULL;
10743}
10744
10745
10746static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10747 PyObject *resultobj;
10748 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10749 wxString result;
10750 PyObject * obj0 = 0 ;
10751 char *kwnames[] = {
10752 (char *) "self", NULL
10753 };
10754
10755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10757 {
10758 PyThreadState* __tstate = wxPyBeginAllowThreads();
10759 result = ((wxFileDialog const *)arg1)->GetDirectory();
10760
10761 wxPyEndAllowThreads(__tstate);
10762 if (PyErr_Occurred()) SWIG_fail;
10763 }
10764 {
10765#if wxUSE_UNICODE
10766 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10767#else
10768 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10769#endif
10770 }
10771 return resultobj;
10772 fail:
10773 return NULL;
10774}
10775
10776
10777static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10778 PyObject *resultobj;
10779 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10780 wxString result;
10781 PyObject * obj0 = 0 ;
10782 char *kwnames[] = {
10783 (char *) "self", NULL
10784 };
10785
10786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10788 {
10789 PyThreadState* __tstate = wxPyBeginAllowThreads();
10790 result = ((wxFileDialog const *)arg1)->GetFilename();
10791
10792 wxPyEndAllowThreads(__tstate);
10793 if (PyErr_Occurred()) SWIG_fail;
10794 }
10795 {
10796#if wxUSE_UNICODE
10797 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10798#else
10799 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10800#endif
10801 }
10802 return resultobj;
10803 fail:
10804 return NULL;
10805}
10806
10807
10808static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10809 PyObject *resultobj;
10810 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10811 wxString result;
10812 PyObject * obj0 = 0 ;
10813 char *kwnames[] = {
10814 (char *) "self", NULL
10815 };
10816
10817 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10818 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10819 {
10820 PyThreadState* __tstate = wxPyBeginAllowThreads();
10821 result = ((wxFileDialog const *)arg1)->GetWildcard();
10822
10823 wxPyEndAllowThreads(__tstate);
10824 if (PyErr_Occurred()) SWIG_fail;
10825 }
10826 {
10827#if wxUSE_UNICODE
10828 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10829#else
10830 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10831#endif
10832 }
10833 return resultobj;
10834 fail:
10835 return NULL;
10836}
10837
10838
10839static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10840 PyObject *resultobj;
10841 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10842 long result;
10843 PyObject * obj0 = 0 ;
10844 char *kwnames[] = {
10845 (char *) "self", NULL
10846 };
10847
10848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10850 {
10851 PyThreadState* __tstate = wxPyBeginAllowThreads();
10852 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10853
10854 wxPyEndAllowThreads(__tstate);
10855 if (PyErr_Occurred()) SWIG_fail;
10856 }
10857 resultobj = PyInt_FromLong((long)result);
10858 return resultobj;
10859 fail:
10860 return NULL;
10861}
10862
10863
10864static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10865 PyObject *resultobj;
10866 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10867 int result;
10868 PyObject * obj0 = 0 ;
10869 char *kwnames[] = {
10870 (char *) "self", NULL
10871 };
10872
10873 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10874 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10875 {
10876 PyThreadState* __tstate = wxPyBeginAllowThreads();
10877 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10878
10879 wxPyEndAllowThreads(__tstate);
10880 if (PyErr_Occurred()) SWIG_fail;
10881 }
10882 resultobj = PyInt_FromLong((long)result);
10883 return resultobj;
10884 fail:
10885 return NULL;
10886}
10887
10888
10889static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10890 PyObject *resultobj;
10891 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10892 PyObject *result;
10893 PyObject * obj0 = 0 ;
10894 char *kwnames[] = {
10895 (char *) "self", NULL
10896 };
10897
10898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10900 {
10901 PyThreadState* __tstate = wxPyBeginAllowThreads();
10902 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10903
10904 wxPyEndAllowThreads(__tstate);
10905 if (PyErr_Occurred()) SWIG_fail;
10906 }
10907 resultobj = result;
10908 return resultobj;
10909 fail:
10910 return NULL;
10911}
10912
10913
10914static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10915 PyObject *resultobj;
10916 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10917 PyObject *result;
10918 PyObject * obj0 = 0 ;
10919 char *kwnames[] = {
10920 (char *) "self", NULL
10921 };
10922
10923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10925 {
10926 PyThreadState* __tstate = wxPyBeginAllowThreads();
10927 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10928
10929 wxPyEndAllowThreads(__tstate);
10930 if (PyErr_Occurred()) SWIG_fail;
10931 }
10932 resultobj = result;
10933 return resultobj;
10934 fail:
10935 return NULL;
10936}
10937
10938
10939static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10940 PyObject *obj;
10941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10942 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10943 Py_INCREF(obj);
10944 return Py_BuildValue((char *)"");
10945}
10946static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10947 PyObject *resultobj;
10948 wxWindow *arg1 = (wxWindow *) 0 ;
10949 wxString *arg2 = 0 ;
10950 wxString *arg3 = 0 ;
10951 int arg4 ;
10952 wxString *arg5 = (wxString *) 0 ;
10953 long arg6 = (long) wxCHOICEDLG_STYLE ;
10954 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10955 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10956 wxMultiChoiceDialog *result;
423f194a
RD
10957 bool temp2 = False ;
10958 bool temp3 = False ;
f775c30d 10959 bool temp5 = False ;
d14a1e28
RD
10960 wxPoint temp7 ;
10961 PyObject * obj0 = 0 ;
10962 PyObject * obj1 = 0 ;
10963 PyObject * obj2 = 0 ;
10964 PyObject * obj4 = 0 ;
10965 PyObject * obj6 = 0 ;
10966 char *kwnames[] = {
10967 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10968 };
10969
10970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10972 {
10973 arg2 = wxString_in_helper(obj1);
10974 if (arg2 == NULL) SWIG_fail;
423f194a 10975 temp2 = True;
d14a1e28
RD
10976 }
10977 {
10978 arg3 = wxString_in_helper(obj2);
10979 if (arg3 == NULL) SWIG_fail;
423f194a 10980 temp3 = True;
d14a1e28 10981 }
f775c30d
RD
10982 {
10983 arg5 = wxString_in_helper(obj4);
10984 if (arg5 == NULL) SWIG_fail;
10985 temp5 = True;
10986 }
d14a1e28
RD
10987 if (obj6) {
10988 {
10989 arg7 = &temp7;
10990 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10991 }
10992 }
10993 {
10994 PyThreadState* __tstate = wxPyBeginAllowThreads();
10995 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10996
10997 wxPyEndAllowThreads(__tstate);
10998 if (PyErr_Occurred()) SWIG_fail;
10999 }
11000 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
11001 {
11002 if (temp2)
11003 delete arg2;
11004 }
11005 {
11006 if (temp3)
11007 delete arg3;
11008 }
f775c30d
RD
11009 {
11010 if (temp5)
11011 delete arg5;
11012 }
d14a1e28
RD
11013 return resultobj;
11014 fail:
11015 {
11016 if (temp2)
11017 delete arg2;
11018 }
11019 {
11020 if (temp3)
11021 delete arg3;
11022 }
f775c30d
RD
11023 {
11024 if (temp5)
11025 delete arg5;
11026 }
d14a1e28
RD
11027 return NULL;
11028}
11029
11030
11031static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11032 PyObject *resultobj;
11033 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11034 wxArrayInt *arg2 = 0 ;
11035 PyObject * obj0 = 0 ;
11036 PyObject * obj1 = 0 ;
11037 char *kwnames[] = {
11038 (char *) "self",(char *) "selections", NULL
11039 };
11040
11041 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
11042 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11043 {
11044 if (! PySequence_Check(obj1)) {
11045 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
11046 SWIG_fail;
11047 }
11048 arg2 = new wxArrayInt;
11049 int i, len=PySequence_Length(obj1);
11050 for (i=0; i<len; i++) {
11051 PyObject* item = PySequence_GetItem(obj1, i);
11052 PyObject* number = PyNumber_Int(item);
11053 arg2->Add(PyInt_AS_LONG(number));
11054 Py_DECREF(item);
11055 Py_DECREF(number);
11056 }
11057 }
11058 {
11059 PyThreadState* __tstate = wxPyBeginAllowThreads();
11060 (arg1)->SetSelections((wxArrayInt const &)*arg2);
11061
11062 wxPyEndAllowThreads(__tstate);
11063 if (PyErr_Occurred()) SWIG_fail;
11064 }
11065 Py_INCREF(Py_None); resultobj = Py_None;
11066 {
11067 if (arg2) delete arg2;
11068 }
11069 return resultobj;
11070 fail:
11071 {
11072 if (arg2) delete arg2;
11073 }
11074 return NULL;
11075}
11076
11077
11078static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
11079 PyObject *resultobj;
11080 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
11081 PyObject *result;
11082 PyObject * obj0 = 0 ;
11083 char *kwnames[] = {
11084 (char *) "self", NULL
11085 };
11086
11087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
11088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11089 {
11090 PyThreadState* __tstate = wxPyBeginAllowThreads();
11091 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
11092
11093 wxPyEndAllowThreads(__tstate);
11094 if (PyErr_Occurred()) SWIG_fail;
11095 }
11096 resultobj = result;
11097 return resultobj;
11098 fail:
11099 return NULL;
11100}
11101
11102
11103static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11104 PyObject *obj;
11105 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11106 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
11107 Py_INCREF(obj);
11108 return Py_BuildValue((char *)"");
11109}
11110static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11111 PyObject *resultobj;
11112 wxWindow *arg1 = (wxWindow *) 0 ;
11113 wxString *arg2 = 0 ;
11114 wxString *arg3 = 0 ;
11115 int arg4 ;
11116 wxString *arg5 = (wxString *) 0 ;
11117 long arg6 = (long) wxCHOICEDLG_STYLE ;
11118 wxPoint const &arg7_defvalue = wxDefaultPosition ;
11119 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
11120 wxSingleChoiceDialog *result;
423f194a
RD
11121 bool temp2 = False ;
11122 bool temp3 = False ;
d14a1e28
RD
11123 wxPoint temp6 ;
11124 PyObject * obj0 = 0 ;
11125 PyObject * obj1 = 0 ;
11126 PyObject * obj2 = 0 ;
11127 PyObject * obj3 = 0 ;
11128 PyObject * obj5 = 0 ;
11129 char *kwnames[] = {
11130 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
11131 };
11132
11133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
11134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11135 {
11136 arg2 = wxString_in_helper(obj1);
11137 if (arg2 == NULL) SWIG_fail;
423f194a 11138 temp2 = True;
d14a1e28
RD
11139 }
11140 {
11141 arg3 = wxString_in_helper(obj2);
11142 if (arg3 == NULL) SWIG_fail;
423f194a 11143 temp3 = True;
d14a1e28
RD
11144 }
11145 {
11146 arg4 = PyList_Size(obj3);
11147 arg5 = wxString_LIST_helper(obj3);
11148 if (arg5 == NULL) SWIG_fail;
11149 }
11150 if (obj5) {
11151 {
11152 arg7 = &temp6;
11153 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
11154 }
11155 }
11156 {
11157 PyThreadState* __tstate = wxPyBeginAllowThreads();
11158 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
11159
11160 wxPyEndAllowThreads(__tstate);
11161 if (PyErr_Occurred()) SWIG_fail;
11162 }
11163 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
11164 {
11165 if (temp2)
11166 delete arg2;
11167 }
11168 {
11169 if (temp3)
11170 delete arg3;
11171 }
11172 {
11173 if (arg5) delete [] arg5;
11174 }
11175 return resultobj;
11176 fail:
11177 {
11178 if (temp2)
11179 delete arg2;
11180 }
11181 {
11182 if (temp3)
11183 delete arg3;
11184 }
11185 {
11186 if (arg5) delete [] arg5;
11187 }
11188 return NULL;
11189}
11190
11191
11192static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11193 PyObject *resultobj;
11194 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11195 int result;
11196 PyObject * obj0 = 0 ;
11197 char *kwnames[] = {
11198 (char *) "self", NULL
11199 };
11200
11201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
11202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11203 {
11204 PyThreadState* __tstate = wxPyBeginAllowThreads();
11205 result = (int)(arg1)->GetSelection();
11206
11207 wxPyEndAllowThreads(__tstate);
11208 if (PyErr_Occurred()) SWIG_fail;
11209 }
11210 resultobj = PyInt_FromLong((long)result);
11211 return resultobj;
11212 fail:
11213 return NULL;
11214}
11215
11216
11217static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11218 PyObject *resultobj;
11219 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11220 wxString result;
11221 PyObject * obj0 = 0 ;
11222 char *kwnames[] = {
11223 (char *) "self", NULL
11224 };
11225
11226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
11227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11228 {
11229 PyThreadState* __tstate = wxPyBeginAllowThreads();
11230 result = (arg1)->GetStringSelection();
11231
11232 wxPyEndAllowThreads(__tstate);
11233 if (PyErr_Occurred()) SWIG_fail;
11234 }
11235 {
11236#if wxUSE_UNICODE
11237 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11238#else
11239 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11240#endif
11241 }
11242 return resultobj;
11243 fail:
11244 return NULL;
11245}
11246
11247
11248static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11249 PyObject *resultobj;
11250 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11251 int arg2 ;
11252 PyObject * obj0 = 0 ;
11253 char *kwnames[] = {
11254 (char *) "self",(char *) "sel", NULL
11255 };
11256
11257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11259 {
11260 PyThreadState* __tstate = wxPyBeginAllowThreads();
11261 (arg1)->SetSelection(arg2);
11262
11263 wxPyEndAllowThreads(__tstate);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 Py_INCREF(Py_None); resultobj = Py_None;
11267 return resultobj;
11268 fail:
11269 return NULL;
11270}
11271
11272
11273static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj;
11275 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11276 int result;
11277 PyObject * obj0 = 0 ;
11278 char *kwnames[] = {
11279 (char *) "self", NULL
11280 };
11281
11282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11283 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11284 {
11285 PyThreadState* __tstate = wxPyBeginAllowThreads();
11286 result = (int)(arg1)->ShowModal();
11287
11288 wxPyEndAllowThreads(__tstate);
11289 if (PyErr_Occurred()) SWIG_fail;
11290 }
11291 resultobj = PyInt_FromLong((long)result);
11292 return resultobj;
11293 fail:
11294 return NULL;
11295}
11296
11297
11298static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11299 PyObject *obj;
11300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11301 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11302 Py_INCREF(obj);
11303 return Py_BuildValue((char *)"");
11304}
11305static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11306 PyObject *resultobj;
11307 wxWindow *arg1 = (wxWindow *) 0 ;
11308 wxString *arg2 = 0 ;
11309 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11310 wxString *arg3 = (wxString *) &arg3_defvalue ;
11311 wxString const &arg4_defvalue = wxPyEmptyString ;
11312 wxString *arg4 = (wxString *) &arg4_defvalue ;
11313 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11314 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11315 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11316 wxTextEntryDialog *result;
423f194a
RD
11317 bool temp2 = False ;
11318 bool temp3 = False ;
11319 bool temp4 = False ;
d14a1e28
RD
11320 wxPoint temp6 ;
11321 PyObject * obj0 = 0 ;
11322 PyObject * obj1 = 0 ;
11323 PyObject * obj2 = 0 ;
11324 PyObject * obj3 = 0 ;
11325 PyObject * obj5 = 0 ;
11326 char *kwnames[] = {
11327 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11328 };
11329
11330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11332 {
11333 arg2 = wxString_in_helper(obj1);
11334 if (arg2 == NULL) SWIG_fail;
423f194a 11335 temp2 = True;
d14a1e28
RD
11336 }
11337 if (obj2) {
11338 {
11339 arg3 = wxString_in_helper(obj2);
11340 if (arg3 == NULL) SWIG_fail;
423f194a 11341 temp3 = True;
d14a1e28
RD
11342 }
11343 }
11344 if (obj3) {
11345 {
11346 arg4 = wxString_in_helper(obj3);
11347 if (arg4 == NULL) SWIG_fail;
423f194a 11348 temp4 = True;
d14a1e28
RD
11349 }
11350 }
11351 if (obj5) {
11352 {
11353 arg6 = &temp6;
11354 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11355 }
11356 }
11357 {
11358 PyThreadState* __tstate = wxPyBeginAllowThreads();
11359 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11360
11361 wxPyEndAllowThreads(__tstate);
11362 if (PyErr_Occurred()) SWIG_fail;
11363 }
11364 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11365 {
11366 if (temp2)
11367 delete arg2;
11368 }
11369 {
11370 if (temp3)
11371 delete arg3;
11372 }
11373 {
11374 if (temp4)
11375 delete arg4;
11376 }
11377 return resultobj;
11378 fail:
11379 {
11380 if (temp2)
11381 delete arg2;
11382 }
11383 {
11384 if (temp3)
11385 delete arg3;
11386 }
11387 {
11388 if (temp4)
11389 delete arg4;
11390 }
11391 return NULL;
11392}
11393
11394
11395static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11396 PyObject *resultobj;
11397 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11398 wxString result;
11399 PyObject * obj0 = 0 ;
11400 char *kwnames[] = {
11401 (char *) "self", NULL
11402 };
11403
11404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11406 {
11407 PyThreadState* __tstate = wxPyBeginAllowThreads();
11408 result = (arg1)->GetValue();
11409
11410 wxPyEndAllowThreads(__tstate);
11411 if (PyErr_Occurred()) SWIG_fail;
11412 }
11413 {
11414#if wxUSE_UNICODE
11415 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11416#else
11417 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11418#endif
11419 }
11420 return resultobj;
11421 fail:
11422 return NULL;
11423}
11424
11425
11426static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11427 PyObject *resultobj;
11428 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11429 wxString *arg2 = 0 ;
423f194a 11430 bool temp2 = False ;
d14a1e28
RD
11431 PyObject * obj0 = 0 ;
11432 PyObject * obj1 = 0 ;
11433 char *kwnames[] = {
11434 (char *) "self",(char *) "value", NULL
11435 };
11436
11437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11439 {
11440 arg2 = wxString_in_helper(obj1);
11441 if (arg2 == NULL) SWIG_fail;
423f194a 11442 temp2 = True;
d14a1e28
RD
11443 }
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 (arg1)->SetValue((wxString const &)*arg2);
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 Py_INCREF(Py_None); resultobj = Py_None;
11452 {
11453 if (temp2)
11454 delete arg2;
11455 }
11456 return resultobj;
11457 fail:
11458 {
11459 if (temp2)
11460 delete arg2;
11461 }
11462 return NULL;
11463}
11464
11465
11466static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11467 PyObject *resultobj;
11468 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11469 int result;
11470 PyObject * obj0 = 0 ;
11471 char *kwnames[] = {
11472 (char *) "self", NULL
11473 };
11474
11475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11477 {
11478 PyThreadState* __tstate = wxPyBeginAllowThreads();
11479 result = (int)(arg1)->ShowModal();
11480
11481 wxPyEndAllowThreads(__tstate);
11482 if (PyErr_Occurred()) SWIG_fail;
11483 }
11484 resultobj = PyInt_FromLong((long)result);
11485 return resultobj;
11486 fail:
11487 return NULL;
11488}
11489
11490
11491static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11492 PyObject *obj;
11493 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11494 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11495 Py_INCREF(obj);
11496 return Py_BuildValue((char *)"");
11497}
11498static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11499 PyObject *resultobj;
11500 wxFontData *result;
11501 char *kwnames[] = {
11502 NULL
11503 };
11504
11505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11506 {
11507 PyThreadState* __tstate = wxPyBeginAllowThreads();
11508 result = (wxFontData *)new wxFontData();
11509
11510 wxPyEndAllowThreads(__tstate);
11511 if (PyErr_Occurred()) SWIG_fail;
11512 }
11513 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11514 return resultobj;
11515 fail:
11516 return NULL;
11517}
11518
11519
11520static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11521 PyObject *resultobj;
11522 wxFontData *arg1 = (wxFontData *) 0 ;
11523 PyObject * obj0 = 0 ;
11524 char *kwnames[] = {
11525 (char *) "self", NULL
11526 };
11527
11528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11530 {
11531 PyThreadState* __tstate = wxPyBeginAllowThreads();
11532 delete arg1;
11533
11534 wxPyEndAllowThreads(__tstate);
11535 if (PyErr_Occurred()) SWIG_fail;
11536 }
11537 Py_INCREF(Py_None); resultobj = Py_None;
11538 return resultobj;
11539 fail:
11540 return NULL;
11541}
11542
11543
11544static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11545 PyObject *resultobj;
11546 wxFontData *arg1 = (wxFontData *) 0 ;
11547 bool arg2 ;
11548 PyObject * obj0 = 0 ;
11549 PyObject * obj1 = 0 ;
11550 char *kwnames[] = {
11551 (char *) "self",(char *) "enable", NULL
11552 };
11553
11554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11556 arg2 = PyInt_AsLong(obj1) ? true : false;
11557 if (PyErr_Occurred()) SWIG_fail;
11558 {
11559 PyThreadState* __tstate = wxPyBeginAllowThreads();
11560 (arg1)->EnableEffects(arg2);
11561
11562 wxPyEndAllowThreads(__tstate);
11563 if (PyErr_Occurred()) SWIG_fail;
11564 }
11565 Py_INCREF(Py_None); resultobj = Py_None;
11566 return resultobj;
11567 fail:
11568 return NULL;
11569}
11570
11571
11572static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11573 PyObject *resultobj;
11574 wxFontData *arg1 = (wxFontData *) 0 ;
11575 bool result;
11576 PyObject * obj0 = 0 ;
11577 char *kwnames[] = {
11578 (char *) "self", NULL
11579 };
11580
11581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11583 {
11584 PyThreadState* __tstate = wxPyBeginAllowThreads();
11585 result = (bool)(arg1)->GetAllowSymbols();
11586
11587 wxPyEndAllowThreads(__tstate);
11588 if (PyErr_Occurred()) SWIG_fail;
11589 }
11590 resultobj = PyInt_FromLong((long)result);
11591 return resultobj;
11592 fail:
11593 return NULL;
11594}
11595
11596
11597static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11598 PyObject *resultobj;
11599 wxFontData *arg1 = (wxFontData *) 0 ;
11600 wxColour result;
11601 PyObject * obj0 = 0 ;
11602 char *kwnames[] = {
11603 (char *) "self", NULL
11604 };
11605
11606 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11607 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11608 {
11609 PyThreadState* __tstate = wxPyBeginAllowThreads();
11610 result = (arg1)->GetColour();
11611
11612 wxPyEndAllowThreads(__tstate);
11613 if (PyErr_Occurred()) SWIG_fail;
11614 }
11615 {
11616 wxColour * resultptr;
11617 resultptr = new wxColour((wxColour &) result);
11618 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11619 }
11620 return resultobj;
11621 fail:
11622 return NULL;
11623}
11624
11625
11626static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11627 PyObject *resultobj;
11628 wxFontData *arg1 = (wxFontData *) 0 ;
11629 wxFont result;
11630 PyObject * obj0 = 0 ;
11631 char *kwnames[] = {
11632 (char *) "self", NULL
11633 };
11634
11635 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11636 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11637 {
11638 PyThreadState* __tstate = wxPyBeginAllowThreads();
11639 result = (arg1)->GetChosenFont();
11640
11641 wxPyEndAllowThreads(__tstate);
11642 if (PyErr_Occurred()) SWIG_fail;
11643 }
11644 {
11645 wxFont * resultptr;
11646 resultptr = new wxFont((wxFont &) result);
11647 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11648 }
11649 return resultobj;
11650 fail:
11651 return NULL;
11652}
11653
11654
11655static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11656 PyObject *resultobj;
11657 wxFontData *arg1 = (wxFontData *) 0 ;
11658 bool result;
11659 PyObject * obj0 = 0 ;
11660 char *kwnames[] = {
11661 (char *) "self", NULL
11662 };
11663
11664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11666 {
11667 PyThreadState* __tstate = wxPyBeginAllowThreads();
11668 result = (bool)(arg1)->GetEnableEffects();
11669
11670 wxPyEndAllowThreads(__tstate);
11671 if (PyErr_Occurred()) SWIG_fail;
11672 }
11673 resultobj = PyInt_FromLong((long)result);
11674 return resultobj;
11675 fail:
11676 return NULL;
11677}
11678
11679
11680static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11681 PyObject *resultobj;
11682 wxFontData *arg1 = (wxFontData *) 0 ;
11683 wxFont result;
11684 PyObject * obj0 = 0 ;
11685 char *kwnames[] = {
11686 (char *) "self", NULL
11687 };
11688
11689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11691 {
11692 PyThreadState* __tstate = wxPyBeginAllowThreads();
11693 result = (arg1)->GetInitialFont();
11694
11695 wxPyEndAllowThreads(__tstate);
11696 if (PyErr_Occurred()) SWIG_fail;
11697 }
11698 {
11699 wxFont * resultptr;
11700 resultptr = new wxFont((wxFont &) result);
11701 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11702 }
11703 return resultobj;
11704 fail:
11705 return NULL;
11706}
11707
11708
11709static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11710 PyObject *resultobj;
11711 wxFontData *arg1 = (wxFontData *) 0 ;
11712 bool result;
11713 PyObject * obj0 = 0 ;
11714 char *kwnames[] = {
11715 (char *) "self", NULL
11716 };
11717
11718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11720 {
11721 PyThreadState* __tstate = wxPyBeginAllowThreads();
11722 result = (bool)(arg1)->GetShowHelp();
11723
11724 wxPyEndAllowThreads(__tstate);
11725 if (PyErr_Occurred()) SWIG_fail;
11726 }
11727 resultobj = PyInt_FromLong((long)result);
11728 return resultobj;
11729 fail:
11730 return NULL;
11731}
11732
11733
11734static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11735 PyObject *resultobj;
11736 wxFontData *arg1 = (wxFontData *) 0 ;
11737 bool arg2 ;
11738 PyObject * obj0 = 0 ;
11739 PyObject * obj1 = 0 ;
11740 char *kwnames[] = {
11741 (char *) "self",(char *) "allowSymbols", NULL
11742 };
11743
11744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11746 arg2 = PyInt_AsLong(obj1) ? true : false;
11747 if (PyErr_Occurred()) SWIG_fail;
11748 {
11749 PyThreadState* __tstate = wxPyBeginAllowThreads();
11750 (arg1)->SetAllowSymbols(arg2);
11751
11752 wxPyEndAllowThreads(__tstate);
11753 if (PyErr_Occurred()) SWIG_fail;
11754 }
11755 Py_INCREF(Py_None); resultobj = Py_None;
11756 return resultobj;
11757 fail:
11758 return NULL;
11759}
11760
11761
11762static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11763 PyObject *resultobj;
11764 wxFontData *arg1 = (wxFontData *) 0 ;
11765 wxFont *arg2 = 0 ;
11766 PyObject * obj0 = 0 ;
11767 PyObject * obj1 = 0 ;
11768 char *kwnames[] = {
11769 (char *) "self",(char *) "font", NULL
11770 };
11771
11772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11774 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11775 if (arg2 == NULL) {
11776 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11777 }
11778 {
11779 PyThreadState* __tstate = wxPyBeginAllowThreads();
11780 (arg1)->SetChosenFont((wxFont const &)*arg2);
11781
11782 wxPyEndAllowThreads(__tstate);
11783 if (PyErr_Occurred()) SWIG_fail;
11784 }
11785 Py_INCREF(Py_None); resultobj = Py_None;
11786 return resultobj;
11787 fail:
11788 return NULL;
11789}
11790
11791
11792static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11793 PyObject *resultobj;
11794 wxFontData *arg1 = (wxFontData *) 0 ;
11795 wxColour *arg2 = 0 ;
11796 wxColour temp2 ;
11797 PyObject * obj0 = 0 ;
11798 PyObject * obj1 = 0 ;
11799 char *kwnames[] = {
11800 (char *) "self",(char *) "colour", NULL
11801 };
11802
11803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11805 {
11806 arg2 = &temp2;
11807 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11808 }
11809 {
11810 PyThreadState* __tstate = wxPyBeginAllowThreads();
11811 (arg1)->SetColour((wxColour const &)*arg2);
11812
11813 wxPyEndAllowThreads(__tstate);
11814 if (PyErr_Occurred()) SWIG_fail;
11815 }
11816 Py_INCREF(Py_None); resultobj = Py_None;
11817 return resultobj;
11818 fail:
11819 return NULL;
11820}
11821
11822
11823static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11824 PyObject *resultobj;
11825 wxFontData *arg1 = (wxFontData *) 0 ;
11826 wxFont *arg2 = 0 ;
11827 PyObject * obj0 = 0 ;
11828 PyObject * obj1 = 0 ;
11829 char *kwnames[] = {
11830 (char *) "self",(char *) "font", NULL
11831 };
11832
11833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11835 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11836 if (arg2 == NULL) {
11837 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11838 }
11839 {
11840 PyThreadState* __tstate = wxPyBeginAllowThreads();
11841 (arg1)->SetInitialFont((wxFont const &)*arg2);
11842
11843 wxPyEndAllowThreads(__tstate);
11844 if (PyErr_Occurred()) SWIG_fail;
11845 }
11846 Py_INCREF(Py_None); resultobj = Py_None;
11847 return resultobj;
11848 fail:
11849 return NULL;
11850}
11851
11852
11853static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11854 PyObject *resultobj;
11855 wxFontData *arg1 = (wxFontData *) 0 ;
11856 int arg2 ;
11857 int arg3 ;
11858 PyObject * obj0 = 0 ;
11859 char *kwnames[] = {
11860 (char *) "self",(char *) "min",(char *) "max", NULL
11861 };
11862
11863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11865 {
11866 PyThreadState* __tstate = wxPyBeginAllowThreads();
11867 (arg1)->SetRange(arg2,arg3);
11868
11869 wxPyEndAllowThreads(__tstate);
11870 if (PyErr_Occurred()) SWIG_fail;
11871 }
11872 Py_INCREF(Py_None); resultobj = Py_None;
11873 return resultobj;
11874 fail:
11875 return NULL;
11876}
11877
11878
11879static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11880 PyObject *resultobj;
11881 wxFontData *arg1 = (wxFontData *) 0 ;
11882 bool arg2 ;
11883 PyObject * obj0 = 0 ;
11884 PyObject * obj1 = 0 ;
11885 char *kwnames[] = {
11886 (char *) "self",(char *) "showHelp", NULL
11887 };
11888
11889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11891 arg2 = PyInt_AsLong(obj1) ? true : false;
11892 if (PyErr_Occurred()) SWIG_fail;
11893 {
11894 PyThreadState* __tstate = wxPyBeginAllowThreads();
11895 (arg1)->SetShowHelp(arg2);
11896
11897 wxPyEndAllowThreads(__tstate);
11898 if (PyErr_Occurred()) SWIG_fail;
11899 }
11900 Py_INCREF(Py_None); resultobj = Py_None;
11901 return resultobj;
11902 fail:
11903 return NULL;
11904}
11905
11906
11907static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11908 PyObject *obj;
11909 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11910 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11911 Py_INCREF(obj);
11912 return Py_BuildValue((char *)"");
11913}
11914static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11915 PyObject *resultobj;
11916 wxWindow *arg1 = (wxWindow *) 0 ;
11917 wxFontData *arg2 = 0 ;
11918 wxFontDialog *result;
11919 PyObject * obj0 = 0 ;
11920 PyObject * obj1 = 0 ;
11921 char *kwnames[] = {
11922 (char *) "parent",(char *) "data", NULL
11923 };
11924
11925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11927 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11928 if (arg2 == NULL) {
11929 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11930 }
11931 {
11932 PyThreadState* __tstate = wxPyBeginAllowThreads();
11933 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11934
11935 wxPyEndAllowThreads(__tstate);
11936 if (PyErr_Occurred()) SWIG_fail;
11937 }
11938 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11939 return resultobj;
11940 fail:
11941 return NULL;
11942}
11943
11944
11945static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11946 PyObject *resultobj;
11947 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11948 wxFontData *result;
11949 PyObject * obj0 = 0 ;
11950 char *kwnames[] = {
11951 (char *) "self", NULL
11952 };
11953
11954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11956 {
11957 PyThreadState* __tstate = wxPyBeginAllowThreads();
11958 {
11959 wxFontData &_result_ref = (arg1)->GetFontData();
11960 result = (wxFontData *) &_result_ref;
11961 }
11962
11963 wxPyEndAllowThreads(__tstate);
11964 if (PyErr_Occurred()) SWIG_fail;
11965 }
11966 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11967 return resultobj;
11968 fail:
11969 return NULL;
11970}
11971
11972
11973static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11974 PyObject *resultobj;
11975 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11976 int result;
11977 PyObject * obj0 = 0 ;
11978 char *kwnames[] = {
11979 (char *) "self", NULL
11980 };
11981
11982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11984 {
11985 PyThreadState* __tstate = wxPyBeginAllowThreads();
11986 result = (int)(arg1)->ShowModal();
11987
11988 wxPyEndAllowThreads(__tstate);
11989 if (PyErr_Occurred()) SWIG_fail;
11990 }
11991 resultobj = PyInt_FromLong((long)result);
11992 return resultobj;
11993 fail:
11994 return NULL;
11995}
11996
11997
11998static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11999 PyObject *obj;
12000 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12001 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
12002 Py_INCREF(obj);
12003 return Py_BuildValue((char *)"");
12004}
12005static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12006 PyObject *resultobj;
12007 wxWindow *arg1 = (wxWindow *) 0 ;
12008 wxString *arg2 = 0 ;
12009 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
12010 wxString *arg3 = (wxString *) &arg3_defvalue ;
12011 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
12012 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12013 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12014 wxMessageDialog *result;
423f194a
RD
12015 bool temp2 = False ;
12016 bool temp3 = False ;
d14a1e28
RD
12017 wxPoint temp5 ;
12018 PyObject * obj0 = 0 ;
12019 PyObject * obj1 = 0 ;
12020 PyObject * obj2 = 0 ;
12021 PyObject * obj4 = 0 ;
12022 char *kwnames[] = {
12023 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
12024 };
12025
12026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
12027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12028 {
12029 arg2 = wxString_in_helper(obj1);
12030 if (arg2 == NULL) SWIG_fail;
423f194a 12031 temp2 = True;
d14a1e28
RD
12032 }
12033 if (obj2) {
12034 {
12035 arg3 = wxString_in_helper(obj2);
12036 if (arg3 == NULL) SWIG_fail;
423f194a 12037 temp3 = True;
d14a1e28
RD
12038 }
12039 }
12040 if (obj4) {
12041 {
12042 arg5 = &temp5;
12043 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12044 }
12045 }
12046 {
12047 PyThreadState* __tstate = wxPyBeginAllowThreads();
12048 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
12049
12050 wxPyEndAllowThreads(__tstate);
12051 if (PyErr_Occurred()) SWIG_fail;
12052 }
12053 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
12054 {
12055 if (temp2)
12056 delete arg2;
12057 }
12058 {
12059 if (temp3)
12060 delete arg3;
12061 }
12062 return resultobj;
12063 fail:
12064 {
12065 if (temp2)
12066 delete arg2;
12067 }
12068 {
12069 if (temp3)
12070 delete arg3;
12071 }
12072 return NULL;
12073}
12074
12075
12076static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
12077 PyObject *resultobj;
12078 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
12079 int result;
12080 PyObject * obj0 = 0 ;
12081 char *kwnames[] = {
12082 (char *) "self", NULL
12083 };
12084
12085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
12086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12087 {
12088 PyThreadState* __tstate = wxPyBeginAllowThreads();
12089 result = (int)(arg1)->ShowModal();
12090
12091 wxPyEndAllowThreads(__tstate);
12092 if (PyErr_Occurred()) SWIG_fail;
12093 }
12094 resultobj = PyInt_FromLong((long)result);
12095 return resultobj;
12096 fail:
12097 return NULL;
12098}
12099
12100
12101static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
12102 PyObject *obj;
12103 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12104 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
12105 Py_INCREF(obj);
12106 return Py_BuildValue((char *)"");
12107}
12108static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12109 PyObject *resultobj;
12110 wxString *arg1 = 0 ;
12111 wxString *arg2 = 0 ;
12112 int arg3 = (int) 100 ;
12113 wxWindow *arg4 = (wxWindow *) NULL ;
12114 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
12115 wxProgressDialog *result;
423f194a
RD
12116 bool temp1 = False ;
12117 bool temp2 = False ;
d14a1e28
RD
12118 PyObject * obj0 = 0 ;
12119 PyObject * obj1 = 0 ;
12120 PyObject * obj3 = 0 ;
12121 char *kwnames[] = {
12122 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
12123 };
12124
12125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
12126 {
12127 arg1 = wxString_in_helper(obj0);
12128 if (arg1 == NULL) SWIG_fail;
423f194a 12129 temp1 = True;
d14a1e28
RD
12130 }
12131 {
12132 arg2 = wxString_in_helper(obj1);
12133 if (arg2 == NULL) SWIG_fail;
423f194a 12134 temp2 = True;
d14a1e28
RD
12135 }
12136 if (obj3) {
12137 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12138 }
12139 {
12140 PyThreadState* __tstate = wxPyBeginAllowThreads();
12141 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
12142
12143 wxPyEndAllowThreads(__tstate);
12144 if (PyErr_Occurred()) SWIG_fail;
12145 }
12146 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
12147 {
12148 if (temp1)
12149 delete arg1;
12150 }
12151 {
12152 if (temp2)
12153 delete arg2;
12154 }
12155 return resultobj;
12156 fail:
12157 {
12158 if (temp1)
12159 delete arg1;
12160 }
12161 {
12162 if (temp2)
12163 delete arg2;
12164 }
12165 return NULL;
12166}
12167
12168
12169static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
12170 PyObject *resultobj;
12171 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12172 int arg2 ;
12173 wxString const &arg3_defvalue = wxPyEmptyString ;
12174 wxString *arg3 = (wxString *) &arg3_defvalue ;
12175 bool result;
423f194a 12176 bool temp3 = False ;
d14a1e28
RD
12177 PyObject * obj0 = 0 ;
12178 PyObject * obj2 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self",(char *) "value",(char *) "newmsg", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
12184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12185 if (obj2) {
12186 {
12187 arg3 = wxString_in_helper(obj2);
12188 if (arg3 == NULL) SWIG_fail;
423f194a 12189 temp3 = True;
d14a1e28
RD
12190 }
12191 }
12192 {
12193 PyThreadState* __tstate = wxPyBeginAllowThreads();
12194 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
12195
12196 wxPyEndAllowThreads(__tstate);
12197 if (PyErr_Occurred()) SWIG_fail;
12198 }
12199 resultobj = PyInt_FromLong((long)result);
12200 {
12201 if (temp3)
12202 delete arg3;
12203 }
12204 return resultobj;
12205 fail:
12206 {
12207 if (temp3)
12208 delete arg3;
12209 }
12210 return NULL;
12211}
12212
12213
12214static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
12215 PyObject *resultobj;
12216 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
12217 PyObject * obj0 = 0 ;
12218 char *kwnames[] = {
12219 (char *) "self", NULL
12220 };
12221
12222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
12223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12224 {
12225 PyThreadState* __tstate = wxPyBeginAllowThreads();
12226 (arg1)->Resume();
12227
12228 wxPyEndAllowThreads(__tstate);
12229 if (PyErr_Occurred()) SWIG_fail;
12230 }
12231 Py_INCREF(Py_None); resultobj = Py_None;
12232 return resultobj;
12233 fail:
12234 return NULL;
12235}
12236
12237
12238static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
12239 PyObject *obj;
12240 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12241 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
12242 Py_INCREF(obj);
12243 return Py_BuildValue((char *)"");
12244}
12245static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
12246 PyObject *resultobj;
12247 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12248 int arg2 = (int) 0 ;
12249 wxFindDialogEvent *result;
12250 char *kwnames[] = {
12251 (char *) "commandType",(char *) "id", NULL
12252 };
12253
12254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12255 {
12256 PyThreadState* __tstate = wxPyBeginAllowThreads();
12257 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12258
12259 wxPyEndAllowThreads(__tstate);
12260 if (PyErr_Occurred()) SWIG_fail;
12261 }
12262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12263 return resultobj;
12264 fail:
12265 return NULL;
12266}
12267
12268
12269static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12270 PyObject *resultobj;
12271 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12272 int result;
12273 PyObject * obj0 = 0 ;
12274 char *kwnames[] = {
12275 (char *) "self", NULL
12276 };
12277
12278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12280 {
12281 PyThreadState* __tstate = wxPyBeginAllowThreads();
12282 result = (int)(arg1)->GetFlags();
12283
12284 wxPyEndAllowThreads(__tstate);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 }
12287 resultobj = PyInt_FromLong((long)result);
12288 return resultobj;
12289 fail:
12290 return NULL;
12291}
12292
12293
12294static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12295 PyObject *resultobj;
12296 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
f0983263 12297 wxString *result;
d14a1e28
RD
12298 PyObject * obj0 = 0 ;
12299 char *kwnames[] = {
12300 (char *) "self", NULL
12301 };
12302
12303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12305 {
12306 PyThreadState* __tstate = wxPyBeginAllowThreads();
f0983263
RD
12307 {
12308 wxString const &_result_ref = (arg1)->GetFindString();
12309 result = (wxString *) &_result_ref;
12310 }
d14a1e28
RD
12311
12312 wxPyEndAllowThreads(__tstate);
12313 if (PyErr_Occurred()) SWIG_fail;
12314 }
12315 {
12316#if wxUSE_UNICODE
f0983263 12317 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 12318#else
f0983263 12319 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
12320#endif
12321 }
12322 return resultobj;
12323 fail:
12324 return NULL;
12325}
12326
12327
12328static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12329 PyObject *resultobj;
12330 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12331 wxString *result;
12332 PyObject * obj0 = 0 ;
12333 char *kwnames[] = {
12334 (char *) "self", NULL
12335 };
12336
12337 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12338 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12339 {
12340 PyThreadState* __tstate = wxPyBeginAllowThreads();
12341 {
12342 wxString const &_result_ref = (arg1)->GetReplaceString();
12343 result = (wxString *) &_result_ref;
12344 }
12345
12346 wxPyEndAllowThreads(__tstate);
12347 if (PyErr_Occurred()) SWIG_fail;
12348 }
f0983263
RD
12349 {
12350#if wxUSE_UNICODE
12351 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12352#else
12353 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12354#endif
12355 }
d14a1e28
RD
12356 return resultobj;
12357 fail:
12358 return NULL;
12359}
12360
12361
12362static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12363 PyObject *resultobj;
12364 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12365 wxFindReplaceDialog *result;
12366 PyObject * obj0 = 0 ;
12367 char *kwnames[] = {
12368 (char *) "self", NULL
12369 };
12370
12371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12373 {
12374 PyThreadState* __tstate = wxPyBeginAllowThreads();
12375 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12376
12377 wxPyEndAllowThreads(__tstate);
12378 if (PyErr_Occurred()) SWIG_fail;
12379 }
12380 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12381 return resultobj;
12382 fail:
12383 return NULL;
12384}
12385
12386
12387static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12388 PyObject *resultobj;
12389 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12390 int arg2 ;
12391 PyObject * obj0 = 0 ;
12392 char *kwnames[] = {
12393 (char *) "self",(char *) "flags", NULL
12394 };
12395
12396 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12397 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12398 {
12399 PyThreadState* __tstate = wxPyBeginAllowThreads();
12400 (arg1)->SetFlags(arg2);
12401
12402 wxPyEndAllowThreads(__tstate);
12403 if (PyErr_Occurred()) SWIG_fail;
12404 }
12405 Py_INCREF(Py_None); resultobj = Py_None;
12406 return resultobj;
12407 fail:
12408 return NULL;
12409}
12410
12411
12412static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12413 PyObject *resultobj;
12414 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12415 wxString *arg2 = 0 ;
423f194a 12416 bool temp2 = False ;
d14a1e28
RD
12417 PyObject * obj0 = 0 ;
12418 PyObject * obj1 = 0 ;
12419 char *kwnames[] = {
12420 (char *) "self",(char *) "str", NULL
12421 };
12422
12423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12425 {
12426 arg2 = wxString_in_helper(obj1);
12427 if (arg2 == NULL) SWIG_fail;
423f194a 12428 temp2 = True;
d14a1e28
RD
12429 }
12430 {
12431 PyThreadState* __tstate = wxPyBeginAllowThreads();
12432 (arg1)->SetFindString((wxString const &)*arg2);
12433
12434 wxPyEndAllowThreads(__tstate);
12435 if (PyErr_Occurred()) SWIG_fail;
12436 }
12437 Py_INCREF(Py_None); resultobj = Py_None;
12438 {
12439 if (temp2)
12440 delete arg2;
12441 }
12442 return resultobj;
12443 fail:
12444 {
12445 if (temp2)
12446 delete arg2;
12447 }
12448 return NULL;
12449}
12450
12451
12452static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12453 PyObject *resultobj;
12454 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12455 wxString *arg2 = 0 ;
423f194a 12456 bool temp2 = False ;
d14a1e28
RD
12457 PyObject * obj0 = 0 ;
12458 PyObject * obj1 = 0 ;
12459 char *kwnames[] = {
12460 (char *) "self",(char *) "str", NULL
12461 };
12462
12463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12465 {
12466 arg2 = wxString_in_helper(obj1);
12467 if (arg2 == NULL) SWIG_fail;
423f194a 12468 temp2 = True;
d14a1e28
RD
12469 }
12470 {
12471 PyThreadState* __tstate = wxPyBeginAllowThreads();
12472 (arg1)->SetReplaceString((wxString const &)*arg2);
12473
12474 wxPyEndAllowThreads(__tstate);
12475 if (PyErr_Occurred()) SWIG_fail;
12476 }
12477 Py_INCREF(Py_None); resultobj = Py_None;
12478 {
12479 if (temp2)
12480 delete arg2;
12481 }
12482 return resultobj;
12483 fail:
12484 {
12485 if (temp2)
12486 delete arg2;
12487 }
12488 return NULL;
12489}
12490
12491
12492static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12493 PyObject *obj;
12494 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12495 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12496 Py_INCREF(obj);
12497 return Py_BuildValue((char *)"");
12498}
12499static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12500 PyObject *resultobj;
12501 int arg1 = (int) 0 ;
12502 wxFindReplaceData *result;
12503 char *kwnames[] = {
12504 (char *) "flags", NULL
12505 };
12506
12507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12508 {
12509 PyThreadState* __tstate = wxPyBeginAllowThreads();
12510 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12511
12512 wxPyEndAllowThreads(__tstate);
12513 if (PyErr_Occurred()) SWIG_fail;
12514 }
12515 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12516 return resultobj;
12517 fail:
12518 return NULL;
12519}
12520
12521
12522static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12523 PyObject *resultobj;
12524 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12525 PyObject * obj0 = 0 ;
12526 char *kwnames[] = {
12527 (char *) "self", NULL
12528 };
12529
12530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12532 {
12533 PyThreadState* __tstate = wxPyBeginAllowThreads();
12534 delete arg1;
12535
12536 wxPyEndAllowThreads(__tstate);
12537 if (PyErr_Occurred()) SWIG_fail;
12538 }
12539 Py_INCREF(Py_None); resultobj = Py_None;
12540 return resultobj;
12541 fail:
12542 return NULL;
12543}
12544
12545
12546static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12547 PyObject *resultobj;
12548 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12549 wxString *result;
12550 PyObject * obj0 = 0 ;
12551 char *kwnames[] = {
12552 (char *) "self", NULL
12553 };
12554
12555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12557 {
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 {
12560 wxString const &_result_ref = (arg1)->GetFindString();
12561 result = (wxString *) &_result_ref;
12562 }
12563
12564 wxPyEndAllowThreads(__tstate);
12565 if (PyErr_Occurred()) SWIG_fail;
12566 }
f0983263
RD
12567 {
12568#if wxUSE_UNICODE
12569 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12570#else
12571 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12572#endif
12573 }
d14a1e28
RD
12574 return resultobj;
12575 fail:
12576 return NULL;
12577}
12578
12579
12580static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12581 PyObject *resultobj;
12582 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12583 wxString *result;
12584 PyObject * obj0 = 0 ;
12585 char *kwnames[] = {
12586 (char *) "self", NULL
12587 };
12588
12589 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12590 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12591 {
12592 PyThreadState* __tstate = wxPyBeginAllowThreads();
12593 {
12594 wxString const &_result_ref = (arg1)->GetReplaceString();
12595 result = (wxString *) &_result_ref;
12596 }
12597
12598 wxPyEndAllowThreads(__tstate);
12599 if (PyErr_Occurred()) SWIG_fail;
12600 }
f0983263
RD
12601 {
12602#if wxUSE_UNICODE
12603 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12604#else
12605 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12606#endif
12607 }
d14a1e28
RD
12608 return resultobj;
12609 fail:
12610 return NULL;
12611}
12612
12613
12614static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12615 PyObject *resultobj;
12616 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12617 int result;
12618 PyObject * obj0 = 0 ;
12619 char *kwnames[] = {
12620 (char *) "self", NULL
12621 };
12622
12623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12625 {
12626 PyThreadState* __tstate = wxPyBeginAllowThreads();
12627 result = (int)(arg1)->GetFlags();
12628
12629 wxPyEndAllowThreads(__tstate);
12630 if (PyErr_Occurred()) SWIG_fail;
12631 }
12632 resultobj = PyInt_FromLong((long)result);
12633 return resultobj;
12634 fail:
12635 return NULL;
12636}
12637
12638
12639static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12640 PyObject *resultobj;
12641 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12642 int arg2 ;
12643 PyObject * obj0 = 0 ;
12644 char *kwnames[] = {
12645 (char *) "self",(char *) "flags", NULL
12646 };
12647
12648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12650 {
12651 PyThreadState* __tstate = wxPyBeginAllowThreads();
12652 (arg1)->SetFlags(arg2);
12653
12654 wxPyEndAllowThreads(__tstate);
12655 if (PyErr_Occurred()) SWIG_fail;
12656 }
12657 Py_INCREF(Py_None); resultobj = Py_None;
12658 return resultobj;
12659 fail:
12660 return NULL;
12661}
12662
12663
12664static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12665 PyObject *resultobj;
12666 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12667 wxString *arg2 = 0 ;
423f194a 12668 bool temp2 = False ;
d14a1e28
RD
12669 PyObject * obj0 = 0 ;
12670 PyObject * obj1 = 0 ;
12671 char *kwnames[] = {
12672 (char *) "self",(char *) "str", NULL
12673 };
12674
12675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12677 {
12678 arg2 = wxString_in_helper(obj1);
12679 if (arg2 == NULL) SWIG_fail;
423f194a 12680 temp2 = True;
d14a1e28
RD
12681 }
12682 {
12683 PyThreadState* __tstate = wxPyBeginAllowThreads();
12684 (arg1)->SetFindString((wxString const &)*arg2);
12685
12686 wxPyEndAllowThreads(__tstate);
12687 if (PyErr_Occurred()) SWIG_fail;
12688 }
12689 Py_INCREF(Py_None); resultobj = Py_None;
12690 {
12691 if (temp2)
12692 delete arg2;
12693 }
12694 return resultobj;
12695 fail:
12696 {
12697 if (temp2)
12698 delete arg2;
12699 }
12700 return NULL;
12701}
12702
12703
12704static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12705 PyObject *resultobj;
12706 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12707 wxString *arg2 = 0 ;
423f194a 12708 bool temp2 = False ;
d14a1e28
RD
12709 PyObject * obj0 = 0 ;
12710 PyObject * obj1 = 0 ;
12711 char *kwnames[] = {
12712 (char *) "self",(char *) "str", NULL
12713 };
12714
12715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12717 {
12718 arg2 = wxString_in_helper(obj1);
12719 if (arg2 == NULL) SWIG_fail;
423f194a 12720 temp2 = True;
d14a1e28
RD
12721 }
12722 {
12723 PyThreadState* __tstate = wxPyBeginAllowThreads();
12724 (arg1)->SetReplaceString((wxString const &)*arg2);
12725
12726 wxPyEndAllowThreads(__tstate);
12727 if (PyErr_Occurred()) SWIG_fail;
12728 }
12729 Py_INCREF(Py_None); resultobj = Py_None;
12730 {
12731 if (temp2)
12732 delete arg2;
12733 }
12734 return resultobj;
12735 fail:
12736 {
12737 if (temp2)
12738 delete arg2;
12739 }
12740 return NULL;
12741}
12742
12743
12744static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12745 PyObject *obj;
12746 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12747 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12748 Py_INCREF(obj);
12749 return Py_BuildValue((char *)"");
12750}
12751static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12752 PyObject *resultobj;
12753 wxWindow *arg1 = (wxWindow *) 0 ;
12754 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12755 wxString *arg3 = 0 ;
12756 int arg4 = (int) 0 ;
12757 wxFindReplaceDialog *result;
423f194a 12758 bool temp3 = False ;
d14a1e28
RD
12759 PyObject * obj0 = 0 ;
12760 PyObject * obj1 = 0 ;
12761 PyObject * obj2 = 0 ;
12762 char *kwnames[] = {
12763 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12764 };
12765
12766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12768 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12769 {
12770 arg3 = wxString_in_helper(obj2);
12771 if (arg3 == NULL) SWIG_fail;
423f194a 12772 temp3 = True;
d14a1e28
RD
12773 }
12774 {
12775 PyThreadState* __tstate = wxPyBeginAllowThreads();
12776 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12777
12778 wxPyEndAllowThreads(__tstate);
12779 if (PyErr_Occurred()) SWIG_fail;
12780 }
12781 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12782 {
12783 if (temp3)
12784 delete arg3;
12785 }
12786 return resultobj;
12787 fail:
12788 {
12789 if (temp3)
12790 delete arg3;
12791 }
12792 return NULL;
12793}
12794
12795
12796static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12797 PyObject *resultobj;
12798 wxFindReplaceDialog *result;
12799 char *kwnames[] = {
12800 NULL
12801 };
12802
12803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12807
12808 wxPyEndAllowThreads(__tstate);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 }
12811 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12812 return resultobj;
12813 fail:
12814 return NULL;
12815}
12816
12817
12818static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12819 PyObject *resultobj;
12820 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12821 wxWindow *arg2 = (wxWindow *) 0 ;
12822 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12823 wxString *arg4 = 0 ;
12824 int arg5 = (int) 0 ;
12825 bool result;
423f194a 12826 bool temp4 = False ;
d14a1e28
RD
12827 PyObject * obj0 = 0 ;
12828 PyObject * obj1 = 0 ;
12829 PyObject * obj2 = 0 ;
12830 PyObject * obj3 = 0 ;
12831 char *kwnames[] = {
12832 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12833 };
12834
12835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12837 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12838 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12839 {
12840 arg4 = wxString_in_helper(obj3);
12841 if (arg4 == NULL) SWIG_fail;
423f194a 12842 temp4 = True;
d14a1e28
RD
12843 }
12844 {
12845 PyThreadState* __tstate = wxPyBeginAllowThreads();
12846 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12847
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 resultobj = PyInt_FromLong((long)result);
12852 {
12853 if (temp4)
12854 delete arg4;
12855 }
12856 return resultobj;
12857 fail:
12858 {
12859 if (temp4)
12860 delete arg4;
12861 }
12862 return NULL;
12863}
12864
12865
12866static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12867 PyObject *resultobj;
12868 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12869 wxFindReplaceData *result;
12870 PyObject * obj0 = 0 ;
12871 char *kwnames[] = {
12872 (char *) "self", NULL
12873 };
12874
12875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 result = (wxFindReplaceData *)(arg1)->GetData();
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12885 return resultobj;
12886 fail:
12887 return NULL;
12888}
12889
12890
12891static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj;
12893 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12894 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12895 PyObject * obj0 = 0 ;
12896 PyObject * obj1 = 0 ;
12897 char *kwnames[] = {
12898 (char *) "self",(char *) "data", NULL
12899 };
12900
12901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12903 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12904 {
12905 PyThreadState* __tstate = wxPyBeginAllowThreads();
12906 (arg1)->SetData(arg2);
12907
12908 wxPyEndAllowThreads(__tstate);
12909 if (PyErr_Occurred()) SWIG_fail;
12910 }
12911 Py_INCREF(Py_None); resultobj = Py_None;
12912 return resultobj;
12913 fail:
12914 return NULL;
12915}
12916
12917
12918static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12919 PyObject *obj;
12920 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12921 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12922 Py_INCREF(obj);
12923 return Py_BuildValue((char *)"");
12924}
12925static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12926 PyObject *resultobj;
12927 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 12928 int arg2 ;
d14a1e28
RD
12929 wxString *arg3 = 0 ;
12930 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12931 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12932 wxSize const &arg5_defvalue = wxDefaultSize ;
12933 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12934 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12935 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12936 wxString *arg7 = (wxString *) &arg7_defvalue ;
12937 wxMDIParentFrame *result;
423f194a 12938 bool temp3 = False ;
d14a1e28
RD
12939 wxPoint temp4 ;
12940 wxSize temp5 ;
423f194a 12941 bool temp7 = False ;
d14a1e28
RD
12942 PyObject * obj0 = 0 ;
12943 PyObject * obj2 = 0 ;
12944 PyObject * obj3 = 0 ;
12945 PyObject * obj4 = 0 ;
12946 PyObject * obj6 = 0 ;
12947 char *kwnames[] = {
12948 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12949 };
12950
12951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12953 {
12954 arg3 = wxString_in_helper(obj2);
12955 if (arg3 == NULL) SWIG_fail;
423f194a 12956 temp3 = True;
d14a1e28
RD
12957 }
12958 if (obj3) {
12959 {
12960 arg4 = &temp4;
12961 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12962 }
12963 }
12964 if (obj4) {
12965 {
12966 arg5 = &temp5;
12967 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12968 }
12969 }
12970 if (obj6) {
12971 {
12972 arg7 = wxString_in_helper(obj6);
12973 if (arg7 == NULL) SWIG_fail;
423f194a 12974 temp7 = True;
d14a1e28
RD
12975 }
12976 }
12977 {
12978 PyThreadState* __tstate = wxPyBeginAllowThreads();
12979 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12980
12981 wxPyEndAllowThreads(__tstate);
12982 if (PyErr_Occurred()) SWIG_fail;
12983 }
12984 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12985 {
12986 if (temp3)
12987 delete arg3;
12988 }
12989 {
12990 if (temp7)
12991 delete arg7;
12992 }
12993 return resultobj;
12994 fail:
12995 {
12996 if (temp3)
12997 delete arg3;
12998 }
12999 {
13000 if (temp7)
13001 delete arg7;
13002 }
13003 return NULL;
13004}
13005
13006
13007static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13008 PyObject *resultobj;
13009 wxMDIParentFrame *result;
13010 char *kwnames[] = {
13011 NULL
13012 };
13013
13014 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
13015 {
13016 PyThreadState* __tstate = wxPyBeginAllowThreads();
13017 result = (wxMDIParentFrame *)new wxMDIParentFrame();
13018
13019 wxPyEndAllowThreads(__tstate);
13020 if (PyErr_Occurred()) SWIG_fail;
13021 }
13022 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
13023 return resultobj;
13024 fail:
13025 return NULL;
13026}
13027
13028
13029static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13030 PyObject *resultobj;
13031 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13032 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 13033 int arg3 ;
d14a1e28
RD
13034 wxString *arg4 = 0 ;
13035 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13036 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13037 wxSize const &arg6_defvalue = wxDefaultSize ;
13038 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13039 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
13040 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13041 wxString *arg8 = (wxString *) &arg8_defvalue ;
13042 bool result;
423f194a 13043 bool temp4 = False ;
d14a1e28
RD
13044 wxPoint temp5 ;
13045 wxSize temp6 ;
423f194a 13046 bool temp8 = False ;
d14a1e28
RD
13047 PyObject * obj0 = 0 ;
13048 PyObject * obj1 = 0 ;
13049 PyObject * obj3 = 0 ;
13050 PyObject * obj4 = 0 ;
13051 PyObject * obj5 = 0 ;
13052 PyObject * obj7 = 0 ;
13053 char *kwnames[] = {
13054 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13055 };
13056
13057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13059 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13060 {
13061 arg4 = wxString_in_helper(obj3);
13062 if (arg4 == NULL) SWIG_fail;
423f194a 13063 temp4 = True;
d14a1e28
RD
13064 }
13065 if (obj4) {
13066 {
13067 arg5 = &temp5;
13068 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13069 }
13070 }
13071 if (obj5) {
13072 {
13073 arg6 = &temp6;
13074 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13075 }
13076 }
13077 if (obj7) {
13078 {
13079 arg8 = wxString_in_helper(obj7);
13080 if (arg8 == NULL) SWIG_fail;
423f194a 13081 temp8 = True;
d14a1e28
RD
13082 }
13083 }
13084 {
13085 PyThreadState* __tstate = wxPyBeginAllowThreads();
13086 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13087
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 resultobj = PyInt_FromLong((long)result);
13092 {
13093 if (temp4)
13094 delete arg4;
13095 }
13096 {
13097 if (temp8)
13098 delete arg8;
13099 }
13100 return resultobj;
13101 fail:
13102 {
13103 if (temp4)
13104 delete arg4;
13105 }
13106 {
13107 if (temp8)
13108 delete arg8;
13109 }
13110 return NULL;
13111}
13112
13113
13114static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
13115 PyObject *resultobj;
13116 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13117 PyObject * obj0 = 0 ;
13118 char *kwnames[] = {
13119 (char *) "self", NULL
13120 };
13121
13122 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
13123 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13124 {
13125 PyThreadState* __tstate = wxPyBeginAllowThreads();
13126 (arg1)->ActivateNext();
13127
13128 wxPyEndAllowThreads(__tstate);
13129 if (PyErr_Occurred()) SWIG_fail;
13130 }
13131 Py_INCREF(Py_None); resultobj = Py_None;
13132 return resultobj;
13133 fail:
13134 return NULL;
13135}
13136
13137
13138static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
13139 PyObject *resultobj;
13140 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13141 PyObject * obj0 = 0 ;
13142 char *kwnames[] = {
13143 (char *) "self", NULL
13144 };
13145
13146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
13147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13148 {
13149 PyThreadState* __tstate = wxPyBeginAllowThreads();
13150 (arg1)->ActivatePrevious();
13151
13152 wxPyEndAllowThreads(__tstate);
13153 if (PyErr_Occurred()) SWIG_fail;
13154 }
13155 Py_INCREF(Py_None); resultobj = Py_None;
13156 return resultobj;
13157 fail:
13158 return NULL;
13159}
13160
13161
13162static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
13163 PyObject *resultobj;
13164 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13165 PyObject * obj0 = 0 ;
13166 char *kwnames[] = {
13167 (char *) "self", NULL
13168 };
13169
13170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
13171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13172 {
13173 PyThreadState* __tstate = wxPyBeginAllowThreads();
13174 (arg1)->ArrangeIcons();
13175
13176 wxPyEndAllowThreads(__tstate);
13177 if (PyErr_Occurred()) SWIG_fail;
13178 }
13179 Py_INCREF(Py_None); resultobj = Py_None;
13180 return resultobj;
13181 fail:
13182 return NULL;
13183}
13184
13185
13186static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
13187 PyObject *resultobj;
13188 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13189 PyObject * obj0 = 0 ;
13190 char *kwnames[] = {
13191 (char *) "self", NULL
13192 };
13193
13194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
13195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13196 {
13197 PyThreadState* __tstate = wxPyBeginAllowThreads();
13198 (arg1)->Cascade();
13199
13200 wxPyEndAllowThreads(__tstate);
13201 if (PyErr_Occurred()) SWIG_fail;
13202 }
13203 Py_INCREF(Py_None); resultobj = Py_None;
13204 return resultobj;
13205 fail:
13206 return NULL;
13207}
13208
13209
13210static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13211 PyObject *resultobj;
13212 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13213 wxMDIChildFrame *result;
13214 PyObject * obj0 = 0 ;
13215 char *kwnames[] = {
13216 (char *) "self", NULL
13217 };
13218
13219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
13220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13221 {
13222 PyThreadState* __tstate = wxPyBeginAllowThreads();
13223 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
13224
13225 wxPyEndAllowThreads(__tstate);
13226 if (PyErr_Occurred()) SWIG_fail;
13227 }
13228 {
13229 resultobj = wxPyMake_wxObject(result);
13230 }
13231 return resultobj;
13232 fail:
13233 return NULL;
13234}
13235
13236
13237static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13238 PyObject *resultobj;
13239 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13240 wxMDIClientWindow *result;
13241 PyObject * obj0 = 0 ;
13242 char *kwnames[] = {
13243 (char *) "self", NULL
13244 };
13245
13246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13248 {
13249 PyThreadState* __tstate = wxPyBeginAllowThreads();
13250 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13251
13252 wxPyEndAllowThreads(__tstate);
13253 if (PyErr_Occurred()) SWIG_fail;
13254 }
13255 {
13256 resultobj = wxPyMake_wxObject(result);
13257 }
13258 return resultobj;
13259 fail:
13260 return NULL;
13261}
13262
13263
13264static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13265 PyObject *resultobj;
13266 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13267 wxWindow *result;
13268 PyObject * obj0 = 0 ;
13269 char *kwnames[] = {
13270 (char *) "self", NULL
13271 };
13272
13273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13275 {
13276 PyThreadState* __tstate = wxPyBeginAllowThreads();
13277 result = (wxWindow *)(arg1)->GetToolBar();
13278
13279 wxPyEndAllowThreads(__tstate);
13280 if (PyErr_Occurred()) SWIG_fail;
13281 }
13282 {
13283 resultobj = wxPyMake_wxObject(result);
13284 }
13285 return resultobj;
13286 fail:
13287 return NULL;
13288}
13289
13290
13291static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13292 PyObject *resultobj;
13293 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13294 wxMenu *result;
13295 PyObject * obj0 = 0 ;
13296 char *kwnames[] = {
13297 (char *) "self", NULL
13298 };
13299
13300 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
13301 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13302 {
13303 PyThreadState* __tstate = wxPyBeginAllowThreads();
13304 result = (wxMenu *)(arg1)->GetWindowMenu();
13305
13306 wxPyEndAllowThreads(__tstate);
13307 if (PyErr_Occurred()) SWIG_fail;
13308 }
13309 {
13310 resultobj = wxPyMake_wxObject(result);
13311 }
13312 return resultobj;
13313 fail:
13314 return NULL;
13315}
13316
13317
13318static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj;
13320 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13321 wxMenu *arg2 = (wxMenu *) 0 ;
13322 PyObject * obj0 = 0 ;
13323 PyObject * obj1 = 0 ;
13324 char *kwnames[] = {
13325 (char *) "self",(char *) "menu", NULL
13326 };
13327
13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
13329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13331 {
13332 PyThreadState* __tstate = wxPyBeginAllowThreads();
13333 (arg1)->SetWindowMenu(arg2);
13334
13335 wxPyEndAllowThreads(__tstate);
13336 if (PyErr_Occurred()) SWIG_fail;
13337 }
13338 Py_INCREF(Py_None); resultobj = Py_None;
13339 return resultobj;
13340 fail:
13341 return NULL;
13342}
13343
13344
13345static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13346 PyObject *resultobj;
13347 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13348 wxToolBar *arg2 = (wxToolBar *) 0 ;
13349 PyObject * obj0 = 0 ;
13350 PyObject * obj1 = 0 ;
13351 char *kwnames[] = {
13352 (char *) "self",(char *) "toolbar", NULL
13353 };
13354
13355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
13356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13357 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13358 {
13359 PyThreadState* __tstate = wxPyBeginAllowThreads();
13360 (arg1)->SetToolBar(arg2);
13361
13362 wxPyEndAllowThreads(__tstate);
13363 if (PyErr_Occurred()) SWIG_fail;
13364 }
13365 Py_INCREF(Py_None); resultobj = Py_None;
13366 return resultobj;
13367 fail:
13368 return NULL;
13369}
13370
13371
13372static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13373 PyObject *resultobj;
13374 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13375 PyObject * obj0 = 0 ;
13376 char *kwnames[] = {
13377 (char *) "self", NULL
13378 };
13379
13380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13382 {
13383 PyThreadState* __tstate = wxPyBeginAllowThreads();
13384 (arg1)->Tile();
13385
13386 wxPyEndAllowThreads(__tstate);
13387 if (PyErr_Occurred()) SWIG_fail;
13388 }
13389 Py_INCREF(Py_None); resultobj = Py_None;
13390 return resultobj;
13391 fail:
13392 return NULL;
13393}
13394
13395
13396static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13397 PyObject *obj;
13398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13399 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13400 Py_INCREF(obj);
13401 return Py_BuildValue((char *)"");
13402}
13403static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13404 PyObject *resultobj;
13405 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
423f194a 13406 int arg2 ;
d14a1e28
RD
13407 wxString *arg3 = 0 ;
13408 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13409 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13410 wxSize const &arg5_defvalue = wxDefaultSize ;
13411 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13412 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13413 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13414 wxString *arg7 = (wxString *) &arg7_defvalue ;
13415 wxMDIChildFrame *result;
423f194a 13416 bool temp3 = False ;
d14a1e28
RD
13417 wxPoint temp4 ;
13418 wxSize temp5 ;
423f194a 13419 bool temp7 = False ;
d14a1e28
RD
13420 PyObject * obj0 = 0 ;
13421 PyObject * obj2 = 0 ;
13422 PyObject * obj3 = 0 ;
13423 PyObject * obj4 = 0 ;
13424 PyObject * obj6 = 0 ;
13425 char *kwnames[] = {
13426 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13427 };
13428
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13431 {
13432 arg3 = wxString_in_helper(obj2);
13433 if (arg3 == NULL) SWIG_fail;
423f194a 13434 temp3 = True;
d14a1e28
RD
13435 }
13436 if (obj3) {
13437 {
13438 arg4 = &temp4;
13439 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13440 }
13441 }
13442 if (obj4) {
13443 {
13444 arg5 = &temp5;
13445 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13446 }
13447 }
13448 if (obj6) {
13449 {
13450 arg7 = wxString_in_helper(obj6);
13451 if (arg7 == NULL) SWIG_fail;
423f194a 13452 temp7 = True;
d14a1e28
RD
13453 }
13454 }
13455 {
13456 PyThreadState* __tstate = wxPyBeginAllowThreads();
13457 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13458
13459 wxPyEndAllowThreads(__tstate);
13460 if (PyErr_Occurred()) SWIG_fail;
13461 }
13462 {
13463 resultobj = wxPyMake_wxObject(result);
13464 }
13465 {
13466 if (temp3)
13467 delete arg3;
13468 }
13469 {
13470 if (temp7)
13471 delete arg7;
13472 }
13473 return resultobj;
13474 fail:
13475 {
13476 if (temp3)
13477 delete arg3;
13478 }
13479 {
13480 if (temp7)
13481 delete arg7;
13482 }
13483 return NULL;
13484}
13485
13486
13487static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13488 PyObject *resultobj;
13489 wxMDIChildFrame *result;
13490 char *kwnames[] = {
13491 NULL
13492 };
13493
13494 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13495 {
13496 PyThreadState* __tstate = wxPyBeginAllowThreads();
13497 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13498
13499 wxPyEndAllowThreads(__tstate);
13500 if (PyErr_Occurred()) SWIG_fail;
13501 }
13502 {
13503 resultobj = wxPyMake_wxObject(result);
13504 }
13505 return resultobj;
13506 fail:
13507 return NULL;
13508}
13509
13510
13511static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13512 PyObject *resultobj;
13513 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13514 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
423f194a 13515 int arg3 ;
d14a1e28
RD
13516 wxString *arg4 = 0 ;
13517 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13518 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13519 wxSize const &arg6_defvalue = wxDefaultSize ;
13520 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13521 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13522 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13523 wxString *arg8 = (wxString *) &arg8_defvalue ;
13524 bool result;
423f194a 13525 bool temp4 = False ;
d14a1e28
RD
13526 wxPoint temp5 ;
13527 wxSize temp6 ;
423f194a 13528 bool temp8 = False ;
d14a1e28
RD
13529 PyObject * obj0 = 0 ;
13530 PyObject * obj1 = 0 ;
13531 PyObject * obj3 = 0 ;
13532 PyObject * obj4 = 0 ;
13533 PyObject * obj5 = 0 ;
13534 PyObject * obj7 = 0 ;
13535 char *kwnames[] = {
13536 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13537 };
13538
13539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13541 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13542 {
13543 arg4 = wxString_in_helper(obj3);
13544 if (arg4 == NULL) SWIG_fail;
423f194a 13545 temp4 = True;
d14a1e28
RD
13546 }
13547 if (obj4) {
13548 {
13549 arg5 = &temp5;
13550 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13551 }
13552 }
13553 if (obj5) {
13554 {
13555 arg6 = &temp6;
13556 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13557 }
13558 }
13559 if (obj7) {
13560 {
13561 arg8 = wxString_in_helper(obj7);
13562 if (arg8 == NULL) SWIG_fail;
423f194a 13563 temp8 = True;
d14a1e28
RD
13564 }
13565 }
13566 {
13567 PyThreadState* __tstate = wxPyBeginAllowThreads();
13568 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13569
13570 wxPyEndAllowThreads(__tstate);
13571 if (PyErr_Occurred()) SWIG_fail;
13572 }
13573 resultobj = PyInt_FromLong((long)result);
13574 {
13575 if (temp4)
13576 delete arg4;
13577 }
13578 {
13579 if (temp8)
13580 delete arg8;
13581 }
13582 return resultobj;
13583 fail:
13584 {
13585 if (temp4)
13586 delete arg4;
13587 }
13588 {
13589 if (temp8)
13590 delete arg8;
13591 }
13592 return NULL;
13593}
13594
13595
13596static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13597 PyObject *resultobj;
13598 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13599 PyObject * obj0 = 0 ;
13600 char *kwnames[] = {
13601 (char *) "self", NULL
13602 };
13603
13604 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13605 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13606 {
13607 PyThreadState* __tstate = wxPyBeginAllowThreads();
13608 (arg1)->Activate();
13609
13610 wxPyEndAllowThreads(__tstate);
13611 if (PyErr_Occurred()) SWIG_fail;
13612 }
13613 Py_INCREF(Py_None); resultobj = Py_None;
13614 return resultobj;
13615 fail:
13616 return NULL;
13617}
13618
13619
13620static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13621 PyObject *resultobj;
13622 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13623 bool arg2 ;
13624 PyObject * obj0 = 0 ;
13625 PyObject * obj1 = 0 ;
13626 char *kwnames[] = {
13627 (char *) "self",(char *) "maximize", NULL
13628 };
13629
13630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13632 arg2 = PyInt_AsLong(obj1) ? true : false;
13633 if (PyErr_Occurred()) SWIG_fail;
13634 {
13635 PyThreadState* __tstate = wxPyBeginAllowThreads();
13636 (arg1)->Maximize(arg2);
13637
13638 wxPyEndAllowThreads(__tstate);
13639 if (PyErr_Occurred()) SWIG_fail;
13640 }
13641 Py_INCREF(Py_None); resultobj = Py_None;
13642 return resultobj;
13643 fail:
13644 return NULL;
13645}
13646
13647
13648static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13649 PyObject *resultobj;
13650 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13651 PyObject * obj0 = 0 ;
13652 char *kwnames[] = {
13653 (char *) "self", NULL
13654 };
13655
13656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13658 {
13659 PyThreadState* __tstate = wxPyBeginAllowThreads();
13660 (arg1)->Restore();
13661
13662 wxPyEndAllowThreads(__tstate);
13663 if (PyErr_Occurred()) SWIG_fail;
13664 }
13665 Py_INCREF(Py_None); resultobj = Py_None;
13666 return resultobj;
13667 fail:
13668 return NULL;
13669}
13670
13671
13672static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13673 PyObject *obj;
13674 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13675 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13676 Py_INCREF(obj);
13677 return Py_BuildValue((char *)"");
13678}
13679static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13680 PyObject *resultobj;
13681 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13682 long arg2 = (long) 0 ;
13683 wxMDIClientWindow *result;
13684 PyObject * obj0 = 0 ;
13685 char *kwnames[] = {
13686 (char *) "parent",(char *) "style", NULL
13687 };
13688
13689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13691 {
13692 PyThreadState* __tstate = wxPyBeginAllowThreads();
13693 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13694
13695 wxPyEndAllowThreads(__tstate);
13696 if (PyErr_Occurred()) SWIG_fail;
13697 }
13698 {
13699 resultobj = wxPyMake_wxObject(result);
13700 }
13701 return resultobj;
13702 fail:
13703 return NULL;
13704}
13705
13706
13707static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13708 PyObject *resultobj;
13709 wxMDIClientWindow *result;
13710 char *kwnames[] = {
13711 NULL
13712 };
13713
13714 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13715 {
13716 PyThreadState* __tstate = wxPyBeginAllowThreads();
13717 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13718
13719 wxPyEndAllowThreads(__tstate);
13720 if (PyErr_Occurred()) SWIG_fail;
13721 }
13722 {
13723 resultobj = wxPyMake_wxObject(result);
13724 }
13725 return resultobj;
13726 fail:
13727 return NULL;
13728}
13729
13730
13731static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13732 PyObject *resultobj;
13733 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13734 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13735 long arg3 = (long) 0 ;
13736 bool result;
13737 PyObject * obj0 = 0 ;
13738 PyObject * obj1 = 0 ;
13739 char *kwnames[] = {
13740 (char *) "self",(char *) "parent",(char *) "style", NULL
13741 };
13742
13743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13745 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13746 {
13747 PyThreadState* __tstate = wxPyBeginAllowThreads();
13748 result = (bool)(arg1)->Create(arg2,arg3);
13749
13750 wxPyEndAllowThreads(__tstate);
13751 if (PyErr_Occurred()) SWIG_fail;
13752 }
13753 resultobj = PyInt_FromLong((long)result);
13754 return resultobj;
13755 fail:
13756 return NULL;
13757}
13758
13759
13760static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13761 PyObject *obj;
13762 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13763 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13764 Py_INCREF(obj);
13765 return Py_BuildValue((char *)"");
13766}
13767static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13768 PyObject *resultobj;
13769 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 13770 int arg2 ;
d14a1e28
RD
13771 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13772 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13773 wxSize const &arg4_defvalue = wxDefaultSize ;
13774 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13775 long arg5 = (long) 0 ;
13776 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13777 wxString *arg6 = (wxString *) &arg6_defvalue ;
13778 wxPyWindow *result;
13779 wxPoint temp3 ;
13780 wxSize temp4 ;
423f194a 13781 bool temp6 = False ;
d14a1e28
RD
13782 PyObject * obj0 = 0 ;
13783 PyObject * obj2 = 0 ;
13784 PyObject * obj3 = 0 ;
13785 PyObject * obj5 = 0 ;
13786 char *kwnames[] = {
13787 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13788 };
13789
13790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13792 if (obj2) {
13793 {
13794 arg3 = &temp3;
13795 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13796 }
13797 }
13798 if (obj3) {
13799 {
13800 arg4 = &temp4;
13801 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13802 }
13803 }
13804 if (obj5) {
13805 {
13806 arg6 = wxString_in_helper(obj5);
13807 if (arg6 == NULL) SWIG_fail;
423f194a 13808 temp6 = True;
d14a1e28
RD
13809 }
13810 }
13811 {
13812 PyThreadState* __tstate = wxPyBeginAllowThreads();
13813 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13814
13815 wxPyEndAllowThreads(__tstate);
13816 if (PyErr_Occurred()) SWIG_fail;
13817 }
13818 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13819 {
13820 if (temp6)
13821 delete arg6;
13822 }
13823 return resultobj;
13824 fail:
13825 {
13826 if (temp6)
13827 delete arg6;
13828 }
13829 return NULL;
13830}
13831
13832
13833static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13834 PyObject *resultobj;
13835 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13836 PyObject *arg2 = (PyObject *) 0 ;
13837 PyObject *arg3 = (PyObject *) 0 ;
13838 PyObject * obj0 = 0 ;
13839 PyObject * obj1 = 0 ;
13840 PyObject * obj2 = 0 ;
13841 char *kwnames[] = {
13842 (char *) "self",(char *) "self",(char *) "_class", NULL
13843 };
13844
13845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13846 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13847 arg2 = obj1;
13848 arg3 = obj2;
13849 {
13850 PyThreadState* __tstate = wxPyBeginAllowThreads();
13851 (arg1)->_setCallbackInfo(arg2,arg3);
13852
13853 wxPyEndAllowThreads(__tstate);
13854 if (PyErr_Occurred()) SWIG_fail;
13855 }
13856 Py_INCREF(Py_None); resultobj = Py_None;
13857 return resultobj;
13858 fail:
13859 return NULL;
13860}
13861
13862
13863static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13864 PyObject *resultobj;
13865 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13866 int arg2 ;
13867 int arg3 ;
13868 int arg4 ;
13869 int arg5 ;
13870 PyObject * obj0 = 0 ;
13871 char *kwnames[] = {
13872 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13873 };
13874
13875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13877 {
13878 PyThreadState* __tstate = wxPyBeginAllowThreads();
13879 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13880
13881 wxPyEndAllowThreads(__tstate);
13882 if (PyErr_Occurred()) SWIG_fail;
13883 }
13884 Py_INCREF(Py_None); resultobj = Py_None;
13885 return resultobj;
13886 fail:
13887 return NULL;
13888}
13889
13890
13891static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13892 PyObject *resultobj;
13893 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13894 int arg2 ;
13895 int arg3 ;
13896 int arg4 ;
13897 int arg5 ;
13898 int arg6 = (int) wxSIZE_AUTO ;
13899 PyObject * obj0 = 0 ;
13900 char *kwnames[] = {
13901 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13902 };
13903
13904 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13905 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13906 {
13907 PyThreadState* __tstate = wxPyBeginAllowThreads();
13908 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13909
13910 wxPyEndAllowThreads(__tstate);
13911 if (PyErr_Occurred()) SWIG_fail;
13912 }
13913 Py_INCREF(Py_None); resultobj = Py_None;
13914 return resultobj;
13915 fail:
13916 return NULL;
13917}
13918
13919
13920static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13921 PyObject *resultobj;
13922 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13923 int arg2 ;
13924 int arg3 ;
13925 PyObject * obj0 = 0 ;
13926 char *kwnames[] = {
13927 (char *) "self",(char *) "width",(char *) "height", NULL
13928 };
13929
13930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13932 {
13933 PyThreadState* __tstate = wxPyBeginAllowThreads();
13934 (arg1)->base_DoSetClientSize(arg2,arg3);
13935
13936 wxPyEndAllowThreads(__tstate);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 }
13939 Py_INCREF(Py_None); resultobj = Py_None;
13940 return resultobj;
13941 fail:
13942 return NULL;
13943}
13944
13945
13946static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13947 PyObject *resultobj;
13948 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13949 int arg2 ;
13950 int arg3 ;
13951 PyObject * obj0 = 0 ;
13952 char *kwnames[] = {
13953 (char *) "self",(char *) "x",(char *) "y", NULL
13954 };
13955
13956 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13957 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13958 {
13959 PyThreadState* __tstate = wxPyBeginAllowThreads();
13960 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13961
13962 wxPyEndAllowThreads(__tstate);
13963 if (PyErr_Occurred()) SWIG_fail;
13964 }
13965 Py_INCREF(Py_None); resultobj = Py_None;
13966 return resultobj;
13967 fail:
13968 return NULL;
13969}
13970
13971
13972static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13973 PyObject *resultobj;
13974 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13975 int *arg2 = (int *) 0 ;
13976 int *arg3 = (int *) 0 ;
13977 int temp2 ;
13978 int temp3 ;
13979 PyObject * obj0 = 0 ;
13980 char *kwnames[] = {
13981 (char *) "self", NULL
13982 };
13983
13984 arg2 = &temp2;
13985 arg3 = &temp3;
13986 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13987 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13988 {
13989 PyThreadState* __tstate = wxPyBeginAllowThreads();
13990 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13991
13992 wxPyEndAllowThreads(__tstate);
13993 if (PyErr_Occurred()) SWIG_fail;
13994 }
13995 Py_INCREF(Py_None); resultobj = Py_None;
13996 {
13997 PyObject *o = PyInt_FromLong((long) (*arg2));
13998 resultobj = t_output_helper(resultobj,o);
13999 }
14000 {
14001 PyObject *o = PyInt_FromLong((long) (*arg3));
14002 resultobj = t_output_helper(resultobj,o);
14003 }
14004 return resultobj;
14005 fail:
14006 return NULL;
14007}
14008
14009
14010static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14011 PyObject *resultobj;
14012 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14013 int *arg2 = (int *) 0 ;
14014 int *arg3 = (int *) 0 ;
14015 int temp2 ;
14016 int temp3 ;
14017 PyObject * obj0 = 0 ;
14018 char *kwnames[] = {
14019 (char *) "self", NULL
14020 };
14021
14022 arg2 = &temp2;
14023 arg3 = &temp3;
14024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14026 {
14027 PyThreadState* __tstate = wxPyBeginAllowThreads();
14028 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
14029
14030 wxPyEndAllowThreads(__tstate);
14031 if (PyErr_Occurred()) SWIG_fail;
14032 }
14033 Py_INCREF(Py_None); resultobj = Py_None;
14034 {
14035 PyObject *o = PyInt_FromLong((long) (*arg2));
14036 resultobj = t_output_helper(resultobj,o);
14037 }
14038 {
14039 PyObject *o = PyInt_FromLong((long) (*arg3));
14040 resultobj = t_output_helper(resultobj,o);
14041 }
14042 return resultobj;
14043 fail:
14044 return NULL;
14045}
14046
14047
14048static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14049 PyObject *resultobj;
14050 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14051 int *arg2 = (int *) 0 ;
14052 int *arg3 = (int *) 0 ;
14053 int temp2 ;
14054 int temp3 ;
14055 PyObject * obj0 = 0 ;
14056 char *kwnames[] = {
14057 (char *) "self", NULL
14058 };
14059
14060 arg2 = &temp2;
14061 arg3 = &temp3;
14062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
14063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14064 {
14065 PyThreadState* __tstate = wxPyBeginAllowThreads();
14066 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
14067
14068 wxPyEndAllowThreads(__tstate);
14069 if (PyErr_Occurred()) SWIG_fail;
14070 }
14071 Py_INCREF(Py_None); resultobj = Py_None;
14072 {
14073 PyObject *o = PyInt_FromLong((long) (*arg2));
14074 resultobj = t_output_helper(resultobj,o);
14075 }
14076 {
14077 PyObject *o = PyInt_FromLong((long) (*arg3));
14078 resultobj = t_output_helper(resultobj,o);
14079 }
14080 return resultobj;
14081 fail:
14082 return NULL;
14083}
14084
14085
14086static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14087 PyObject *resultobj;
14088 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14089 wxSize result;
14090 PyObject * obj0 = 0 ;
14091 char *kwnames[] = {
14092 (char *) "self", NULL
14093 };
14094
14095 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14096 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14097 {
14098 PyThreadState* __tstate = wxPyBeginAllowThreads();
14099 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
14100
14101 wxPyEndAllowThreads(__tstate);
14102 if (PyErr_Occurred()) SWIG_fail;
14103 }
14104 {
14105 wxSize * resultptr;
14106 resultptr = new wxSize((wxSize &) result);
14107 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14108 }
14109 return resultobj;
14110 fail:
14111 return NULL;
14112}
14113
14114
14115static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14116 PyObject *resultobj;
14117 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14118 wxSize result;
14119 PyObject * obj0 = 0 ;
14120 char *kwnames[] = {
14121 (char *) "self", NULL
14122 };
14123
14124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14126 {
14127 PyThreadState* __tstate = wxPyBeginAllowThreads();
14128 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
14129
14130 wxPyEndAllowThreads(__tstate);
14131 if (PyErr_Occurred()) SWIG_fail;
14132 }
14133 {
14134 wxSize * resultptr;
14135 resultptr = new wxSize((wxSize &) result);
14136 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14137 }
14138 return resultobj;
14139 fail:
14140 return NULL;
14141}
14142
14143
14144static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14145 PyObject *resultobj;
14146 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14147 PyObject * obj0 = 0 ;
14148 char *kwnames[] = {
14149 (char *) "self", NULL
14150 };
14151
14152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
14153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14154 {
14155 PyThreadState* __tstate = wxPyBeginAllowThreads();
14156 (arg1)->base_InitDialog();
14157
14158 wxPyEndAllowThreads(__tstate);
14159 if (PyErr_Occurred()) SWIG_fail;
14160 }
14161 Py_INCREF(Py_None); resultobj = Py_None;
14162 return resultobj;
14163 fail:
14164 return NULL;
14165}
14166
14167
14168static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14169 PyObject *resultobj;
14170 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14171 bool result;
14172 PyObject * obj0 = 0 ;
14173 char *kwnames[] = {
14174 (char *) "self", NULL
14175 };
14176
14177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14179 {
14180 PyThreadState* __tstate = wxPyBeginAllowThreads();
14181 result = (bool)(arg1)->base_TransferDataToWindow();
14182
14183 wxPyEndAllowThreads(__tstate);
14184 if (PyErr_Occurred()) SWIG_fail;
14185 }
14186 resultobj = PyInt_FromLong((long)result);
14187 return resultobj;
14188 fail:
14189 return NULL;
14190}
14191
14192
14193static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14194 PyObject *resultobj;
14195 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14196 bool result;
14197 PyObject * obj0 = 0 ;
14198 char *kwnames[] = {
14199 (char *) "self", NULL
14200 };
14201
14202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14204 {
14205 PyThreadState* __tstate = wxPyBeginAllowThreads();
14206 result = (bool)(arg1)->base_TransferDataFromWindow();
14207
14208 wxPyEndAllowThreads(__tstate);
14209 if (PyErr_Occurred()) SWIG_fail;
14210 }
14211 resultobj = PyInt_FromLong((long)result);
14212 return resultobj;
14213 fail:
14214 return NULL;
14215}
14216
14217
14218static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14219 PyObject *resultobj;
14220 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14221 bool result;
14222 PyObject * obj0 = 0 ;
14223 char *kwnames[] = {
14224 (char *) "self", NULL
14225 };
14226
14227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
14228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14229 {
14230 PyThreadState* __tstate = wxPyBeginAllowThreads();
14231 result = (bool)(arg1)->base_Validate();
14232
14233 wxPyEndAllowThreads(__tstate);
14234 if (PyErr_Occurred()) SWIG_fail;
14235 }
14236 resultobj = PyInt_FromLong((long)result);
14237 return resultobj;
14238 fail:
14239 return NULL;
14240}
14241
14242
14243static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14244 PyObject *resultobj;
14245 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14246 bool result;
14247 PyObject * obj0 = 0 ;
14248 char *kwnames[] = {
14249 (char *) "self", NULL
14250 };
14251
14252 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14253 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14254 {
14255 PyThreadState* __tstate = wxPyBeginAllowThreads();
14256 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14257
14258 wxPyEndAllowThreads(__tstate);
14259 if (PyErr_Occurred()) SWIG_fail;
14260 }
14261 resultobj = PyInt_FromLong((long)result);
14262 return resultobj;
14263 fail:
14264 return NULL;
14265}
14266
14267
14268static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14269 PyObject *resultobj;
14270 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14271 bool result;
14272 PyObject * obj0 = 0 ;
14273 char *kwnames[] = {
14274 (char *) "self", NULL
14275 };
14276
14277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14278 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14279 {
14280 PyThreadState* __tstate = wxPyBeginAllowThreads();
14281 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14282
14283 wxPyEndAllowThreads(__tstate);
14284 if (PyErr_Occurred()) SWIG_fail;
14285 }
14286 resultobj = PyInt_FromLong((long)result);
14287 return resultobj;
14288 fail:
14289 return NULL;
14290}
14291
14292
14293static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14294 PyObject *resultobj;
14295 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14296 wxSize result;
14297 PyObject * obj0 = 0 ;
14298 char *kwnames[] = {
14299 (char *) "self", NULL
14300 };
14301
14302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14304 {
14305 PyThreadState* __tstate = wxPyBeginAllowThreads();
14306 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14307
14308 wxPyEndAllowThreads(__tstate);
14309 if (PyErr_Occurred()) SWIG_fail;
14310 }
14311 {
14312 wxSize * resultptr;
14313 resultptr = new wxSize((wxSize &) result);
14314 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14315 }
14316 return resultobj;
14317 fail:
14318 return NULL;
14319}
14320
14321
14322static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14323 PyObject *resultobj;
14324 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14325 wxWindow *arg2 = (wxWindow *) 0 ;
14326 PyObject * obj0 = 0 ;
14327 PyObject * obj1 = 0 ;
14328 char *kwnames[] = {
14329 (char *) "self",(char *) "child", NULL
14330 };
14331
14332 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14333 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14334 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14335 {
14336 PyThreadState* __tstate = wxPyBeginAllowThreads();
14337 (arg1)->base_AddChild(arg2);
14338
14339 wxPyEndAllowThreads(__tstate);
14340 if (PyErr_Occurred()) SWIG_fail;
14341 }
14342 Py_INCREF(Py_None); resultobj = Py_None;
14343 return resultobj;
14344 fail:
14345 return NULL;
14346}
14347
14348
14349static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14350 PyObject *resultobj;
14351 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14352 wxWindow *arg2 = (wxWindow *) 0 ;
14353 PyObject * obj0 = 0 ;
14354 PyObject * obj1 = 0 ;
14355 char *kwnames[] = {
14356 (char *) "self",(char *) "child", NULL
14357 };
14358
14359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14362 {
14363 PyThreadState* __tstate = wxPyBeginAllowThreads();
14364 (arg1)->base_RemoveChild(arg2);
14365
14366 wxPyEndAllowThreads(__tstate);
14367 if (PyErr_Occurred()) SWIG_fail;
14368 }
14369 Py_INCREF(Py_None); resultobj = Py_None;
14370 return resultobj;
14371 fail:
14372 return NULL;
14373}
14374
14375
14376static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14377 PyObject *obj;
14378 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14379 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14380 Py_INCREF(obj);
14381 return Py_BuildValue((char *)"");
14382}
14383static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14384 PyObject *resultobj;
14385 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 14386 int arg2 ;
d14a1e28
RD
14387 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14388 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14389 wxSize const &arg4_defvalue = wxDefaultSize ;
14390 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14391 long arg5 = (long) 0 ;
14392 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14393 wxString *arg6 = (wxString *) &arg6_defvalue ;
14394 wxPyPanel *result;
14395 wxPoint temp3 ;
14396 wxSize temp4 ;
423f194a 14397 bool temp6 = False ;
d14a1e28
RD
14398 PyObject * obj0 = 0 ;
14399 PyObject * obj2 = 0 ;
14400 PyObject * obj3 = 0 ;
14401 PyObject * obj5 = 0 ;
14402 char *kwnames[] = {
14403 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14404 };
14405
14406 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14407 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14408 if (obj2) {
14409 {
14410 arg3 = &temp3;
14411 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14412 }
14413 }
14414 if (obj3) {
14415 {
14416 arg4 = &temp4;
14417 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14418 }
14419 }
14420 if (obj5) {
14421 {
14422 arg6 = wxString_in_helper(obj5);
14423 if (arg6 == NULL) SWIG_fail;
423f194a 14424 temp6 = True;
d14a1e28
RD
14425 }
14426 }
14427 {
14428 PyThreadState* __tstate = wxPyBeginAllowThreads();
14429 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14430
14431 wxPyEndAllowThreads(__tstate);
14432 if (PyErr_Occurred()) SWIG_fail;
14433 }
14434 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14435 {
14436 if (temp6)
14437 delete arg6;
14438 }
14439 return resultobj;
14440 fail:
14441 {
14442 if (temp6)
14443 delete arg6;
14444 }
14445 return NULL;
14446}
14447
14448
14449static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14450 PyObject *resultobj;
14451 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14452 PyObject *arg2 = (PyObject *) 0 ;
14453 PyObject *arg3 = (PyObject *) 0 ;
14454 PyObject * obj0 = 0 ;
14455 PyObject * obj1 = 0 ;
14456 PyObject * obj2 = 0 ;
14457 char *kwnames[] = {
14458 (char *) "self",(char *) "self",(char *) "_class", NULL
14459 };
14460
14461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14463 arg2 = obj1;
14464 arg3 = obj2;
14465 {
14466 PyThreadState* __tstate = wxPyBeginAllowThreads();
14467 (arg1)->_setCallbackInfo(arg2,arg3);
14468
14469 wxPyEndAllowThreads(__tstate);
14470 if (PyErr_Occurred()) SWIG_fail;
14471 }
14472 Py_INCREF(Py_None); resultobj = Py_None;
14473 return resultobj;
14474 fail:
14475 return NULL;
14476}
14477
14478
14479static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14480 PyObject *resultobj;
14481 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14482 int arg2 ;
14483 int arg3 ;
14484 int arg4 ;
14485 int arg5 ;
14486 PyObject * obj0 = 0 ;
14487 char *kwnames[] = {
14488 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14489 };
14490
14491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14493 {
14494 PyThreadState* __tstate = wxPyBeginAllowThreads();
14495 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14496
14497 wxPyEndAllowThreads(__tstate);
14498 if (PyErr_Occurred()) SWIG_fail;
14499 }
14500 Py_INCREF(Py_None); resultobj = Py_None;
14501 return resultobj;
14502 fail:
14503 return NULL;
14504}
14505
14506
14507static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14508 PyObject *resultobj;
14509 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14510 int arg2 ;
14511 int arg3 ;
14512 int arg4 ;
14513 int arg5 ;
14514 int arg6 = (int) wxSIZE_AUTO ;
14515 PyObject * obj0 = 0 ;
14516 char *kwnames[] = {
14517 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14518 };
14519
14520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14522 {
14523 PyThreadState* __tstate = wxPyBeginAllowThreads();
14524 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14525
14526 wxPyEndAllowThreads(__tstate);
14527 if (PyErr_Occurred()) SWIG_fail;
14528 }
14529 Py_INCREF(Py_None); resultobj = Py_None;
14530 return resultobj;
14531 fail:
14532 return NULL;
14533}
14534
14535
14536static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14537 PyObject *resultobj;
14538 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14539 int arg2 ;
14540 int arg3 ;
14541 PyObject * obj0 = 0 ;
14542 char *kwnames[] = {
14543 (char *) "self",(char *) "width",(char *) "height", NULL
14544 };
14545
14546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14548 {
14549 PyThreadState* __tstate = wxPyBeginAllowThreads();
14550 (arg1)->base_DoSetClientSize(arg2,arg3);
14551
14552 wxPyEndAllowThreads(__tstate);
14553 if (PyErr_Occurred()) SWIG_fail;
14554 }
14555 Py_INCREF(Py_None); resultobj = Py_None;
14556 return resultobj;
14557 fail:
14558 return NULL;
14559}
14560
14561
14562static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14563 PyObject *resultobj;
14564 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14565 int arg2 ;
14566 int arg3 ;
14567 PyObject * obj0 = 0 ;
14568 char *kwnames[] = {
14569 (char *) "self",(char *) "x",(char *) "y", NULL
14570 };
14571
14572 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14573 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14574 {
14575 PyThreadState* __tstate = wxPyBeginAllowThreads();
14576 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14577
14578 wxPyEndAllowThreads(__tstate);
14579 if (PyErr_Occurred()) SWIG_fail;
14580 }
14581 Py_INCREF(Py_None); resultobj = Py_None;
14582 return resultobj;
14583 fail:
14584 return NULL;
14585}
14586
14587
14588static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14589 PyObject *resultobj;
14590 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14591 int *arg2 = (int *) 0 ;
14592 int *arg3 = (int *) 0 ;
14593 int temp2 ;
14594 int temp3 ;
14595 PyObject * obj0 = 0 ;
14596 char *kwnames[] = {
14597 (char *) "self", NULL
14598 };
14599
14600 arg2 = &temp2;
14601 arg3 = &temp3;
14602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14604 {
14605 PyThreadState* __tstate = wxPyBeginAllowThreads();
14606 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14607
14608 wxPyEndAllowThreads(__tstate);
14609 if (PyErr_Occurred()) SWIG_fail;
14610 }
14611 Py_INCREF(Py_None); resultobj = Py_None;
14612 {
14613 PyObject *o = PyInt_FromLong((long) (*arg2));
14614 resultobj = t_output_helper(resultobj,o);
14615 }
14616 {
14617 PyObject *o = PyInt_FromLong((long) (*arg3));
14618 resultobj = t_output_helper(resultobj,o);
14619 }
14620 return resultobj;
14621 fail:
14622 return NULL;
14623}
14624
14625
14626static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14627 PyObject *resultobj;
14628 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14629 int *arg2 = (int *) 0 ;
14630 int *arg3 = (int *) 0 ;
14631 int temp2 ;
14632 int temp3 ;
14633 PyObject * obj0 = 0 ;
14634 char *kwnames[] = {
14635 (char *) "self", NULL
14636 };
14637
14638 arg2 = &temp2;
14639 arg3 = &temp3;
14640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14642 {
14643 PyThreadState* __tstate = wxPyBeginAllowThreads();
14644 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14645
14646 wxPyEndAllowThreads(__tstate);
14647 if (PyErr_Occurred()) SWIG_fail;
14648 }
14649 Py_INCREF(Py_None); resultobj = Py_None;
14650 {
14651 PyObject *o = PyInt_FromLong((long) (*arg2));
14652 resultobj = t_output_helper(resultobj,o);
14653 }
14654 {
14655 PyObject *o = PyInt_FromLong((long) (*arg3));
14656 resultobj = t_output_helper(resultobj,o);
14657 }
14658 return resultobj;
14659 fail:
14660 return NULL;
14661}
14662
14663
14664static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14665 PyObject *resultobj;
14666 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14667 int *arg2 = (int *) 0 ;
14668 int *arg3 = (int *) 0 ;
14669 int temp2 ;
14670 int temp3 ;
14671 PyObject * obj0 = 0 ;
14672 char *kwnames[] = {
14673 (char *) "self", NULL
14674 };
14675
14676 arg2 = &temp2;
14677 arg3 = &temp3;
14678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14680 {
14681 PyThreadState* __tstate = wxPyBeginAllowThreads();
14682 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14683
14684 wxPyEndAllowThreads(__tstate);
14685 if (PyErr_Occurred()) SWIG_fail;
14686 }
14687 Py_INCREF(Py_None); resultobj = Py_None;
14688 {
14689 PyObject *o = PyInt_FromLong((long) (*arg2));
14690 resultobj = t_output_helper(resultobj,o);
14691 }
14692 {
14693 PyObject *o = PyInt_FromLong((long) (*arg3));
14694 resultobj = t_output_helper(resultobj,o);
14695 }
14696 return resultobj;
14697 fail:
14698 return NULL;
14699}
14700
14701
14702static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14703 PyObject *resultobj;
14704 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14705 wxSize result;
14706 PyObject * obj0 = 0 ;
14707 char *kwnames[] = {
14708 (char *) "self", NULL
14709 };
14710
14711 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14712 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14713 {
14714 PyThreadState* __tstate = wxPyBeginAllowThreads();
14715 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14716
14717 wxPyEndAllowThreads(__tstate);
14718 if (PyErr_Occurred()) SWIG_fail;
14719 }
14720 {
14721 wxSize * resultptr;
14722 resultptr = new wxSize((wxSize &) result);
14723 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14724 }
14725 return resultobj;
14726 fail:
14727 return NULL;
14728}
14729
14730
14731static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14732 PyObject *resultobj;
14733 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14734 wxSize result;
14735 PyObject * obj0 = 0 ;
14736 char *kwnames[] = {
14737 (char *) "self", NULL
14738 };
14739
14740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14742 {
14743 PyThreadState* __tstate = wxPyBeginAllowThreads();
14744 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14745
14746 wxPyEndAllowThreads(__tstate);
14747 if (PyErr_Occurred()) SWIG_fail;
14748 }
14749 {
14750 wxSize * resultptr;
14751 resultptr = new wxSize((wxSize &) result);
14752 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14753 }
14754 return resultobj;
14755 fail:
14756 return NULL;
14757}
14758
14759
14760static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14761 PyObject *resultobj;
14762 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14763 PyObject * obj0 = 0 ;
14764 char *kwnames[] = {
14765 (char *) "self", NULL
14766 };
14767
14768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14770 {
14771 PyThreadState* __tstate = wxPyBeginAllowThreads();
14772 (arg1)->base_InitDialog();
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_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14785 PyObject *resultobj;
14786 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14787 bool result;
14788 PyObject * obj0 = 0 ;
14789 char *kwnames[] = {
14790 (char *) "self", NULL
14791 };
14792
14793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14795 {
14796 PyThreadState* __tstate = wxPyBeginAllowThreads();
14797 result = (bool)(arg1)->base_TransferDataToWindow();
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_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14810 PyObject *resultobj;
14811 wxPyPanel *arg1 = (wxPyPanel *) 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:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14820 {
14821 PyThreadState* __tstate = wxPyBeginAllowThreads();
14822 result = (bool)(arg1)->base_TransferDataFromWindow();
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_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14835 PyObject *resultobj;
14836 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14837 bool result;
14838 PyObject * obj0 = 0 ;
14839 char *kwnames[] = {
14840 (char *) "self", NULL
14841 };
14842
14843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14845 {
14846 PyThreadState* __tstate = wxPyBeginAllowThreads();
14847 result = (bool)(arg1)->base_Validate();
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_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14860 PyObject *resultobj;
14861 wxPyPanel *arg1 = (wxPyPanel *) 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:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14870 {
14871 PyThreadState* __tstate = wxPyBeginAllowThreads();
14872 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
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_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14885 PyObject *resultobj;
14886 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14887 bool result;
14888 PyObject * obj0 = 0 ;
14889 char *kwnames[] = {
14890 (char *) "self", NULL
14891 };
14892
14893 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14894 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14895 {
14896 PyThreadState* __tstate = wxPyBeginAllowThreads();
14897 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14898
14899 wxPyEndAllowThreads(__tstate);
14900 if (PyErr_Occurred()) SWIG_fail;
14901 }
14902 resultobj = PyInt_FromLong((long)result);
14903 return resultobj;
14904 fail:
14905 return NULL;
14906}
14907
14908
14909static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14910 PyObject *resultobj;
14911 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14912 wxSize result;
14913 PyObject * obj0 = 0 ;
14914 char *kwnames[] = {
14915 (char *) "self", NULL
14916 };
14917
14918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14920 {
14921 PyThreadState* __tstate = wxPyBeginAllowThreads();
14922 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14923
14924 wxPyEndAllowThreads(__tstate);
14925 if (PyErr_Occurred()) SWIG_fail;
14926 }
14927 {
14928 wxSize * resultptr;
14929 resultptr = new wxSize((wxSize &) result);
14930 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14931 }
14932 return resultobj;
14933 fail:
14934 return NULL;
14935}
14936
14937
14938static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14939 PyObject *resultobj;
14940 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14941 wxWindow *arg2 = (wxWindow *) 0 ;
14942 PyObject * obj0 = 0 ;
14943 PyObject * obj1 = 0 ;
14944 char *kwnames[] = {
14945 (char *) "self",(char *) "child", NULL
14946 };
14947
14948 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14949 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14950 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14951 {
14952 PyThreadState* __tstate = wxPyBeginAllowThreads();
14953 (arg1)->base_AddChild(arg2);
14954
14955 wxPyEndAllowThreads(__tstate);
14956 if (PyErr_Occurred()) SWIG_fail;
14957 }
14958 Py_INCREF(Py_None); resultobj = Py_None;
14959 return resultobj;
14960 fail:
14961 return NULL;
14962}
14963
14964
14965static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14966 PyObject *resultobj;
14967 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14968 wxWindow *arg2 = (wxWindow *) 0 ;
14969 PyObject * obj0 = 0 ;
14970 PyObject * obj1 = 0 ;
14971 char *kwnames[] = {
14972 (char *) "self",(char *) "child", NULL
14973 };
14974
14975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14977 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14978 {
14979 PyThreadState* __tstate = wxPyBeginAllowThreads();
14980 (arg1)->base_RemoveChild(arg2);
14981
14982 wxPyEndAllowThreads(__tstate);
14983 if (PyErr_Occurred()) SWIG_fail;
14984 }
14985 Py_INCREF(Py_None); resultobj = Py_None;
14986 return resultobj;
14987 fail:
14988 return NULL;
14989}
14990
14991
14992static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14993 PyObject *obj;
14994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14995 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14996 Py_INCREF(obj);
14997 return Py_BuildValue((char *)"");
14998}
d03fd34d
RD
14999static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
15000 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
15001 return 1;
15002}
15003
15004
15005static PyObject *_wrap_PrintoutTitleStr_get() {
15006 PyObject *pyobj;
15007
15008 {
15009#if wxUSE_UNICODE
15010 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
15011#else
15012 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
15013#endif
15014 }
15015 return pyobj;
15016}
15017
15018
15019static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
15020 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
15021 return 1;
15022}
15023
15024
15025static PyObject *_wrap_PreviewCanvasNameStr_get() {
15026 PyObject *pyobj;
15027
15028 {
15029#if wxUSE_UNICODE
15030 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
15031#else
15032 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
15033#endif
15034 }
15035 return pyobj;
15036}
15037
15038
d14a1e28
RD
15039static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15040 PyObject *resultobj;
15041 wxPrintData *result;
15042 char *kwnames[] = {
15043 NULL
15044 };
15045
15046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
15047 {
15048 PyThreadState* __tstate = wxPyBeginAllowThreads();
15049 result = (wxPrintData *)new wxPrintData();
15050
15051 wxPyEndAllowThreads(__tstate);
15052 if (PyErr_Occurred()) SWIG_fail;
15053 }
15054 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
15055 return resultobj;
15056 fail:
15057 return NULL;
15058}
15059
15060
15061static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
15062 PyObject *resultobj;
15063 wxPrintData *arg1 = (wxPrintData *) 0 ;
15064 PyObject * obj0 = 0 ;
15065 char *kwnames[] = {
15066 (char *) "self", NULL
15067 };
15068
15069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
15070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15071 {
15072 PyThreadState* __tstate = wxPyBeginAllowThreads();
15073 delete arg1;
15074
15075 wxPyEndAllowThreads(__tstate);
15076 if (PyErr_Occurred()) SWIG_fail;
15077 }
15078 Py_INCREF(Py_None); resultobj = Py_None;
15079 return resultobj;
15080 fail:
15081 return NULL;
15082}
15083
15084
15085static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15086 PyObject *resultobj;
15087 wxPrintData *arg1 = (wxPrintData *) 0 ;
15088 int result;
15089 PyObject * obj0 = 0 ;
15090 char *kwnames[] = {
15091 (char *) "self", NULL
15092 };
15093
15094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
15095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15096 {
15097 PyThreadState* __tstate = wxPyBeginAllowThreads();
15098 result = (int)(arg1)->GetNoCopies();
15099
15100 wxPyEndAllowThreads(__tstate);
15101 if (PyErr_Occurred()) SWIG_fail;
15102 }
15103 resultobj = PyInt_FromLong((long)result);
15104 return resultobj;
15105 fail:
15106 return NULL;
15107}
15108
15109
15110static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15111 PyObject *resultobj;
15112 wxPrintData *arg1 = (wxPrintData *) 0 ;
15113 bool result;
15114 PyObject * obj0 = 0 ;
15115 char *kwnames[] = {
15116 (char *) "self", NULL
15117 };
15118
15119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
15120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15121 {
15122 PyThreadState* __tstate = wxPyBeginAllowThreads();
15123 result = (bool)(arg1)->GetCollate();
15124
15125 wxPyEndAllowThreads(__tstate);
15126 if (PyErr_Occurred()) SWIG_fail;
15127 }
15128 resultobj = PyInt_FromLong((long)result);
15129 return resultobj;
15130 fail:
15131 return NULL;
15132}
15133
15134
15135static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15136 PyObject *resultobj;
15137 wxPrintData *arg1 = (wxPrintData *) 0 ;
15138 int result;
15139 PyObject * obj0 = 0 ;
15140 char *kwnames[] = {
15141 (char *) "self", NULL
15142 };
15143
15144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
15145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15146 {
15147 PyThreadState* __tstate = wxPyBeginAllowThreads();
15148 result = (int)(arg1)->GetOrientation();
15149
15150 wxPyEndAllowThreads(__tstate);
15151 if (PyErr_Occurred()) SWIG_fail;
15152 }
15153 resultobj = PyInt_FromLong((long)result);
15154 return resultobj;
15155 fail:
15156 return NULL;
15157}
15158
15159
15160static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
15161 PyObject *resultobj;
15162 wxPrintData *arg1 = (wxPrintData *) 0 ;
15163 bool result;
15164 PyObject * obj0 = 0 ;
15165 char *kwnames[] = {
15166 (char *) "self", NULL
15167 };
15168
15169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
15170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15171 {
15172 PyThreadState* __tstate = wxPyBeginAllowThreads();
15173 result = (bool)(arg1)->Ok();
15174
15175 wxPyEndAllowThreads(__tstate);
15176 if (PyErr_Occurred()) SWIG_fail;
15177 }
15178 resultobj = PyInt_FromLong((long)result);
15179 return resultobj;
15180 fail:
15181 return NULL;
15182}
15183
15184
15185static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15186 PyObject *resultobj;
15187 wxPrintData *arg1 = (wxPrintData *) 0 ;
15188 wxString *result;
15189 PyObject * obj0 = 0 ;
15190 char *kwnames[] = {
15191 (char *) "self", NULL
15192 };
15193
15194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
15195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 {
15199 wxString const &_result_ref = (arg1)->GetPrinterName();
15200 result = (wxString *) &_result_ref;
15201 }
15202
15203 wxPyEndAllowThreads(__tstate);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
f0983263
RD
15206 {
15207#if wxUSE_UNICODE
15208 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15209#else
15210 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15211#endif
15212 }
d14a1e28
RD
15213 return resultobj;
15214 fail:
15215 return NULL;
15216}
15217
15218
15219static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15220 PyObject *resultobj;
15221 wxPrintData *arg1 = (wxPrintData *) 0 ;
15222 bool result;
15223 PyObject * obj0 = 0 ;
15224 char *kwnames[] = {
15225 (char *) "self", NULL
15226 };
15227
15228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
15229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15230 {
15231 PyThreadState* __tstate = wxPyBeginAllowThreads();
15232 result = (bool)(arg1)->GetColour();
15233
15234 wxPyEndAllowThreads(__tstate);
15235 if (PyErr_Occurred()) SWIG_fail;
15236 }
15237 resultobj = PyInt_FromLong((long)result);
15238 return resultobj;
15239 fail:
15240 return NULL;
15241}
15242
15243
15244static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15245 PyObject *resultobj;
15246 wxPrintData *arg1 = (wxPrintData *) 0 ;
15247 int result;
15248 PyObject * obj0 = 0 ;
15249 char *kwnames[] = {
15250 (char *) "self", NULL
15251 };
15252
15253 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
15254 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15255 {
15256 PyThreadState* __tstate = wxPyBeginAllowThreads();
15257 result = (int)(arg1)->GetDuplex();
15258
15259 wxPyEndAllowThreads(__tstate);
15260 if (PyErr_Occurred()) SWIG_fail;
15261 }
15262 resultobj = PyInt_FromLong((long)result);
15263 return resultobj;
15264 fail:
15265 return NULL;
15266}
15267
15268
15269static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15270 PyObject *resultobj;
15271 wxPrintData *arg1 = (wxPrintData *) 0 ;
15272 int result;
15273 PyObject * obj0 = 0 ;
15274 char *kwnames[] = {
15275 (char *) "self", NULL
15276 };
15277
15278 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
15279 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15280 {
15281 PyThreadState* __tstate = wxPyBeginAllowThreads();
15282 result = (int)(arg1)->GetPaperId();
15283
15284 wxPyEndAllowThreads(__tstate);
15285 if (PyErr_Occurred()) SWIG_fail;
15286 }
15287 resultobj = PyInt_FromLong((long)result);
15288 return resultobj;
15289 fail:
15290 return NULL;
15291}
15292
15293
15294static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15295 PyObject *resultobj;
15296 wxPrintData *arg1 = (wxPrintData *) 0 ;
15297 wxSize *result;
15298 PyObject * obj0 = 0 ;
15299 char *kwnames[] = {
15300 (char *) "self", NULL
15301 };
15302
15303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15305 {
15306 PyThreadState* __tstate = wxPyBeginAllowThreads();
15307 {
15308 wxSize const &_result_ref = (arg1)->GetPaperSize();
15309 result = (wxSize *) &_result_ref;
15310 }
15311
15312 wxPyEndAllowThreads(__tstate);
15313 if (PyErr_Occurred()) SWIG_fail;
15314 }
15315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15316 return resultobj;
15317 fail:
15318 return NULL;
15319}
15320
15321
15322static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15323 PyObject *resultobj;
15324 wxPrintData *arg1 = (wxPrintData *) 0 ;
d03fd34d 15325 int result;
d14a1e28
RD
15326 PyObject * obj0 = 0 ;
15327 char *kwnames[] = {
15328 (char *) "self", NULL
15329 };
15330
15331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15333 {
15334 PyThreadState* __tstate = wxPyBeginAllowThreads();
d03fd34d 15335 result = (int)(arg1)->GetQuality();
d14a1e28
RD
15336
15337 wxPyEndAllowThreads(__tstate);
15338 if (PyErr_Occurred()) SWIG_fail;
15339 }
d03fd34d 15340 resultobj = PyInt_FromLong((long)result);
d14a1e28
RD
15341 return resultobj;
15342 fail:
15343 return NULL;
15344}
15345
15346
15347static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15348 PyObject *resultobj;
15349 wxPrintData *arg1 = (wxPrintData *) 0 ;
15350 int arg2 ;
15351 PyObject * obj0 = 0 ;
15352 char *kwnames[] = {
15353 (char *) "self",(char *) "v", NULL
15354 };
15355
15356 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15357 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15358 {
15359 PyThreadState* __tstate = wxPyBeginAllowThreads();
15360 (arg1)->SetNoCopies(arg2);
15361
15362 wxPyEndAllowThreads(__tstate);
15363 if (PyErr_Occurred()) SWIG_fail;
15364 }
15365 Py_INCREF(Py_None); resultobj = Py_None;
15366 return resultobj;
15367 fail:
15368 return NULL;
15369}
15370
15371
15372static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15373 PyObject *resultobj;
15374 wxPrintData *arg1 = (wxPrintData *) 0 ;
15375 bool arg2 ;
15376 PyObject * obj0 = 0 ;
15377 PyObject * obj1 = 0 ;
15378 char *kwnames[] = {
15379 (char *) "self",(char *) "flag", NULL
15380 };
15381
15382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15384 arg2 = PyInt_AsLong(obj1) ? true : false;
15385 if (PyErr_Occurred()) SWIG_fail;
15386 {
15387 PyThreadState* __tstate = wxPyBeginAllowThreads();
15388 (arg1)->SetCollate(arg2);
15389
15390 wxPyEndAllowThreads(__tstate);
15391 if (PyErr_Occurred()) SWIG_fail;
15392 }
15393 Py_INCREF(Py_None); resultobj = Py_None;
15394 return resultobj;
15395 fail:
15396 return NULL;
15397}
15398
15399
15400static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15401 PyObject *resultobj;
15402 wxPrintData *arg1 = (wxPrintData *) 0 ;
15403 int arg2 ;
15404 PyObject * obj0 = 0 ;
15405 char *kwnames[] = {
15406 (char *) "self",(char *) "orient", NULL
15407 };
15408
15409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15411 {
15412 PyThreadState* __tstate = wxPyBeginAllowThreads();
15413 (arg1)->SetOrientation(arg2);
15414
15415 wxPyEndAllowThreads(__tstate);
15416 if (PyErr_Occurred()) SWIG_fail;
15417 }
15418 Py_INCREF(Py_None); resultobj = Py_None;
15419 return resultobj;
15420 fail:
15421 return NULL;
15422}
15423
15424
15425static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15426 PyObject *resultobj;
15427 wxPrintData *arg1 = (wxPrintData *) 0 ;
15428 wxString *arg2 = 0 ;
423f194a 15429 bool temp2 = False ;
d14a1e28
RD
15430 PyObject * obj0 = 0 ;
15431 PyObject * obj1 = 0 ;
15432 char *kwnames[] = {
15433 (char *) "self",(char *) "name", NULL
15434 };
15435
15436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15438 {
15439 arg2 = wxString_in_helper(obj1);
15440 if (arg2 == NULL) SWIG_fail;
423f194a 15441 temp2 = True;
d14a1e28
RD
15442 }
15443 {
15444 PyThreadState* __tstate = wxPyBeginAllowThreads();
15445 (arg1)->SetPrinterName((wxString const &)*arg2);
15446
15447 wxPyEndAllowThreads(__tstate);
15448 if (PyErr_Occurred()) SWIG_fail;
15449 }
15450 Py_INCREF(Py_None); resultobj = Py_None;
15451 {
15452 if (temp2)
15453 delete arg2;
15454 }
15455 return resultobj;
15456 fail:
15457 {
15458 if (temp2)
15459 delete arg2;
15460 }
15461 return NULL;
15462}
15463
15464
15465static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15466 PyObject *resultobj;
15467 wxPrintData *arg1 = (wxPrintData *) 0 ;
15468 bool arg2 ;
15469 PyObject * obj0 = 0 ;
15470 PyObject * obj1 = 0 ;
15471 char *kwnames[] = {
15472 (char *) "self",(char *) "colour", NULL
15473 };
15474
15475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15477 arg2 = PyInt_AsLong(obj1) ? true : false;
15478 if (PyErr_Occurred()) SWIG_fail;
15479 {
15480 PyThreadState* __tstate = wxPyBeginAllowThreads();
15481 (arg1)->SetColour(arg2);
15482
15483 wxPyEndAllowThreads(__tstate);
15484 if (PyErr_Occurred()) SWIG_fail;
15485 }
15486 Py_INCREF(Py_None); resultobj = Py_None;
15487 return resultobj;
15488 fail:
15489 return NULL;
15490}
15491
15492
15493static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15494 PyObject *resultobj;
15495 wxPrintData *arg1 = (wxPrintData *) 0 ;
15496 int arg2 ;
15497 PyObject * obj0 = 0 ;
15498 char *kwnames[] = {
15499 (char *) "self",(char *) "duplex", NULL
15500 };
15501
15502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15504 {
15505 PyThreadState* __tstate = wxPyBeginAllowThreads();
15506 (arg1)->SetDuplex((wxDuplexMode )arg2);
15507
15508 wxPyEndAllowThreads(__tstate);
15509 if (PyErr_Occurred()) SWIG_fail;
15510 }
15511 Py_INCREF(Py_None); resultobj = Py_None;
15512 return resultobj;
15513 fail:
15514 return NULL;
15515}
15516
15517
15518static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15519 PyObject *resultobj;
15520 wxPrintData *arg1 = (wxPrintData *) 0 ;
15521 int arg2 ;
15522 PyObject * obj0 = 0 ;
15523 char *kwnames[] = {
15524 (char *) "self",(char *) "sizeId", NULL
15525 };
15526
15527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15529 {
15530 PyThreadState* __tstate = wxPyBeginAllowThreads();
15531 (arg1)->SetPaperId((wxPaperSize )arg2);
15532
15533 wxPyEndAllowThreads(__tstate);
15534 if (PyErr_Occurred()) SWIG_fail;
15535 }
15536 Py_INCREF(Py_None); resultobj = Py_None;
15537 return resultobj;
15538 fail:
15539 return NULL;
15540}
15541
15542
15543static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15544 PyObject *resultobj;
15545 wxPrintData *arg1 = (wxPrintData *) 0 ;
15546 wxSize *arg2 = 0 ;
15547 wxSize temp2 ;
15548 PyObject * obj0 = 0 ;
15549 PyObject * obj1 = 0 ;
15550 char *kwnames[] = {
15551 (char *) "self",(char *) "sz", NULL
15552 };
15553
15554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15556 {
15557 arg2 = &temp2;
15558 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15559 }
15560 {
15561 PyThreadState* __tstate = wxPyBeginAllowThreads();
15562 (arg1)->SetPaperSize((wxSize const &)*arg2);
15563
15564 wxPyEndAllowThreads(__tstate);
15565 if (PyErr_Occurred()) SWIG_fail;
15566 }
15567 Py_INCREF(Py_None); resultobj = Py_None;
15568 return resultobj;
15569 fail:
15570 return NULL;
15571}
15572
15573
15574static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15575 PyObject *resultobj;
15576 wxPrintData *arg1 = (wxPrintData *) 0 ;
d03fd34d 15577 int arg2 ;
d14a1e28 15578 PyObject * obj0 = 0 ;
d14a1e28
RD
15579 char *kwnames[] = {
15580 (char *) "self",(char *) "quality", NULL
15581 };
15582
d03fd34d 15583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetQuality",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 15584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
15585 {
15586 PyThreadState* __tstate = wxPyBeginAllowThreads();
15587 (arg1)->SetQuality(arg2);
15588
15589 wxPyEndAllowThreads(__tstate);
15590 if (PyErr_Occurred()) SWIG_fail;
15591 }
15592 Py_INCREF(Py_None); resultobj = Py_None;
15593 return resultobj;
15594 fail:
15595 return NULL;
15596}
15597
15598
15599static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15600 PyObject *resultobj;
15601 wxPrintData *arg1 = (wxPrintData *) 0 ;
15602 wxString *result;
15603 PyObject * obj0 = 0 ;
15604 char *kwnames[] = {
15605 (char *) "self", NULL
15606 };
15607
15608 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15609 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15610 {
15611 PyThreadState* __tstate = wxPyBeginAllowThreads();
15612 {
15613 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15614 result = (wxString *) &_result_ref;
15615 }
15616
15617 wxPyEndAllowThreads(__tstate);
15618 if (PyErr_Occurred()) SWIG_fail;
15619 }
f0983263
RD
15620 {
15621#if wxUSE_UNICODE
15622 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15623#else
15624 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15625#endif
15626 }
d14a1e28
RD
15627 return resultobj;
15628 fail:
15629 return NULL;
15630}
15631
15632
15633static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15634 PyObject *resultobj;
15635 wxPrintData *arg1 = (wxPrintData *) 0 ;
15636 wxString *result;
15637 PyObject * obj0 = 0 ;
15638 char *kwnames[] = {
15639 (char *) "self", NULL
15640 };
15641
15642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15644 {
15645 PyThreadState* __tstate = wxPyBeginAllowThreads();
15646 {
15647 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15648 result = (wxString *) &_result_ref;
15649 }
15650
15651 wxPyEndAllowThreads(__tstate);
15652 if (PyErr_Occurred()) SWIG_fail;
15653 }
f0983263
RD
15654 {
15655#if wxUSE_UNICODE
15656 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15657#else
15658 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15659#endif
15660 }
d14a1e28
RD
15661 return resultobj;
15662 fail:
15663 return NULL;
15664}
15665
15666
15667static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15668 PyObject *resultobj;
15669 wxPrintData *arg1 = (wxPrintData *) 0 ;
15670 wxString *result;
15671 PyObject * obj0 = 0 ;
15672 char *kwnames[] = {
15673 (char *) "self", NULL
15674 };
15675
15676 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15677 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15678 {
15679 PyThreadState* __tstate = wxPyBeginAllowThreads();
15680 {
15681 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15682 result = (wxString *) &_result_ref;
15683 }
15684
15685 wxPyEndAllowThreads(__tstate);
15686 if (PyErr_Occurred()) SWIG_fail;
15687 }
f0983263
RD
15688 {
15689#if wxUSE_UNICODE
15690 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15691#else
15692 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15693#endif
15694 }
d14a1e28
RD
15695 return resultobj;
15696 fail:
15697 return NULL;
15698}
15699
15700
15701static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15702 PyObject *resultobj;
15703 wxPrintData *arg1 = (wxPrintData *) 0 ;
15704 wxString *result;
15705 PyObject * obj0 = 0 ;
15706 char *kwnames[] = {
15707 (char *) "self", NULL
15708 };
15709
15710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15712 {
15713 PyThreadState* __tstate = wxPyBeginAllowThreads();
15714 {
15715 wxString const &_result_ref = (arg1)->GetFilename();
15716 result = (wxString *) &_result_ref;
15717 }
15718
15719 wxPyEndAllowThreads(__tstate);
15720 if (PyErr_Occurred()) SWIG_fail;
15721 }
f0983263
RD
15722 {
15723#if wxUSE_UNICODE
15724 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15725#else
15726 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15727#endif
15728 }
d14a1e28
RD
15729 return resultobj;
15730 fail:
15731 return NULL;
15732}
15733
15734
15735static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj;
15737 wxPrintData *arg1 = (wxPrintData *) 0 ;
15738 wxString *result;
15739 PyObject * obj0 = 0 ;
15740 char *kwnames[] = {
15741 (char *) "self", NULL
15742 };
15743
15744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15746 {
15747 PyThreadState* __tstate = wxPyBeginAllowThreads();
15748 {
15749 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15750 result = (wxString *) &_result_ref;
15751 }
15752
15753 wxPyEndAllowThreads(__tstate);
15754 if (PyErr_Occurred()) SWIG_fail;
15755 }
f0983263
RD
15756 {
15757#if wxUSE_UNICODE
15758 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15759#else
15760 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15761#endif
15762 }
d14a1e28
RD
15763 return resultobj;
15764 fail:
15765 return NULL;
15766}
15767
15768
15769static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15770 PyObject *resultobj;
15771 wxPrintData *arg1 = (wxPrintData *) 0 ;
15772 double result;
15773 PyObject * obj0 = 0 ;
15774 char *kwnames[] = {
15775 (char *) "self", NULL
15776 };
15777
15778 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15780 {
15781 PyThreadState* __tstate = wxPyBeginAllowThreads();
15782 result = (double)(arg1)->GetPrinterScaleX();
15783
15784 wxPyEndAllowThreads(__tstate);
15785 if (PyErr_Occurred()) SWIG_fail;
15786 }
15787 resultobj = PyFloat_FromDouble(result);
15788 return resultobj;
15789 fail:
15790 return NULL;
15791}
15792
15793
15794static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15795 PyObject *resultobj;
15796 wxPrintData *arg1 = (wxPrintData *) 0 ;
15797 double result;
15798 PyObject * obj0 = 0 ;
15799 char *kwnames[] = {
15800 (char *) "self", NULL
15801 };
15802
15803 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15804 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15805 {
15806 PyThreadState* __tstate = wxPyBeginAllowThreads();
15807 result = (double)(arg1)->GetPrinterScaleY();
15808
15809 wxPyEndAllowThreads(__tstate);
15810 if (PyErr_Occurred()) SWIG_fail;
15811 }
15812 resultobj = PyFloat_FromDouble(result);
15813 return resultobj;
15814 fail:
15815 return NULL;
15816}
15817
15818
15819static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15820 PyObject *resultobj;
15821 wxPrintData *arg1 = (wxPrintData *) 0 ;
15822 long result;
15823 PyObject * obj0 = 0 ;
15824 char *kwnames[] = {
15825 (char *) "self", NULL
15826 };
15827
15828 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15829 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15830 {
15831 PyThreadState* __tstate = wxPyBeginAllowThreads();
15832 result = (long)(arg1)->GetPrinterTranslateX();
15833
15834 wxPyEndAllowThreads(__tstate);
15835 if (PyErr_Occurred()) SWIG_fail;
15836 }
15837 resultobj = PyInt_FromLong((long)result);
15838 return resultobj;
15839 fail:
15840 return NULL;
15841}
15842
15843
15844static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15845 PyObject *resultobj;
15846 wxPrintData *arg1 = (wxPrintData *) 0 ;
15847 long result;
15848 PyObject * obj0 = 0 ;
15849 char *kwnames[] = {
15850 (char *) "self", NULL
15851 };
15852
15853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15855 {
15856 PyThreadState* __tstate = wxPyBeginAllowThreads();
15857 result = (long)(arg1)->GetPrinterTranslateY();
15858
15859 wxPyEndAllowThreads(__tstate);
15860 if (PyErr_Occurred()) SWIG_fail;
15861 }
15862 resultobj = PyInt_FromLong((long)result);
15863 return resultobj;
15864 fail:
15865 return NULL;
15866}
15867
15868
15869static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15870 PyObject *resultobj;
15871 wxPrintData *arg1 = (wxPrintData *) 0 ;
15872 int result;
15873 PyObject * obj0 = 0 ;
15874 char *kwnames[] = {
15875 (char *) "self", NULL
15876 };
15877
15878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15880 {
15881 PyThreadState* __tstate = wxPyBeginAllowThreads();
15882 result = (int)(arg1)->GetPrintMode();
15883
15884 wxPyEndAllowThreads(__tstate);
15885 if (PyErr_Occurred()) SWIG_fail;
15886 }
15887 resultobj = PyInt_FromLong((long)result);
15888 return resultobj;
15889 fail:
15890 return NULL;
15891}
15892
15893
15894static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15895 PyObject *resultobj;
15896 wxPrintData *arg1 = (wxPrintData *) 0 ;
15897 wxString *arg2 = 0 ;
423f194a 15898 bool temp2 = False ;
d14a1e28
RD
15899 PyObject * obj0 = 0 ;
15900 PyObject * obj1 = 0 ;
15901 char *kwnames[] = {
15902 (char *) "self",(char *) "command", NULL
15903 };
15904
15905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15907 {
15908 arg2 = wxString_in_helper(obj1);
15909 if (arg2 == NULL) SWIG_fail;
423f194a 15910 temp2 = True;
d14a1e28
RD
15911 }
15912 {
15913 PyThreadState* __tstate = wxPyBeginAllowThreads();
15914 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15915
15916 wxPyEndAllowThreads(__tstate);
15917 if (PyErr_Occurred()) SWIG_fail;
15918 }
15919 Py_INCREF(Py_None); resultobj = Py_None;
15920 {
15921 if (temp2)
15922 delete arg2;
15923 }
15924 return resultobj;
15925 fail:
15926 {
15927 if (temp2)
15928 delete arg2;
15929 }
15930 return NULL;
15931}
15932
15933
15934static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15935 PyObject *resultobj;
15936 wxPrintData *arg1 = (wxPrintData *) 0 ;
15937 wxString *arg2 = 0 ;
423f194a 15938 bool temp2 = False ;
d14a1e28
RD
15939 PyObject * obj0 = 0 ;
15940 PyObject * obj1 = 0 ;
15941 char *kwnames[] = {
15942 (char *) "self",(char *) "options", NULL
15943 };
15944
15945 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15946 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15947 {
15948 arg2 = wxString_in_helper(obj1);
15949 if (arg2 == NULL) SWIG_fail;
423f194a 15950 temp2 = True;
d14a1e28
RD
15951 }
15952 {
15953 PyThreadState* __tstate = wxPyBeginAllowThreads();
15954 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15955
15956 wxPyEndAllowThreads(__tstate);
15957 if (PyErr_Occurred()) SWIG_fail;
15958 }
15959 Py_INCREF(Py_None); resultobj = Py_None;
15960 {
15961 if (temp2)
15962 delete arg2;
15963 }
15964 return resultobj;
15965 fail:
15966 {
15967 if (temp2)
15968 delete arg2;
15969 }
15970 return NULL;
15971}
15972
15973
15974static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15975 PyObject *resultobj;
15976 wxPrintData *arg1 = (wxPrintData *) 0 ;
15977 wxString *arg2 = 0 ;
423f194a 15978 bool temp2 = False ;
d14a1e28
RD
15979 PyObject * obj0 = 0 ;
15980 PyObject * obj1 = 0 ;
15981 char *kwnames[] = {
15982 (char *) "self",(char *) "command", NULL
15983 };
15984
15985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15987 {
15988 arg2 = wxString_in_helper(obj1);
15989 if (arg2 == NULL) SWIG_fail;
423f194a 15990 temp2 = True;
d14a1e28
RD
15991 }
15992 {
15993 PyThreadState* __tstate = wxPyBeginAllowThreads();
15994 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15995
15996 wxPyEndAllowThreads(__tstate);
15997 if (PyErr_Occurred()) SWIG_fail;
15998 }
15999 Py_INCREF(Py_None); resultobj = Py_None;
16000 {
16001 if (temp2)
16002 delete arg2;
16003 }
16004 return resultobj;
16005 fail:
16006 {
16007 if (temp2)
16008 delete arg2;
16009 }
16010 return NULL;
16011}
16012
16013
16014static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
16015 PyObject *resultobj;
16016 wxPrintData *arg1 = (wxPrintData *) 0 ;
16017 wxString *arg2 = 0 ;
423f194a 16018 bool temp2 = False ;
d14a1e28
RD
16019 PyObject * obj0 = 0 ;
16020 PyObject * obj1 = 0 ;
16021 char *kwnames[] = {
16022 (char *) "self",(char *) "filename", NULL
16023 };
16024
16025 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
16026 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16027 {
16028 arg2 = wxString_in_helper(obj1);
16029 if (arg2 == NULL) SWIG_fail;
423f194a 16030 temp2 = True;
d14a1e28
RD
16031 }
16032 {
16033 PyThreadState* __tstate = wxPyBeginAllowThreads();
16034 (arg1)->SetFilename((wxString const &)*arg2);
16035
16036 wxPyEndAllowThreads(__tstate);
16037 if (PyErr_Occurred()) SWIG_fail;
16038 }
16039 Py_INCREF(Py_None); resultobj = Py_None;
16040 {
16041 if (temp2)
16042 delete arg2;
16043 }
16044 return resultobj;
16045 fail:
16046 {
16047 if (temp2)
16048 delete arg2;
16049 }
16050 return NULL;
16051}
16052
16053
16054static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
16055 PyObject *resultobj;
16056 wxPrintData *arg1 = (wxPrintData *) 0 ;
16057 wxString *arg2 = 0 ;
423f194a 16058 bool temp2 = False ;
d14a1e28
RD
16059 PyObject * obj0 = 0 ;
16060 PyObject * obj1 = 0 ;
16061 char *kwnames[] = {
16062 (char *) "self",(char *) "path", NULL
16063 };
16064
16065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
16066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16067 {
16068 arg2 = wxString_in_helper(obj1);
16069 if (arg2 == NULL) SWIG_fail;
423f194a 16070 temp2 = True;
d14a1e28
RD
16071 }
16072 {
16073 PyThreadState* __tstate = wxPyBeginAllowThreads();
16074 (arg1)->SetFontMetricPath((wxString const &)*arg2);
16075
16076 wxPyEndAllowThreads(__tstate);
16077 if (PyErr_Occurred()) SWIG_fail;
16078 }
16079 Py_INCREF(Py_None); resultobj = Py_None;
16080 {
16081 if (temp2)
16082 delete arg2;
16083 }
16084 return resultobj;
16085 fail:
16086 {
16087 if (temp2)
16088 delete arg2;
16089 }
16090 return NULL;
16091}
16092
16093
16094static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
16095 PyObject *resultobj;
16096 wxPrintData *arg1 = (wxPrintData *) 0 ;
16097 double arg2 ;
16098 PyObject * obj0 = 0 ;
16099 char *kwnames[] = {
16100 (char *) "self",(char *) "x", NULL
16101 };
16102
16103 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
16104 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16105 {
16106 PyThreadState* __tstate = wxPyBeginAllowThreads();
16107 (arg1)->SetPrinterScaleX(arg2);
16108
16109 wxPyEndAllowThreads(__tstate);
16110 if (PyErr_Occurred()) SWIG_fail;
16111 }
16112 Py_INCREF(Py_None); resultobj = Py_None;
16113 return resultobj;
16114 fail:
16115 return NULL;
16116}
16117
16118
16119static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
16120 PyObject *resultobj;
16121 wxPrintData *arg1 = (wxPrintData *) 0 ;
16122 double arg2 ;
16123 PyObject * obj0 = 0 ;
16124 char *kwnames[] = {
16125 (char *) "self",(char *) "y", NULL
16126 };
16127
16128 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
16129 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16130 {
16131 PyThreadState* __tstate = wxPyBeginAllowThreads();
16132 (arg1)->SetPrinterScaleY(arg2);
16133
16134 wxPyEndAllowThreads(__tstate);
16135 if (PyErr_Occurred()) SWIG_fail;
16136 }
16137 Py_INCREF(Py_None); resultobj = Py_None;
16138 return resultobj;
16139 fail:
16140 return NULL;
16141}
16142
16143
16144static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
16145 PyObject *resultobj;
16146 wxPrintData *arg1 = (wxPrintData *) 0 ;
16147 double arg2 ;
16148 double arg3 ;
16149 PyObject * obj0 = 0 ;
16150 char *kwnames[] = {
16151 (char *) "self",(char *) "x",(char *) "y", NULL
16152 };
16153
16154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
16155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16156 {
16157 PyThreadState* __tstate = wxPyBeginAllowThreads();
16158 (arg1)->SetPrinterScaling(arg2,arg3);
16159
16160 wxPyEndAllowThreads(__tstate);
16161 if (PyErr_Occurred()) SWIG_fail;
16162 }
16163 Py_INCREF(Py_None); resultobj = Py_None;
16164 return resultobj;
16165 fail:
16166 return NULL;
16167}
16168
16169
16170static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
16171 PyObject *resultobj;
16172 wxPrintData *arg1 = (wxPrintData *) 0 ;
16173 long arg2 ;
16174 PyObject * obj0 = 0 ;
16175 char *kwnames[] = {
16176 (char *) "self",(char *) "x", NULL
16177 };
16178
16179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
16180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16181 {
16182 PyThreadState* __tstate = wxPyBeginAllowThreads();
16183 (arg1)->SetPrinterTranslateX(arg2);
16184
16185 wxPyEndAllowThreads(__tstate);
16186 if (PyErr_Occurred()) SWIG_fail;
16187 }
16188 Py_INCREF(Py_None); resultobj = Py_None;
16189 return resultobj;
16190 fail:
16191 return NULL;
16192}
16193
16194
16195static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
16196 PyObject *resultobj;
16197 wxPrintData *arg1 = (wxPrintData *) 0 ;
16198 long arg2 ;
16199 PyObject * obj0 = 0 ;
16200 char *kwnames[] = {
16201 (char *) "self",(char *) "y", NULL
16202 };
16203
16204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
16205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16206 {
16207 PyThreadState* __tstate = wxPyBeginAllowThreads();
16208 (arg1)->SetPrinterTranslateY(arg2);
16209
16210 wxPyEndAllowThreads(__tstate);
16211 if (PyErr_Occurred()) SWIG_fail;
16212 }
16213 Py_INCREF(Py_None); resultobj = Py_None;
16214 return resultobj;
16215 fail:
16216 return NULL;
16217}
16218
16219
16220static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
16221 PyObject *resultobj;
16222 wxPrintData *arg1 = (wxPrintData *) 0 ;
16223 long arg2 ;
16224 long arg3 ;
16225 PyObject * obj0 = 0 ;
16226 char *kwnames[] = {
16227 (char *) "self",(char *) "x",(char *) "y", NULL
16228 };
16229
16230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
16231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16232 {
16233 PyThreadState* __tstate = wxPyBeginAllowThreads();
16234 (arg1)->SetPrinterTranslation(arg2,arg3);
16235
16236 wxPyEndAllowThreads(__tstate);
16237 if (PyErr_Occurred()) SWIG_fail;
16238 }
16239 Py_INCREF(Py_None); resultobj = Py_None;
16240 return resultobj;
16241 fail:
16242 return NULL;
16243}
16244
16245
16246static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
16247 PyObject *resultobj;
16248 wxPrintData *arg1 = (wxPrintData *) 0 ;
16249 int arg2 ;
16250 PyObject * obj0 = 0 ;
16251 char *kwnames[] = {
16252 (char *) "self",(char *) "printMode", NULL
16253 };
16254
16255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
16256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16257 {
16258 PyThreadState* __tstate = wxPyBeginAllowThreads();
16259 (arg1)->SetPrintMode((wxPrintMode )arg2);
16260
16261 wxPyEndAllowThreads(__tstate);
16262 if (PyErr_Occurred()) SWIG_fail;
16263 }
16264 Py_INCREF(Py_None); resultobj = Py_None;
16265 return resultobj;
16266 fail:
16267 return NULL;
16268}
16269
16270
16271static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
16272 PyObject *obj;
16273 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16274 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
16275 Py_INCREF(obj);
16276 return Py_BuildValue((char *)"");
16277}
16278static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16279 PyObject *resultobj;
16280 wxPageSetupDialogData *result;
16281 char *kwnames[] = {
16282 NULL
16283 };
16284
16285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16286 {
16287 PyThreadState* __tstate = wxPyBeginAllowThreads();
16288 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16289
16290 wxPyEndAllowThreads(__tstate);
16291 if (PyErr_Occurred()) SWIG_fail;
16292 }
16293 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16294 return resultobj;
16295 fail:
16296 return NULL;
16297}
16298
16299
16300static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16301 PyObject *resultobj;
16302 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16303 PyObject * obj0 = 0 ;
16304 char *kwnames[] = {
16305 (char *) "self", NULL
16306 };
16307
16308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16310 {
16311 PyThreadState* __tstate = wxPyBeginAllowThreads();
16312 delete arg1;
16313
16314 wxPyEndAllowThreads(__tstate);
16315 if (PyErr_Occurred()) SWIG_fail;
16316 }
16317 Py_INCREF(Py_None); resultobj = Py_None;
16318 return resultobj;
16319 fail:
16320 return NULL;
16321}
16322
16323
16324static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16325 PyObject *resultobj;
16326 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16327 bool arg2 ;
16328 PyObject * obj0 = 0 ;
16329 PyObject * obj1 = 0 ;
16330 char *kwnames[] = {
16331 (char *) "self",(char *) "flag", NULL
16332 };
16333
16334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16336 arg2 = PyInt_AsLong(obj1) ? true : false;
16337 if (PyErr_Occurred()) SWIG_fail;
16338 {
16339 PyThreadState* __tstate = wxPyBeginAllowThreads();
16340 (arg1)->EnableHelp(arg2);
16341
16342 wxPyEndAllowThreads(__tstate);
16343 if (PyErr_Occurred()) SWIG_fail;
16344 }
16345 Py_INCREF(Py_None); resultobj = Py_None;
16346 return resultobj;
16347 fail:
16348 return NULL;
16349}
16350
16351
16352static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16353 PyObject *resultobj;
16354 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16355 bool arg2 ;
16356 PyObject * obj0 = 0 ;
16357 PyObject * obj1 = 0 ;
16358 char *kwnames[] = {
16359 (char *) "self",(char *) "flag", NULL
16360 };
16361
16362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16364 arg2 = PyInt_AsLong(obj1) ? true : false;
16365 if (PyErr_Occurred()) SWIG_fail;
16366 {
16367 PyThreadState* __tstate = wxPyBeginAllowThreads();
16368 (arg1)->EnableMargins(arg2);
16369
16370 wxPyEndAllowThreads(__tstate);
16371 if (PyErr_Occurred()) SWIG_fail;
16372 }
16373 Py_INCREF(Py_None); resultobj = Py_None;
16374 return resultobj;
16375 fail:
16376 return NULL;
16377}
16378
16379
16380static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16381 PyObject *resultobj;
16382 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16383 bool arg2 ;
16384 PyObject * obj0 = 0 ;
16385 PyObject * obj1 = 0 ;
16386 char *kwnames[] = {
16387 (char *) "self",(char *) "flag", NULL
16388 };
16389
16390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16392 arg2 = PyInt_AsLong(obj1) ? true : false;
16393 if (PyErr_Occurred()) SWIG_fail;
16394 {
16395 PyThreadState* __tstate = wxPyBeginAllowThreads();
16396 (arg1)->EnableOrientation(arg2);
16397
16398 wxPyEndAllowThreads(__tstate);
16399 if (PyErr_Occurred()) SWIG_fail;
16400 }
16401 Py_INCREF(Py_None); resultobj = Py_None;
16402 return resultobj;
16403 fail:
16404 return NULL;
16405}
16406
16407
16408static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16409 PyObject *resultobj;
16410 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16411 bool arg2 ;
16412 PyObject * obj0 = 0 ;
16413 PyObject * obj1 = 0 ;
16414 char *kwnames[] = {
16415 (char *) "self",(char *) "flag", NULL
16416 };
16417
16418 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16419 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16420 arg2 = PyInt_AsLong(obj1) ? true : false;
16421 if (PyErr_Occurred()) SWIG_fail;
16422 {
16423 PyThreadState* __tstate = wxPyBeginAllowThreads();
16424 (arg1)->EnablePaper(arg2);
16425
16426 wxPyEndAllowThreads(__tstate);
16427 if (PyErr_Occurred()) SWIG_fail;
16428 }
16429 Py_INCREF(Py_None); resultobj = Py_None;
16430 return resultobj;
16431 fail:
16432 return NULL;
16433}
16434
16435
16436static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16437 PyObject *resultobj;
16438 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16439 bool arg2 ;
16440 PyObject * obj0 = 0 ;
16441 PyObject * obj1 = 0 ;
16442 char *kwnames[] = {
16443 (char *) "self",(char *) "flag", NULL
16444 };
16445
16446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16448 arg2 = PyInt_AsLong(obj1) ? true : false;
16449 if (PyErr_Occurred()) SWIG_fail;
16450 {
16451 PyThreadState* __tstate = wxPyBeginAllowThreads();
16452 (arg1)->EnablePrinter(arg2);
16453
16454 wxPyEndAllowThreads(__tstate);
16455 if (PyErr_Occurred()) SWIG_fail;
16456 }
16457 Py_INCREF(Py_None); resultobj = Py_None;
16458 return resultobj;
16459 fail:
16460 return NULL;
16461}
16462
16463
16464static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16465 PyObject *resultobj;
16466 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16467 bool result;
16468 PyObject * obj0 = 0 ;
16469 char *kwnames[] = {
16470 (char *) "self", NULL
16471 };
16472
16473 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16474 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16475 {
16476 PyThreadState* __tstate = wxPyBeginAllowThreads();
16477 result = (bool)(arg1)->GetDefaultMinMargins();
16478
16479 wxPyEndAllowThreads(__tstate);
16480 if (PyErr_Occurred()) SWIG_fail;
16481 }
16482 resultobj = PyInt_FromLong((long)result);
16483 return resultobj;
16484 fail:
16485 return NULL;
16486}
16487
16488
16489static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16490 PyObject *resultobj;
16491 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16492 bool result;
16493 PyObject * obj0 = 0 ;
16494 char *kwnames[] = {
16495 (char *) "self", NULL
16496 };
16497
16498 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16499 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16500 {
16501 PyThreadState* __tstate = wxPyBeginAllowThreads();
16502 result = (bool)(arg1)->GetEnableMargins();
16503
16504 wxPyEndAllowThreads(__tstate);
16505 if (PyErr_Occurred()) SWIG_fail;
16506 }
16507 resultobj = PyInt_FromLong((long)result);
16508 return resultobj;
16509 fail:
16510 return NULL;
16511}
16512
16513
16514static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16515 PyObject *resultobj;
16516 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16517 bool result;
16518 PyObject * obj0 = 0 ;
16519 char *kwnames[] = {
16520 (char *) "self", NULL
16521 };
16522
16523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16525 {
16526 PyThreadState* __tstate = wxPyBeginAllowThreads();
16527 result = (bool)(arg1)->GetEnableOrientation();
16528
16529 wxPyEndAllowThreads(__tstate);
16530 if (PyErr_Occurred()) SWIG_fail;
16531 }
16532 resultobj = PyInt_FromLong((long)result);
16533 return resultobj;
16534 fail:
16535 return NULL;
16536}
16537
16538
16539static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16540 PyObject *resultobj;
16541 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16542 bool result;
16543 PyObject * obj0 = 0 ;
16544 char *kwnames[] = {
16545 (char *) "self", NULL
16546 };
16547
16548 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16549 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16550 {
16551 PyThreadState* __tstate = wxPyBeginAllowThreads();
16552 result = (bool)(arg1)->GetEnablePaper();
16553
16554 wxPyEndAllowThreads(__tstate);
16555 if (PyErr_Occurred()) SWIG_fail;
16556 }
16557 resultobj = PyInt_FromLong((long)result);
16558 return resultobj;
16559 fail:
16560 return NULL;
16561}
16562
16563
16564static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16565 PyObject *resultobj;
16566 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16567 bool result;
16568 PyObject * obj0 = 0 ;
16569 char *kwnames[] = {
16570 (char *) "self", NULL
16571 };
16572
16573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16575 {
16576 PyThreadState* __tstate = wxPyBeginAllowThreads();
16577 result = (bool)(arg1)->GetEnablePrinter();
16578
16579 wxPyEndAllowThreads(__tstate);
16580 if (PyErr_Occurred()) SWIG_fail;
16581 }
16582 resultobj = PyInt_FromLong((long)result);
16583 return resultobj;
16584 fail:
16585 return NULL;
16586}
16587
16588
16589static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16590 PyObject *resultobj;
16591 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16592 bool result;
16593 PyObject * obj0 = 0 ;
16594 char *kwnames[] = {
16595 (char *) "self", NULL
16596 };
16597
16598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16600 {
16601 PyThreadState* __tstate = wxPyBeginAllowThreads();
16602 result = (bool)(arg1)->GetEnableHelp();
16603
16604 wxPyEndAllowThreads(__tstate);
16605 if (PyErr_Occurred()) SWIG_fail;
16606 }
16607 resultobj = PyInt_FromLong((long)result);
16608 return resultobj;
16609 fail:
16610 return NULL;
16611}
16612
16613
16614static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16615 PyObject *resultobj;
16616 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16617 bool result;
16618 PyObject * obj0 = 0 ;
16619 char *kwnames[] = {
16620 (char *) "self", NULL
16621 };
16622
16623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16625 {
16626 PyThreadState* __tstate = wxPyBeginAllowThreads();
16627 result = (bool)(arg1)->GetDefaultInfo();
16628
16629 wxPyEndAllowThreads(__tstate);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 resultobj = PyInt_FromLong((long)result);
16633 return resultobj;
16634 fail:
16635 return NULL;
16636}
16637
16638
16639static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16640 PyObject *resultobj;
16641 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16642 wxPoint result;
16643 PyObject * obj0 = 0 ;
16644 char *kwnames[] = {
16645 (char *) "self", NULL
16646 };
16647
16648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16650 {
16651 PyThreadState* __tstate = wxPyBeginAllowThreads();
16652 result = (arg1)->GetMarginTopLeft();
16653
16654 wxPyEndAllowThreads(__tstate);
16655 if (PyErr_Occurred()) SWIG_fail;
16656 }
16657 {
16658 wxPoint * resultptr;
16659 resultptr = new wxPoint((wxPoint &) result);
16660 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16661 }
16662 return resultobj;
16663 fail:
16664 return NULL;
16665}
16666
16667
16668static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16669 PyObject *resultobj;
16670 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16671 wxPoint result;
16672 PyObject * obj0 = 0 ;
16673 char *kwnames[] = {
16674 (char *) "self", NULL
16675 };
16676
16677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16679 {
16680 PyThreadState* __tstate = wxPyBeginAllowThreads();
16681 result = (arg1)->GetMarginBottomRight();
16682
16683 wxPyEndAllowThreads(__tstate);
16684 if (PyErr_Occurred()) SWIG_fail;
16685 }
16686 {
16687 wxPoint * resultptr;
16688 resultptr = new wxPoint((wxPoint &) result);
16689 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16690 }
16691 return resultobj;
16692 fail:
16693 return NULL;
16694}
16695
16696
16697static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16698 PyObject *resultobj;
16699 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16700 wxPoint result;
16701 PyObject * obj0 = 0 ;
16702 char *kwnames[] = {
16703 (char *) "self", NULL
16704 };
16705
16706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16708 {
16709 PyThreadState* __tstate = wxPyBeginAllowThreads();
16710 result = (arg1)->GetMinMarginTopLeft();
16711
16712 wxPyEndAllowThreads(__tstate);
16713 if (PyErr_Occurred()) SWIG_fail;
16714 }
16715 {
16716 wxPoint * resultptr;
16717 resultptr = new wxPoint((wxPoint &) result);
16718 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16719 }
16720 return resultobj;
16721 fail:
16722 return NULL;
16723}
16724
16725
16726static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16727 PyObject *resultobj;
16728 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16729 wxPoint result;
16730 PyObject * obj0 = 0 ;
16731 char *kwnames[] = {
16732 (char *) "self", NULL
16733 };
16734
16735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16737 {
16738 PyThreadState* __tstate = wxPyBeginAllowThreads();
16739 result = (arg1)->GetMinMarginBottomRight();
16740
16741 wxPyEndAllowThreads(__tstate);
16742 if (PyErr_Occurred()) SWIG_fail;
16743 }
16744 {
16745 wxPoint * resultptr;
16746 resultptr = new wxPoint((wxPoint &) result);
16747 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16748 }
16749 return resultobj;
16750 fail:
16751 return NULL;
16752}
16753
16754
16755static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16756 PyObject *resultobj;
16757 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16758 int result;
16759 PyObject * obj0 = 0 ;
16760 char *kwnames[] = {
16761 (char *) "self", NULL
16762 };
16763
16764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16766 {
16767 PyThreadState* __tstate = wxPyBeginAllowThreads();
16768 result = (int)(arg1)->GetPaperId();
16769
16770 wxPyEndAllowThreads(__tstate);
16771 if (PyErr_Occurred()) SWIG_fail;
16772 }
16773 resultobj = PyInt_FromLong((long)result);
16774 return resultobj;
16775 fail:
16776 return NULL;
16777}
16778
16779
16780static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16781 PyObject *resultobj;
16782 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16783 wxSize result;
16784 PyObject * obj0 = 0 ;
16785 char *kwnames[] = {
16786 (char *) "self", NULL
16787 };
16788
16789 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16790 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16791 {
16792 PyThreadState* __tstate = wxPyBeginAllowThreads();
16793 result = (arg1)->GetPaperSize();
16794
16795 wxPyEndAllowThreads(__tstate);
16796 if (PyErr_Occurred()) SWIG_fail;
16797 }
16798 {
16799 wxSize * resultptr;
16800 resultptr = new wxSize((wxSize &) result);
16801 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16802 }
16803 return resultobj;
16804 fail:
16805 return NULL;
16806}
16807
16808
16809static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16810 PyObject *resultobj;
16811 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16812 wxPrintData *result;
16813 PyObject * obj0 = 0 ;
16814 char *kwnames[] = {
16815 (char *) "self", NULL
16816 };
16817
16818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16820 {
16821 PyThreadState* __tstate = wxPyBeginAllowThreads();
16822 {
16823 wxPrintData &_result_ref = (arg1)->GetPrintData();
16824 result = (wxPrintData *) &_result_ref;
16825 }
16826
16827 wxPyEndAllowThreads(__tstate);
16828 if (PyErr_Occurred()) SWIG_fail;
16829 }
16830 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16831 return resultobj;
16832 fail:
16833 return NULL;
16834}
16835
16836
16837static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16838 PyObject *resultobj;
16839 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16840 bool result;
16841 PyObject * obj0 = 0 ;
16842 char *kwnames[] = {
16843 (char *) "self", NULL
16844 };
16845
16846 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16847 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16848 {
16849 PyThreadState* __tstate = wxPyBeginAllowThreads();
16850 result = (bool)(arg1)->Ok();
16851
16852 wxPyEndAllowThreads(__tstate);
16853 if (PyErr_Occurred()) SWIG_fail;
16854 }
16855 resultobj = PyInt_FromLong((long)result);
16856 return resultobj;
16857 fail:
16858 return NULL;
16859}
16860
16861
16862static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16863 PyObject *resultobj;
16864 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16865 bool arg2 ;
16866 PyObject * obj0 = 0 ;
16867 PyObject * obj1 = 0 ;
16868 char *kwnames[] = {
16869 (char *) "self",(char *) "flag", NULL
16870 };
16871
16872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16874 arg2 = PyInt_AsLong(obj1) ? true : false;
16875 if (PyErr_Occurred()) SWIG_fail;
16876 {
16877 PyThreadState* __tstate = wxPyBeginAllowThreads();
16878 (arg1)->SetDefaultInfo(arg2);
16879
16880 wxPyEndAllowThreads(__tstate);
16881 if (PyErr_Occurred()) SWIG_fail;
16882 }
16883 Py_INCREF(Py_None); resultobj = Py_None;
16884 return resultobj;
16885 fail:
16886 return NULL;
16887}
16888
16889
16890static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16891 PyObject *resultobj;
16892 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16893 bool arg2 ;
16894 PyObject * obj0 = 0 ;
16895 PyObject * obj1 = 0 ;
16896 char *kwnames[] = {
16897 (char *) "self",(char *) "flag", NULL
16898 };
16899
16900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16902 arg2 = PyInt_AsLong(obj1) ? true : false;
16903 if (PyErr_Occurred()) SWIG_fail;
16904 {
16905 PyThreadState* __tstate = wxPyBeginAllowThreads();
16906 (arg1)->SetDefaultMinMargins(arg2);
16907
16908 wxPyEndAllowThreads(__tstate);
16909 if (PyErr_Occurred()) SWIG_fail;
16910 }
16911 Py_INCREF(Py_None); resultobj = Py_None;
16912 return resultobj;
16913 fail:
16914 return NULL;
16915}
16916
16917
16918static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16919 PyObject *resultobj;
16920 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16921 wxPoint *arg2 = 0 ;
16922 wxPoint temp2 ;
16923 PyObject * obj0 = 0 ;
16924 PyObject * obj1 = 0 ;
16925 char *kwnames[] = {
16926 (char *) "self",(char *) "pt", NULL
16927 };
16928
16929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16931 {
16932 arg2 = &temp2;
16933 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16934 }
16935 {
16936 PyThreadState* __tstate = wxPyBeginAllowThreads();
16937 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16938
16939 wxPyEndAllowThreads(__tstate);
16940 if (PyErr_Occurred()) SWIG_fail;
16941 }
16942 Py_INCREF(Py_None); resultobj = Py_None;
16943 return resultobj;
16944 fail:
16945 return NULL;
16946}
16947
16948
16949static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16950 PyObject *resultobj;
16951 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16952 wxPoint *arg2 = 0 ;
16953 wxPoint temp2 ;
16954 PyObject * obj0 = 0 ;
16955 PyObject * obj1 = 0 ;
16956 char *kwnames[] = {
16957 (char *) "self",(char *) "pt", NULL
16958 };
16959
16960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16962 {
16963 arg2 = &temp2;
16964 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16965 }
16966 {
16967 PyThreadState* __tstate = wxPyBeginAllowThreads();
16968 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16969
16970 wxPyEndAllowThreads(__tstate);
16971 if (PyErr_Occurred()) SWIG_fail;
16972 }
16973 Py_INCREF(Py_None); resultobj = Py_None;
16974 return resultobj;
16975 fail:
16976 return NULL;
16977}
16978
16979
16980static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16981 PyObject *resultobj;
16982 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16983 wxPoint *arg2 = 0 ;
16984 wxPoint temp2 ;
16985 PyObject * obj0 = 0 ;
16986 PyObject * obj1 = 0 ;
16987 char *kwnames[] = {
16988 (char *) "self",(char *) "pt", NULL
16989 };
16990
16991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16993 {
16994 arg2 = &temp2;
16995 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16996 }
16997 {
16998 PyThreadState* __tstate = wxPyBeginAllowThreads();
16999 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
17000
17001 wxPyEndAllowThreads(__tstate);
17002 if (PyErr_Occurred()) SWIG_fail;
17003 }
17004 Py_INCREF(Py_None); resultobj = Py_None;
17005 return resultobj;
17006 fail:
17007 return NULL;
17008}
17009
17010
17011static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
17012 PyObject *resultobj;
17013 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17014 wxPoint *arg2 = 0 ;
17015 wxPoint temp2 ;
17016 PyObject * obj0 = 0 ;
17017 PyObject * obj1 = 0 ;
17018 char *kwnames[] = {
17019 (char *) "self",(char *) "pt", NULL
17020 };
17021
17022 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
17023 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17024 {
17025 arg2 = &temp2;
17026 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
17027 }
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
17031
17032 wxPyEndAllowThreads(__tstate);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
17035 Py_INCREF(Py_None); resultobj = Py_None;
17036 return resultobj;
17037 fail:
17038 return NULL;
17039}
17040
17041
17042static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj;
17044 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17045 int arg2 ;
17046 PyObject * obj0 = 0 ;
17047 char *kwnames[] = {
17048 (char *) "self",(char *) "id", NULL
17049 };
17050
17051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
17052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17053 {
17054 PyThreadState* __tstate = wxPyBeginAllowThreads();
17055 (arg1)->SetPaperId((wxPaperSize )arg2);
17056
17057 wxPyEndAllowThreads(__tstate);
17058 if (PyErr_Occurred()) SWIG_fail;
17059 }
17060 Py_INCREF(Py_None); resultobj = Py_None;
17061 return resultobj;
17062 fail:
17063 return NULL;
17064}
17065
17066
17067static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj;
17069 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17070 wxSize *arg2 = 0 ;
17071 wxSize temp2 ;
17072 PyObject * obj0 = 0 ;
17073 PyObject * obj1 = 0 ;
17074 char *kwnames[] = {
17075 (char *) "self",(char *) "size", NULL
17076 };
17077
17078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
17079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17080 {
17081 arg2 = &temp2;
17082 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
17083 }
17084 {
17085 PyThreadState* __tstate = wxPyBeginAllowThreads();
17086 (arg1)->SetPaperSize((wxSize const &)*arg2);
17087
17088 wxPyEndAllowThreads(__tstate);
17089 if (PyErr_Occurred()) SWIG_fail;
17090 }
17091 Py_INCREF(Py_None); resultobj = Py_None;
17092 return resultobj;
17093 fail:
17094 return NULL;
17095}
17096
17097
17098static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17099 PyObject *resultobj;
17100 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
17101 wxPrintData *arg2 = 0 ;
17102 PyObject * obj0 = 0 ;
17103 PyObject * obj1 = 0 ;
17104 char *kwnames[] = {
17105 (char *) "self",(char *) "printData", NULL
17106 };
17107
17108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17111 if (arg2 == NULL) {
17112 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17113 }
17114 {
17115 PyThreadState* __tstate = wxPyBeginAllowThreads();
17116 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17117
17118 wxPyEndAllowThreads(__tstate);
17119 if (PyErr_Occurred()) SWIG_fail;
17120 }
17121 Py_INCREF(Py_None); resultobj = Py_None;
17122 return resultobj;
17123 fail:
17124 return NULL;
17125}
17126
17127
17128static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
17129 PyObject *obj;
17130 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17131 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
17132 Py_INCREF(obj);
17133 return Py_BuildValue((char *)"");
17134}
17135static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj;
17137 wxWindow *arg1 = (wxWindow *) 0 ;
17138 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
17139 wxPageSetupDialog *result;
17140 PyObject * obj0 = 0 ;
17141 PyObject * obj1 = 0 ;
17142 char *kwnames[] = {
17143 (char *) "parent",(char *) "data", NULL
17144 };
17145
17146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17148 if (obj1) {
17149 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17150 }
17151 {
17152 PyThreadState* __tstate = wxPyBeginAllowThreads();
17153 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
17154
17155 wxPyEndAllowThreads(__tstate);
17156 if (PyErr_Occurred()) SWIG_fail;
17157 }
17158 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
17159 return resultobj;
17160 fail:
17161 return NULL;
17162}
17163
17164
17165static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
17166 PyObject *resultobj;
17167 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17168 wxPageSetupDialogData *result;
17169 PyObject * obj0 = 0 ;
17170 char *kwnames[] = {
17171 (char *) "self", NULL
17172 };
17173
17174 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
17175 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17176 {
17177 PyThreadState* __tstate = wxPyBeginAllowThreads();
17178 {
17179 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
17180 result = (wxPageSetupDialogData *) &_result_ref;
17181 }
17182
17183 wxPyEndAllowThreads(__tstate);
17184 if (PyErr_Occurred()) SWIG_fail;
17185 }
17186 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
17187 return resultobj;
17188 fail:
17189 return NULL;
17190}
17191
17192
17193static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17194 PyObject *resultobj;
17195 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
17196 int result;
17197 PyObject * obj0 = 0 ;
17198 char *kwnames[] = {
17199 (char *) "self", NULL
17200 };
17201
17202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
17203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17204 {
17205 PyThreadState* __tstate = wxPyBeginAllowThreads();
17206 result = (int)(arg1)->ShowModal();
17207
17208 wxPyEndAllowThreads(__tstate);
17209 if (PyErr_Occurred()) SWIG_fail;
17210 }
17211 resultobj = PyInt_FromLong((long)result);
17212 return resultobj;
17213 fail:
17214 return NULL;
17215}
17216
17217
17218static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
17219 PyObject *obj;
17220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17221 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
17222 Py_INCREF(obj);
17223 return Py_BuildValue((char *)"");
17224}
17225static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17226 PyObject *resultobj;
17227 wxPrintDialogData *result;
17228 char *kwnames[] = {
17229 NULL
17230 };
17231
17232 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
17233 {
17234 PyThreadState* __tstate = wxPyBeginAllowThreads();
17235 result = (wxPrintDialogData *)new wxPrintDialogData();
17236
17237 wxPyEndAllowThreads(__tstate);
17238 if (PyErr_Occurred()) SWIG_fail;
17239 }
17240 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
17241 return resultobj;
17242 fail:
17243 return NULL;
17244}
17245
17246
17247static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17248 PyObject *resultobj;
17249 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17250 PyObject * obj0 = 0 ;
17251 char *kwnames[] = {
17252 (char *) "self", NULL
17253 };
17254
17255 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
17256 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17257 {
17258 PyThreadState* __tstate = wxPyBeginAllowThreads();
17259 delete arg1;
17260
17261 wxPyEndAllowThreads(__tstate);
17262 if (PyErr_Occurred()) SWIG_fail;
17263 }
17264 Py_INCREF(Py_None); resultobj = Py_None;
17265 return resultobj;
17266 fail:
17267 return NULL;
17268}
17269
17270
17271static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17272 PyObject *resultobj;
17273 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17274 int result;
17275 PyObject * obj0 = 0 ;
17276 char *kwnames[] = {
17277 (char *) "self", NULL
17278 };
17279
17280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17282 {
17283 PyThreadState* __tstate = wxPyBeginAllowThreads();
17284 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17285
17286 wxPyEndAllowThreads(__tstate);
17287 if (PyErr_Occurred()) SWIG_fail;
17288 }
17289 resultobj = PyInt_FromLong((long)result);
17290 return resultobj;
17291 fail:
17292 return NULL;
17293}
17294
17295
17296static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17297 PyObject *resultobj;
17298 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17299 int result;
17300 PyObject * obj0 = 0 ;
17301 char *kwnames[] = {
17302 (char *) "self", NULL
17303 };
17304
17305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17307 {
17308 PyThreadState* __tstate = wxPyBeginAllowThreads();
17309 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17310
17311 wxPyEndAllowThreads(__tstate);
17312 if (PyErr_Occurred()) SWIG_fail;
17313 }
17314 resultobj = PyInt_FromLong((long)result);
17315 return resultobj;
17316 fail:
17317 return NULL;
17318}
17319
17320
17321static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17322 PyObject *resultobj;
17323 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17324 int result;
17325 PyObject * obj0 = 0 ;
17326 char *kwnames[] = {
17327 (char *) "self", NULL
17328 };
17329
17330 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17331 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17332 {
17333 PyThreadState* __tstate = wxPyBeginAllowThreads();
17334 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17335
17336 wxPyEndAllowThreads(__tstate);
17337 if (PyErr_Occurred()) SWIG_fail;
17338 }
17339 resultobj = PyInt_FromLong((long)result);
17340 return resultobj;
17341 fail:
17342 return NULL;
17343}
17344
17345
17346static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17347 PyObject *resultobj;
17348 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17349 int result;
17350 PyObject * obj0 = 0 ;
17351 char *kwnames[] = {
17352 (char *) "self", NULL
17353 };
17354
17355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17357 {
17358 PyThreadState* __tstate = wxPyBeginAllowThreads();
17359 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17360
17361 wxPyEndAllowThreads(__tstate);
17362 if (PyErr_Occurred()) SWIG_fail;
17363 }
17364 resultobj = PyInt_FromLong((long)result);
17365 return resultobj;
17366 fail:
17367 return NULL;
17368}
17369
17370
17371static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17372 PyObject *resultobj;
17373 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17374 int result;
17375 PyObject * obj0 = 0 ;
17376 char *kwnames[] = {
17377 (char *) "self", NULL
17378 };
17379
17380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17382 {
17383 PyThreadState* __tstate = wxPyBeginAllowThreads();
17384 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17385
17386 wxPyEndAllowThreads(__tstate);
17387 if (PyErr_Occurred()) SWIG_fail;
17388 }
17389 resultobj = PyInt_FromLong((long)result);
17390 return resultobj;
17391 fail:
17392 return NULL;
17393}
17394
17395
17396static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17397 PyObject *resultobj;
17398 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17399 bool result;
17400 PyObject * obj0 = 0 ;
17401 char *kwnames[] = {
17402 (char *) "self", NULL
17403 };
17404
17405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17407 {
17408 PyThreadState* __tstate = wxPyBeginAllowThreads();
17409 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17410
17411 wxPyEndAllowThreads(__tstate);
17412 if (PyErr_Occurred()) SWIG_fail;
17413 }
17414 resultobj = PyInt_FromLong((long)result);
17415 return resultobj;
17416 fail:
17417 return NULL;
17418}
17419
17420
17421static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17422 PyObject *resultobj;
17423 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17424 bool result;
17425 PyObject * obj0 = 0 ;
17426 char *kwnames[] = {
17427 (char *) "self", NULL
17428 };
17429
17430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17432 {
17433 PyThreadState* __tstate = wxPyBeginAllowThreads();
17434 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17435
17436 wxPyEndAllowThreads(__tstate);
17437 if (PyErr_Occurred()) SWIG_fail;
17438 }
17439 resultobj = PyInt_FromLong((long)result);
17440 return resultobj;
17441 fail:
17442 return NULL;
17443}
17444
17445
17446static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17447 PyObject *resultobj;
17448 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17449 bool result;
17450 PyObject * obj0 = 0 ;
17451 char *kwnames[] = {
17452 (char *) "self", NULL
17453 };
17454
17455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17457 {
17458 PyThreadState* __tstate = wxPyBeginAllowThreads();
17459 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17460
17461 wxPyEndAllowThreads(__tstate);
17462 if (PyErr_Occurred()) SWIG_fail;
17463 }
17464 resultobj = PyInt_FromLong((long)result);
17465 return resultobj;
17466 fail:
17467 return NULL;
17468}
17469
17470
17471static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17472 PyObject *resultobj;
17473 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17474 bool result;
17475 PyObject * obj0 = 0 ;
17476 char *kwnames[] = {
17477 (char *) "self", NULL
17478 };
17479
17480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17482 {
17483 PyThreadState* __tstate = wxPyBeginAllowThreads();
17484 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17485
17486 wxPyEndAllowThreads(__tstate);
17487 if (PyErr_Occurred()) SWIG_fail;
17488 }
17489 resultobj = PyInt_FromLong((long)result);
17490 return resultobj;
17491 fail:
17492 return NULL;
17493}
17494
17495
17496static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17497 PyObject *resultobj;
17498 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17499 bool result;
17500 PyObject * obj0 = 0 ;
17501 char *kwnames[] = {
17502 (char *) "self", NULL
17503 };
17504
17505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17507 {
17508 PyThreadState* __tstate = wxPyBeginAllowThreads();
17509 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17510
17511 wxPyEndAllowThreads(__tstate);
17512 if (PyErr_Occurred()) SWIG_fail;
17513 }
17514 resultobj = PyInt_FromLong((long)result);
17515 return resultobj;
17516 fail:
17517 return NULL;
17518}
17519
17520
17521static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17522 PyObject *resultobj;
17523 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17524 int arg2 ;
17525 PyObject * obj0 = 0 ;
17526 char *kwnames[] = {
17527 (char *) "self",(char *) "v", NULL
17528 };
17529
17530 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17531 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17532 {
17533 PyThreadState* __tstate = wxPyBeginAllowThreads();
17534 (arg1)->SetFromPage(arg2);
17535
17536 wxPyEndAllowThreads(__tstate);
17537 if (PyErr_Occurred()) SWIG_fail;
17538 }
17539 Py_INCREF(Py_None); resultobj = Py_None;
17540 return resultobj;
17541 fail:
17542 return NULL;
17543}
17544
17545
17546static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17547 PyObject *resultobj;
17548 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17549 int arg2 ;
17550 PyObject * obj0 = 0 ;
17551 char *kwnames[] = {
17552 (char *) "self",(char *) "v", NULL
17553 };
17554
17555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17557 {
17558 PyThreadState* __tstate = wxPyBeginAllowThreads();
17559 (arg1)->SetToPage(arg2);
17560
17561 wxPyEndAllowThreads(__tstate);
17562 if (PyErr_Occurred()) SWIG_fail;
17563 }
17564 Py_INCREF(Py_None); resultobj = Py_None;
17565 return resultobj;
17566 fail:
17567 return NULL;
17568}
17569
17570
17571static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17572 PyObject *resultobj;
17573 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17574 int arg2 ;
17575 PyObject * obj0 = 0 ;
17576 char *kwnames[] = {
17577 (char *) "self",(char *) "v", NULL
17578 };
17579
17580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17582 {
17583 PyThreadState* __tstate = wxPyBeginAllowThreads();
17584 (arg1)->SetMinPage(arg2);
17585
17586 wxPyEndAllowThreads(__tstate);
17587 if (PyErr_Occurred()) SWIG_fail;
17588 }
17589 Py_INCREF(Py_None); resultobj = Py_None;
17590 return resultobj;
17591 fail:
17592 return NULL;
17593}
17594
17595
17596static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17597 PyObject *resultobj;
17598 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17599 int arg2 ;
17600 PyObject * obj0 = 0 ;
17601 char *kwnames[] = {
17602 (char *) "self",(char *) "v", NULL
17603 };
17604
17605 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17606 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17607 {
17608 PyThreadState* __tstate = wxPyBeginAllowThreads();
17609 (arg1)->SetMaxPage(arg2);
17610
17611 wxPyEndAllowThreads(__tstate);
17612 if (PyErr_Occurred()) SWIG_fail;
17613 }
17614 Py_INCREF(Py_None); resultobj = Py_None;
17615 return resultobj;
17616 fail:
17617 return NULL;
17618}
17619
17620
17621static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17622 PyObject *resultobj;
17623 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17624 int arg2 ;
17625 PyObject * obj0 = 0 ;
17626 char *kwnames[] = {
17627 (char *) "self",(char *) "v", NULL
17628 };
17629
17630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17632 {
17633 PyThreadState* __tstate = wxPyBeginAllowThreads();
17634 (arg1)->SetNoCopies(arg2);
17635
17636 wxPyEndAllowThreads(__tstate);
17637 if (PyErr_Occurred()) SWIG_fail;
17638 }
17639 Py_INCREF(Py_None); resultobj = Py_None;
17640 return resultobj;
17641 fail:
17642 return NULL;
17643}
17644
17645
17646static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17647 PyObject *resultobj;
17648 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17649 bool arg2 ;
17650 PyObject * obj0 = 0 ;
17651 PyObject * obj1 = 0 ;
17652 char *kwnames[] = {
17653 (char *) "self",(char *) "flag", NULL
17654 };
17655
17656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17658 arg2 = PyInt_AsLong(obj1) ? true : false;
17659 if (PyErr_Occurred()) SWIG_fail;
17660 {
17661 PyThreadState* __tstate = wxPyBeginAllowThreads();
17662 (arg1)->SetAllPages(arg2);
17663
17664 wxPyEndAllowThreads(__tstate);
17665 if (PyErr_Occurred()) SWIG_fail;
17666 }
17667 Py_INCREF(Py_None); resultobj = Py_None;
17668 return resultobj;
17669 fail:
17670 return NULL;
17671}
17672
17673
17674static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17675 PyObject *resultobj;
17676 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17677 bool arg2 ;
17678 PyObject * obj0 = 0 ;
17679 PyObject * obj1 = 0 ;
17680 char *kwnames[] = {
17681 (char *) "self",(char *) "flag", NULL
17682 };
17683
17684 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17685 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17686 arg2 = PyInt_AsLong(obj1) ? true : false;
17687 if (PyErr_Occurred()) SWIG_fail;
17688 {
17689 PyThreadState* __tstate = wxPyBeginAllowThreads();
17690 (arg1)->SetSelection(arg2);
17691
17692 wxPyEndAllowThreads(__tstate);
17693 if (PyErr_Occurred()) SWIG_fail;
17694 }
17695 Py_INCREF(Py_None); resultobj = Py_None;
17696 return resultobj;
17697 fail:
17698 return NULL;
17699}
17700
17701
17702static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17703 PyObject *resultobj;
17704 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17705 bool arg2 ;
17706 PyObject * obj0 = 0 ;
17707 PyObject * obj1 = 0 ;
17708 char *kwnames[] = {
17709 (char *) "self",(char *) "flag", NULL
17710 };
17711
17712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17714 arg2 = PyInt_AsLong(obj1) ? true : false;
17715 if (PyErr_Occurred()) SWIG_fail;
17716 {
17717 PyThreadState* __tstate = wxPyBeginAllowThreads();
17718 (arg1)->SetCollate(arg2);
17719
17720 wxPyEndAllowThreads(__tstate);
17721 if (PyErr_Occurred()) SWIG_fail;
17722 }
17723 Py_INCREF(Py_None); resultobj = Py_None;
17724 return resultobj;
17725 fail:
17726 return NULL;
17727}
17728
17729
17730static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17731 PyObject *resultobj;
17732 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17733 bool arg2 ;
17734 PyObject * obj0 = 0 ;
17735 PyObject * obj1 = 0 ;
17736 char *kwnames[] = {
17737 (char *) "self",(char *) "flag", NULL
17738 };
17739
17740 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17741 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17742 arg2 = PyInt_AsLong(obj1) ? true : false;
17743 if (PyErr_Occurred()) SWIG_fail;
17744 {
17745 PyThreadState* __tstate = wxPyBeginAllowThreads();
17746 (arg1)->SetPrintToFile(arg2);
17747
17748 wxPyEndAllowThreads(__tstate);
17749 if (PyErr_Occurred()) SWIG_fail;
17750 }
17751 Py_INCREF(Py_None); resultobj = Py_None;
17752 return resultobj;
17753 fail:
17754 return NULL;
17755}
17756
17757
17758static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17759 PyObject *resultobj;
17760 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17761 bool arg2 ;
17762 PyObject * obj0 = 0 ;
17763 PyObject * obj1 = 0 ;
17764 char *kwnames[] = {
17765 (char *) "self",(char *) "flag", NULL
17766 };
17767
17768 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17769 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17770 arg2 = PyInt_AsLong(obj1) ? true : false;
17771 if (PyErr_Occurred()) SWIG_fail;
17772 {
17773 PyThreadState* __tstate = wxPyBeginAllowThreads();
17774 (arg1)->SetSetupDialog(arg2);
17775
17776 wxPyEndAllowThreads(__tstate);
17777 if (PyErr_Occurred()) SWIG_fail;
17778 }
17779 Py_INCREF(Py_None); resultobj = Py_None;
17780 return resultobj;
17781 fail:
17782 return NULL;
17783}
17784
17785
17786static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17787 PyObject *resultobj;
17788 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17789 bool arg2 ;
17790 PyObject * obj0 = 0 ;
17791 PyObject * obj1 = 0 ;
17792 char *kwnames[] = {
17793 (char *) "self",(char *) "flag", NULL
17794 };
17795
17796 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17797 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17798 arg2 = PyInt_AsLong(obj1) ? true : false;
17799 if (PyErr_Occurred()) SWIG_fail;
17800 {
17801 PyThreadState* __tstate = wxPyBeginAllowThreads();
17802 (arg1)->EnablePrintToFile(arg2);
17803
17804 wxPyEndAllowThreads(__tstate);
17805 if (PyErr_Occurred()) SWIG_fail;
17806 }
17807 Py_INCREF(Py_None); resultobj = Py_None;
17808 return resultobj;
17809 fail:
17810 return NULL;
17811}
17812
17813
17814static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17815 PyObject *resultobj;
17816 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17817 bool arg2 ;
17818 PyObject * obj0 = 0 ;
17819 PyObject * obj1 = 0 ;
17820 char *kwnames[] = {
17821 (char *) "self",(char *) "flag", NULL
17822 };
17823
17824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17826 arg2 = PyInt_AsLong(obj1) ? true : false;
17827 if (PyErr_Occurred()) SWIG_fail;
17828 {
17829 PyThreadState* __tstate = wxPyBeginAllowThreads();
17830 (arg1)->EnableSelection(arg2);
17831
17832 wxPyEndAllowThreads(__tstate);
17833 if (PyErr_Occurred()) SWIG_fail;
17834 }
17835 Py_INCREF(Py_None); resultobj = Py_None;
17836 return resultobj;
17837 fail:
17838 return NULL;
17839}
17840
17841
17842static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17843 PyObject *resultobj;
17844 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17845 bool arg2 ;
17846 PyObject * obj0 = 0 ;
17847 PyObject * obj1 = 0 ;
17848 char *kwnames[] = {
17849 (char *) "self",(char *) "flag", NULL
17850 };
17851
17852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17854 arg2 = PyInt_AsLong(obj1) ? true : false;
17855 if (PyErr_Occurred()) SWIG_fail;
17856 {
17857 PyThreadState* __tstate = wxPyBeginAllowThreads();
17858 (arg1)->EnablePageNumbers(arg2);
17859
17860 wxPyEndAllowThreads(__tstate);
17861 if (PyErr_Occurred()) SWIG_fail;
17862 }
17863 Py_INCREF(Py_None); resultobj = Py_None;
17864 return resultobj;
17865 fail:
17866 return NULL;
17867}
17868
17869
17870static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17871 PyObject *resultobj;
17872 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17873 bool arg2 ;
17874 PyObject * obj0 = 0 ;
17875 PyObject * obj1 = 0 ;
17876 char *kwnames[] = {
17877 (char *) "self",(char *) "flag", NULL
17878 };
17879
17880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17882 arg2 = PyInt_AsLong(obj1) ? true : false;
17883 if (PyErr_Occurred()) SWIG_fail;
17884 {
17885 PyThreadState* __tstate = wxPyBeginAllowThreads();
17886 (arg1)->EnableHelp(arg2);
17887
17888 wxPyEndAllowThreads(__tstate);
17889 if (PyErr_Occurred()) SWIG_fail;
17890 }
17891 Py_INCREF(Py_None); resultobj = Py_None;
17892 return resultobj;
17893 fail:
17894 return NULL;
17895}
17896
17897
17898static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17899 PyObject *resultobj;
17900 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17901 bool result;
17902 PyObject * obj0 = 0 ;
17903 char *kwnames[] = {
17904 (char *) "self", NULL
17905 };
17906
17907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17909 {
17910 PyThreadState* __tstate = wxPyBeginAllowThreads();
17911 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17912
17913 wxPyEndAllowThreads(__tstate);
17914 if (PyErr_Occurred()) SWIG_fail;
17915 }
17916 resultobj = PyInt_FromLong((long)result);
17917 return resultobj;
17918 fail:
17919 return NULL;
17920}
17921
17922
17923static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17924 PyObject *resultobj;
17925 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17926 bool result;
17927 PyObject * obj0 = 0 ;
17928 char *kwnames[] = {
17929 (char *) "self", NULL
17930 };
17931
17932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17934 {
17935 PyThreadState* __tstate = wxPyBeginAllowThreads();
17936 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17937
17938 wxPyEndAllowThreads(__tstate);
17939 if (PyErr_Occurred()) SWIG_fail;
17940 }
17941 resultobj = PyInt_FromLong((long)result);
17942 return resultobj;
17943 fail:
17944 return NULL;
17945}
17946
17947
17948static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17949 PyObject *resultobj;
17950 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17951 bool result;
17952 PyObject * obj0 = 0 ;
17953 char *kwnames[] = {
17954 (char *) "self", NULL
17955 };
17956
17957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17959 {
17960 PyThreadState* __tstate = wxPyBeginAllowThreads();
17961 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17962
17963 wxPyEndAllowThreads(__tstate);
17964 if (PyErr_Occurred()) SWIG_fail;
17965 }
17966 resultobj = PyInt_FromLong((long)result);
17967 return resultobj;
17968 fail:
17969 return NULL;
17970}
17971
17972
17973static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17974 PyObject *resultobj;
17975 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17976 bool result;
17977 PyObject * obj0 = 0 ;
17978 char *kwnames[] = {
17979 (char *) "self", NULL
17980 };
17981
17982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17984 {
17985 PyThreadState* __tstate = wxPyBeginAllowThreads();
17986 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17987
17988 wxPyEndAllowThreads(__tstate);
17989 if (PyErr_Occurred()) SWIG_fail;
17990 }
17991 resultobj = PyInt_FromLong((long)result);
17992 return resultobj;
17993 fail:
17994 return NULL;
17995}
17996
17997
17998static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17999 PyObject *resultobj;
18000 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18001 bool result;
18002 PyObject * obj0 = 0 ;
18003 char *kwnames[] = {
18004 (char *) "self", NULL
18005 };
18006
18007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
18008 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18009 {
18010 PyThreadState* __tstate = wxPyBeginAllowThreads();
18011 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
18012
18013 wxPyEndAllowThreads(__tstate);
18014 if (PyErr_Occurred()) SWIG_fail;
18015 }
18016 resultobj = PyInt_FromLong((long)result);
18017 return resultobj;
18018 fail:
18019 return NULL;
18020}
18021
18022
18023static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18024 PyObject *resultobj;
18025 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18026 wxPrintData *result;
18027 PyObject * obj0 = 0 ;
18028 char *kwnames[] = {
18029 (char *) "self", NULL
18030 };
18031
18032 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
18033 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18034 {
18035 PyThreadState* __tstate = wxPyBeginAllowThreads();
18036 {
18037 wxPrintData &_result_ref = (arg1)->GetPrintData();
18038 result = (wxPrintData *) &_result_ref;
18039 }
18040
18041 wxPyEndAllowThreads(__tstate);
18042 if (PyErr_Occurred()) SWIG_fail;
18043 }
18044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
18045 return resultobj;
18046 fail:
18047 return NULL;
18048}
18049
18050
18051static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
18052 PyObject *resultobj;
18053 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
18054 wxPrintData *arg2 = 0 ;
18055 PyObject * obj0 = 0 ;
18056 PyObject * obj1 = 0 ;
18057 char *kwnames[] = {
18058 (char *) "self",(char *) "printData", NULL
18059 };
18060
18061 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
18062 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18063 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18064 if (arg2 == NULL) {
18065 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
18066 }
18067 {
18068 PyThreadState* __tstate = wxPyBeginAllowThreads();
18069 (arg1)->SetPrintData((wxPrintData const &)*arg2);
18070
18071 wxPyEndAllowThreads(__tstate);
18072 if (PyErr_Occurred()) SWIG_fail;
18073 }
18074 Py_INCREF(Py_None); resultobj = Py_None;
18075 return resultobj;
18076 fail:
18077 return NULL;
18078}
18079
18080
18081static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
18082 PyObject *obj;
18083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18084 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
18085 Py_INCREF(obj);
18086 return Py_BuildValue((char *)"");
18087}
18088static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18089 PyObject *resultobj;
18090 wxWindow *arg1 = (wxWindow *) 0 ;
18091 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
18092 wxPrintDialog *result;
18093 PyObject * obj0 = 0 ;
18094 PyObject * obj1 = 0 ;
18095 char *kwnames[] = {
18096 (char *) "parent",(char *) "data", NULL
18097 };
18098
18099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18101 if (obj1) {
18102 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18103 }
18104 {
18105 PyThreadState* __tstate = wxPyBeginAllowThreads();
18106 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
18107
18108 wxPyEndAllowThreads(__tstate);
18109 if (PyErr_Occurred()) SWIG_fail;
18110 }
18111 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
18112 return resultobj;
18113 fail:
18114 return NULL;
18115}
18116
18117
18118static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18119 PyObject *resultobj;
18120 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18121 wxPrintDialogData *result;
18122 PyObject * obj0 = 0 ;
18123 char *kwnames[] = {
18124 (char *) "self", NULL
18125 };
18126
18127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
18128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18129 {
18130 PyThreadState* __tstate = wxPyBeginAllowThreads();
18131 {
18132 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18133 result = (wxPrintDialogData *) &_result_ref;
18134 }
18135
18136 wxPyEndAllowThreads(__tstate);
18137 if (PyErr_Occurred()) SWIG_fail;
18138 }
18139 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18140 return resultobj;
18141 fail:
18142 return NULL;
18143}
18144
18145
18146static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18147 PyObject *resultobj;
18148 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18149 wxDC *result;
18150 PyObject * obj0 = 0 ;
18151 char *kwnames[] = {
18152 (char *) "self", NULL
18153 };
18154
18155 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
18156 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 result = (wxDC *)(arg1)->GetPrintDC();
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 {
18165 resultobj = wxPyMake_wxObject(result);
18166 }
18167 return resultobj;
18168 fail:
18169 return NULL;
18170}
18171
18172
18173static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
18174 PyObject *resultobj;
18175 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
18176 int result;
18177 PyObject * obj0 = 0 ;
18178 char *kwnames[] = {
18179 (char *) "self", NULL
18180 };
18181
18182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
18183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18184 {
18185 PyThreadState* __tstate = wxPyBeginAllowThreads();
18186 result = (int)(arg1)->ShowModal();
18187
18188 wxPyEndAllowThreads(__tstate);
18189 if (PyErr_Occurred()) SWIG_fail;
18190 }
18191 resultobj = PyInt_FromLong((long)result);
18192 return resultobj;
18193 fail:
18194 return NULL;
18195}
18196
18197
18198static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
18199 PyObject *obj;
18200 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18201 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
18202 Py_INCREF(obj);
18203 return Py_BuildValue((char *)"");
18204}
18205static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18206 PyObject *resultobj;
18207 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
18208 wxPrinter *result;
18209 PyObject * obj0 = 0 ;
18210 char *kwnames[] = {
18211 (char *) "data", NULL
18212 };
18213
18214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
18215 if (obj0) {
18216 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18217 }
18218 {
18219 PyThreadState* __tstate = wxPyBeginAllowThreads();
18220 result = (wxPrinter *)new wxPrinter(arg1);
18221
18222 wxPyEndAllowThreads(__tstate);
18223 if (PyErr_Occurred()) SWIG_fail;
18224 }
18225 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
18226 return resultobj;
18227 fail:
18228 return NULL;
18229}
18230
18231
18232static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
18233 PyObject *resultobj;
18234 wxPrinter *arg1 = (wxPrinter *) 0 ;
18235 PyObject * obj0 = 0 ;
18236 char *kwnames[] = {
18237 (char *) "self", NULL
18238 };
18239
18240 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
18241 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18242 {
18243 PyThreadState* __tstate = wxPyBeginAllowThreads();
18244 delete arg1;
18245
18246 wxPyEndAllowThreads(__tstate);
18247 if (PyErr_Occurred()) SWIG_fail;
18248 }
18249 Py_INCREF(Py_None); resultobj = Py_None;
18250 return resultobj;
18251 fail:
18252 return NULL;
18253}
18254
18255
18256static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
18257 PyObject *resultobj;
18258 wxPrinter *arg1 = (wxPrinter *) 0 ;
18259 wxWindow *arg2 = (wxWindow *) 0 ;
18260 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18261 PyObject * obj0 = 0 ;
18262 PyObject * obj1 = 0 ;
18263 PyObject * obj2 = 0 ;
18264 char *kwnames[] = {
18265 (char *) "self",(char *) "parent",(char *) "printout", NULL
18266 };
18267
18268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
18269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18270 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18271 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18272 {
18273 PyThreadState* __tstate = wxPyBeginAllowThreads();
18274 (arg1)->CreateAbortWindow(arg2,arg3);
18275
18276 wxPyEndAllowThreads(__tstate);
18277 if (PyErr_Occurred()) SWIG_fail;
18278 }
18279 Py_INCREF(Py_None); resultobj = Py_None;
18280 return resultobj;
18281 fail:
18282 return NULL;
18283}
18284
18285
18286static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18287 PyObject *resultobj;
18288 wxPrinter *arg1 = (wxPrinter *) 0 ;
18289 wxPrintDialogData *result;
18290 PyObject * obj0 = 0 ;
18291 char *kwnames[] = {
18292 (char *) "self", NULL
18293 };
18294
18295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18297 {
18298 PyThreadState* __tstate = wxPyBeginAllowThreads();
18299 {
18300 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18301 result = (wxPrintDialogData *) &_result_ref;
18302 }
18303
18304 wxPyEndAllowThreads(__tstate);
18305 if (PyErr_Occurred()) SWIG_fail;
18306 }
18307 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18308 return resultobj;
18309 fail:
18310 return NULL;
18311}
18312
18313
18314static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18315 PyObject *resultobj;
18316 wxPrinter *arg1 = (wxPrinter *) 0 ;
18317 wxWindow *arg2 = (wxWindow *) 0 ;
18318 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
423f194a 18319 int arg4 = (int) True ;
d14a1e28
RD
18320 bool result;
18321 PyObject * obj0 = 0 ;
18322 PyObject * obj1 = 0 ;
18323 PyObject * obj2 = 0 ;
18324 char *kwnames[] = {
18325 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18326 };
18327
18328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18331 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18332 {
18333 PyThreadState* __tstate = wxPyBeginAllowThreads();
18334 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18335
18336 wxPyEndAllowThreads(__tstate);
18337 if (PyErr_Occurred()) SWIG_fail;
18338 }
18339 resultobj = PyInt_FromLong((long)result);
18340 return resultobj;
18341 fail:
18342 return NULL;
18343}
18344
18345
18346static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18347 PyObject *resultobj;
18348 wxPrinter *arg1 = (wxPrinter *) 0 ;
18349 wxWindow *arg2 = (wxWindow *) 0 ;
18350 wxDC *result;
18351 PyObject * obj0 = 0 ;
18352 PyObject * obj1 = 0 ;
18353 char *kwnames[] = {
18354 (char *) "self",(char *) "parent", NULL
18355 };
18356
18357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18359 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18360 {
18361 PyThreadState* __tstate = wxPyBeginAllowThreads();
18362 result = (wxDC *)(arg1)->PrintDialog(arg2);
18363
18364 wxPyEndAllowThreads(__tstate);
18365 if (PyErr_Occurred()) SWIG_fail;
18366 }
18367 {
18368 resultobj = wxPyMake_wxObject(result);
18369 }
18370 return resultobj;
18371 fail:
18372 return NULL;
18373}
18374
18375
18376static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18377 PyObject *resultobj;
18378 wxPrinter *arg1 = (wxPrinter *) 0 ;
18379 wxWindow *arg2 = (wxWindow *) 0 ;
18380 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18381 wxString *arg4 = 0 ;
423f194a 18382 bool temp4 = False ;
d14a1e28
RD
18383 PyObject * obj0 = 0 ;
18384 PyObject * obj1 = 0 ;
18385 PyObject * obj2 = 0 ;
18386 PyObject * obj3 = 0 ;
18387 char *kwnames[] = {
18388 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18389 };
18390
18391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18393 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18394 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18395 {
18396 arg4 = wxString_in_helper(obj3);
18397 if (arg4 == NULL) SWIG_fail;
423f194a 18398 temp4 = True;
d14a1e28
RD
18399 }
18400 {
18401 PyThreadState* __tstate = wxPyBeginAllowThreads();
18402 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18403
18404 wxPyEndAllowThreads(__tstate);
18405 if (PyErr_Occurred()) SWIG_fail;
18406 }
18407 Py_INCREF(Py_None); resultobj = Py_None;
18408 {
18409 if (temp4)
18410 delete arg4;
18411 }
18412 return resultobj;
18413 fail:
18414 {
18415 if (temp4)
18416 delete arg4;
18417 }
18418 return NULL;
18419}
18420
18421
18422static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18423 PyObject *resultobj;
18424 wxPrinter *arg1 = (wxPrinter *) 0 ;
18425 wxWindow *arg2 = (wxWindow *) 0 ;
18426 bool result;
18427 PyObject * obj0 = 0 ;
18428 PyObject * obj1 = 0 ;
18429 char *kwnames[] = {
18430 (char *) "self",(char *) "parent", NULL
18431 };
18432
18433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18435 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18436 {
18437 PyThreadState* __tstate = wxPyBeginAllowThreads();
18438 result = (bool)(arg1)->Setup(arg2);
18439
18440 wxPyEndAllowThreads(__tstate);
18441 if (PyErr_Occurred()) SWIG_fail;
18442 }
18443 resultobj = PyInt_FromLong((long)result);
18444 return resultobj;
18445 fail:
18446 return NULL;
18447}
18448
18449
18450static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18451 PyObject *resultobj;
18452 wxPrinter *arg1 = (wxPrinter *) 0 ;
18453 bool result;
18454 PyObject * obj0 = 0 ;
18455 char *kwnames[] = {
18456 (char *) "self", NULL
18457 };
18458
18459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18461 {
18462 PyThreadState* __tstate = wxPyBeginAllowThreads();
18463 result = (bool)(arg1)->GetAbort();
18464
18465 wxPyEndAllowThreads(__tstate);
18466 if (PyErr_Occurred()) SWIG_fail;
18467 }
18468 resultobj = PyInt_FromLong((long)result);
18469 return resultobj;
18470 fail:
18471 return NULL;
18472}
18473
18474
18475static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18476 PyObject *resultobj;
18477 int result;
18478 char *kwnames[] = {
18479 NULL
18480 };
18481
18482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18483 {
18484 PyThreadState* __tstate = wxPyBeginAllowThreads();
18485 result = (int)wxPrinter::GetLastError();
18486
18487 wxPyEndAllowThreads(__tstate);
18488 if (PyErr_Occurred()) SWIG_fail;
18489 }
18490 resultobj = PyInt_FromLong((long)result);
18491 return resultobj;
18492 fail:
18493 return NULL;
18494}
18495
18496
18497static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18498 PyObject *obj;
18499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18500 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18501 Py_INCREF(obj);
18502 return Py_BuildValue((char *)"");
18503}
18504static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18505 PyObject *resultobj;
18506 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18507 wxString *arg1 = (wxString *) &arg1_defvalue ;
18508 wxPyPrintout *result;
423f194a 18509 bool temp1 = False ;
d14a1e28
RD
18510 PyObject * obj0 = 0 ;
18511 char *kwnames[] = {
18512 (char *) "title", NULL
18513 };
18514
18515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18516 if (obj0) {
18517 {
18518 arg1 = wxString_in_helper(obj0);
18519 if (arg1 == NULL) SWIG_fail;
423f194a 18520 temp1 = True;
d14a1e28
RD
18521 }
18522 }
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18526
18527 wxPyEndAllowThreads(__tstate);
18528 if (PyErr_Occurred()) SWIG_fail;
18529 }
18530 {
18531 resultobj = wxPyMake_wxObject(result);
18532 }
18533 {
18534 if (temp1)
18535 delete arg1;
18536 }
18537 return resultobj;
18538 fail:
18539 {
18540 if (temp1)
18541 delete arg1;
18542 }
18543 return NULL;
18544}
18545
18546
18547static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18548 PyObject *resultobj;
18549 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18550 PyObject *arg2 = (PyObject *) 0 ;
18551 PyObject *arg3 = (PyObject *) 0 ;
18552 PyObject * obj0 = 0 ;
18553 PyObject * obj1 = 0 ;
18554 PyObject * obj2 = 0 ;
18555 char *kwnames[] = {
18556 (char *) "self",(char *) "self",(char *) "_class", NULL
18557 };
18558
18559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18561 arg2 = obj1;
18562 arg3 = obj2;
18563 {
18564 PyThreadState* __tstate = wxPyBeginAllowThreads();
18565 (arg1)->_setCallbackInfo(arg2,arg3);
18566
18567 wxPyEndAllowThreads(__tstate);
18568 if (PyErr_Occurred()) SWIG_fail;
18569 }
18570 Py_INCREF(Py_None); resultobj = Py_None;
18571 return resultobj;
18572 fail:
18573 return NULL;
18574}
18575
18576
18577static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18578 PyObject *resultobj;
18579 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18580 wxString result;
18581 PyObject * obj0 = 0 ;
18582 char *kwnames[] = {
18583 (char *) "self", NULL
18584 };
18585
18586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18588 {
18589 PyThreadState* __tstate = wxPyBeginAllowThreads();
18590 result = ((wxPyPrintout const *)arg1)->GetTitle();
18591
18592 wxPyEndAllowThreads(__tstate);
18593 if (PyErr_Occurred()) SWIG_fail;
18594 }
18595 {
18596#if wxUSE_UNICODE
18597 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18598#else
18599 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18600#endif
18601 }
18602 return resultobj;
18603 fail:
18604 return NULL;
18605}
18606
18607
18608static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18609 PyObject *resultobj;
18610 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18611 wxDC *result;
18612 PyObject * obj0 = 0 ;
18613 char *kwnames[] = {
18614 (char *) "self", NULL
18615 };
18616
18617 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18618 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18619 {
18620 PyThreadState* __tstate = wxPyBeginAllowThreads();
18621 result = (wxDC *)(arg1)->GetDC();
18622
18623 wxPyEndAllowThreads(__tstate);
18624 if (PyErr_Occurred()) SWIG_fail;
18625 }
18626 {
18627 resultobj = wxPyMake_wxObject(result);
18628 }
18629 return resultobj;
18630 fail:
18631 return NULL;
18632}
18633
18634
18635static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18636 PyObject *resultobj;
18637 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18638 wxDC *arg2 = (wxDC *) 0 ;
18639 PyObject * obj0 = 0 ;
18640 PyObject * obj1 = 0 ;
18641 char *kwnames[] = {
18642 (char *) "self",(char *) "dc", NULL
18643 };
18644
18645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18648 {
18649 PyThreadState* __tstate = wxPyBeginAllowThreads();
18650 (arg1)->SetDC(arg2);
18651
18652 wxPyEndAllowThreads(__tstate);
18653 if (PyErr_Occurred()) SWIG_fail;
18654 }
18655 Py_INCREF(Py_None); resultobj = Py_None;
18656 return resultobj;
18657 fail:
18658 return NULL;
18659}
18660
18661
44127b65 18662static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18663 PyObject *resultobj;
18664 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
44127b65
RD
18665 int arg2 ;
18666 int arg3 ;
d14a1e28
RD
18667 PyObject * obj0 = 0 ;
18668 char *kwnames[] = {
44127b65 18669 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
18670 };
18671
44127b65 18672 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
d14a1e28
RD
18673 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18674 {
18675 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18676 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
18677
18678 wxPyEndAllowThreads(__tstate);
18679 if (PyErr_Occurred()) SWIG_fail;
18680 }
18681 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
18682 return resultobj;
18683 fail:
18684 return NULL;
18685}
18686
18687
44127b65 18688static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18689 PyObject *resultobj;
18690 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
44127b65
RD
18691 int *arg2 = (int *) 0 ;
18692 int *arg3 = (int *) 0 ;
18693 int temp2 ;
18694 int temp3 ;
d14a1e28
RD
18695 PyObject * obj0 = 0 ;
18696 char *kwnames[] = {
44127b65 18697 (char *) "self", NULL
d14a1e28
RD
18698 };
18699
44127b65
RD
18700 arg2 = &temp2;
18701 arg3 = &temp3;
18702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
d14a1e28
RD
18703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18704 {
18705 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18706 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
18707
18708 wxPyEndAllowThreads(__tstate);
18709 if (PyErr_Occurred()) SWIG_fail;
18710 }
18711 Py_INCREF(Py_None); resultobj = Py_None;
44127b65
RD
18712 {
18713 PyObject *o = PyInt_FromLong((long) (*arg2));
18714 resultobj = t_output_helper(resultobj,o);
18715 }
18716 {
18717 PyObject *o = PyInt_FromLong((long) (*arg3));
18718 resultobj = t_output_helper(resultobj,o);
18719 }
d14a1e28
RD
18720 return resultobj;
18721 fail:
18722 return NULL;
18723}
18724
18725
18726static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18727 PyObject *resultobj;
18728 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18729 int arg2 ;
18730 int arg3 ;
18731 PyObject * obj0 = 0 ;
18732 char *kwnames[] = {
18733 (char *) "self",(char *) "w",(char *) "h", NULL
18734 };
18735
18736 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18737 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18738 {
18739 PyThreadState* __tstate = wxPyBeginAllowThreads();
18740 (arg1)->SetPageSizeMM(arg2,arg3);
18741
18742 wxPyEndAllowThreads(__tstate);
18743 if (PyErr_Occurred()) SWIG_fail;
18744 }
18745 Py_INCREF(Py_None); resultobj = Py_None;
18746 return resultobj;
18747 fail:
18748 return NULL;
18749}
18750
18751
18752static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18753 PyObject *resultobj;
18754 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18755 int *arg2 = (int *) 0 ;
18756 int *arg3 = (int *) 0 ;
18757 int temp2 ;
18758 int temp3 ;
18759 PyObject * obj0 = 0 ;
18760 char *kwnames[] = {
18761 (char *) "self", NULL
18762 };
18763
18764 arg2 = &temp2;
18765 arg3 = &temp3;
18766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18768 {
18769 PyThreadState* __tstate = wxPyBeginAllowThreads();
18770 (arg1)->GetPageSizeMM(arg2,arg3);
18771
18772 wxPyEndAllowThreads(__tstate);
18773 if (PyErr_Occurred()) SWIG_fail;
18774 }
18775 Py_INCREF(Py_None); resultobj = Py_None;
18776 {
18777 PyObject *o = PyInt_FromLong((long) (*arg2));
18778 resultobj = t_output_helper(resultobj,o);
18779 }
18780 {
18781 PyObject *o = PyInt_FromLong((long) (*arg3));
18782 resultobj = t_output_helper(resultobj,o);
18783 }
18784 return resultobj;
18785 fail:
18786 return NULL;
18787}
18788
18789
18790static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18791 PyObject *resultobj;
18792 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18793 int arg2 ;
18794 int arg3 ;
18795 PyObject * obj0 = 0 ;
18796 char *kwnames[] = {
18797 (char *) "self",(char *) "x",(char *) "y", NULL
18798 };
18799
18800 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18801 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18802 {
18803 PyThreadState* __tstate = wxPyBeginAllowThreads();
18804 (arg1)->SetPPIScreen(arg2,arg3);
18805
18806 wxPyEndAllowThreads(__tstate);
18807 if (PyErr_Occurred()) SWIG_fail;
18808 }
18809 Py_INCREF(Py_None); resultobj = Py_None;
18810 return resultobj;
18811 fail:
18812 return NULL;
18813}
18814
18815
18816static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18817 PyObject *resultobj;
18818 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18819 int *arg2 = (int *) 0 ;
18820 int *arg3 = (int *) 0 ;
18821 int temp2 ;
18822 int temp3 ;
18823 PyObject * obj0 = 0 ;
18824 char *kwnames[] = {
18825 (char *) "self", NULL
18826 };
18827
18828 arg2 = &temp2;
18829 arg3 = &temp3;
18830 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18831 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18832 {
18833 PyThreadState* __tstate = wxPyBeginAllowThreads();
18834 (arg1)->GetPPIScreen(arg2,arg3);
18835
18836 wxPyEndAllowThreads(__tstate);
18837 if (PyErr_Occurred()) SWIG_fail;
18838 }
18839 Py_INCREF(Py_None); resultobj = Py_None;
18840 {
18841 PyObject *o = PyInt_FromLong((long) (*arg2));
18842 resultobj = t_output_helper(resultobj,o);
18843 }
18844 {
18845 PyObject *o = PyInt_FromLong((long) (*arg3));
18846 resultobj = t_output_helper(resultobj,o);
18847 }
18848 return resultobj;
18849 fail:
18850 return NULL;
18851}
18852
18853
18854static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18855 PyObject *resultobj;
18856 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18857 int arg2 ;
18858 int arg3 ;
18859 PyObject * obj0 = 0 ;
18860 char *kwnames[] = {
18861 (char *) "self",(char *) "x",(char *) "y", NULL
18862 };
18863
18864 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18865 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18866 {
18867 PyThreadState* __tstate = wxPyBeginAllowThreads();
18868 (arg1)->SetPPIPrinter(arg2,arg3);
18869
18870 wxPyEndAllowThreads(__tstate);
18871 if (PyErr_Occurred()) SWIG_fail;
18872 }
18873 Py_INCREF(Py_None); resultobj = Py_None;
18874 return resultobj;
18875 fail:
18876 return NULL;
18877}
18878
18879
18880static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18881 PyObject *resultobj;
18882 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18883 int *arg2 = (int *) 0 ;
18884 int *arg3 = (int *) 0 ;
18885 int temp2 ;
18886 int temp3 ;
18887 PyObject * obj0 = 0 ;
18888 char *kwnames[] = {
18889 (char *) "self", NULL
18890 };
18891
18892 arg2 = &temp2;
18893 arg3 = &temp3;
18894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18896 {
18897 PyThreadState* __tstate = wxPyBeginAllowThreads();
18898 (arg1)->GetPPIPrinter(arg2,arg3);
18899
18900 wxPyEndAllowThreads(__tstate);
18901 if (PyErr_Occurred()) SWIG_fail;
18902 }
18903 Py_INCREF(Py_None); resultobj = Py_None;
18904 {
18905 PyObject *o = PyInt_FromLong((long) (*arg2));
18906 resultobj = t_output_helper(resultobj,o);
18907 }
18908 {
18909 PyObject *o = PyInt_FromLong((long) (*arg3));
18910 resultobj = t_output_helper(resultobj,o);
18911 }
18912 return resultobj;
18913 fail:
18914 return NULL;
18915}
18916
18917
18918static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18919 PyObject *resultobj;
18920 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18921 bool result;
18922 PyObject * obj0 = 0 ;
18923 char *kwnames[] = {
18924 (char *) "self", NULL
18925 };
18926
18927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18929 {
18930 PyThreadState* __tstate = wxPyBeginAllowThreads();
18931 result = (bool)(arg1)->IsPreview();
18932
18933 wxPyEndAllowThreads(__tstate);
18934 if (PyErr_Occurred()) SWIG_fail;
18935 }
18936 resultobj = PyInt_FromLong((long)result);
18937 return resultobj;
18938 fail:
18939 return NULL;
18940}
18941
18942
18943static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18944 PyObject *resultobj;
18945 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18946 bool arg2 ;
18947 PyObject * obj0 = 0 ;
18948 PyObject * obj1 = 0 ;
18949 char *kwnames[] = {
18950 (char *) "self",(char *) "p", NULL
18951 };
18952
18953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18955 arg2 = PyInt_AsLong(obj1) ? true : false;
18956 if (PyErr_Occurred()) SWIG_fail;
18957 {
18958 PyThreadState* __tstate = wxPyBeginAllowThreads();
18959 (arg1)->SetIsPreview(arg2);
18960
18961 wxPyEndAllowThreads(__tstate);
18962 if (PyErr_Occurred()) SWIG_fail;
18963 }
18964 Py_INCREF(Py_None); resultobj = Py_None;
18965 return resultobj;
18966 fail:
18967 return NULL;
18968}
18969
18970
18971static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18972 PyObject *resultobj;
18973 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18974 int arg2 ;
18975 int arg3 ;
18976 bool result;
18977 PyObject * obj0 = 0 ;
18978 char *kwnames[] = {
18979 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18980 };
18981
18982 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18983 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18984 {
18985 PyThreadState* __tstate = wxPyBeginAllowThreads();
18986 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18987
18988 wxPyEndAllowThreads(__tstate);
18989 if (PyErr_Occurred()) SWIG_fail;
18990 }
18991 resultobj = PyInt_FromLong((long)result);
18992 return resultobj;
18993 fail:
18994 return NULL;
18995}
18996
18997
18998static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18999 PyObject *resultobj;
19000 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19001 PyObject * obj0 = 0 ;
19002 char *kwnames[] = {
19003 (char *) "self", NULL
19004 };
19005
19006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
19007 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19008 {
19009 PyThreadState* __tstate = wxPyBeginAllowThreads();
19010 (arg1)->base_OnEndDocument();
19011
19012 wxPyEndAllowThreads(__tstate);
19013 if (PyErr_Occurred()) SWIG_fail;
19014 }
19015 Py_INCREF(Py_None); resultobj = Py_None;
19016 return resultobj;
19017 fail:
19018 return NULL;
19019}
19020
19021
19022static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19023 PyObject *resultobj;
19024 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19025 PyObject * obj0 = 0 ;
19026 char *kwnames[] = {
19027 (char *) "self", NULL
19028 };
19029
19030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
19031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19032 {
19033 PyThreadState* __tstate = wxPyBeginAllowThreads();
19034 (arg1)->base_OnBeginPrinting();
19035
19036 wxPyEndAllowThreads(__tstate);
19037 if (PyErr_Occurred()) SWIG_fail;
19038 }
19039 Py_INCREF(Py_None); resultobj = Py_None;
19040 return resultobj;
19041 fail:
19042 return NULL;
19043}
19044
19045
19046static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19047 PyObject *resultobj;
19048 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19049 PyObject * obj0 = 0 ;
19050 char *kwnames[] = {
19051 (char *) "self", NULL
19052 };
19053
19054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
19055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19056 {
19057 PyThreadState* __tstate = wxPyBeginAllowThreads();
19058 (arg1)->base_OnEndPrinting();
19059
19060 wxPyEndAllowThreads(__tstate);
19061 if (PyErr_Occurred()) SWIG_fail;
19062 }
19063 Py_INCREF(Py_None); resultobj = Py_None;
19064 return resultobj;
19065 fail:
19066 return NULL;
19067}
19068
19069
19070static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19071 PyObject *resultobj;
19072 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19073 PyObject * obj0 = 0 ;
19074 char *kwnames[] = {
19075 (char *) "self", NULL
19076 };
19077
19078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
19079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19080 {
19081 PyThreadState* __tstate = wxPyBeginAllowThreads();
19082 (arg1)->base_OnPreparePrinting();
19083
19084 wxPyEndAllowThreads(__tstate);
19085 if (PyErr_Occurred()) SWIG_fail;
19086 }
19087 Py_INCREF(Py_None); resultobj = Py_None;
19088 return resultobj;
19089 fail:
19090 return NULL;
19091}
19092
19093
44127b65
RD
19094static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19095 PyObject *resultobj;
19096 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19097 int arg2 ;
19098 bool result;
19099 PyObject * obj0 = 0 ;
19100 char *kwnames[] = {
19101 (char *) "self",(char *) "page", NULL
19102 };
19103
19104 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
19105 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19106 {
19107 PyThreadState* __tstate = wxPyBeginAllowThreads();
19108 result = (bool)(arg1)->base_HasPage(arg2);
19109
19110 wxPyEndAllowThreads(__tstate);
19111 if (PyErr_Occurred()) SWIG_fail;
19112 }
19113 resultobj = PyInt_FromLong((long)result);
19114 return resultobj;
19115 fail:
19116 return NULL;
19117}
19118
19119
d14a1e28
RD
19120static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
19121 PyObject *resultobj;
19122 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19123 int *arg2 = (int *) 0 ;
19124 int *arg3 = (int *) 0 ;
19125 int *arg4 = (int *) 0 ;
19126 int *arg5 = (int *) 0 ;
19127 int temp2 ;
19128 int temp3 ;
19129 int temp4 ;
19130 int temp5 ;
19131 PyObject * obj0 = 0 ;
19132 char *kwnames[] = {
19133 (char *) "self", NULL
19134 };
19135
19136 arg2 = &temp2;
19137 arg3 = &temp3;
19138 arg4 = &temp4;
19139 arg5 = &temp5;
19140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
19141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 Py_INCREF(Py_None); resultobj = Py_None;
19150 {
19151 PyObject *o = PyInt_FromLong((long) (*arg2));
19152 resultobj = t_output_helper(resultobj,o);
19153 }
19154 {
19155 PyObject *o = PyInt_FromLong((long) (*arg3));
19156 resultobj = t_output_helper(resultobj,o);
19157 }
19158 {
19159 PyObject *o = PyInt_FromLong((long) (*arg4));
19160 resultobj = t_output_helper(resultobj,o);
19161 }
19162 {
19163 PyObject *o = PyInt_FromLong((long) (*arg5));
19164 resultobj = t_output_helper(resultobj,o);
19165 }
19166 return resultobj;
19167 fail:
19168 return NULL;
19169}
19170
19171
d14a1e28
RD
19172static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
19173 PyObject *obj;
19174 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19175 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
19176 Py_INCREF(obj);
19177 return Py_BuildValue((char *)"");
19178}
19179static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19180 PyObject *resultobj;
19181 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19182 wxWindow *arg2 = (wxWindow *) 0 ;
19183 wxPoint const &arg3_defvalue = wxDefaultPosition ;
19184 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
19185 wxSize const &arg4_defvalue = wxDefaultSize ;
19186 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
19187 long arg5 = (long) 0 ;
19188 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
19189 wxString *arg6 = (wxString *) &arg6_defvalue ;
19190 wxPreviewCanvas *result;
19191 wxPoint temp3 ;
19192 wxSize temp4 ;
423f194a 19193 bool temp6 = False ;
d14a1e28
RD
19194 PyObject * obj0 = 0 ;
19195 PyObject * obj1 = 0 ;
19196 PyObject * obj2 = 0 ;
19197 PyObject * obj3 = 0 ;
19198 PyObject * obj5 = 0 ;
19199 char *kwnames[] = {
19200 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19201 };
19202
19203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
19204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19206 if (obj2) {
19207 {
19208 arg3 = &temp3;
19209 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
19210 }
19211 }
19212 if (obj3) {
19213 {
19214 arg4 = &temp4;
19215 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
19216 }
19217 }
19218 if (obj5) {
19219 {
19220 arg6 = wxString_in_helper(obj5);
19221 if (arg6 == NULL) SWIG_fail;
423f194a 19222 temp6 = True;
d14a1e28
RD
19223 }
19224 }
19225 {
19226 PyThreadState* __tstate = wxPyBeginAllowThreads();
19227 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
19228
19229 wxPyEndAllowThreads(__tstate);
19230 if (PyErr_Occurred()) SWIG_fail;
19231 }
19232 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
19233 {
19234 if (temp6)
19235 delete arg6;
19236 }
19237 return resultobj;
19238 fail:
19239 {
19240 if (temp6)
19241 delete arg6;
19242 }
19243 return NULL;
19244}
19245
19246
19247static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
19248 PyObject *obj;
19249 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19250 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
19251 Py_INCREF(obj);
19252 return Py_BuildValue((char *)"");
19253}
19254static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19255 PyObject *resultobj;
19256 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19257 wxFrame *arg2 = (wxFrame *) 0 ;
19258 wxString *arg3 = 0 ;
19259 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19260 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19261 wxSize const &arg5_defvalue = wxDefaultSize ;
19262 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19263 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
19264 wxString const &arg7_defvalue = wxPyFrameNameStr ;
19265 wxString *arg7 = (wxString *) &arg7_defvalue ;
19266 wxPreviewFrame *result;
423f194a 19267 bool temp3 = False ;
d14a1e28
RD
19268 wxPoint temp4 ;
19269 wxSize temp5 ;
423f194a 19270 bool temp7 = False ;
d14a1e28
RD
19271 PyObject * obj0 = 0 ;
19272 PyObject * obj1 = 0 ;
19273 PyObject * obj2 = 0 ;
19274 PyObject * obj3 = 0 ;
19275 PyObject * obj4 = 0 ;
19276 PyObject * obj6 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19284 {
19285 arg3 = wxString_in_helper(obj2);
19286 if (arg3 == NULL) SWIG_fail;
423f194a 19287 temp3 = True;
d14a1e28
RD
19288 }
19289 if (obj3) {
19290 {
19291 arg4 = &temp4;
19292 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19293 }
19294 }
19295 if (obj4) {
19296 {
19297 arg5 = &temp5;
19298 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19299 }
19300 }
19301 if (obj6) {
19302 {
19303 arg7 = wxString_in_helper(obj6);
19304 if (arg7 == NULL) SWIG_fail;
423f194a 19305 temp7 = True;
d14a1e28
RD
19306 }
19307 }
19308 {
19309 PyThreadState* __tstate = wxPyBeginAllowThreads();
19310 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19311
19312 wxPyEndAllowThreads(__tstate);
19313 if (PyErr_Occurred()) SWIG_fail;
19314 }
19315 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19316 {
19317 if (temp3)
19318 delete arg3;
19319 }
19320 {
19321 if (temp7)
19322 delete arg7;
19323 }
19324 return resultobj;
19325 fail:
19326 {
19327 if (temp3)
19328 delete arg3;
19329 }
19330 {
19331 if (temp7)
19332 delete arg7;
19333 }
19334 return NULL;
19335}
19336
19337
19338static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19339 PyObject *resultobj;
19340 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19341 PyObject * obj0 = 0 ;
19342 char *kwnames[] = {
19343 (char *) "self", NULL
19344 };
19345
19346 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19347 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19348 {
19349 PyThreadState* __tstate = wxPyBeginAllowThreads();
19350 (arg1)->Initialize();
19351
19352 wxPyEndAllowThreads(__tstate);
19353 if (PyErr_Occurred()) SWIG_fail;
19354 }
19355 Py_INCREF(Py_None); resultobj = Py_None;
19356 return resultobj;
19357 fail:
19358 return NULL;
19359}
19360
19361
19362static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19363 PyObject *resultobj;
19364 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19365 PyObject * obj0 = 0 ;
19366 char *kwnames[] = {
19367 (char *) "self", NULL
19368 };
19369
19370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19372 {
19373 PyThreadState* __tstate = wxPyBeginAllowThreads();
19374 (arg1)->CreateControlBar();
19375
19376 wxPyEndAllowThreads(__tstate);
19377 if (PyErr_Occurred()) SWIG_fail;
19378 }
19379 Py_INCREF(Py_None); resultobj = Py_None;
19380 return resultobj;
19381 fail:
19382 return NULL;
19383}
19384
19385
19386static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19387 PyObject *resultobj;
19388 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19389 PyObject * obj0 = 0 ;
19390 char *kwnames[] = {
19391 (char *) "self", NULL
19392 };
19393
19394 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19395 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19396 {
19397 PyThreadState* __tstate = wxPyBeginAllowThreads();
19398 (arg1)->CreateCanvas();
19399
19400 wxPyEndAllowThreads(__tstate);
19401 if (PyErr_Occurred()) SWIG_fail;
19402 }
19403 Py_INCREF(Py_None); resultobj = Py_None;
19404 return resultobj;
19405 fail:
19406 return NULL;
19407}
19408
19409
19410static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19411 PyObject *resultobj;
19412 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19413 wxPreviewControlBar *result;
19414 PyObject * obj0 = 0 ;
19415 char *kwnames[] = {
19416 (char *) "self", NULL
19417 };
19418
19419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19421 {
19422 PyThreadState* __tstate = wxPyBeginAllowThreads();
19423 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19424
19425 wxPyEndAllowThreads(__tstate);
19426 if (PyErr_Occurred()) SWIG_fail;
19427 }
19428 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19429 return resultobj;
19430 fail:
19431 return NULL;
19432}
19433
19434
19435static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19436 PyObject *obj;
19437 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19438 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19439 Py_INCREF(obj);
19440 return Py_BuildValue((char *)"");
19441}
19442static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19443 PyObject *resultobj;
19444 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19445 long arg2 ;
19446 wxWindow *arg3 = (wxWindow *) 0 ;
19447 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19448 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19449 wxSize const &arg5_defvalue = wxDefaultSize ;
19450 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19451 long arg6 = (long) wxTAB_TRAVERSAL ;
19452 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19453 wxString *arg7 = (wxString *) &arg7_defvalue ;
19454 wxPreviewControlBar *result;
19455 wxPoint temp4 ;
19456 wxSize temp5 ;
423f194a 19457 bool temp7 = False ;
d14a1e28
RD
19458 PyObject * obj0 = 0 ;
19459 PyObject * obj2 = 0 ;
19460 PyObject * obj3 = 0 ;
19461 PyObject * obj4 = 0 ;
19462 PyObject * obj6 = 0 ;
19463 char *kwnames[] = {
19464 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19465 };
19466
19467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19469 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19470 if (obj3) {
19471 {
19472 arg4 = &temp4;
19473 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19474 }
19475 }
19476 if (obj4) {
19477 {
19478 arg5 = &temp5;
19479 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19480 }
19481 }
19482 if (obj6) {
19483 {
19484 arg7 = wxString_in_helper(obj6);
19485 if (arg7 == NULL) SWIG_fail;
423f194a 19486 temp7 = True;
d14a1e28
RD
19487 }
19488 }
19489 {
19490 PyThreadState* __tstate = wxPyBeginAllowThreads();
19491 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19492
19493 wxPyEndAllowThreads(__tstate);
19494 if (PyErr_Occurred()) SWIG_fail;
19495 }
19496 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19497 {
19498 if (temp7)
19499 delete arg7;
19500 }
19501 return resultobj;
19502 fail:
19503 {
19504 if (temp7)
19505 delete arg7;
19506 }
19507 return NULL;
19508}
19509
19510
19511static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19512 PyObject *resultobj;
19513 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19514 int result;
19515 PyObject * obj0 = 0 ;
19516 char *kwnames[] = {
19517 (char *) "self", NULL
19518 };
19519
19520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19522 {
19523 PyThreadState* __tstate = wxPyBeginAllowThreads();
19524 result = (int)(arg1)->GetZoomControl();
19525
19526 wxPyEndAllowThreads(__tstate);
19527 if (PyErr_Occurred()) SWIG_fail;
19528 }
19529 resultobj = PyInt_FromLong((long)result);
19530 return resultobj;
19531 fail:
19532 return NULL;
19533}
19534
19535
19536static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19537 PyObject *resultobj;
19538 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19539 int arg2 ;
19540 PyObject * obj0 = 0 ;
19541 char *kwnames[] = {
19542 (char *) "self",(char *) "zoom", NULL
19543 };
19544
19545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19547 {
19548 PyThreadState* __tstate = wxPyBeginAllowThreads();
19549 (arg1)->SetZoomControl(arg2);
19550
19551 wxPyEndAllowThreads(__tstate);
19552 if (PyErr_Occurred()) SWIG_fail;
19553 }
19554 Py_INCREF(Py_None); resultobj = Py_None;
19555 return resultobj;
19556 fail:
19557 return NULL;
19558}
19559
19560
19561static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19562 PyObject *resultobj;
19563 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19564 wxPrintPreview *result;
19565 PyObject * obj0 = 0 ;
19566 char *kwnames[] = {
19567 (char *) "self", NULL
19568 };
19569
19570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19572 {
19573 PyThreadState* __tstate = wxPyBeginAllowThreads();
19574 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19575
19576 wxPyEndAllowThreads(__tstate);
19577 if (PyErr_Occurred()) SWIG_fail;
19578 }
19579 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19580 return resultobj;
19581 fail:
19582 return NULL;
19583}
19584
19585
19586static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19587 PyObject *resultobj;
19588 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19589 PyObject * obj0 = 0 ;
19590 char *kwnames[] = {
19591 (char *) "self", NULL
19592 };
19593
19594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19596 {
19597 PyThreadState* __tstate = wxPyBeginAllowThreads();
19598 (arg1)->OnNext();
19599
19600 wxPyEndAllowThreads(__tstate);
19601 if (PyErr_Occurred()) SWIG_fail;
19602 }
19603 Py_INCREF(Py_None); resultobj = Py_None;
19604 return resultobj;
19605 fail:
19606 return NULL;
19607}
19608
19609
19610static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19611 PyObject *resultobj;
19612 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19613 PyObject * obj0 = 0 ;
19614 char *kwnames[] = {
19615 (char *) "self", NULL
19616 };
19617
19618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19620 {
19621 PyThreadState* __tstate = wxPyBeginAllowThreads();
19622 (arg1)->OnPrevious();
19623
19624 wxPyEndAllowThreads(__tstate);
19625 if (PyErr_Occurred()) SWIG_fail;
19626 }
19627 Py_INCREF(Py_None); resultobj = Py_None;
19628 return resultobj;
19629 fail:
19630 return NULL;
19631}
19632
19633
19634static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19635 PyObject *resultobj;
19636 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19637 PyObject * obj0 = 0 ;
19638 char *kwnames[] = {
19639 (char *) "self", NULL
19640 };
19641
19642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19644 {
19645 PyThreadState* __tstate = wxPyBeginAllowThreads();
19646 (arg1)->OnFirst();
19647
19648 wxPyEndAllowThreads(__tstate);
19649 if (PyErr_Occurred()) SWIG_fail;
19650 }
19651 Py_INCREF(Py_None); resultobj = Py_None;
19652 return resultobj;
19653 fail:
19654 return NULL;
19655}
19656
19657
19658static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19659 PyObject *resultobj;
19660 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19661 PyObject * obj0 = 0 ;
19662 char *kwnames[] = {
19663 (char *) "self", NULL
19664 };
19665
19666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19668 {
19669 PyThreadState* __tstate = wxPyBeginAllowThreads();
19670 (arg1)->OnLast();
19671
19672 wxPyEndAllowThreads(__tstate);
19673 if (PyErr_Occurred()) SWIG_fail;
19674 }
19675 Py_INCREF(Py_None); resultobj = Py_None;
19676 return resultobj;
19677 fail:
19678 return NULL;
19679}
19680
19681
19682static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19683 PyObject *resultobj;
19684 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19685 PyObject * obj0 = 0 ;
19686 char *kwnames[] = {
19687 (char *) "self", NULL
19688 };
19689
19690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19692 {
19693 PyThreadState* __tstate = wxPyBeginAllowThreads();
19694 (arg1)->OnGoto();
19695
19696 wxPyEndAllowThreads(__tstate);
19697 if (PyErr_Occurred()) SWIG_fail;
19698 }
19699 Py_INCREF(Py_None); resultobj = Py_None;
19700 return resultobj;
19701 fail:
19702 return NULL;
19703}
19704
19705
19706static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19707 PyObject *obj;
19708 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19709 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19710 Py_INCREF(obj);
19711 return Py_BuildValue((char *)"");
19712}
19713static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19714 PyObject *resultobj;
19715 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19716 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19717 wxPrintData *arg3 = (wxPrintData *) NULL ;
19718 wxPrintPreview *result;
19719 PyObject * obj0 = 0 ;
19720 PyObject * obj1 = 0 ;
19721 PyObject * obj2 = 0 ;
19722 char *kwnames[] = {
19723 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19724 };
19725
19726 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19727 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19728 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19729 if (obj2) {
19730 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19731 }
19732 {
19733 PyThreadState* __tstate = wxPyBeginAllowThreads();
19734 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19735
19736 wxPyEndAllowThreads(__tstate);
19737 if (PyErr_Occurred()) SWIG_fail;
19738 }
19739 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19740 return resultobj;
19741 fail:
19742 return NULL;
19743}
19744
19745
19746static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19747 PyObject *resultobj;
19748 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19749 int arg2 ;
19750 bool result;
19751 PyObject * obj0 = 0 ;
19752 char *kwnames[] = {
19753 (char *) "self",(char *) "pageNum", NULL
19754 };
19755
19756 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19757 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19758 {
19759 PyThreadState* __tstate = wxPyBeginAllowThreads();
19760 result = (bool)(arg1)->SetCurrentPage(arg2);
19761
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 resultobj = PyInt_FromLong((long)result);
19766 return resultobj;
19767 fail:
19768 return NULL;
19769}
19770
19771
19772static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19773 PyObject *resultobj;
19774 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19775 int result;
19776 PyObject * obj0 = 0 ;
19777 char *kwnames[] = {
19778 (char *) "self", NULL
19779 };
19780
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 result = (int)(arg1)->GetCurrentPage();
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 resultobj = PyInt_FromLong((long)result);
19791 return resultobj;
19792 fail:
19793 return NULL;
19794}
19795
19796
19797static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19798 PyObject *resultobj;
19799 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19800 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19801 PyObject * obj0 = 0 ;
19802 PyObject * obj1 = 0 ;
19803 char *kwnames[] = {
19804 (char *) "self",(char *) "printout", NULL
19805 };
19806
19807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19809 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19810 {
19811 PyThreadState* __tstate = wxPyBeginAllowThreads();
19812 (arg1)->SetPrintout(arg2);
19813
19814 wxPyEndAllowThreads(__tstate);
19815 if (PyErr_Occurred()) SWIG_fail;
19816 }
19817 Py_INCREF(Py_None); resultobj = Py_None;
19818 return resultobj;
19819 fail:
19820 return NULL;
19821}
19822
19823
19824static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19825 PyObject *resultobj;
19826 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19827 wxPyPrintout *result;
19828 PyObject * obj0 = 0 ;
19829 char *kwnames[] = {
19830 (char *) "self", NULL
19831 };
19832
19833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19835 {
19836 PyThreadState* __tstate = wxPyBeginAllowThreads();
19837 result = (wxPyPrintout *)(arg1)->GetPrintout();
19838
19839 wxPyEndAllowThreads(__tstate);
19840 if (PyErr_Occurred()) SWIG_fail;
19841 }
19842 {
19843 resultobj = wxPyMake_wxObject(result);
19844 }
19845 return resultobj;
19846 fail:
19847 return NULL;
19848}
19849
19850
19851static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19852 PyObject *resultobj;
19853 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19854 wxPyPrintout *result;
19855 PyObject * obj0 = 0 ;
19856 char *kwnames[] = {
19857 (char *) "self", NULL
19858 };
19859
19860 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19861 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19862 {
19863 PyThreadState* __tstate = wxPyBeginAllowThreads();
19864 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19865
19866 wxPyEndAllowThreads(__tstate);
19867 if (PyErr_Occurred()) SWIG_fail;
19868 }
19869 {
19870 resultobj = wxPyMake_wxObject(result);
19871 }
19872 return resultobj;
19873 fail:
19874 return NULL;
19875}
19876
19877
19878static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19879 PyObject *resultobj;
19880 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19881 wxFrame *arg2 = (wxFrame *) 0 ;
19882 PyObject * obj0 = 0 ;
19883 PyObject * obj1 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self",(char *) "frame", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19890 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19891 {
19892 PyThreadState* __tstate = wxPyBeginAllowThreads();
19893 (arg1)->SetFrame(arg2);
19894
19895 wxPyEndAllowThreads(__tstate);
19896 if (PyErr_Occurred()) SWIG_fail;
19897 }
19898 Py_INCREF(Py_None); resultobj = Py_None;
19899 return resultobj;
19900 fail:
19901 return NULL;
19902}
19903
19904
19905static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19906 PyObject *resultobj;
19907 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19908 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19909 PyObject * obj0 = 0 ;
19910 PyObject * obj1 = 0 ;
19911 char *kwnames[] = {
19912 (char *) "self",(char *) "canvas", NULL
19913 };
19914
19915 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19916 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19917 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19918 {
19919 PyThreadState* __tstate = wxPyBeginAllowThreads();
19920 (arg1)->SetCanvas(arg2);
19921
19922 wxPyEndAllowThreads(__tstate);
19923 if (PyErr_Occurred()) SWIG_fail;
19924 }
19925 Py_INCREF(Py_None); resultobj = Py_None;
19926 return resultobj;
19927 fail:
19928 return NULL;
19929}
19930
19931
19932static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19933 PyObject *resultobj;
19934 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19935 wxFrame *result;
19936 PyObject * obj0 = 0 ;
19937 char *kwnames[] = {
19938 (char *) "self", NULL
19939 };
19940
19941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19943 {
19944 PyThreadState* __tstate = wxPyBeginAllowThreads();
19945 result = (wxFrame *)(arg1)->GetFrame();
19946
19947 wxPyEndAllowThreads(__tstate);
19948 if (PyErr_Occurred()) SWIG_fail;
19949 }
19950 {
19951 resultobj = wxPyMake_wxObject(result);
19952 }
19953 return resultobj;
19954 fail:
19955 return NULL;
19956}
19957
19958
19959static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19960 PyObject *resultobj;
19961 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19962 wxPreviewCanvas *result;
19963 PyObject * obj0 = 0 ;
19964 char *kwnames[] = {
19965 (char *) "self", NULL
19966 };
19967
19968 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19969 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19970 {
19971 PyThreadState* __tstate = wxPyBeginAllowThreads();
19972 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19973
19974 wxPyEndAllowThreads(__tstate);
19975 if (PyErr_Occurred()) SWIG_fail;
19976 }
19977 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19978 return resultobj;
19979 fail:
19980 return NULL;
19981}
19982
19983
19984static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19985 PyObject *resultobj;
19986 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19987 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19988 wxDC *arg3 = 0 ;
19989 bool result;
19990 PyObject * obj0 = 0 ;
19991 PyObject * obj1 = 0 ;
19992 PyObject * obj2 = 0 ;
19993 char *kwnames[] = {
19994 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19995 };
19996
19997 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19998 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19999 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20000 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20001 if (arg3 == NULL) {
20002 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20003 }
20004 {
20005 PyThreadState* __tstate = wxPyBeginAllowThreads();
20006 result = (bool)(arg1)->PaintPage(arg2,*arg3);
20007
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 resultobj = PyInt_FromLong((long)result);
20012 return resultobj;
20013 fail:
20014 return NULL;
20015}
20016
20017
20018static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj;
20020 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20021 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20022 wxDC *arg3 = 0 ;
20023 bool result;
20024 PyObject * obj0 = 0 ;
20025 PyObject * obj1 = 0 ;
20026 PyObject * obj2 = 0 ;
20027 char *kwnames[] = {
20028 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20029 };
20030
20031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20033 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20034 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20035 if (arg3 == NULL) {
20036 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20037 }
20038 {
20039 PyThreadState* __tstate = wxPyBeginAllowThreads();
20040 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
20041
20042 wxPyEndAllowThreads(__tstate);
20043 if (PyErr_Occurred()) SWIG_fail;
20044 }
20045 resultobj = PyInt_FromLong((long)result);
20046 return resultobj;
20047 fail:
20048 return NULL;
20049}
20050
20051
20052static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20053 PyObject *resultobj;
20054 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20055 int arg2 ;
20056 bool result;
20057 PyObject * obj0 = 0 ;
20058 char *kwnames[] = {
20059 (char *) "self",(char *) "pageNum", NULL
20060 };
20061
20062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20064 {
20065 PyThreadState* __tstate = wxPyBeginAllowThreads();
20066 result = (bool)(arg1)->RenderPage(arg2);
20067
20068 wxPyEndAllowThreads(__tstate);
20069 if (PyErr_Occurred()) SWIG_fail;
20070 }
20071 resultobj = PyInt_FromLong((long)result);
20072 return resultobj;
20073 fail:
20074 return NULL;
20075}
20076
20077
20078static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
20079 PyObject *resultobj;
20080 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20081 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20082 PyObject * obj0 = 0 ;
20083 PyObject * obj1 = 0 ;
20084 char *kwnames[] = {
20085 (char *) "self",(char *) "canvas", NULL
20086 };
20087
20088 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
20089 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20091 {
20092 PyThreadState* __tstate = wxPyBeginAllowThreads();
20093 (arg1)->AdjustScrollbars(arg2);
20094
20095 wxPyEndAllowThreads(__tstate);
20096 if (PyErr_Occurred()) SWIG_fail;
20097 }
20098 Py_INCREF(Py_None); resultobj = Py_None;
20099 return resultobj;
20100 fail:
20101 return NULL;
20102}
20103
20104
20105static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
20106 PyObject *resultobj;
20107 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20108 wxPrintDialogData *result;
20109 PyObject * obj0 = 0 ;
20110 char *kwnames[] = {
20111 (char *) "self", NULL
20112 };
20113
20114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
20115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20116 {
20117 PyThreadState* __tstate = wxPyBeginAllowThreads();
20118 {
20119 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
20120 result = (wxPrintDialogData *) &_result_ref;
20121 }
20122
20123 wxPyEndAllowThreads(__tstate);
20124 if (PyErr_Occurred()) SWIG_fail;
20125 }
20126 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
20127 return resultobj;
20128 fail:
20129 return NULL;
20130}
20131
20132
20133static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20134 PyObject *resultobj;
20135 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20136 int arg2 ;
20137 PyObject * obj0 = 0 ;
20138 char *kwnames[] = {
20139 (char *) "self",(char *) "percent", NULL
20140 };
20141
20142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20144 {
20145 PyThreadState* __tstate = wxPyBeginAllowThreads();
20146 (arg1)->SetZoom(arg2);
20147
20148 wxPyEndAllowThreads(__tstate);
20149 if (PyErr_Occurred()) SWIG_fail;
20150 }
20151 Py_INCREF(Py_None); resultobj = Py_None;
20152 return resultobj;
20153 fail:
20154 return NULL;
20155}
20156
20157
20158static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20159 PyObject *resultobj;
20160 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20161 int result;
20162 PyObject * obj0 = 0 ;
20163 char *kwnames[] = {
20164 (char *) "self", NULL
20165 };
20166
20167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
20168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20169 {
20170 PyThreadState* __tstate = wxPyBeginAllowThreads();
20171 result = (int)(arg1)->GetZoom();
20172
20173 wxPyEndAllowThreads(__tstate);
20174 if (PyErr_Occurred()) SWIG_fail;
20175 }
20176 resultobj = PyInt_FromLong((long)result);
20177 return resultobj;
20178 fail:
20179 return NULL;
20180}
20181
20182
20183static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20184 PyObject *resultobj;
20185 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20186 int result;
20187 PyObject * obj0 = 0 ;
20188 char *kwnames[] = {
20189 (char *) "self", NULL
20190 };
20191
20192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
20193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20194 {
20195 PyThreadState* __tstate = wxPyBeginAllowThreads();
20196 result = (int)(arg1)->GetMaxPage();
20197
20198 wxPyEndAllowThreads(__tstate);
20199 if (PyErr_Occurred()) SWIG_fail;
20200 }
20201 resultobj = PyInt_FromLong((long)result);
20202 return resultobj;
20203 fail:
20204 return NULL;
20205}
20206
20207
20208static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20209 PyObject *resultobj;
20210 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20211 int result;
20212 PyObject * obj0 = 0 ;
20213 char *kwnames[] = {
20214 (char *) "self", NULL
20215 };
20216
20217 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
20218 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20219 {
20220 PyThreadState* __tstate = wxPyBeginAllowThreads();
20221 result = (int)(arg1)->GetMinPage();
20222
20223 wxPyEndAllowThreads(__tstate);
20224 if (PyErr_Occurred()) SWIG_fail;
20225 }
20226 resultobj = PyInt_FromLong((long)result);
20227 return resultobj;
20228 fail:
20229 return NULL;
20230}
20231
20232
20233static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
20234 PyObject *resultobj;
20235 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20236 bool result;
20237 PyObject * obj0 = 0 ;
20238 char *kwnames[] = {
20239 (char *) "self", NULL
20240 };
20241
20242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
20243 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20244 {
20245 PyThreadState* __tstate = wxPyBeginAllowThreads();
20246 result = (bool)(arg1)->Ok();
20247
20248 wxPyEndAllowThreads(__tstate);
20249 if (PyErr_Occurred()) SWIG_fail;
20250 }
20251 resultobj = PyInt_FromLong((long)result);
20252 return resultobj;
20253 fail:
20254 return NULL;
20255}
20256
20257
20258static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
20259 PyObject *resultobj;
20260 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20261 bool arg2 ;
20262 PyObject * obj0 = 0 ;
20263 PyObject * obj1 = 0 ;
20264 char *kwnames[] = {
20265 (char *) "self",(char *) "ok", NULL
20266 };
20267
20268 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
20269 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20270 arg2 = PyInt_AsLong(obj1) ? true : false;
20271 if (PyErr_Occurred()) SWIG_fail;
20272 {
20273 PyThreadState* __tstate = wxPyBeginAllowThreads();
20274 (arg1)->SetOk(arg2);
20275
20276 wxPyEndAllowThreads(__tstate);
20277 if (PyErr_Occurred()) SWIG_fail;
20278 }
20279 Py_INCREF(Py_None); resultobj = Py_None;
20280 return resultobj;
20281 fail:
20282 return NULL;
20283}
20284
20285
20286static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20287 PyObject *resultobj;
20288 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20289 bool arg2 ;
20290 bool result;
20291 PyObject * obj0 = 0 ;
20292 PyObject * obj1 = 0 ;
20293 char *kwnames[] = {
20294 (char *) "self",(char *) "interactive", NULL
20295 };
20296
20297 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20298 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20299 arg2 = PyInt_AsLong(obj1) ? true : false;
20300 if (PyErr_Occurred()) SWIG_fail;
20301 {
20302 PyThreadState* __tstate = wxPyBeginAllowThreads();
20303 result = (bool)(arg1)->Print(arg2);
20304
20305 wxPyEndAllowThreads(__tstate);
20306 if (PyErr_Occurred()) SWIG_fail;
20307 }
20308 resultobj = PyInt_FromLong((long)result);
20309 return resultobj;
20310 fail:
20311 return NULL;
20312}
20313
20314
20315static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20316 PyObject *resultobj;
20317 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20318 PyObject * obj0 = 0 ;
20319 char *kwnames[] = {
20320 (char *) "self", NULL
20321 };
20322
20323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20325 {
20326 PyThreadState* __tstate = wxPyBeginAllowThreads();
20327 (arg1)->DetermineScaling();
20328
20329 wxPyEndAllowThreads(__tstate);
20330 if (PyErr_Occurred()) SWIG_fail;
20331 }
20332 Py_INCREF(Py_None); resultobj = Py_None;
20333 return resultobj;
20334 fail:
20335 return NULL;
20336}
20337
20338
20339static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20340 PyObject *obj;
20341 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20342 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20343 Py_INCREF(obj);
20344 return Py_BuildValue((char *)"");
20345}
20346static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20347 PyObject *resultobj;
20348 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20349 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20350 wxPrintData *arg3 = (wxPrintData *) NULL ;
20351 wxPyPrintPreview *result;
20352 PyObject * obj0 = 0 ;
20353 PyObject * obj1 = 0 ;
20354 PyObject * obj2 = 0 ;
20355 char *kwnames[] = {
20356 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20357 };
20358
20359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20361 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20362 if (obj2) {
20363 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20364 }
20365 {
20366 PyThreadState* __tstate = wxPyBeginAllowThreads();
20367 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20368
20369 wxPyEndAllowThreads(__tstate);
20370 if (PyErr_Occurred()) SWIG_fail;
20371 }
20372 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20373 return resultobj;
20374 fail:
20375 return NULL;
20376}
20377
20378
20379static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20380 PyObject *resultobj;
20381 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20382 PyObject *arg2 = (PyObject *) 0 ;
20383 PyObject *arg3 = (PyObject *) 0 ;
20384 PyObject * obj0 = 0 ;
20385 PyObject * obj1 = 0 ;
20386 PyObject * obj2 = 0 ;
20387 char *kwnames[] = {
20388 (char *) "self",(char *) "self",(char *) "_class", NULL
20389 };
20390
20391 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20392 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20393 arg2 = obj1;
20394 arg3 = obj2;
20395 {
20396 PyThreadState* __tstate = wxPyBeginAllowThreads();
20397 (arg1)->_setCallbackInfo(arg2,arg3);
20398
20399 wxPyEndAllowThreads(__tstate);
20400 if (PyErr_Occurred()) SWIG_fail;
20401 }
20402 Py_INCREF(Py_None); resultobj = Py_None;
20403 return resultobj;
20404 fail:
20405 return NULL;
20406}
20407
20408
20409static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20410 PyObject *resultobj;
20411 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20412 int arg2 ;
20413 bool result;
20414 PyObject * obj0 = 0 ;
20415 char *kwnames[] = {
20416 (char *) "self",(char *) "pageNum", NULL
20417 };
20418
20419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20421 {
20422 PyThreadState* __tstate = wxPyBeginAllowThreads();
20423 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20424
20425 wxPyEndAllowThreads(__tstate);
20426 if (PyErr_Occurred()) SWIG_fail;
20427 }
20428 resultobj = PyInt_FromLong((long)result);
20429 return resultobj;
20430 fail:
20431 return NULL;
20432}
20433
20434
20435static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20436 PyObject *resultobj;
20437 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20438 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20439 wxDC *arg3 = 0 ;
20440 bool result;
20441 PyObject * obj0 = 0 ;
20442 PyObject * obj1 = 0 ;
20443 PyObject * obj2 = 0 ;
20444 char *kwnames[] = {
20445 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20446 };
20447
20448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20450 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20451 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20452 if (arg3 == NULL) {
20453 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20454 }
20455 {
20456 PyThreadState* __tstate = wxPyBeginAllowThreads();
20457 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20458
20459 wxPyEndAllowThreads(__tstate);
20460 if (PyErr_Occurred()) SWIG_fail;
20461 }
20462 resultobj = PyInt_FromLong((long)result);
20463 return resultobj;
20464 fail:
20465 return NULL;
20466}
20467
20468
20469static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20470 PyObject *resultobj;
20471 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20472 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20473 wxDC *arg3 = 0 ;
20474 bool result;
20475 PyObject * obj0 = 0 ;
20476 PyObject * obj1 = 0 ;
20477 PyObject * obj2 = 0 ;
20478 char *kwnames[] = {
20479 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20480 };
20481
20482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20484 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20485 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20486 if (arg3 == NULL) {
20487 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20488 }
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20492
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 resultobj = PyInt_FromLong((long)result);
20497 return resultobj;
20498 fail:
20499 return NULL;
20500}
20501
20502
20503static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20504 PyObject *resultobj;
20505 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20506 int arg2 ;
20507 bool result;
20508 PyObject * obj0 = 0 ;
20509 char *kwnames[] = {
20510 (char *) "self",(char *) "pageNum", NULL
20511 };
20512
20513 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20514 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20515 {
20516 PyThreadState* __tstate = wxPyBeginAllowThreads();
20517 result = (bool)(arg1)->base_RenderPage(arg2);
20518
20519 wxPyEndAllowThreads(__tstate);
20520 if (PyErr_Occurred()) SWIG_fail;
20521 }
20522 resultobj = PyInt_FromLong((long)result);
20523 return resultobj;
20524 fail:
20525 return NULL;
20526}
20527
20528
20529static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20530 PyObject *resultobj;
20531 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20532 int arg2 ;
20533 PyObject * obj0 = 0 ;
20534 char *kwnames[] = {
20535 (char *) "self",(char *) "percent", NULL
20536 };
20537
20538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20540 {
20541 PyThreadState* __tstate = wxPyBeginAllowThreads();
20542 (arg1)->base_SetZoom(arg2);
20543
20544 wxPyEndAllowThreads(__tstate);
20545 if (PyErr_Occurred()) SWIG_fail;
20546 }
20547 Py_INCREF(Py_None); resultobj = Py_None;
20548 return resultobj;
20549 fail:
20550 return NULL;
20551}
20552
20553
20554static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20555 PyObject *resultobj;
20556 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20557 bool arg2 ;
20558 bool result;
20559 PyObject * obj0 = 0 ;
20560 PyObject * obj1 = 0 ;
20561 char *kwnames[] = {
20562 (char *) "self",(char *) "interactive", NULL
20563 };
20564
20565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20567 arg2 = PyInt_AsLong(obj1) ? true : false;
20568 if (PyErr_Occurred()) SWIG_fail;
20569 {
20570 PyThreadState* __tstate = wxPyBeginAllowThreads();
20571 result = (bool)(arg1)->base_Print(arg2);
20572
20573 wxPyEndAllowThreads(__tstate);
20574 if (PyErr_Occurred()) SWIG_fail;
20575 }
20576 resultobj = PyInt_FromLong((long)result);
20577 return resultobj;
20578 fail:
20579 return NULL;
20580}
20581
20582
20583static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20584 PyObject *resultobj;
20585 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20586 PyObject * obj0 = 0 ;
20587 char *kwnames[] = {
20588 (char *) "self", NULL
20589 };
20590
20591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20593 {
20594 PyThreadState* __tstate = wxPyBeginAllowThreads();
20595 (arg1)->base_DetermineScaling();
20596
20597 wxPyEndAllowThreads(__tstate);
20598 if (PyErr_Occurred()) SWIG_fail;
20599 }
20600 Py_INCREF(Py_None); resultobj = Py_None;
20601 return resultobj;
20602 fail:
20603 return NULL;
20604}
20605
20606
20607static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20608 PyObject *obj;
20609 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20610 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20611 Py_INCREF(obj);
20612 return Py_BuildValue((char *)"");
20613}
20614static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20615 PyObject *resultobj;
20616 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20617 wxFrame *arg2 = (wxFrame *) 0 ;
20618 wxString *arg3 = 0 ;
20619 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20620 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20621 wxSize const &arg5_defvalue = wxDefaultSize ;
20622 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20623 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20624 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20625 wxString *arg7 = (wxString *) &arg7_defvalue ;
20626 wxPyPreviewFrame *result;
423f194a 20627 bool temp3 = False ;
d14a1e28
RD
20628 wxPoint temp4 ;
20629 wxSize temp5 ;
423f194a 20630 bool temp7 = False ;
d14a1e28
RD
20631 PyObject * obj0 = 0 ;
20632 PyObject * obj1 = 0 ;
20633 PyObject * obj2 = 0 ;
20634 PyObject * obj3 = 0 ;
20635 PyObject * obj4 = 0 ;
20636 PyObject * obj6 = 0 ;
20637 char *kwnames[] = {
20638 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20639 };
20640
20641 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20642 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20643 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20644 {
20645 arg3 = wxString_in_helper(obj2);
20646 if (arg3 == NULL) SWIG_fail;
423f194a 20647 temp3 = True;
d14a1e28
RD
20648 }
20649 if (obj3) {
20650 {
20651 arg4 = &temp4;
20652 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20653 }
20654 }
20655 if (obj4) {
20656 {
20657 arg5 = &temp5;
20658 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20659 }
20660 }
20661 if (obj6) {
20662 {
20663 arg7 = wxString_in_helper(obj6);
20664 if (arg7 == NULL) SWIG_fail;
423f194a 20665 temp7 = True;
d14a1e28
RD
20666 }
20667 }
20668 {
20669 PyThreadState* __tstate = wxPyBeginAllowThreads();
20670 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20671
20672 wxPyEndAllowThreads(__tstate);
20673 if (PyErr_Occurred()) SWIG_fail;
20674 }
20675 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20676 {
20677 if (temp3)
20678 delete arg3;
20679 }
20680 {
20681 if (temp7)
20682 delete arg7;
20683 }
20684 return resultobj;
20685 fail:
20686 {
20687 if (temp3)
20688 delete arg3;
20689 }
20690 {
20691 if (temp7)
20692 delete arg7;
20693 }
20694 return NULL;
20695}
20696
20697
20698static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20699 PyObject *resultobj;
20700 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20701 PyObject *arg2 = (PyObject *) 0 ;
20702 PyObject *arg3 = (PyObject *) 0 ;
20703 PyObject * obj0 = 0 ;
20704 PyObject * obj1 = 0 ;
20705 PyObject * obj2 = 0 ;
20706 char *kwnames[] = {
20707 (char *) "self",(char *) "self",(char *) "_class", NULL
20708 };
20709
20710 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20711 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20712 arg2 = obj1;
20713 arg3 = obj2;
20714 {
20715 PyThreadState* __tstate = wxPyBeginAllowThreads();
20716 (arg1)->_setCallbackInfo(arg2,arg3);
20717
20718 wxPyEndAllowThreads(__tstate);
20719 if (PyErr_Occurred()) SWIG_fail;
20720 }
20721 Py_INCREF(Py_None); resultobj = Py_None;
20722 return resultobj;
20723 fail:
20724 return NULL;
20725}
20726
20727
20728static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20729 PyObject *resultobj;
20730 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20731 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20732 PyObject * obj0 = 0 ;
20733 PyObject * obj1 = 0 ;
20734 char *kwnames[] = {
20735 (char *) "self",(char *) "canvas", NULL
20736 };
20737
20738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20740 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20741 {
20742 PyThreadState* __tstate = wxPyBeginAllowThreads();
20743 (arg1)->SetPreviewCanvas(arg2);
20744
20745 wxPyEndAllowThreads(__tstate);
20746 if (PyErr_Occurred()) SWIG_fail;
20747 }
20748 Py_INCREF(Py_None); resultobj = Py_None;
20749 return resultobj;
20750 fail:
20751 return NULL;
20752}
20753
20754
20755static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20756 PyObject *resultobj;
20757 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20758 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20759 PyObject * obj0 = 0 ;
20760 PyObject * obj1 = 0 ;
20761 char *kwnames[] = {
20762 (char *) "self",(char *) "bar", NULL
20763 };
20764
20765 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20766 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20767 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20768 {
20769 PyThreadState* __tstate = wxPyBeginAllowThreads();
20770 (arg1)->SetControlBar(arg2);
20771
20772 wxPyEndAllowThreads(__tstate);
20773 if (PyErr_Occurred()) SWIG_fail;
20774 }
20775 Py_INCREF(Py_None); resultobj = Py_None;
20776 return resultobj;
20777 fail:
20778 return NULL;
20779}
20780
20781
20782static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20783 PyObject *resultobj;
20784 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20785 PyObject * obj0 = 0 ;
20786 char *kwnames[] = {
20787 (char *) "self", NULL
20788 };
20789
20790 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20791 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20792 {
20793 PyThreadState* __tstate = wxPyBeginAllowThreads();
20794 (arg1)->base_Initialize();
20795
20796 wxPyEndAllowThreads(__tstate);
20797 if (PyErr_Occurred()) SWIG_fail;
20798 }
20799 Py_INCREF(Py_None); resultobj = Py_None;
20800 return resultobj;
20801 fail:
20802 return NULL;
20803}
20804
20805
20806static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20807 PyObject *resultobj;
20808 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20809 PyObject * obj0 = 0 ;
20810 char *kwnames[] = {
20811 (char *) "self", NULL
20812 };
20813
20814 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20815 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20816 {
20817 PyThreadState* __tstate = wxPyBeginAllowThreads();
20818 (arg1)->base_CreateCanvas();
20819
20820 wxPyEndAllowThreads(__tstate);
20821 if (PyErr_Occurred()) SWIG_fail;
20822 }
20823 Py_INCREF(Py_None); resultobj = Py_None;
20824 return resultobj;
20825 fail:
20826 return NULL;
20827}
20828
20829
20830static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20831 PyObject *resultobj;
20832 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20833 PyObject * obj0 = 0 ;
20834 char *kwnames[] = {
20835 (char *) "self", NULL
20836 };
20837
20838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20840 {
20841 PyThreadState* __tstate = wxPyBeginAllowThreads();
20842 (arg1)->base_CreateControlBar();
20843
20844 wxPyEndAllowThreads(__tstate);
20845 if (PyErr_Occurred()) SWIG_fail;
20846 }
20847 Py_INCREF(Py_None); resultobj = Py_None;
20848 return resultobj;
20849 fail:
20850 return NULL;
20851}
20852
20853
20854static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20855 PyObject *obj;
20856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20857 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20858 Py_INCREF(obj);
20859 return Py_BuildValue((char *)"");
20860}
20861static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20862 PyObject *resultobj;
20863 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20864 long arg2 ;
20865 wxWindow *arg3 = (wxWindow *) 0 ;
20866 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20867 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20868 wxSize const &arg5_defvalue = wxDefaultSize ;
20869 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20870 long arg6 = (long) 0 ;
20871 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20872 wxString *arg7 = (wxString *) &arg7_defvalue ;
20873 wxPyPreviewControlBar *result;
20874 wxPoint temp4 ;
20875 wxSize temp5 ;
423f194a 20876 bool temp7 = False ;
d14a1e28
RD
20877 PyObject * obj0 = 0 ;
20878 PyObject * obj2 = 0 ;
20879 PyObject * obj3 = 0 ;
20880 PyObject * obj4 = 0 ;
20881 PyObject * obj6 = 0 ;
20882 char *kwnames[] = {
20883 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20884 };
20885
20886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20888 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20889 if (obj3) {
20890 {
20891 arg4 = &temp4;
20892 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20893 }
20894 }
20895 if (obj4) {
20896 {
20897 arg5 = &temp5;
20898 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20899 }
20900 }
20901 if (obj6) {
20902 {
20903 arg7 = wxString_in_helper(obj6);
20904 if (arg7 == NULL) SWIG_fail;
423f194a 20905 temp7 = True;
d14a1e28
RD
20906 }
20907 }
20908 {
20909 PyThreadState* __tstate = wxPyBeginAllowThreads();
20910 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20911
20912 wxPyEndAllowThreads(__tstate);
20913 if (PyErr_Occurred()) SWIG_fail;
20914 }
20915 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20916 {
20917 if (temp7)
20918 delete arg7;
20919 }
20920 return resultobj;
20921 fail:
20922 {
20923 if (temp7)
20924 delete arg7;
20925 }
20926 return NULL;
20927}
20928
20929
20930static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20931 PyObject *resultobj;
20932 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20933 PyObject *arg2 = (PyObject *) 0 ;
20934 PyObject *arg3 = (PyObject *) 0 ;
20935 PyObject * obj0 = 0 ;
20936 PyObject * obj1 = 0 ;
20937 PyObject * obj2 = 0 ;
20938 char *kwnames[] = {
20939 (char *) "self",(char *) "self",(char *) "_class", NULL
20940 };
20941
20942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20944 arg2 = obj1;
20945 arg3 = obj2;
20946 {
20947 PyThreadState* __tstate = wxPyBeginAllowThreads();
20948 (arg1)->_setCallbackInfo(arg2,arg3);
20949
20950 wxPyEndAllowThreads(__tstate);
20951 if (PyErr_Occurred()) SWIG_fail;
20952 }
20953 Py_INCREF(Py_None); resultobj = Py_None;
20954 return resultobj;
20955 fail:
20956 return NULL;
20957}
20958
20959
20960static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20961 PyObject *resultobj;
20962 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20963 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20964 PyObject * obj0 = 0 ;
20965 PyObject * obj1 = 0 ;
20966 char *kwnames[] = {
20967 (char *) "self",(char *) "preview", NULL
20968 };
20969
20970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20972 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20973 {
20974 PyThreadState* __tstate = wxPyBeginAllowThreads();
20975 (arg1)->SetPrintPreview(arg2);
20976
20977 wxPyEndAllowThreads(__tstate);
20978 if (PyErr_Occurred()) SWIG_fail;
20979 }
20980 Py_INCREF(Py_None); resultobj = Py_None;
20981 return resultobj;
20982 fail:
20983 return NULL;
20984}
20985
20986
20987static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20988 PyObject *resultobj;
20989 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20990 PyObject * obj0 = 0 ;
20991 char *kwnames[] = {
20992 (char *) "self", NULL
20993 };
20994
20995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20997 {
20998 PyThreadState* __tstate = wxPyBeginAllowThreads();
20999 (arg1)->base_CreateButtons();
21000
21001 wxPyEndAllowThreads(__tstate);
21002 if (PyErr_Occurred()) SWIG_fail;
21003 }
21004 Py_INCREF(Py_None); resultobj = Py_None;
21005 return resultobj;
21006 fail:
21007 return NULL;
21008}
21009
21010
21011static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
21012 PyObject *resultobj;
21013 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
21014 int arg2 ;
21015 PyObject * obj0 = 0 ;
21016 char *kwnames[] = {
21017 (char *) "self",(char *) "zoom", NULL
21018 };
21019
21020 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
21021 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
21022 {
21023 PyThreadState* __tstate = wxPyBeginAllowThreads();
21024 (arg1)->base_SetZoomControl(arg2);
21025
21026 wxPyEndAllowThreads(__tstate);
21027 if (PyErr_Occurred()) SWIG_fail;
21028 }
21029 Py_INCREF(Py_None); resultobj = Py_None;
21030 return resultobj;
21031 fail:
21032 return NULL;
21033}
21034
21035
21036static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
21037 PyObject *obj;
21038 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
21039 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
21040 Py_INCREF(obj);
21041 return Py_BuildValue((char *)"");
21042}
21043static PyMethodDef SwigMethods[] = {
21044 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
21047 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
21049 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21051 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
21057 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
21064 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
21065 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
d14a1e28
RD
21072 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
21086 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
21109 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
21116 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
21121 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
21125 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
21129 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
21134 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
21149 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
21175 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
21182 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
21205 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
21213 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
21225 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
21231 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
21240 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
21246 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
21251 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
21257 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
21261 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21279 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21293 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21305 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21312 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21320 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21322 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21331 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21335 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21343 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21347 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21352 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21353 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21354 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21361 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21365 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21367 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21368 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21369 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21370 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21371 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21372 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21376 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21378 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21388 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21390 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21392 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21393 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21396 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21399 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21403 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21408 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21412 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21418 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21421 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21422 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21423 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21425 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21427 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21428 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21429 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21430 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21434 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21436 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21437 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21438 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21439 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21440 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21441 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21442 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21443 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21444 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21445 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21446 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21447 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21448 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21449 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21450 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21451 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21452 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21453 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21454 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21455 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21456 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21457 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21458 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21459 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21460 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21461 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21462 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21463 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21464 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21465 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21466 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21467 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21468 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21469 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21470 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21471 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21472 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21473 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21474 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21475 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21476 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21477 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21478 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21479 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21480 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21481 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21482 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21483 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21484 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21485 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21486 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21487 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21488 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21489 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21490 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21491 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21492 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21493 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21494 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21495 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21496 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21497 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21498 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21499 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21500 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21501 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21502 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21503 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21504 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21505 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21506 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21507 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21508 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21509 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21510 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21511 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21512 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21513 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21514 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21515 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21516 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21517 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21518 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21519 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21520 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21521 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21522 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21523 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21524 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21525 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21526 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21527 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21528 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21529 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21530 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21531 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21532 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21533 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21534 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21535 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21536 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21537 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21538 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21539 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21540 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21541 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21542 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21543 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21544 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21545 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21546 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21547 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21548 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21549 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21550 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21551 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21552 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21553 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21554 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21555 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21556 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21557 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21558 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21559 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21560 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21561 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21562 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21563 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21564 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21565 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21566 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21567 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21568 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21569 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21570 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21571 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21572 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21573 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21574 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21575 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21576 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21577 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21578 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21579 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21580 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21581 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21582 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21583 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21584 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21585 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21586 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21587 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21588 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21589 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21590 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21591 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21592 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21593 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21594 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21595 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21596 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21597 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21598 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21599 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21600 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21601 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21602 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21603 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21604 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21605 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21606 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21607 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21608 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21609 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21610 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21611 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21612 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21613 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21614 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21615 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21616 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21617 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21618 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21619 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21620 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21621 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21622 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21623 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21624 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21625 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21626 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21627 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21628 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21629 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
d14a1e28 21630 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
44127b65 21631 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
21632 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21633 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21634 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21635 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21636 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21637 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21638 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21639 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21640 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21641 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21642 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21643 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21644 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
d14a1e28 21645 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
44127b65 21646 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
21647 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21648 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21649 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21650 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21651 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21652 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21653 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21654 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21655 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21656 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21657 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21658 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21659 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21660 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21661 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21662 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21663 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21664 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21665 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21666 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21667 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21668 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21669 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21670 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21671 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21672 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21673 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21674 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21675 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21676 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21677 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21678 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21679 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21680 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21681 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21682 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21683 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21684 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21685 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21686 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21687 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21688 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21689 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21690 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21691 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21692 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21693 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21694 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21695 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21696 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21697 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21698 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21699 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21700 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21701 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21702 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21703 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21704 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21705 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21706 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21707 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21708 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21709 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21710 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21711 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21712 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21713 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21714 { NULL, NULL }
21715};
21716
21717
21718/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21719
21720static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21721 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21722}
21723static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21724 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21725}
21726static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21727 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21728}
21729static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21730 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21731}
21732static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21733 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21734}
21735static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21736 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21737}
21738static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21739 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21740}
21741static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21742 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21743}
21744static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21745 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21746}
21747static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21748 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21749}
21750static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21751 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21752}
21753static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21754 return (void *)((wxEvent *) ((wxPyEvent *) x));
21755}
21756static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21757 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21758}
21759static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21760 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21761}
21762static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21763 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21764}
21765static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21766 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21767}
21768static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21769 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21770}
21771static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21772 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21773}
21774static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21775 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21776}
21777static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21778 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21779}
21780static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21781 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21782}
21783static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21784 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21785}
21786static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21787 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21788}
21789static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21790 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21791}
21792static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21793 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21794}
21795static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21796 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21797}
21798static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21799 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21800}
21801static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21802 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21803}
21804static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21805 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21806}
21807static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21808 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21809}
21810static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21811 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21812}
21813static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21814 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21815}
21816static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21817 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21818}
21819static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21820 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21821}
21822static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21823 return (void *)((wxEvent *) ((wxShowEvent *) x));
21824}
21825static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21826 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21827}
21828static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21829 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21830}
21831static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21832 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21833}
21834static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21835 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21836}
21837static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21838 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21839}
21840static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21841 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21842}
21843static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21844 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21845}
21846static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21847 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21848}
21849static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21850 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21851}
21852static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21853 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21854}
21855static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21856 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21857}
21858static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21859 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21860}
21861static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21862 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21863}
21864static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21865 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21866}
21867static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21868 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21869}
21870static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21871 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21872}
21873static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21874 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21875}
21876static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21877 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21878}
21879static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21880 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21881}
21882static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21883 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21884}
21885static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21886 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21887}
21888static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21889 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21890}
21891static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21892 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21893}
21894static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21895 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21896}
21897static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21898 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21899}
21900static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21901 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21902}
21903static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21904 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21905}
21906static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21907 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21908}
21909static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21910 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21911}
21912static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21913 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21914}
21915static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21916 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21917}
21918static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21919 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21920}
21921static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21922 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21923}
21924static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21925 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21926}
21927static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21928 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21929}
21930static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21931 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21932}
21933static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21934 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21935}
21936static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21937 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21938}
21939static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21940 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21941}
21942static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21943 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21944}
21945static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21946 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21947}
21948static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21949 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21950}
21951static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21952 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21953}
21954static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21955 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21956}
21957static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21958 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21959}
21960static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21961 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21962}
21963static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21964 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21965}
21966static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21967 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21968}
21969static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21970 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21971}
21972static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21973 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21974}
21975static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21976 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21977}
21978static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21979 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21980}
21981static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21982 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21983}
21984static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21985 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21986}
21987static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21988 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21989}
21990static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21991 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21992}
21993static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21994 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21995}
21996static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21997 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21998}
21999static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
22000 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
22001}
22002static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
22003 return (void *)((wxFrame *) ((wxProgressDialog *) x));
22004}
22005static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
22006 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
22007}
22008static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
22009 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22010}
22011static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
22012 return (void *)((wxFrame *) ((wxMiniFrame *) x));
22013}
22014static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
22015 return (void *)((wxFrame *) ((wxSplashScreen *) x));
22016}
22017static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
22018 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
22019}
22020static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
22021 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
22022}
22023static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
22024 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
22025}
22026static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
22027 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22028}
22029static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
22030 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22031}
22032static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
22033 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
22034}
22035static void *_p_wxSizerItemTo_p_wxObject(void *x) {
22036 return (void *)((wxObject *) ((wxSizerItem *) x));
22037}
22038static void *_p_wxScrollEventTo_p_wxObject(void *x) {
22039 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
22040}
22041static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
22042 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
22043}
22044static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
22045 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
22046}
22047static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
22048 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
22049}
22050static void *_p_wxSizerTo_p_wxObject(void *x) {
22051 return (void *)((wxObject *) ((wxSizer *) x));
22052}
22053static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
22054 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
22055}
22056static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
22057 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
22058}
22059static void *_p_wxPyPanelTo_p_wxObject(void *x) {
22060 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
22061}
22062static void *_p_wxEventTo_p_wxObject(void *x) {
22063 return (void *)((wxObject *) ((wxEvent *) x));
22064}
22065static void *_p_wxFontDataTo_p_wxObject(void *x) {
22066 return (void *)((wxObject *) ((wxFontData *) x));
22067}
22068static void *_p_wxPrintDataTo_p_wxObject(void *x) {
22069 return (void *)((wxObject *) ((wxPrintData *) x));
22070}
22071static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
22072 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
22073}
22074static void *_p_wxGridSizerTo_p_wxObject(void *x) {
22075 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
22076}
22077static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
22078 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
22079}
22080static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
22081 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
22082}
22083static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
22084 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
22085}
22086static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
22087 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
22088}
22089static void *_p_wxPaintEventTo_p_wxObject(void *x) {
22090 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
22091}
22092static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
22093 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
22094}
22095static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
22096 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
22097}
22098static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
22099 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
22100}
22101static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
22102 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
22103}
22104static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
22105 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
22106}
22107static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
22108 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22109}
22110static void *_p_wxControlTo_p_wxObject(void *x) {
22111 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
22112}
22113static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
22114 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
22115}
22116static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
22117 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
22118}
22119static void *_p_wxFSFileTo_p_wxObject(void *x) {
22120 return (void *)((wxObject *) ((wxFSFile *) x));
22121}
22122static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
22123 return (void *)((wxObject *) ((wxFindReplaceData *) x));
22124}
22125static void *_p_wxPySizerTo_p_wxObject(void *x) {
22126 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
22127}
22128static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
22129 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22130}
22131static void *_p_wxColourDataTo_p_wxObject(void *x) {
22132 return (void *)((wxObject *) ((wxColourData *) x));
22133}
22134static void *_p_wxPyEventTo_p_wxObject(void *x) {
22135 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
22136}
22137static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
22138 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
22139}
22140static void *_p_wxPyWindowTo_p_wxObject(void *x) {
22141 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
22142}
22143static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
22144 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22145}
22146static void *_p_wxFileDialogTo_p_wxObject(void *x) {
22147 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22148}
22149static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
22150 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22151}
22152static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
22153 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22154}
22155static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
22156 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22157}
22158static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
22159 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22160}
22161static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
22162 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22163}
22164static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
22165 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22166}
22167static void *_p_wxShowEventTo_p_wxObject(void *x) {
22168 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
22169}
22170static void *_p_wxPrinterTo_p_wxObject(void *x) {
22171 return (void *)((wxObject *) ((wxPrinter *) x));
22172}
22173static void *_p_wxMenuItemTo_p_wxObject(void *x) {
22174 return (void *)((wxObject *) ((wxMenuItem *) x));
22175}
22176static void *_p_wxIdleEventTo_p_wxObject(void *x) {
22177 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
22178}
22179static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
22180 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
22181}
22182static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
22183 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
22184}
22185static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
22186 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
22187}
22188static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
22189 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
22190}
22191static void *_p_wxSizeEventTo_p_wxObject(void *x) {
22192 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
22193}
22194static void *_p_wxMoveEventTo_p_wxObject(void *x) {
22195 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
22196}
22197static void *_p_wxActivateEventTo_p_wxObject(void *x) {
22198 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
22199}
22200static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
22201 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
22202}
22203static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
22204 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
22205}
22206static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
22207 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
22208}
22209static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
22210 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
22211}
22212static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
22213 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
22214}
22215static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
22216 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
22217}
22218static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
22219 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
22220}
22221static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
22222 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
22223}
22224static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
22225 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
22226}
22227static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
22228 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
22229}
22230static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
22231 return (void *)((wxObject *) ((wxImageHandler *) x));
22232}
22233static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
22234 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
22235}
22236static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
22237 return (void *)((wxObject *) ((wxEvtHandler *) x));
22238}
22239static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
22240 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
22241}
22242static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
22243 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22244}
22245static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
22246 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22247}
22248static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
22249 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
22250}
22251static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
22252 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22253}
22254static void *_p_wxImageTo_p_wxObject(void *x) {
22255 return (void *)((wxObject *) ((wxImage *) x));
22256}
22257static void *_p_wxFrameTo_p_wxObject(void *x) {
22258 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
22259}
22260static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
22261 return (void *)((wxObject *) ((wxPyPrintout *) x));
22262}
22263static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
22264 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
22265}
22266static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
22267 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
22268}
22269static void *_p_wxStatusBarTo_p_wxObject(void *x) {
22270 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
22271}
22272static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
22273 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22274}
22275static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
22276 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22277}
22278static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22279 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22280}
22281static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22282 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22283}
d14a1e28
RD
22284static void *_p_wxWindowTo_p_wxObject(void *x) {
22285 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22286}
22287static void *_p_wxMenuTo_p_wxObject(void *x) {
22288 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22289}
22290static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22291 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22292}
41f1cec7
RD
22293static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22294 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22295}
d14a1e28
RD
22296static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22297 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22298}
22299static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22300 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22301}
22302static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22303 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22304}
22305static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22306 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22307}
22308static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22309 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22310}
22311static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22312 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22313}
22314static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22315 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22316}
22317static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22318 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22319}
22320static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22321 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22322}
22323static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22324 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22325}
22326static void *_p_wxSashEventTo_p_wxObject(void *x) {
22327 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22328}
22329static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22330 return (void *)((wxObject *) ((wxPrintPreview *) x));
22331}
22332static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22333 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22334}
22335static void *_p_wxPanelTo_p_wxObject(void *x) {
22336 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22337}
22338static void *_p_wxDialogTo_p_wxObject(void *x) {
22339 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22340}
22341static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22342 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22343}
22344static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22345 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22346}
22347static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22348 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22349}
22350static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22351 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22352}
22353static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22354 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22355}
22356static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22357 return (void *)((wxObject *) ((wxFileSystem *) x));
22358}
22359static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22360 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22361}
22362static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22363 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22364}
22365static void *_p_wxPyAppTo_p_wxObject(void *x) {
22366 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22367}
22368static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22369 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22370}
22371static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22372 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22373}
22374static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22375 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22376}
22377static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22378 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22379}
22380static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22381 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22382}
22383static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22384 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22385}
22386static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22387 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22388}
22389static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22390 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22391}
22392static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22393 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22394}
22395static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22396 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22397}
22398static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22399 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22400}
22401static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22402 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22403}
22404static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22405 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22406}
22407static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22408 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22409}
22410static void *_p_wxValidatorTo_p_wxObject(void *x) {
22411 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22412}
22413static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22414 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22415}
22416static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22417 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22418}
22419static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22420 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22421}
22422static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22423 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22424}
22425static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22426 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22427}
22428static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22429 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22430}
22431static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22432 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22433}
22434static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22435 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22436}
22437static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22438 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22439}
22440static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22441 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22442}
22443static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22444 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22445}
22446static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22447 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22448}
22449static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22450 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22451}
22452static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22453 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22454}
22455static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22456 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22457}
22458static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22459 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22460}
22461static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22462 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22463}
22464static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22465 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22466}
22467static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22468 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22469}
22470static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22471 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22472}
22473static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22474 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22475}
22476static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22477 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22478}
22479static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22480 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22481}
22482static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22483 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22484}
22485static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22486 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22487}
22488static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22489 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22490}
22491static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22492 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22493}
22494static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22495 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22496}
22497static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22498 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22499}
22500static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22501 return (void *)((wxWindow *) ((wxMenuBar *) x));
22502}
22503static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22504 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22505}
22506static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22507 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22508}
22509static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22510 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22511}
22512static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22513 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22514}
22515static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22516 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22517}
22518static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22519 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22520}
22521static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22522 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22523}
22524static void *_p_wxPanelTo_p_wxWindow(void *x) {
22525 return (void *)((wxWindow *) ((wxPanel *) x));
22526}
22527static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22528 return (void *)((wxWindow *) ((wxStatusBar *) x));
22529}
22530static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22531 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22532}
22533static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22534 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22535}
22536static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22537 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22538}
22539static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22540 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22541}
22542static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22543 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22544}
22545static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22546 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22547}
22548static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22549 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22550}
22551static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22552 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22553}
22554static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22555 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22556}
22557static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22558 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22559}
22560static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22561 return (void *)((wxWindow *) ((wxSashWindow *) x));
22562}
22563static void *_p_wxControlTo_p_wxWindow(void *x) {
22564 return (void *)((wxWindow *) ((wxControl *) x));
22565}
22566static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22567 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22568}
22569static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22570 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22571}
22572static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22573 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22574}
22575static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22576 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22577}
22578static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22579 return (void *)((wxWindow *) ((wxPyWindow *) x));
22580}
22581static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22582 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22583}
22584static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22585 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22586}
22587static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22588 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22589}
22590static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22591 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22592}
22593static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22594 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22595}
22596static void *_p_wxFrameTo_p_wxWindow(void *x) {
22597 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22598}
22599static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22600 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22601}
22602static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22603 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22604}
22605static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22606 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22607}
22608static void *_p_wxDialogTo_p_wxWindow(void *x) {
22609 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22610}
22611static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22612 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22613}
22614static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22615 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22616}
22617static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22618 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22619}
22620static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22621 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22622}
22623static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22624 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22625}
22626static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22627 return (void *)((wxDialog *) ((wxColourDialog *) x));
22628}
22629static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22630 return (void *)((wxDialog *) ((wxDirDialog *) x));
22631}
22632static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22633 return (void *)((wxDialog *) ((wxFontDialog *) x));
22634}
22635static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22636 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22637}
22638static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22639 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22640}
22641static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22642 return (void *)((wxDialog *) ((wxFileDialog *) x));
22643}
22644static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22645 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22646}
22647static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22648 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22649}
22650static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22651 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22652}
22653static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22654 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22655}
22656static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22657 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22658}
22659static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22660 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22661}
22662static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22663 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22664}
22665static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22666 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22667}
22668static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22669 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22670}
22671static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22672 return (void *)((wxPanel *) ((wxPyPanel *) x));
22673}
22674static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22675 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22676}
22677static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22678 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22679}
22680static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22681 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22682}
22683static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22684 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22685}
22686static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22687 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22688}
22689static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22690 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22691}
22692static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22693 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22694}
22695static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22696 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22697}
22698static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22699 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22700}
22701static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22702 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22703}
22704static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22705 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22706}
22707static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22708 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22709}
22710static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22711 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22712}
22713static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22714 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22715}
22716static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22717 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22718}
22719static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22720static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22721static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
d14a1e28
RD
22722static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22723static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22724static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22725static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22726static 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}};
22727static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22728static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22729static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22730static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22731static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22732static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22733static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22734static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22735static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22736static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22737static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22738static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22739static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22740static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22741static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22742static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22743static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22744static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22745static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22746static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22747static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22748static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22749static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22750static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22751static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22752static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
d14a1e28
RD
22753static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22754static 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}};
22755static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22756static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22757static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22758static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
d14a1e28
RD
22759static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22760static 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}};
22761static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22762static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22763static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22764static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22765static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22766static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22767static 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}};
22768static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22769static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22770static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22771static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22772static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
d14a1e28
RD
22773static 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}};
22774static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22775static 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}};
22776static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22777static 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}};
22778static 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}};
22779static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
41f1cec7 22780static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
d14a1e28
RD
22781static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22782static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22783static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22784static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22785static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
41f1cec7 22786static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
d14a1e28
RD
22787static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22788static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22789static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22790static 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}};
22791static 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
22792static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22793static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22794static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{0}};
d14a1e28
RD
22795static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22796static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22797static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22798static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
d14a1e28 22799static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
d03fd34d 22800static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
d14a1e28
RD
22801
22802static swig_type_info *swig_types_initial[] = {
22803_swigt__p_wxQueryLayoutInfoEvent,
22804_swigt__p_wxPreviewFrame,
22805_swigt__p_wxPyPreviewFrame,
d14a1e28
RD
22806_swigt__p_wxPyPanel,
22807_swigt__p_wxMenu,
22808_swigt__p_wxPrintData,
22809_swigt__p_wxFontData,
22810_swigt__p_wxEvent,
22811_swigt__p_wxTaskBarIcon,
22812_swigt__p_wxIconBundle,
22813_swigt__p_wxLayoutAlgorithm,
22814_swigt__p_wxFindDialogEvent,
22815_swigt__p_wxPreviewCanvas,
22816_swigt__p_wxFont,
22817_swigt__p_wxSplitterEvent,
22818_swigt__p_wxRegion,
22819_swigt__p_wxFindReplaceData,
22820_swigt__p_int,
22821_swigt__p_wxSize,
22822_swigt__p_wxDC,
22823_swigt__p_wxIcon,
22824_swigt__p_wxMDIChildFrame,
22825_swigt__p_wxColourData,
22826_swigt__p_wxNotifyEvent,
22827_swigt__p_wxPyWindow,
22828_swigt__p_wxSplashScreen,
22829_swigt__p_wxFindReplaceDialog,
22830_swigt__p_wxProgressDialog,
22831_swigt__p_wxMessageDialog,
22832_swigt__p_wxTextEntryDialog,
22833_swigt__p_wxSingleChoiceDialog,
22834_swigt__p_wxMultiChoiceDialog,
22835_swigt__p_wxFileDialog,
22836_swigt__p_wxPrinter,
d14a1e28
RD
22837_swigt__p_wxArrayInt,
22838_swigt__p_wxEvtHandler,
22839_swigt__p_wxCalculateLayoutEvent,
22840_swigt__p_wxPyHtmlListBox,
22841_swigt__p_wxPyVListBox,
22842_swigt__p_wxRect,
d14a1e28
RD
22843_swigt__p_wxMiniFrame,
22844_swigt__p_wxFrame,
22845_swigt__p_wxPyPrintout,
22846_swigt__p_wxTaskBarIconEvent,
22847_swigt__p_wxScrollWinEvent,
22848_swigt__p_wxStatusBar,
22849_swigt__p_wxMDIParentFrame,
22850_swigt__p_wxPoint,
22851_swigt__p_wxObject,
22852_swigt__p_unsigned_long,
22853_swigt__p_wxMDIClientWindow,
22854_swigt__p_wxTipWindow,
22855_swigt__p_wxSashLayoutWindow,
22856_swigt__p_wxSplitterWindow,
d14a1e28
RD
22857_swigt__p_wxPyVScrolledWindow,
22858_swigt__p_wxPyPopupTransientWindow,
22859_swigt__p_wxPopupWindow,
22860_swigt__p_wxSashWindow,
22861_swigt__p_wxTopLevelWindow,
22862_swigt__p_wxWindow,
22863_swigt__p_wxScrolledWindow,
41f1cec7 22864_swigt__p_wxSplashScreenWindow,
d14a1e28
RD
22865_swigt__p_wxMenuBar,
22866_swigt__p_wxPrintPreview,
22867_swigt__p_wxSashEvent,
22868_swigt__p_wxString,
22869_swigt__p_wxPyPrintPreview,
41f1cec7 22870_swigt__p_wxPageSetupDialog,
d14a1e28
RD
22871_swigt__p_wxFontDialog,
22872_swigt__p_wxDirDialog,
22873_swigt__p_wxColourDialog,
22874_swigt__p_wxDialog,
22875_swigt__p_wxPanel,
d14a1e28
RD
22876_swigt__p_wxPrintDialog,
22877_swigt__p_wxBitmap,
22878_swigt__p_wxCommandEvent,
d14a1e28
RD
22879_swigt__p_wxPreviewControlBar,
22880_swigt__p_wxPyPreviewControlBar,
22881_swigt__p_wxColour,
22882_swigt__p_wxToolBar,
d14a1e28 22883_swigt__p_wxPrintDialogData,
d03fd34d 22884_swigt__p_wxPageSetupDialogData,
d14a1e28
RD
228850
22886};
22887
22888
22889/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22890
22891static swig_const_info swig_const_table[] = {
22892{ SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22893{ SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22894{ SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22895{ SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22896{ SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22897{ SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22898{ SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22899{ SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22900{ SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22901{ SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22902{ SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22903{ SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22904{ SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22905{ SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22906{ SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22907{ SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22908{ SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22909{ SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22910{ SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22911{ SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22912{ SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22913{ SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22914{ SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22915{ SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22916{ SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22917{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22918{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22919{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22920{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22921{ SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22922{ SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22923{ SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22924{ SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22925{ SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22926{ SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22927{ SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22928{ SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22929{ SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22930{ SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22931{ SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22932{ SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22933{ SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22934{ SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22935{ SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22936{ SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22937{ SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22938{ SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22939{ SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22940{ SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22941{ SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22942{ SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22943{ SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22944{ SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22945{ SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22946{ SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22947{ SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22948{ SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22949{ SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22950{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22951{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22952{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22953{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22954{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22955{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22956{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22957{ SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22958{ SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22959{ SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22960{ SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22961{ SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22962{ SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22963{ SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22964{ SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22965{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22966{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22967{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22968{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22969{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22970{ SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22971{ SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22972{ SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22973{ SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22974{ SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22975{ SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22976{ SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22977{ SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22978{ SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22979{ SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22980{ SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22981{ SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22982{ SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22983{ SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22984{ SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22985{ SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22986{ SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22987{ SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22988{ SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22989{ SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22990{ SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22991{ SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22992{ SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22993{ SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22994{ SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22995{ SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22996{ SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22997{ SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22998{ SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22999{ SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
23000{ SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
23001{0}};
23002
23003#ifdef __cplusplus
23004}
23005#endif
23006
23007#ifdef __cplusplus
23008extern "C"
23009#endif
23010SWIGEXPORT(void) SWIG_init(void) {
23011 static PyObject *SWIG_globals = 0;
23012 static int typeinit = 0;
23013 PyObject *m, *d;
23014 int i;
23015 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
23016 m = Py_InitModule((char *) SWIG_name, SwigMethods);
23017 d = PyModule_GetDict(m);
23018
23019 if (!typeinit) {
23020 for (i = 0; swig_types_initial[i]; i++) {
23021 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
23022 }
23023 typeinit = 1;
23024 }
23025 SWIG_InstallConstants(d,swig_const_table);
23026
d03fd34d
RD
23027 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
23028 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
23029 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
23030 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
23031 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
23032 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
d14a1e28
RD
23033 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
23034 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
23035 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
23036 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
d03fd34d
RD
23037 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
23038 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
d14a1e28
RD
23039 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
23040 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
23041 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
d03fd34d 23042 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
d14a1e28
RD
23043
23044 // Map renamed classes back to their common name for OOR
23045 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
23046 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
23047 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
23048
23049 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
23050 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
23051 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
23052 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
23053 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
23054 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
23055 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
d03fd34d
RD
23056 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
23057 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
23058 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
23059 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
23060 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
23061 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
d14a1e28
RD
23062 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
23063 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
23064 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
23065 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
23066 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
d03fd34d
RD
23067 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
23068 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
d14a1e28
RD
23069
23070 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
23071
23072}
23073