]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/msw/windows_wrap.cpp
Applied patch [ 845171 ] Use transparancy mask in wxBitmapShape
[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
f0983263
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
d14a1e28
RD
50
51/***********************************************************************
52 * common.swg for wxPython
53 *
54 * Include only the function prototypes and such from SWIG's common.swg,
55 * but not the runtime functions themselves. This helps keep the
56 * wrapper files clean of unnecessary stuff that is in the libpy.c file
57 * anyway.
58 *
59 ************************************************************************/
60
61#include <string.h>
62
f0983263
RD
63#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
64# if defined(_MSC_VER) || defined(__GNUC__)
65# if defined(STATIC_LINKED)
66# define SWIGEXPORT(a) a
67# define SWIGIMPORT(a) extern a
68# else
69# define SWIGEXPORT(a) __declspec(dllexport) a
70# define SWIGIMPORT(a) extern a
71# endif
72# else
73# if defined(__BORLANDC__)
74# define SWIGEXPORT(a) a _export
75# define SWIGIMPORT(a) a _export
76# else
77# define SWIGEXPORT(a) a
78# define SWIGIMPORT(a) a
79# endif
80# endif
d14a1e28 81#else
f0983263
RD
82# define SWIGEXPORT(a) a
83# define SWIGIMPORT(a) a
d14a1e28
RD
84#endif
85
86#ifdef SWIG_GLOBAL
f0983263 87# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 88#else
f0983263 89# define SWIGRUNTIME(a) static a
d14a1e28
RD
90#endif
91
d14a1e28
RD
92#ifdef __cplusplus
93extern "C" {
94#endif
95
96typedef void *(*swig_converter_func)(void *);
97typedef struct swig_type_info *(*swig_dycast_func)(void **);
98
99typedef struct swig_type_info {
f0983263 100 const char *name;
d14a1e28
RD
101 swig_converter_func converter;
102 const char *str;
f0983263 103 void *clientdata;
d14a1e28
RD
104 swig_dycast_func dcast;
105 struct swig_type_info *next;
106 struct swig_type_info *prev;
107} swig_type_info;
108
109
110SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
111SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
112SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
113SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
114SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
115SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
116SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
f0983263
RD
117SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
118SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
119
120
121#ifdef __cplusplus
122}
423f194a 123
d14a1e28
RD
124#endif
125
f0983263 126
d14a1e28
RD
127/***********************************************************************
128 * pyrun.swg for wxPython
129 *
130 * Include only the function prototypes and such from SWIG's pyrun.swg,
131 * but not the runtime functions themselves. This helps keep the
132 * wrapper files clean of unnecessary stuff that is in the libpy.c file
133 * anyway.
134 *
135 ************************************************************************/
136
d14a1e28
RD
137#include "Python.h"
138
139#ifdef __cplusplus
140extern "C" {
141#endif
142
143#define SWIG_PY_INT 1
144#define SWIG_PY_FLOAT 2
145#define SWIG_PY_STRING 3
146#define SWIG_PY_POINTER 4
147#define SWIG_PY_BINARY 5
148
149/* Flags for pointer conversion */
150
151#define SWIG_POINTER_EXCEPTION 0x1
152#define SWIG_POINTER_DISOWN 0x2
153
154/* Exception handling in wrappers */
155#define SWIG_fail goto fail
156
157/* Constant information structure */
158typedef struct swig_const_info {
159 int type;
160 char *name;
161 long lvalue;
162 double dvalue;
163 void *pvalue;
164 swig_type_info **ptype;
165} swig_const_info;
166
d14a1e28
RD
167/* Common SWIG API */
168#define SWIG_ConvertPtr(obj, pp, type, flags) \
169 SWIG_Python_ConvertPtr(obj, pp, type, flags)
170#define SWIG_NewPointerObj(p, type, flags) \
171 SWIG_Python_NewPointerObj(p, type, flags)
172#define SWIG_MustGetPtr(p, type, argnum, flags) \
173 SWIG_Python_MustGetPtr(p, type, argnum, flags)
174
175/* Python-specific SWIG API */
176#define SWIG_newvarlink() \
177 SWIG_Python_newvarlink()
178#define SWIG_addvarlink(p, name, get_attr, set_attr) \
179 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
180#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
181 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
182#define SWIG_NewPackedObj(ptr, sz, type) \
183 SWIG_Python_NewPackedObj(ptr, sz, type)
184#define SWIG_InstallConstants(d, constants) \
185 SWIG_Python_InstallConstants(d, constants)
186
187
f0983263
RD
188SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
189SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
190SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
191SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
192SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
193SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
194SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
195SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 196
d14a1e28
RD
197
198
199/* Contract support */
200
423f194a 201#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 202
d14a1e28
RD
203#ifdef __cplusplus
204}
205#endif
206
207
208
209/* -------- TYPES TABLE (BEGIN) -------- */
210
211#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
212#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
213#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
41f1cec7
RD
214#define SWIGTYPE_p_wxPyPanel swig_types[3]
215#define SWIGTYPE_p_wxMenu swig_types[4]
216#define SWIGTYPE_p_wxPrintData swig_types[5]
217#define SWIGTYPE_p_wxFontData swig_types[6]
218#define SWIGTYPE_p_wxEvent swig_types[7]
219#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
220#define SWIGTYPE_p_wxIconBundle swig_types[9]
221#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
222#define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
223#define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
224#define SWIGTYPE_p_wxFont swig_types[13]
225#define SWIGTYPE_p_wxSplitterEvent swig_types[14]
226#define SWIGTYPE_p_wxRegion swig_types[15]
227#define SWIGTYPE_p_wxFindReplaceData swig_types[16]
228#define SWIGTYPE_p_int swig_types[17]
229#define SWIGTYPE_p_wxSize swig_types[18]
230#define SWIGTYPE_p_wxDC swig_types[19]
231#define SWIGTYPE_p_wxIcon swig_types[20]
232#define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
233#define SWIGTYPE_p_wxColourData swig_types[22]
234#define SWIGTYPE_p_wxNotifyEvent swig_types[23]
235#define SWIGTYPE_p_wxPyWindow swig_types[24]
236#define SWIGTYPE_p_wxSplashScreen swig_types[25]
237#define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
238#define SWIGTYPE_p_wxProgressDialog swig_types[27]
239#define SWIGTYPE_p_wxMessageDialog swig_types[28]
240#define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
241#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
242#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
243#define SWIGTYPE_p_wxFileDialog swig_types[32]
244#define SWIGTYPE_p_wxPrinter swig_types[33]
245#define SWIGTYPE_p_wxArrayInt swig_types[34]
246#define SWIGTYPE_p_wxEvtHandler swig_types[35]
247#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
248#define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
249#define SWIGTYPE_p_wxPyVListBox swig_types[38]
250#define SWIGTYPE_p_wxRect swig_types[39]
251#define SWIGTYPE_p_wxMiniFrame swig_types[40]
252#define SWIGTYPE_p_wxFrame swig_types[41]
253#define SWIGTYPE_p_wxPyPrintout swig_types[42]
254#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
255#define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
256#define SWIGTYPE_p_wxStatusBar swig_types[45]
257#define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
258#define SWIGTYPE_p_wxPoint swig_types[47]
259#define SWIGTYPE_p_wxObject swig_types[48]
260#define SWIGTYPE_p_unsigned_long swig_types[49]
261#define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
262#define SWIGTYPE_p_wxTipWindow swig_types[51]
263#define SWIGTYPE_p_wxSashLayoutWindow swig_types[52]
264#define SWIGTYPE_p_wxSplitterWindow swig_types[53]
265#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[54]
266#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[55]
267#define SWIGTYPE_p_wxPopupWindow swig_types[56]
268#define SWIGTYPE_p_wxSashWindow swig_types[57]
269#define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
270#define SWIGTYPE_p_wxWindow swig_types[59]
271#define SWIGTYPE_p_wxScrolledWindow swig_types[60]
272#define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
273#define SWIGTYPE_p_wxMenuBar swig_types[62]
274#define SWIGTYPE_p_wxPrintPreview swig_types[63]
275#define SWIGTYPE_p_wxSashEvent swig_types[64]
276#define SWIGTYPE_p_wxString swig_types[65]
277#define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
278#define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
279#define SWIGTYPE_p_wxFontDialog swig_types[68]
280#define SWIGTYPE_p_wxDirDialog swig_types[69]
281#define SWIGTYPE_p_wxColourDialog swig_types[70]
282#define SWIGTYPE_p_wxDialog swig_types[71]
283#define SWIGTYPE_p_wxPanel swig_types[72]
284#define SWIGTYPE_p_wxPrintDialog swig_types[73]
285#define SWIGTYPE_p_wxBitmap swig_types[74]
286#define SWIGTYPE_p_wxCommandEvent swig_types[75]
287#define SWIGTYPE_p_wxPrintQuality swig_types[76]
288#define SWIGTYPE_p_wxPreviewControlBar swig_types[77]
289#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[78]
290#define SWIGTYPE_p_wxColour swig_types[79]
291#define SWIGTYPE_p_wxToolBar swig_types[80]
292#define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
293#define SWIGTYPE_p_wxPrintDialogData swig_types[82]
294static swig_type_info *swig_types[84];
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
309 DECLARE_DEF_STRING(PanelNameStr);
310 DECLARE_DEF_STRING(EmptyString);
311
312
313
314
315
316static PyObject* t_output_helper(PyObject* target, PyObject* o) {
317 PyObject* o2;
318 PyObject* o3;
319
320 if (!target) {
321 target = o;
322 } else if (target == Py_None) {
323 Py_DECREF(Py_None);
324 target = o;
325 } else {
326 if (!PyTuple_Check(target)) {
327 o2 = target;
328 target = PyTuple_New(1);
329 PyTuple_SetItem(target, 0, o2);
330 }
331 o3 = PyTuple_New(1);
332 PyTuple_SetItem(o3, 0, o);
333
334 o2 = target;
335 target = PySequence_Concat(o2, o3);
336 Py_DECREF(o2);
337 Py_DECREF(o3);
338 }
339 return target;
340}
341
342
343 // Put some wx default wxChar* values into wxStrings.
344 DECLARE_DEF_STRING(FrameNameStr);
345 DECLARE_DEF_STRING(DialogNameStr);
346 DECLARE_DEF_STRING(StatusLineNameStr);
347 DECLARE_DEF_STRING(ToolBarNameStr);
348
349bool wxDialog_IsModalShowing(wxDialog *self){
350
351
352
353 return self->IsModalShowing();
354
355 }
356
357
44127b65
RD
358wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
359 wxRect r;
360 self->GetFieldRect(i, r);
361 return r;
362 }
d14a1e28
RD
363
364 static const wxChar* wxSplitterNameStr = wxT("splitter");
365 DECLARE_DEF_STRING(SplitterNameStr);
366
367
368 static const wxChar* wxSashNameStr = wxT("sashWindow");
369 DECLARE_DEF_STRING(SashNameStr);
370 static const wxChar* wxSashLayoutNameStr = wxT("layoutWindow");
371 DECLARE_DEF_STRING(SashLayoutNameStr);
372
373
374#include <wx/popupwin.h>
375
376
377class wxPyPopupTransientWindow : public wxPopupTransientWindow
378{
379public:
380 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
381 wxPyPopupTransientWindow(wxWindow* parent, int style = wxBORDER_NONE)
382 : wxPopupTransientWindow(parent, style) {}
383
384 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown);
385 DEC_PYCALLBACK__(OnDismiss);
386 DEC_PYCALLBACK_BOOL_(CanDismiss);
387 PYPRIVATE;
388};
389
390
391IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow, wxPopupTransientWindow, ProcessLeftDown);
392IMP_PYCALLBACK__(wxPyPopupTransientWindow, wxPopupTransientWindow, OnDismiss);
393IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow, wxPopupTransientWindow, CanDismiss);
394
395
396#include <wx/tipwin.h>
397
8a0b029b
RD
398wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
399 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
d14a1e28
RD
400 }
401
402#include <wx/tipwin.h>
403
404
405#include <wx/vscroll.h>
406
407
408class wxPyVScrolledWindow : public wxVScrolledWindow
409{
410 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
411public:
412 wxPyVScrolledWindow() : wxVScrolledWindow() {}
413
414 wxPyVScrolledWindow(wxWindow *parent,
415 wxWindowID id = wxID_ANY,
416 const wxPoint& pos = wxDefaultPosition,
417 const wxSize& size = wxDefaultSize,
418 long style = 0,
419 const wxString& name = wxPyPanelNameStr)
420 : wxVScrolledWindow(parent, id, pos, size, style, name)
421 {}
422
423 // Overridable virtuals
424
425 // this function must be overridden in the derived class and it should
426 // return the height of the given line in pixels
427 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
428
429
430 // this function doesn't have to be overridden but it may be useful to do
431 // it if calculating the lines heights is a relatively expensive operation
432 // as it gives the user code a possibility to calculate several of them at
433 // once
434 //
435 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
436 // shouldn't rely on the latter being called for all lines in the interval
437 // specified here. It is also possible that OnGetLineHeight() will be
438 // called for the lines outside of this interval, so this is really just a
439 // hint, not a promise.
440 //
441 // finally note that lineMin is inclusive, while lineMax is exclusive, as
442 // usual
443 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
444
445
446 // when the number of lines changes, we try to estimate the total height
447 // of all lines which is a rather expensive operation in terms of lines
448 // access, so if the user code may estimate the average height
449 // better/faster than we do, it should override this function to implement
450 // its own logic
451 //
452 // this function should return the best guess for the total height it may
453 // make
454 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
455
456
457 // Also expose some other interesting protected methods
458
459
460 // find the index of the line we need to show at the top of the window such
461 // that the last (fully or partially) visible line is the given one
423f194a 462 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
d14a1e28
RD
463 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
464
465 // get the total height of the lines between lineMin (inclusive) and
466 // lineMax (exclusive)
467 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
468 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
469
470
471 PYPRIVATE;
472};
473
474IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
475
476IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
477IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
478IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
479
480
481#include <wx/vlbox.h>
482DECLARE_DEF_STRING(VListBoxNameStr);
483
484
485class wxPyVListBox : public wxVListBox
486{
487 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
488public:
489 wxPyVListBox() : wxVListBox() {}
490
491 wxPyVListBox(wxWindow *parent,
492 wxWindowID id = wxID_ANY,
493 const wxPoint& pos = wxDefaultPosition,
494 const wxSize& size = wxDefaultSize,
495 long style = 0,
496 const wxString& name = wxPyVListBoxNameStr)
497 : wxVListBox(parent, id, pos, size, style, name)
498 {}
499
500 // Overridable virtuals
501
502 // the derived class must implement this function to actually draw the item
503 // with the given index on the provided DC
504 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
505 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
506
507
508 // the derived class must implement this method to return the height of the
509 // specified item
510 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
511 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
512
513
514 // this method may be used to draw separators between the lines; note that
515 // the rectangle may be modified, typically to deflate it a bit before
516 // passing to OnDrawItem()
517 //
518 // the base class version doesn't do anything
519 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
520 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
521
522
523 // this method is used to draw the items background and, maybe, a border
524 // around it
525 //
526 // the base class version implements a reasonable default behaviour which
527 // consists in drawing the selected item with the standard background
528 // colour and drawing a border around the item if it is either selected or
529 // current
530 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
531 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
532
533
534 PYPRIVATE;
535};
536
537IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
538
539IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
540IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
541IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
542IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
543
544
545
546#include <wx/htmllbox.h>
547
548
549class wxPyHtmlListBox : public wxHtmlListBox
550{
551 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
552public:
553 wxPyHtmlListBox() : wxHtmlListBox() {}
554
555 wxPyHtmlListBox(wxWindow *parent,
556 wxWindowID id = wxID_ANY,
557 const wxPoint& pos = wxDefaultPosition,
558 const wxSize& size = wxDefaultSize,
559 long style = 0,
560 const wxString& name = wxPyVListBoxNameStr)
561 : wxHtmlListBox(parent, id, pos, size, style, name)
562 {}
563
564 // Overridable virtuals
565
566 // this method must be implemented in the derived class and should return
567 // the body (i.e. without <html>) of the HTML for the given item
568 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
569
570 // this function may be overridden to decorate HTML returned by OnGetItem()
571 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
572
573// TODO:
574// // this method allows to customize the selection appearance: it may be used
575// // to specify the colour of the text which normally has the given colour
576// // colFg when it is inside the selection
577// //
578// // by default, the original colour is not used at all and all text has the
579// // same (default for this system) colour inside selection
580// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
581
582// // this is the same as GetSelectedTextColour() but allows to customize the
583// // background colour -- this is even more rarely used as you can change it
584// // globally using SetSelectionBackground()
585// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
586
587
588 PYPRIVATE;
589};
590
591
592IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
593
594IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
595IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
596
597
598
599
600
601#ifdef __WXMAC__
602// implement dummy classes and such for wxMac
603
604class wxTaskBarIcon : public wxEvtHandler
605{
606public:
607 wxTaskBarIcon() { PyErr_SetNone(PyExc_NotImplementedError); }
608};
609
610
611class wxTaskBarIconEvent : public wxEvent
612{
613public:
614 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
615 { PyErr_SetNone(PyExc_NotImplementedError); }
616 virtual wxEvent* Clone() const { return NULL; }
617};
618
619enum {
620 wxEVT_TASKBAR_MOVE = 0,
621 wxEVT_TASKBAR_LEFT_DOWN = 0,
622 wxEVT_TASKBAR_LEFT_UP = 0,
623 wxEVT_TASKBAR_RIGHT_DOWN = 0,
624 wxEVT_TASKBAR_RIGHT_UP = 0,
625 wxEVT_TASKBAR_LEFT_DCLICK = 0,
626 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
627};
628#endif
629
630
631
632 DECLARE_DEF_STRING(FileSelectorPromptStr);
633 DECLARE_DEF_STRING(DirSelectorPromptStr);
634 DECLARE_DEF_STRING(DirDialogNameStr);
635 DECLARE_DEF_STRING(FileSelectorDefaultWildcardStr);
636 DECLARE_DEF_STRING(GetTextFromUserPromptStr);
637 DECLARE_DEF_STRING(MessageBoxCaptionStr);
638
639
640PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
641 wxArrayString arr;
642 self->GetFilenames(arr);
643 return wxArrayString2PyList_helper(arr);
644 }
645PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
646 wxArrayString arr;
647 self->GetPaths(arr);
648 return wxArrayString2PyList_helper(arr);
649 }
650PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
651 return wxArrayInt2PyList_helper(self->GetSelections());
652 }
653wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
654 return new wxSingleChoiceDialog(parent, message, caption,
655 choices, choices_array, NULL, style, pos);
656 }
657
658#include <wx/mdi.h>
659
660 // C++ version of Python aware wxWindow
661class wxPyWindow : public wxWindow
662{
663 DECLARE_DYNAMIC_CLASS(wxPyWindow)
664public:
665 wxPyWindow() : wxWindow() {}
666 wxPyWindow(wxWindow* parent, const wxWindowID id,
667 const wxPoint& pos = wxDefaultPosition,
668 const wxSize& size = wxDefaultSize,
669 long style = 0,
670 const wxString& name = wxPyPanelNameStr)
671 : wxWindow(parent, id, pos, size, style, name) {}
672
673
674 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
675 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
676 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
677 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
678
679 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
680 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
681 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
682
683 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
684 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
685
686 DEC_PYCALLBACK__(InitDialog);
687 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
688 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
689 DEC_PYCALLBACK_BOOL_(Validate);
690
691 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
692 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
693 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
694
695 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
696 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
697
698 PYPRIVATE;
699};
700
701IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
702
703IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
704IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
705IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
706IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
707
708IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
709IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
710IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
711
712IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
713IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
714
715IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
716IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
717IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
718IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
719
720IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
721IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
722IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
723
724IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
725IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
726
727
728 // C++ version of Python aware wxPanel
729class wxPyPanel : public wxPanel
730{
731 DECLARE_DYNAMIC_CLASS(wxPyPanel)
732public:
733 wxPyPanel() : wxPanel() {}
734 wxPyPanel(wxWindow* parent, const wxWindowID id,
735 const wxPoint& pos = wxDefaultPosition,
736 const wxSize& size = wxDefaultSize,
737 long style = 0,
738 const wxString& name = wxPyPanelNameStr)
739 : wxPanel(parent, id, pos, size, style, name) {}
740
741
742 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
743 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
744 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
745 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
746
747 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
748 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
749 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
750
751 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
752 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
753
754 DEC_PYCALLBACK__(InitDialog);
755 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
756 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
757 DEC_PYCALLBACK_BOOL_(Validate);
758
759 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
760 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
761 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
762
763 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
764 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
765
766 PYPRIVATE;
767};
768
769IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
770
771IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
772IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
773IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
774IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
775
776IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
777IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
778IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
779
780IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
781IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
782
783IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
784IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
785IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
786IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
787
788IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
789IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
790IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
791
792IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
793IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
794
795
796
797#include "wx/wxPython/printfw.h"
798
799 static const wxChar* wxPrintoutTitleStr = wxT("Printout");
800 DECLARE_DEF_STRING(PrintoutTitleStr);
801 static const wxChar* wxPreviewCanvasNameStr = wxT("previewcanvas");
802 DECLARE_DEF_STRING(PreviewCanvasNameStr);
803
804
805
806
807
808// Since this one would be tough and ugly to do with the Macros...
809void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
423f194a 810 bool hadErr = False;
d14a1e28
RD
811 bool found;
812
813 wxPyBeginBlockThreads();
814 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
815 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
816 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
817 PyObject* val;
818
819 val = PyTuple_GetItem(result, 0);
820 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
423f194a 821 else hadErr = True;
d14a1e28
RD
822
823 val = PyTuple_GetItem(result, 1);
824 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
423f194a 825 else hadErr = True;
d14a1e28
RD
826
827 val = PyTuple_GetItem(result, 2);
828 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
423f194a 829 else hadErr = True;
d14a1e28
RD
830
831 val = PyTuple_GetItem(result, 3);
832 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
423f194a 833 else hadErr = True;
d14a1e28
RD
834 }
835 else
423f194a 836 hadErr = True;
d14a1e28
RD
837
838 if (hadErr) {
839 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
840 PyErr_Print();
841 }
842 Py_DECREF(result);
843 }
844 wxPyEndBlockThreads();
845 if (! found)
846 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
847}
848
849void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
850 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
851}
852
853
854IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
855IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
856IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
857IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
858IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
859IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
860IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
861
862
863
864
865
866#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
867 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
868 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
869
870
871#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
872 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
423f194a 873 bool rval=False; \
d14a1e28
RD
874 bool found; \
875 wxPyBeginBlockThreads(); \
876 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
877 PyObject* win = wxPyMake_wxObject(a); \
878 PyObject* dc = wxPyMake_wxObject(&b); \
879 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
880 Py_DECREF(win); \
881 Py_DECREF(dc); \
882 } \
883 wxPyEndBlockThreads(); \
884 if (! found) \
885 rval = PCLASS::CBNAME(a, b); \
886 return rval; \
887 } \
888 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
889 return PCLASS::CBNAME(a, b); \
890 }
891
892
893
894
895class wxPyPrintPreview : public wxPrintPreview
896{
897 DECLARE_CLASS(wxPyPrintPreview)
898public:
899 wxPyPrintPreview(wxPyPrintout* printout,
900 wxPyPrintout* printoutForPrinting,
901 wxPrintData* data=NULL)
902 : wxPrintPreview(printout, printoutForPrinting, data)
903 {}
904
905 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
906 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
907 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
908 DEC_PYCALLBACK_BOOL_INT(RenderPage);
909 DEC_PYCALLBACK_VOID_INT(SetZoom);
910 DEC_PYCALLBACK_BOOL_BOOL(Print);
911 DEC_PYCALLBACK_VOID_(DetermineScaling);
912
913 PYPRIVATE;
914};
915
916// Stupid renamed classes... Fix this in 2.5...
917#if defined(__WXMSW__)
918IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
919#elif defined(__WXMAC__)
920IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
921#else
922IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
923#endif
924
925IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
926IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
927IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
928IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
929IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
930IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
931IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
932
933
934class wxPyPreviewFrame : public wxPreviewFrame
935{
936 DECLARE_CLASS(wxPyPreviewFrame);
937public:
938 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
939 const wxString& title,
940 const wxPoint& pos = wxDefaultPosition,
941 const wxSize& size = wxDefaultSize,
942 long style = wxDEFAULT_FRAME_STYLE,
943 const wxString& name = wxPyFrameNameStr)
944 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
945 {}
946
947 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
948 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
949
950 DEC_PYCALLBACK_VOID_(Initialize);
951 DEC_PYCALLBACK_VOID_(CreateCanvas);
952 DEC_PYCALLBACK_VOID_(CreateControlBar);
953
954 PYPRIVATE;
955};
956
957IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
958
959IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
960IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
961IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
962
963
964class wxPyPreviewControlBar : public wxPreviewControlBar
965{
966 DECLARE_CLASS(wxPyPreviewControlBar);
967public:
968 wxPyPreviewControlBar(wxPrintPreview *preview,
969 long buttons,
970 wxWindow *parent,
971 const wxPoint& pos = wxDefaultPosition,
972 const wxSize& size = wxDefaultSize,
973 long style = 0,
974 const wxString& name = wxPyPanelNameStr)
975 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
976 {}
977
978 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
979
980 DEC_PYCALLBACK_VOID_(CreateButtons);
981 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
982
983 PYPRIVATE;
984};
985
986IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
987IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
988IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
989
990#ifdef __cplusplus
991extern "C" {
992#endif
993static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
994 PyObject *resultobj;
995 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 996 int arg2 = (int) (int)-1 ;
d14a1e28
RD
997 wxPoint const &arg3_defvalue = wxDefaultPosition ;
998 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
999 wxSize const &arg4_defvalue = wxDefaultSize ;
1000 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1001 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1002 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1003 wxString *arg6 = (wxString *) &arg6_defvalue ;
1004 wxPanel *result;
1005 wxPoint temp3 ;
1006 wxSize temp4 ;
423f194a 1007 bool temp6 = False ;
d14a1e28
RD
1008 PyObject * obj0 = 0 ;
1009 PyObject * obj2 = 0 ;
1010 PyObject * obj3 = 0 ;
1011 PyObject * obj5 = 0 ;
1012 char *kwnames[] = {
1013 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1014 };
1015
423f194a 1016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
d14a1e28
RD
1017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1018 if (obj2) {
1019 {
1020 arg3 = &temp3;
1021 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1022 }
1023 }
1024 if (obj3) {
1025 {
1026 arg4 = &temp4;
1027 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1028 }
1029 }
1030 if (obj5) {
1031 {
1032 arg6 = wxString_in_helper(obj5);
1033 if (arg6 == NULL) SWIG_fail;
423f194a 1034 temp6 = True;
d14a1e28
RD
1035 }
1036 }
1037 {
1038 PyThreadState* __tstate = wxPyBeginAllowThreads();
1039 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1040
1041 wxPyEndAllowThreads(__tstate);
1042 if (PyErr_Occurred()) SWIG_fail;
1043 }
1044 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1045 {
1046 if (temp6)
1047 delete arg6;
1048 }
1049 return resultobj;
1050 fail:
1051 {
1052 if (temp6)
1053 delete arg6;
1054 }
1055 return NULL;
1056}
1057
1058
1059static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1060 PyObject *resultobj;
1061 wxPanel *result;
1062 char *kwnames[] = {
1063 NULL
1064 };
1065
1066 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1067 {
1068 PyThreadState* __tstate = wxPyBeginAllowThreads();
1069 result = (wxPanel *)new wxPanel();
1070
1071 wxPyEndAllowThreads(__tstate);
1072 if (PyErr_Occurred()) SWIG_fail;
1073 }
1074 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1075 return resultobj;
1076 fail:
1077 return NULL;
1078}
1079
1080
1081static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1082 PyObject *resultobj;
1083 wxPanel *arg1 = (wxPanel *) 0 ;
1084 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1085 int arg3 ;
d14a1e28
RD
1086 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1087 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1088 wxSize const &arg5_defvalue = wxDefaultSize ;
1089 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1090 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1091 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1092 wxString *arg7 = (wxString *) &arg7_defvalue ;
1093 bool result;
1094 wxPoint temp4 ;
1095 wxSize temp5 ;
423f194a 1096 bool temp7 = False ;
d14a1e28
RD
1097 PyObject * obj0 = 0 ;
1098 PyObject * obj1 = 0 ;
1099 PyObject * obj3 = 0 ;
1100 PyObject * obj4 = 0 ;
1101 PyObject * obj6 = 0 ;
1102 char *kwnames[] = {
1103 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1104 };
1105
1106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1108 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1109 if (obj3) {
1110 {
1111 arg4 = &temp4;
1112 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1113 }
1114 }
1115 if (obj4) {
1116 {
1117 arg5 = &temp5;
1118 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1119 }
1120 }
1121 if (obj6) {
1122 {
1123 arg7 = wxString_in_helper(obj6);
1124 if (arg7 == NULL) SWIG_fail;
423f194a 1125 temp7 = True;
d14a1e28
RD
1126 }
1127 }
1128 {
1129 PyThreadState* __tstate = wxPyBeginAllowThreads();
1130 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1131
1132 wxPyEndAllowThreads(__tstate);
1133 if (PyErr_Occurred()) SWIG_fail;
1134 }
1135 resultobj = PyInt_FromLong((long)result);
1136 {
1137 if (temp7)
1138 delete arg7;
1139 }
1140 return resultobj;
1141 fail:
1142 {
1143 if (temp7)
1144 delete arg7;
1145 }
1146 return NULL;
1147}
1148
1149
1150static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1151 PyObject *resultobj;
1152 wxPanel *arg1 = (wxPanel *) 0 ;
1153 PyObject * obj0 = 0 ;
1154 char *kwnames[] = {
1155 (char *) "self", NULL
1156 };
1157
1158 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1159 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1160 {
1161 PyThreadState* __tstate = wxPyBeginAllowThreads();
1162 (arg1)->InitDialog();
1163
1164 wxPyEndAllowThreads(__tstate);
1165 if (PyErr_Occurred()) SWIG_fail;
1166 }
1167 Py_INCREF(Py_None); resultobj = Py_None;
1168 return resultobj;
1169 fail:
1170 return NULL;
1171}
1172
1173
1174static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1175 PyObject *obj;
1176 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1177 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1178 Py_INCREF(obj);
1179 return Py_BuildValue((char *)"");
1180}
1181static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1182 PyObject *resultobj;
1183 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1184 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1185 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1186 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1187 wxSize const &arg4_defvalue = wxDefaultSize ;
1188 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1189 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1190 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1191 wxString *arg6 = (wxString *) &arg6_defvalue ;
1192 wxScrolledWindow *result;
1193 wxPoint temp3 ;
1194 wxSize temp4 ;
423f194a 1195 bool temp6 = False ;
d14a1e28
RD
1196 PyObject * obj0 = 0 ;
1197 PyObject * obj2 = 0 ;
1198 PyObject * obj3 = 0 ;
1199 PyObject * obj5 = 0 ;
1200 char *kwnames[] = {
1201 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1202 };
1203
1204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1206 if (obj2) {
1207 {
1208 arg3 = &temp3;
1209 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1210 }
1211 }
1212 if (obj3) {
1213 {
1214 arg4 = &temp4;
1215 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1216 }
1217 }
1218 if (obj5) {
1219 {
1220 arg6 = wxString_in_helper(obj5);
1221 if (arg6 == NULL) SWIG_fail;
423f194a 1222 temp6 = True;
d14a1e28
RD
1223 }
1224 }
1225 {
1226 PyThreadState* __tstate = wxPyBeginAllowThreads();
1227 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1228
1229 wxPyEndAllowThreads(__tstate);
1230 if (PyErr_Occurred()) SWIG_fail;
1231 }
1232 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1233 {
1234 if (temp6)
1235 delete arg6;
1236 }
1237 return resultobj;
1238 fail:
1239 {
1240 if (temp6)
1241 delete arg6;
1242 }
1243 return NULL;
1244}
1245
1246
1247static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1248 PyObject *resultobj;
1249 wxScrolledWindow *result;
1250 char *kwnames[] = {
1251 NULL
1252 };
1253
1254 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1255 {
1256 PyThreadState* __tstate = wxPyBeginAllowThreads();
1257 result = (wxScrolledWindow *)new wxScrolledWindow();
1258
1259 wxPyEndAllowThreads(__tstate);
1260 if (PyErr_Occurred()) SWIG_fail;
1261 }
1262 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1263 return resultobj;
1264 fail:
1265 return NULL;
1266}
1267
1268
1269static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1270 PyObject *resultobj;
1271 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1272 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1273 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1274 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1275 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1276 wxSize const &arg5_defvalue = wxDefaultSize ;
1277 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1278 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1279 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1280 wxString *arg7 = (wxString *) &arg7_defvalue ;
1281 bool result;
1282 wxPoint temp4 ;
1283 wxSize temp5 ;
423f194a 1284 bool temp7 = False ;
d14a1e28
RD
1285 PyObject * obj0 = 0 ;
1286 PyObject * obj1 = 0 ;
1287 PyObject * obj3 = 0 ;
1288 PyObject * obj4 = 0 ;
1289 PyObject * obj6 = 0 ;
1290 char *kwnames[] = {
1291 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1292 };
1293
1294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1296 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1297 if (obj3) {
1298 {
1299 arg4 = &temp4;
1300 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1301 }
1302 }
1303 if (obj4) {
1304 {
1305 arg5 = &temp5;
1306 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1307 }
1308 }
1309 if (obj6) {
1310 {
1311 arg7 = wxString_in_helper(obj6);
1312 if (arg7 == NULL) SWIG_fail;
423f194a 1313 temp7 = True;
d14a1e28
RD
1314 }
1315 }
1316 {
1317 PyThreadState* __tstate = wxPyBeginAllowThreads();
1318 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1319
1320 wxPyEndAllowThreads(__tstate);
1321 if (PyErr_Occurred()) SWIG_fail;
1322 }
1323 resultobj = PyInt_FromLong((long)result);
1324 {
1325 if (temp7)
1326 delete arg7;
1327 }
1328 return resultobj;
1329 fail:
1330 {
1331 if (temp7)
1332 delete arg7;
1333 }
1334 return NULL;
1335}
1336
1337
1338static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1339 PyObject *resultobj;
1340 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1341 int arg2 ;
1342 int arg3 ;
1343 int arg4 ;
1344 int arg5 ;
1345 int arg6 = (int) 0 ;
1346 int arg7 = (int) 0 ;
423f194a 1347 bool arg8 = (bool) False ;
d14a1e28
RD
1348 PyObject * obj0 = 0 ;
1349 PyObject * obj7 = 0 ;
1350 char *kwnames[] = {
1351 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1352 };
1353
1354 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1355 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1356 if (obj7) {
1357 arg8 = PyInt_AsLong(obj7) ? true : false;
1358 if (PyErr_Occurred()) SWIG_fail;
1359 }
1360 {
1361 PyThreadState* __tstate = wxPyBeginAllowThreads();
1362 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1363
1364 wxPyEndAllowThreads(__tstate);
1365 if (PyErr_Occurred()) SWIG_fail;
1366 }
1367 Py_INCREF(Py_None); resultobj = Py_None;
1368 return resultobj;
1369 fail:
1370 return NULL;
1371}
1372
1373
1374static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1375 PyObject *resultobj;
1376 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1377 int arg2 ;
1378 int arg3 ;
1379 PyObject * obj0 = 0 ;
1380 char *kwnames[] = {
1381 (char *) "self",(char *) "x",(char *) "y", NULL
1382 };
1383
1384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1386 {
1387 PyThreadState* __tstate = wxPyBeginAllowThreads();
1388 (arg1)->Scroll(arg2,arg3);
1389
1390 wxPyEndAllowThreads(__tstate);
1391 if (PyErr_Occurred()) SWIG_fail;
1392 }
1393 Py_INCREF(Py_None); resultobj = Py_None;
1394 return resultobj;
1395 fail:
1396 return NULL;
1397}
1398
1399
1400static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1401 PyObject *resultobj;
1402 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1403 int arg2 ;
1404 int result;
1405 PyObject * obj0 = 0 ;
1406 char *kwnames[] = {
1407 (char *) "self",(char *) "orient", NULL
1408 };
1409
1410 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1411 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1412 {
1413 PyThreadState* __tstate = wxPyBeginAllowThreads();
1414 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1415
1416 wxPyEndAllowThreads(__tstate);
1417 if (PyErr_Occurred()) SWIG_fail;
1418 }
1419 resultobj = PyInt_FromLong((long)result);
1420 return resultobj;
1421 fail:
1422 return NULL;
1423}
1424
1425
1426static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1427 PyObject *resultobj;
1428 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1429 int arg2 ;
1430 int arg3 ;
1431 PyObject * obj0 = 0 ;
1432 char *kwnames[] = {
1433 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1434 };
1435
1436 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1437 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1438 {
1439 PyThreadState* __tstate = wxPyBeginAllowThreads();
1440 (arg1)->SetScrollPageSize(arg2,arg3);
1441
1442 wxPyEndAllowThreads(__tstate);
1443 if (PyErr_Occurred()) SWIG_fail;
1444 }
1445 Py_INCREF(Py_None); resultobj = Py_None;
1446 return resultobj;
1447 fail:
1448 return NULL;
1449}
1450
1451
1452static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1453 PyObject *resultobj;
1454 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1455 int arg2 ;
1456 int arg3 ;
1457 PyObject * obj0 = 0 ;
1458 char *kwnames[] = {
1459 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1460 };
1461
1462 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1463 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1464 {
1465 PyThreadState* __tstate = wxPyBeginAllowThreads();
1466 (arg1)->SetScrollRate(arg2,arg3);
1467
1468 wxPyEndAllowThreads(__tstate);
1469 if (PyErr_Occurred()) SWIG_fail;
1470 }
1471 Py_INCREF(Py_None); resultobj = Py_None;
1472 return resultobj;
1473 fail:
1474 return NULL;
1475}
1476
1477
1478static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1479 PyObject *resultobj;
1480 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1481 int *arg2 = (int *) 0 ;
1482 int *arg3 = (int *) 0 ;
1483 int temp2 ;
1484 int temp3 ;
1485 PyObject * obj0 = 0 ;
1486 char *kwnames[] = {
1487 (char *) "self", NULL
1488 };
1489
1490 arg2 = &temp2;
1491 arg3 = &temp3;
1492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1494 {
1495 PyThreadState* __tstate = wxPyBeginAllowThreads();
1496 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1497
1498 wxPyEndAllowThreads(__tstate);
1499 if (PyErr_Occurred()) SWIG_fail;
1500 }
1501 Py_INCREF(Py_None); resultobj = Py_None;
1502 {
1503 PyObject *o = PyInt_FromLong((long) (*arg2));
1504 resultobj = t_output_helper(resultobj,o);
1505 }
1506 {
1507 PyObject *o = PyInt_FromLong((long) (*arg3));
1508 resultobj = t_output_helper(resultobj,o);
1509 }
1510 return resultobj;
1511 fail:
1512 return NULL;
1513}
1514
1515
1516static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1517 PyObject *resultobj;
1518 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1519 bool arg2 ;
1520 bool arg3 ;
1521 PyObject * obj0 = 0 ;
1522 PyObject * obj1 = 0 ;
1523 PyObject * obj2 = 0 ;
1524 char *kwnames[] = {
1525 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1526 };
1527
1528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1530 arg2 = PyInt_AsLong(obj1) ? true : false;
1531 if (PyErr_Occurred()) SWIG_fail;
1532 arg3 = PyInt_AsLong(obj2) ? true : false;
1533 if (PyErr_Occurred()) SWIG_fail;
1534 {
1535 PyThreadState* __tstate = wxPyBeginAllowThreads();
1536 (arg1)->EnableScrolling(arg2,arg3);
1537
1538 wxPyEndAllowThreads(__tstate);
1539 if (PyErr_Occurred()) SWIG_fail;
1540 }
1541 Py_INCREF(Py_None); resultobj = Py_None;
1542 return resultobj;
1543 fail:
1544 return NULL;
1545}
1546
1547
1548static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1549 PyObject *resultobj;
1550 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1551 int *arg2 = (int *) 0 ;
1552 int *arg3 = (int *) 0 ;
1553 int temp2 ;
1554 int temp3 ;
1555 PyObject * obj0 = 0 ;
1556 char *kwnames[] = {
1557 (char *) "self", NULL
1558 };
1559
1560 arg2 = &temp2;
1561 arg3 = &temp3;
1562 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1563 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1564 {
1565 PyThreadState* __tstate = wxPyBeginAllowThreads();
1566 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1567
1568 wxPyEndAllowThreads(__tstate);
1569 if (PyErr_Occurred()) SWIG_fail;
1570 }
1571 Py_INCREF(Py_None); resultobj = Py_None;
1572 {
1573 PyObject *o = PyInt_FromLong((long) (*arg2));
1574 resultobj = t_output_helper(resultobj,o);
1575 }
1576 {
1577 PyObject *o = PyInt_FromLong((long) (*arg3));
1578 resultobj = t_output_helper(resultobj,o);
1579 }
1580 return resultobj;
1581 fail:
1582 return NULL;
1583}
1584
1585
1586static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1587 PyObject *resultobj;
1588 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1589 double arg2 ;
1590 double arg3 ;
1591 PyObject * obj0 = 0 ;
1592 char *kwnames[] = {
1593 (char *) "self",(char *) "xs",(char *) "ys", NULL
1594 };
1595
1596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1598 {
1599 PyThreadState* __tstate = wxPyBeginAllowThreads();
1600 (arg1)->SetScale(arg2,arg3);
1601
1602 wxPyEndAllowThreads(__tstate);
1603 if (PyErr_Occurred()) SWIG_fail;
1604 }
1605 Py_INCREF(Py_None); resultobj = Py_None;
1606 return resultobj;
1607 fail:
1608 return NULL;
1609}
1610
1611
1612static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1613 PyObject *resultobj;
1614 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1615 double result;
1616 PyObject * obj0 = 0 ;
1617 char *kwnames[] = {
1618 (char *) "self", NULL
1619 };
1620
1621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1623 {
1624 PyThreadState* __tstate = wxPyBeginAllowThreads();
1625 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1626
1627 wxPyEndAllowThreads(__tstate);
1628 if (PyErr_Occurred()) SWIG_fail;
1629 }
1630 resultobj = PyFloat_FromDouble(result);
1631 return resultobj;
1632 fail:
1633 return NULL;
1634}
1635
1636
1637static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1638 PyObject *resultobj;
1639 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1640 double result;
1641 PyObject * obj0 = 0 ;
1642 char *kwnames[] = {
1643 (char *) "self", NULL
1644 };
1645
1646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1648 {
1649 PyThreadState* __tstate = wxPyBeginAllowThreads();
1650 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1651
1652 wxPyEndAllowThreads(__tstate);
1653 if (PyErr_Occurred()) SWIG_fail;
1654 }
1655 resultobj = PyFloat_FromDouble(result);
1656 return resultobj;
1657 fail:
1658 return NULL;
1659}
1660
1661
1662static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1663 PyObject *resultobj;
1664 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1665 wxPoint *arg2 = 0 ;
1666 wxPoint result;
1667 wxPoint temp2 ;
d14a1e28 1668 PyObject * obj0 = 0 ;
44127b65 1669 PyObject * obj1 = 0 ;
d14a1e28 1670
44127b65 1671 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
d14a1e28 1672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
44127b65
RD
1673 {
1674 arg2 = &temp2;
1675 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1676 }
d14a1e28
RD
1677 {
1678 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1679 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
1680
1681 wxPyEndAllowThreads(__tstate);
1682 if (PyErr_Occurred()) SWIG_fail;
1683 }
d14a1e28 1684 {
44127b65
RD
1685 wxPoint * resultptr;
1686 resultptr = new wxPoint((wxPoint &) result);
1687 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
1688 }
1689 return resultobj;
1690 fail:
1691 return NULL;
1692}
1693
1694
1695static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1696 PyObject *resultobj;
1697 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1698 int arg2 ;
1699 int arg3 ;
1700 int *arg4 = (int *) 0 ;
1701 int *arg5 = (int *) 0 ;
1702 int temp4 ;
1703 int temp5 ;
d14a1e28 1704 PyObject * obj0 = 0 ;
d14a1e28 1705
44127b65
RD
1706 arg4 = &temp4;
1707 arg5 = &temp5;
1708 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
d14a1e28 1709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
1710 {
1711 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1712 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
1713
1714 wxPyEndAllowThreads(__tstate);
1715 if (PyErr_Occurred()) SWIG_fail;
1716 }
44127b65 1717 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 1718 {
44127b65
RD
1719 PyObject *o = PyInt_FromLong((long) (*arg4));
1720 resultobj = t_output_helper(resultobj,o);
1721 }
1722 {
1723 PyObject *o = PyInt_FromLong((long) (*arg5));
1724 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
1725 }
1726 return resultobj;
1727 fail:
1728 return NULL;
1729}
1730
1731
1732static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1733 int argc;
1734 PyObject *argv[4];
1735 int ii;
1736
1737 argc = PyObject_Length(args);
1738 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1739 argv[ii] = PyTuple_GetItem(args,ii);
1740 }
1741 if (argc == 2) {
1742 int _v;
1743 {
1744 void *ptr;
1745 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1746 _v = 0;
1747 PyErr_Clear();
1748 } else {
1749 _v = 1;
1750 }
1751 }
1752 if (_v) {
1753 {
1754 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1755 }
1756 if (_v) {
44127b65 1757 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
1758 }
1759 }
1760 }
1761 if (argc == 3) {
1762 int _v;
1763 {
1764 void *ptr;
1765 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1766 _v = 0;
1767 PyErr_Clear();
1768 } else {
1769 _v = 1;
1770 }
1771 }
1772 if (_v) {
1773 {
1774 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1775 }
1776 if (_v) {
1777 {
1778 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1779 }
1780 if (_v) {
44127b65 1781 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
1782 }
1783 }
1784 }
1785 }
1786
1787 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1788 return NULL;
1789}
1790
1791
1792static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1793 PyObject *resultobj;
1794 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1795 wxPoint *arg2 = 0 ;
1796 wxPoint result;
1797 wxPoint temp2 ;
d14a1e28 1798 PyObject * obj0 = 0 ;
44127b65 1799 PyObject * obj1 = 0 ;
d14a1e28 1800
44127b65 1801 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
d14a1e28 1802 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
44127b65
RD
1803 {
1804 arg2 = &temp2;
1805 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1806 }
d14a1e28
RD
1807 {
1808 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1809 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
1810
1811 wxPyEndAllowThreads(__tstate);
1812 if (PyErr_Occurred()) SWIG_fail;
1813 }
d14a1e28 1814 {
44127b65
RD
1815 wxPoint * resultptr;
1816 resultptr = new wxPoint((wxPoint &) result);
1817 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
1818 }
1819 return resultobj;
1820 fail:
1821 return NULL;
1822}
1823
1824
1825static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1826 PyObject *resultobj;
1827 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1828 int arg2 ;
1829 int arg3 ;
1830 int *arg4 = (int *) 0 ;
1831 int *arg5 = (int *) 0 ;
1832 int temp4 ;
1833 int temp5 ;
d14a1e28 1834 PyObject * obj0 = 0 ;
d14a1e28 1835
44127b65
RD
1836 arg4 = &temp4;
1837 arg5 = &temp5;
1838 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
d14a1e28 1839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
1840 {
1841 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1842 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
1843
1844 wxPyEndAllowThreads(__tstate);
1845 if (PyErr_Occurred()) SWIG_fail;
1846 }
44127b65
RD
1847 Py_INCREF(Py_None); resultobj = Py_None;
1848 {
1849 PyObject *o = PyInt_FromLong((long) (*arg4));
1850 resultobj = t_output_helper(resultobj,o);
1851 }
d14a1e28 1852 {
44127b65
RD
1853 PyObject *o = PyInt_FromLong((long) (*arg5));
1854 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
1855 }
1856 return resultobj;
1857 fail:
1858 return NULL;
1859}
1860
1861
1862static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1863 int argc;
1864 PyObject *argv[4];
1865 int ii;
1866
1867 argc = PyObject_Length(args);
1868 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1869 argv[ii] = PyTuple_GetItem(args,ii);
1870 }
1871 if (argc == 2) {
1872 int _v;
1873 {
1874 void *ptr;
1875 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1876 _v = 0;
1877 PyErr_Clear();
1878 } else {
1879 _v = 1;
1880 }
1881 }
1882 if (_v) {
1883 {
1884 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1885 }
1886 if (_v) {
44127b65 1887 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
1888 }
1889 }
1890 }
1891 if (argc == 3) {
1892 int _v;
1893 {
1894 void *ptr;
1895 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1896 _v = 0;
1897 PyErr_Clear();
1898 } else {
1899 _v = 1;
1900 }
1901 }
1902 if (_v) {
1903 {
1904 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1905 }
1906 if (_v) {
1907 {
1908 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1909 }
1910 if (_v) {
44127b65 1911 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
1912 }
1913 }
1914 }
1915 }
1916
1917 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1918 return NULL;
1919}
1920
1921
1922static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1923 PyObject *resultobj;
1924 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1925 PyObject * obj0 = 0 ;
1926 char *kwnames[] = {
1927 (char *) "self", NULL
1928 };
1929
1930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1931 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1932 {
1933 PyThreadState* __tstate = wxPyBeginAllowThreads();
1934 (arg1)->AdjustScrollbars();
1935
1936 wxPyEndAllowThreads(__tstate);
1937 if (PyErr_Occurred()) SWIG_fail;
1938 }
1939 Py_INCREF(Py_None); resultobj = Py_None;
1940 return resultobj;
1941 fail:
1942 return NULL;
1943}
1944
1945
1946static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1947 PyObject *resultobj;
1948 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1949 wxScrollWinEvent *arg2 = 0 ;
1950 int result;
1951 PyObject * obj0 = 0 ;
1952 PyObject * obj1 = 0 ;
1953 char *kwnames[] = {
1954 (char *) "self",(char *) "event", NULL
1955 };
1956
1957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1959 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1960 if (arg2 == NULL) {
1961 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1962 }
1963 {
1964 PyThreadState* __tstate = wxPyBeginAllowThreads();
1965 result = (int)(arg1)->CalcScrollInc(*arg2);
1966
1967 wxPyEndAllowThreads(__tstate);
1968 if (PyErr_Occurred()) SWIG_fail;
1969 }
1970 resultobj = PyInt_FromLong((long)result);
1971 return resultobj;
1972 fail:
1973 return NULL;
1974}
1975
1976
1977static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1978 PyObject *resultobj;
1979 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1980 wxWindow *arg2 = (wxWindow *) 0 ;
1981 PyObject * obj0 = 0 ;
1982 PyObject * obj1 = 0 ;
1983 char *kwnames[] = {
1984 (char *) "self",(char *) "target", NULL
1985 };
1986
1987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1989 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1990 {
1991 PyThreadState* __tstate = wxPyBeginAllowThreads();
1992 (arg1)->SetTargetWindow(arg2);
1993
1994 wxPyEndAllowThreads(__tstate);
1995 if (PyErr_Occurred()) SWIG_fail;
1996 }
1997 Py_INCREF(Py_None); resultobj = Py_None;
1998 return resultobj;
1999 fail:
2000 return NULL;
2001}
2002
2003
2004static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
2005 PyObject *resultobj;
2006 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2007 wxWindow *result;
2008 PyObject * obj0 = 0 ;
2009 char *kwnames[] = {
2010 (char *) "self", NULL
2011 };
2012
2013 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
2014 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2015 {
2016 PyThreadState* __tstate = wxPyBeginAllowThreads();
2017 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
2018
2019 wxPyEndAllowThreads(__tstate);
2020 if (PyErr_Occurred()) SWIG_fail;
2021 }
2022 {
2023 resultobj = wxPyMake_wxObject(result);
2024 }
2025 return resultobj;
2026 fail:
2027 return NULL;
2028}
2029
2030
2031static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2032 PyObject *resultobj;
2033 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2034 wxRect *arg2 = 0 ;
2035 wxRect temp2 ;
2036 PyObject * obj0 = 0 ;
2037 PyObject * obj1 = 0 ;
2038 char *kwnames[] = {
2039 (char *) "self",(char *) "rect", NULL
2040 };
2041
2042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2044 {
2045 arg2 = &temp2;
2046 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2047 }
2048 {
2049 PyThreadState* __tstate = wxPyBeginAllowThreads();
2050 (arg1)->SetTargetRect((wxRect const &)*arg2);
2051
2052 wxPyEndAllowThreads(__tstate);
2053 if (PyErr_Occurred()) SWIG_fail;
2054 }
2055 Py_INCREF(Py_None); resultobj = Py_None;
2056 return resultobj;
2057 fail:
2058 return NULL;
2059}
2060
2061
2062static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2063 PyObject *resultobj;
2064 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2065 wxRect result;
2066 PyObject * obj0 = 0 ;
2067 char *kwnames[] = {
2068 (char *) "self", NULL
2069 };
2070
2071 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2072 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2073 {
2074 PyThreadState* __tstate = wxPyBeginAllowThreads();
2075 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2076
2077 wxPyEndAllowThreads(__tstate);
2078 if (PyErr_Occurred()) SWIG_fail;
2079 }
2080 {
2081 wxRect * resultptr;
2082 resultptr = new wxRect((wxRect &) result);
2083 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2084 }
2085 return resultobj;
2086 fail:
2087 return NULL;
2088}
2089
2090
2091static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2092 PyObject *obj;
2093 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2094 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2095 Py_INCREF(obj);
2096 return Py_BuildValue((char *)"");
2097}
d14a1e28
RD
2098static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2099 PyObject *resultobj;
2100 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
423f194a 2101 bool arg2 = (bool) True ;
d14a1e28
RD
2102 PyObject * obj0 = 0 ;
2103 PyObject * obj1 = 0 ;
2104 char *kwnames[] = {
2105 (char *) "self",(char *) "maximize", NULL
2106 };
2107
2108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2110 if (obj1) {
2111 arg2 = PyInt_AsLong(obj1) ? true : false;
2112 if (PyErr_Occurred()) SWIG_fail;
2113 }
2114 {
2115 PyThreadState* __tstate = wxPyBeginAllowThreads();
2116 (arg1)->Maximize(arg2);
2117
2118 wxPyEndAllowThreads(__tstate);
2119 if (PyErr_Occurred()) SWIG_fail;
2120 }
2121 Py_INCREF(Py_None); resultobj = Py_None;
2122 return resultobj;
2123 fail:
2124 return NULL;
2125}
2126
2127
2128static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2129 PyObject *resultobj;
2130 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2131 PyObject * obj0 = 0 ;
2132 char *kwnames[] = {
2133 (char *) "self", NULL
2134 };
2135
2136 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2137 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2138 {
2139 PyThreadState* __tstate = wxPyBeginAllowThreads();
2140 (arg1)->Restore();
2141
2142 wxPyEndAllowThreads(__tstate);
2143 if (PyErr_Occurred()) SWIG_fail;
2144 }
2145 Py_INCREF(Py_None); resultobj = Py_None;
2146 return resultobj;
2147 fail:
2148 return NULL;
2149}
2150
2151
2152static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2153 PyObject *resultobj;
2154 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
423f194a 2155 bool arg2 = (bool) True ;
d14a1e28
RD
2156 PyObject * obj0 = 0 ;
2157 PyObject * obj1 = 0 ;
2158 char *kwnames[] = {
2159 (char *) "self",(char *) "iconize", NULL
2160 };
2161
2162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2164 if (obj1) {
2165 arg2 = PyInt_AsLong(obj1) ? true : false;
2166 if (PyErr_Occurred()) SWIG_fail;
2167 }
2168 {
2169 PyThreadState* __tstate = wxPyBeginAllowThreads();
2170 (arg1)->Iconize(arg2);
2171
2172 wxPyEndAllowThreads(__tstate);
2173 if (PyErr_Occurred()) SWIG_fail;
2174 }
2175 Py_INCREF(Py_None); resultobj = Py_None;
2176 return resultobj;
2177 fail:
2178 return NULL;
2179}
2180
2181
2182static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2183 PyObject *resultobj;
2184 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2185 bool result;
2186 PyObject * obj0 = 0 ;
2187 char *kwnames[] = {
2188 (char *) "self", NULL
2189 };
2190
2191 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2192 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2193 {
2194 PyThreadState* __tstate = wxPyBeginAllowThreads();
2195 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2196
2197 wxPyEndAllowThreads(__tstate);
2198 if (PyErr_Occurred()) SWIG_fail;
2199 }
2200 resultobj = PyInt_FromLong((long)result);
2201 return resultobj;
2202 fail:
2203 return NULL;
2204}
2205
2206
2207static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2208 PyObject *resultobj;
2209 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2210 bool result;
2211 PyObject * obj0 = 0 ;
2212 char *kwnames[] = {
2213 (char *) "self", NULL
2214 };
2215
2216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2218 {
2219 PyThreadState* __tstate = wxPyBeginAllowThreads();
2220 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2221
2222 wxPyEndAllowThreads(__tstate);
2223 if (PyErr_Occurred()) SWIG_fail;
2224 }
2225 resultobj = PyInt_FromLong((long)result);
2226 return resultobj;
2227 fail:
2228 return NULL;
2229}
2230
2231
2232static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2233 PyObject *resultobj;
2234 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2235 wxIcon result;
2236 PyObject * obj0 = 0 ;
2237 char *kwnames[] = {
2238 (char *) "self", NULL
2239 };
2240
2241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2243 {
2244 PyThreadState* __tstate = wxPyBeginAllowThreads();
2245 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2246
2247 wxPyEndAllowThreads(__tstate);
2248 if (PyErr_Occurred()) SWIG_fail;
2249 }
2250 {
2251 wxIcon * resultptr;
2252 resultptr = new wxIcon((wxIcon &) result);
2253 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2254 }
2255 return resultobj;
2256 fail:
2257 return NULL;
2258}
2259
2260
2261static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2262 PyObject *resultobj;
2263 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2264 wxIcon *arg2 = 0 ;
2265 PyObject * obj0 = 0 ;
2266 PyObject * obj1 = 0 ;
2267 char *kwnames[] = {
2268 (char *) "self",(char *) "icon", NULL
2269 };
2270
2271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2274 if (arg2 == NULL) {
2275 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2276 }
2277 {
2278 PyThreadState* __tstate = wxPyBeginAllowThreads();
2279 (arg1)->SetIcon((wxIcon const &)*arg2);
2280
2281 wxPyEndAllowThreads(__tstate);
2282 if (PyErr_Occurred()) SWIG_fail;
2283 }
2284 Py_INCREF(Py_None); resultobj = Py_None;
2285 return resultobj;
2286 fail:
2287 return NULL;
2288}
2289
2290
2291static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2292 PyObject *resultobj;
2293 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2294 wxIconBundle *arg2 = 0 ;
2295 PyObject * obj0 = 0 ;
2296 PyObject * obj1 = 0 ;
2297 char *kwnames[] = {
2298 (char *) "self",(char *) "icons", NULL
2299 };
2300
2301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2303 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2304 if (arg2 == NULL) {
2305 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2306 }
2307 {
2308 PyThreadState* __tstate = wxPyBeginAllowThreads();
2309 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2310
2311 wxPyEndAllowThreads(__tstate);
2312 if (PyErr_Occurred()) SWIG_fail;
2313 }
2314 Py_INCREF(Py_None); resultobj = Py_None;
2315 return resultobj;
2316 fail:
2317 return NULL;
2318}
2319
2320
2321static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2322 PyObject *resultobj;
2323 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2324 bool arg2 ;
2325 long arg3 = (long) wxFULLSCREEN_ALL ;
2326 bool result;
2327 PyObject * obj0 = 0 ;
2328 PyObject * obj1 = 0 ;
2329 char *kwnames[] = {
2330 (char *) "self",(char *) "show",(char *) "style", NULL
2331 };
2332
2333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2335 arg2 = PyInt_AsLong(obj1) ? true : false;
2336 if (PyErr_Occurred()) SWIG_fail;
2337 {
2338 PyThreadState* __tstate = wxPyBeginAllowThreads();
2339 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2340
2341 wxPyEndAllowThreads(__tstate);
2342 if (PyErr_Occurred()) SWIG_fail;
2343 }
2344 resultobj = PyInt_FromLong((long)result);
2345 return resultobj;
2346 fail:
2347 return NULL;
2348}
2349
2350
2351static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2352 PyObject *resultobj;
2353 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2354 bool result;
2355 PyObject * obj0 = 0 ;
2356 char *kwnames[] = {
2357 (char *) "self", NULL
2358 };
2359
2360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2362 {
2363 PyThreadState* __tstate = wxPyBeginAllowThreads();
2364 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2365
2366 wxPyEndAllowThreads(__tstate);
2367 if (PyErr_Occurred()) SWIG_fail;
2368 }
2369 resultobj = PyInt_FromLong((long)result);
2370 return resultobj;
2371 fail:
2372 return NULL;
2373}
2374
2375
2376static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2377 PyObject *resultobj;
2378 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2379 wxString *arg2 = 0 ;
423f194a 2380 bool temp2 = False ;
d14a1e28
RD
2381 PyObject * obj0 = 0 ;
2382 PyObject * obj1 = 0 ;
2383 char *kwnames[] = {
2384 (char *) "self",(char *) "title", NULL
2385 };
2386
2387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2389 {
2390 arg2 = wxString_in_helper(obj1);
2391 if (arg2 == NULL) SWIG_fail;
423f194a 2392 temp2 = True;
d14a1e28
RD
2393 }
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 (arg1)->SetTitle((wxString const &)*arg2);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) SWIG_fail;
2400 }
2401 Py_INCREF(Py_None); resultobj = Py_None;
2402 {
2403 if (temp2)
2404 delete arg2;
2405 }
2406 return resultobj;
2407 fail:
2408 {
2409 if (temp2)
2410 delete arg2;
2411 }
2412 return NULL;
2413}
2414
2415
2416static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2417 PyObject *resultobj;
2418 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2419 wxString result;
2420 PyObject * obj0 = 0 ;
2421 char *kwnames[] = {
2422 (char *) "self", NULL
2423 };
2424
2425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2427 {
2428 PyThreadState* __tstate = wxPyBeginAllowThreads();
2429 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2430
2431 wxPyEndAllowThreads(__tstate);
2432 if (PyErr_Occurred()) SWIG_fail;
2433 }
2434 {
2435#if wxUSE_UNICODE
2436 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2437#else
2438 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2439#endif
2440 }
2441 return resultobj;
2442 fail:
2443 return NULL;
2444}
2445
2446
2447static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2448 PyObject *resultobj;
2449 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2450 wxRegion *arg2 = 0 ;
2451 bool result;
2452 PyObject * obj0 = 0 ;
2453 PyObject * obj1 = 0 ;
2454 char *kwnames[] = {
2455 (char *) "self",(char *) "region", NULL
2456 };
2457
2458 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2459 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2460 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2461 if (arg2 == NULL) {
2462 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2463 }
2464 {
2465 PyThreadState* __tstate = wxPyBeginAllowThreads();
2466 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2467
2468 wxPyEndAllowThreads(__tstate);
2469 if (PyErr_Occurred()) SWIG_fail;
2470 }
2471 resultobj = PyInt_FromLong((long)result);
2472 return resultobj;
2473 fail:
2474 return NULL;
2475}
2476
2477
2478static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2479 PyObject *obj;
2480 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2481 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2482 Py_INCREF(obj);
2483 return Py_BuildValue((char *)"");
2484}
2485static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2486 PyObject *resultobj;
2487 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 2488 int arg2 ;
d14a1e28
RD
2489 wxString *arg3 = 0 ;
2490 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2491 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2492 wxSize const &arg5_defvalue = wxDefaultSize ;
2493 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2494 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2495 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2496 wxString *arg7 = (wxString *) &arg7_defvalue ;
2497 wxFrame *result;
423f194a 2498 bool temp3 = False ;
d14a1e28
RD
2499 wxPoint temp4 ;
2500 wxSize temp5 ;
423f194a 2501 bool temp7 = False ;
d14a1e28
RD
2502 PyObject * obj0 = 0 ;
2503 PyObject * obj2 = 0 ;
2504 PyObject * obj3 = 0 ;
2505 PyObject * obj4 = 0 ;
2506 PyObject * obj6 = 0 ;
2507 char *kwnames[] = {
2508 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2509 };
2510
2511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2513 {
2514 arg3 = wxString_in_helper(obj2);
2515 if (arg3 == NULL) SWIG_fail;
423f194a 2516 temp3 = True;
d14a1e28
RD
2517 }
2518 if (obj3) {
2519 {
2520 arg4 = &temp4;
2521 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2522 }
2523 }
2524 if (obj4) {
2525 {
2526 arg5 = &temp5;
2527 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2528 }
2529 }
2530 if (obj6) {
2531 {
2532 arg7 = wxString_in_helper(obj6);
2533 if (arg7 == NULL) SWIG_fail;
423f194a 2534 temp7 = True;
d14a1e28
RD
2535 }
2536 }
2537 {
2538 PyThreadState* __tstate = wxPyBeginAllowThreads();
2539 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2540
2541 wxPyEndAllowThreads(__tstate);
2542 if (PyErr_Occurred()) SWIG_fail;
2543 }
2544 {
2545 resultobj = wxPyMake_wxObject(result);
2546 }
2547 {
2548 if (temp3)
2549 delete arg3;
2550 }
2551 {
2552 if (temp7)
2553 delete arg7;
2554 }
2555 return resultobj;
2556 fail:
2557 {
2558 if (temp3)
2559 delete arg3;
2560 }
2561 {
2562 if (temp7)
2563 delete arg7;
2564 }
2565 return NULL;
2566}
2567
2568
2569static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2570 PyObject *resultobj;
2571 wxFrame *result;
2572 char *kwnames[] = {
2573 NULL
2574 };
2575
2576 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2577 {
2578 PyThreadState* __tstate = wxPyBeginAllowThreads();
2579 result = (wxFrame *)new wxFrame();
2580
2581 wxPyEndAllowThreads(__tstate);
2582 if (PyErr_Occurred()) SWIG_fail;
2583 }
2584 {
2585 resultobj = wxPyMake_wxObject(result);
2586 }
2587 return resultobj;
2588 fail:
2589 return NULL;
2590}
2591
2592
2593static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2594 PyObject *resultobj;
2595 wxFrame *arg1 = (wxFrame *) 0 ;
2596 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 2597 int arg3 ;
d14a1e28
RD
2598 wxString *arg4 = 0 ;
2599 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2600 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2601 wxSize const &arg6_defvalue = wxDefaultSize ;
2602 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2603 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2604 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2605 wxString *arg8 = (wxString *) &arg8_defvalue ;
2606 bool result;
423f194a 2607 bool temp4 = False ;
d14a1e28
RD
2608 wxPoint temp5 ;
2609 wxSize temp6 ;
423f194a 2610 bool temp8 = False ;
d14a1e28
RD
2611 PyObject * obj0 = 0 ;
2612 PyObject * obj1 = 0 ;
2613 PyObject * obj3 = 0 ;
2614 PyObject * obj4 = 0 ;
2615 PyObject * obj5 = 0 ;
2616 PyObject * obj7 = 0 ;
2617 char *kwnames[] = {
2618 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2619 };
2620
2621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2624 {
2625 arg4 = wxString_in_helper(obj3);
2626 if (arg4 == NULL) SWIG_fail;
423f194a 2627 temp4 = True;
d14a1e28
RD
2628 }
2629 if (obj4) {
2630 {
2631 arg5 = &temp5;
2632 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2633 }
2634 }
2635 if (obj5) {
2636 {
2637 arg6 = &temp6;
2638 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2639 }
2640 }
2641 if (obj7) {
2642 {
2643 arg8 = wxString_in_helper(obj7);
2644 if (arg8 == NULL) SWIG_fail;
423f194a 2645 temp8 = True;
d14a1e28
RD
2646 }
2647 }
2648 {
2649 PyThreadState* __tstate = wxPyBeginAllowThreads();
2650 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2651
2652 wxPyEndAllowThreads(__tstate);
2653 if (PyErr_Occurred()) SWIG_fail;
2654 }
2655 resultobj = PyInt_FromLong((long)result);
2656 {
2657 if (temp4)
2658 delete arg4;
2659 }
2660 {
2661 if (temp8)
2662 delete arg8;
2663 }
2664 return resultobj;
2665 fail:
2666 {
2667 if (temp4)
2668 delete arg4;
2669 }
2670 {
2671 if (temp8)
2672 delete arg8;
2673 }
2674 return NULL;
2675}
2676
2677
2678static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2679 PyObject *resultobj;
2680 wxFrame *arg1 = (wxFrame *) 0 ;
2681 wxPoint result;
2682 PyObject * obj0 = 0 ;
2683 char *kwnames[] = {
2684 (char *) "self", NULL
2685 };
2686
2687 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2688 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2689 {
2690 PyThreadState* __tstate = wxPyBeginAllowThreads();
2691 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2692
2693 wxPyEndAllowThreads(__tstate);
2694 if (PyErr_Occurred()) SWIG_fail;
2695 }
2696 {
2697 wxPoint * resultptr;
2698 resultptr = new wxPoint((wxPoint &) result);
2699 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2700 }
2701 return resultobj;
2702 fail:
2703 return NULL;
2704}
2705
2706
2707static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2708 PyObject *resultobj;
2709 wxFrame *arg1 = (wxFrame *) 0 ;
2710 PyObject * obj0 = 0 ;
2711 char *kwnames[] = {
2712 (char *) "self", NULL
2713 };
2714
2715 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2716 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2717 {
2718 PyThreadState* __tstate = wxPyBeginAllowThreads();
2719 (arg1)->SendSizeEvent();
2720
2721 wxPyEndAllowThreads(__tstate);
2722 if (PyErr_Occurred()) SWIG_fail;
2723 }
2724 Py_INCREF(Py_None); resultobj = Py_None;
2725 return resultobj;
2726 fail:
2727 return NULL;
2728}
2729
2730
2731static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2732 PyObject *resultobj;
2733 wxFrame *arg1 = (wxFrame *) 0 ;
2734 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2735 PyObject * obj0 = 0 ;
2736 PyObject * obj1 = 0 ;
2737 char *kwnames[] = {
2738 (char *) "self",(char *) "menubar", NULL
2739 };
2740
2741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2743 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2744 {
2745 PyThreadState* __tstate = wxPyBeginAllowThreads();
2746 (arg1)->SetMenuBar(arg2);
2747
2748 wxPyEndAllowThreads(__tstate);
2749 if (PyErr_Occurred()) SWIG_fail;
2750 }
2751 Py_INCREF(Py_None); resultobj = Py_None;
2752 return resultobj;
2753 fail:
2754 return NULL;
2755}
2756
2757
2758static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2759 PyObject *resultobj;
2760 wxFrame *arg1 = (wxFrame *) 0 ;
2761 wxMenuBar *result;
2762 PyObject * obj0 = 0 ;
2763 char *kwnames[] = {
2764 (char *) "self", NULL
2765 };
2766
2767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2769 {
2770 PyThreadState* __tstate = wxPyBeginAllowThreads();
2771 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2772
2773 wxPyEndAllowThreads(__tstate);
2774 if (PyErr_Occurred()) SWIG_fail;
2775 }
2776 {
2777 resultobj = wxPyMake_wxObject(result);
2778 }
2779 return resultobj;
2780 fail:
2781 return NULL;
2782}
2783
2784
2785static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2786 PyObject *resultobj;
2787 wxFrame *arg1 = (wxFrame *) 0 ;
2788 int arg2 ;
2789 bool result;
2790 PyObject * obj0 = 0 ;
2791 char *kwnames[] = {
2792 (char *) "self",(char *) "winid", NULL
2793 };
2794
2795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2797 {
2798 PyThreadState* __tstate = wxPyBeginAllowThreads();
2799 result = (bool)(arg1)->ProcessCommand(arg2);
2800
2801 wxPyEndAllowThreads(__tstate);
2802 if (PyErr_Occurred()) SWIG_fail;
2803 }
2804 resultobj = PyInt_FromLong((long)result);
2805 return resultobj;
2806 fail:
2807 return NULL;
2808}
2809
2810
2811static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2812 PyObject *resultobj;
2813 wxFrame *arg1 = (wxFrame *) 0 ;
2814 int arg2 = (int) 1 ;
2815 long arg3 = (long) wxST_SIZEGRIP ;
423f194a 2816 int arg4 = (int) 0 ;
d14a1e28
RD
2817 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2818 wxString *arg5 = (wxString *) &arg5_defvalue ;
2819 wxStatusBar *result;
423f194a 2820 bool temp5 = False ;
d14a1e28
RD
2821 PyObject * obj0 = 0 ;
2822 PyObject * obj4 = 0 ;
2823 char *kwnames[] = {
2824 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2825 };
2826
2827 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2828 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2829 if (obj4) {
2830 {
2831 arg5 = wxString_in_helper(obj4);
2832 if (arg5 == NULL) SWIG_fail;
423f194a 2833 temp5 = True;
d14a1e28
RD
2834 }
2835 }
2836 {
2837 PyThreadState* __tstate = wxPyBeginAllowThreads();
2838 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2839
2840 wxPyEndAllowThreads(__tstate);
2841 if (PyErr_Occurred()) SWIG_fail;
2842 }
2843 {
2844 resultobj = wxPyMake_wxObject(result);
2845 }
2846 {
2847 if (temp5)
2848 delete arg5;
2849 }
2850 return resultobj;
2851 fail:
2852 {
2853 if (temp5)
2854 delete arg5;
2855 }
2856 return NULL;
2857}
2858
2859
2860static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2861 PyObject *resultobj;
2862 wxFrame *arg1 = (wxFrame *) 0 ;
2863 wxStatusBar *result;
2864 PyObject * obj0 = 0 ;
2865 char *kwnames[] = {
2866 (char *) "self", NULL
2867 };
2868
2869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2871 {
2872 PyThreadState* __tstate = wxPyBeginAllowThreads();
2873 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2874
2875 wxPyEndAllowThreads(__tstate);
2876 if (PyErr_Occurred()) SWIG_fail;
2877 }
2878 {
2879 resultobj = wxPyMake_wxObject(result);
2880 }
2881 return resultobj;
2882 fail:
2883 return NULL;
2884}
2885
2886
2887static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2888 PyObject *resultobj;
2889 wxFrame *arg1 = (wxFrame *) 0 ;
2890 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2891 PyObject * obj0 = 0 ;
2892 PyObject * obj1 = 0 ;
2893 char *kwnames[] = {
2894 (char *) "self",(char *) "statBar", NULL
2895 };
2896
2897 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2898 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2899 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2900 {
2901 PyThreadState* __tstate = wxPyBeginAllowThreads();
2902 (arg1)->SetStatusBar(arg2);
2903
2904 wxPyEndAllowThreads(__tstate);
2905 if (PyErr_Occurred()) SWIG_fail;
2906 }
2907 Py_INCREF(Py_None); resultobj = Py_None;
2908 return resultobj;
2909 fail:
2910 return NULL;
2911}
2912
2913
2914static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2915 PyObject *resultobj;
2916 wxFrame *arg1 = (wxFrame *) 0 ;
2917 wxString *arg2 = 0 ;
2918 int arg3 = (int) 0 ;
423f194a 2919 bool temp2 = False ;
d14a1e28
RD
2920 PyObject * obj0 = 0 ;
2921 PyObject * obj1 = 0 ;
2922 char *kwnames[] = {
2923 (char *) "self",(char *) "text",(char *) "number", NULL
2924 };
2925
2926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2928 {
2929 arg2 = wxString_in_helper(obj1);
2930 if (arg2 == NULL) SWIG_fail;
423f194a 2931 temp2 = True;
d14a1e28
RD
2932 }
2933 {
2934 PyThreadState* __tstate = wxPyBeginAllowThreads();
2935 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2936
2937 wxPyEndAllowThreads(__tstate);
2938 if (PyErr_Occurred()) SWIG_fail;
2939 }
2940 Py_INCREF(Py_None); resultobj = Py_None;
2941 {
2942 if (temp2)
2943 delete arg2;
2944 }
2945 return resultobj;
2946 fail:
2947 {
2948 if (temp2)
2949 delete arg2;
2950 }
2951 return NULL;
2952}
2953
2954
2955static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
2956 PyObject *resultobj;
2957 wxFrame *arg1 = (wxFrame *) 0 ;
2958 int arg2 ;
2959 int *arg3 = (int *) 0 ;
2960 PyObject * obj0 = 0 ;
2961 PyObject * obj1 = 0 ;
2962 char *kwnames[] = {
2963 (char *) "self",(char *) "widths", NULL
2964 };
2965
2966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
2967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2968 {
2969 arg2 = PyList_Size(obj1);
2970 arg3 = int_LIST_helper(obj1);
2971 if (arg3 == NULL) SWIG_fail;
2972 }
2973 {
2974 PyThreadState* __tstate = wxPyBeginAllowThreads();
2975 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
2976
2977 wxPyEndAllowThreads(__tstate);
2978 if (PyErr_Occurred()) SWIG_fail;
2979 }
2980 Py_INCREF(Py_None); resultobj = Py_None;
2981 {
2982 if (arg3) delete [] arg3;
2983 }
2984 return resultobj;
2985 fail:
2986 {
2987 if (arg3) delete [] arg3;
2988 }
2989 return NULL;
2990}
2991
2992
2993static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2994 PyObject *resultobj;
2995 wxFrame *arg1 = (wxFrame *) 0 ;
2996 wxString *arg2 = 0 ;
2997 int arg3 = (int) 0 ;
423f194a 2998 bool temp2 = False ;
d14a1e28
RD
2999 PyObject * obj0 = 0 ;
3000 PyObject * obj1 = 0 ;
3001 char *kwnames[] = {
3002 (char *) "self",(char *) "text",(char *) "number", NULL
3003 };
3004
3005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3007 {
3008 arg2 = wxString_in_helper(obj1);
3009 if (arg2 == NULL) SWIG_fail;
423f194a 3010 temp2 = True;
d14a1e28
RD
3011 }
3012 {
3013 PyThreadState* __tstate = wxPyBeginAllowThreads();
3014 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3015
3016 wxPyEndAllowThreads(__tstate);
3017 if (PyErr_Occurred()) SWIG_fail;
3018 }
3019 Py_INCREF(Py_None); resultobj = Py_None;
3020 {
3021 if (temp2)
3022 delete arg2;
3023 }
3024 return resultobj;
3025 fail:
3026 {
3027 if (temp2)
3028 delete arg2;
3029 }
3030 return NULL;
3031}
3032
3033
3034static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3035 PyObject *resultobj;
3036 wxFrame *arg1 = (wxFrame *) 0 ;
3037 int arg2 = (int) 0 ;
3038 PyObject * obj0 = 0 ;
3039 char *kwnames[] = {
3040 (char *) "self",(char *) "number", NULL
3041 };
3042
3043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3044 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3045 {
3046 PyThreadState* __tstate = wxPyBeginAllowThreads();
3047 (arg1)->PopStatusText(arg2);
3048
3049 wxPyEndAllowThreads(__tstate);
3050 if (PyErr_Occurred()) SWIG_fail;
3051 }
3052 Py_INCREF(Py_None); resultobj = Py_None;
3053 return resultobj;
3054 fail:
3055 return NULL;
3056}
3057
3058
3059static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3060 PyObject *resultobj;
3061 wxFrame *arg1 = (wxFrame *) 0 ;
3062 int arg2 ;
3063 PyObject * obj0 = 0 ;
3064 char *kwnames[] = {
3065 (char *) "self",(char *) "n", NULL
3066 };
3067
3068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3070 {
3071 PyThreadState* __tstate = wxPyBeginAllowThreads();
3072 (arg1)->SetStatusBarPane(arg2);
3073
3074 wxPyEndAllowThreads(__tstate);
3075 if (PyErr_Occurred()) SWIG_fail;
3076 }
3077 Py_INCREF(Py_None); resultobj = Py_None;
3078 return resultobj;
3079 fail:
3080 return NULL;
3081}
3082
3083
3084static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3085 PyObject *resultobj;
3086 wxFrame *arg1 = (wxFrame *) 0 ;
3087 int result;
3088 PyObject * obj0 = 0 ;
3089 char *kwnames[] = {
3090 (char *) "self", NULL
3091 };
3092
3093 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3094 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3095 {
3096 PyThreadState* __tstate = wxPyBeginAllowThreads();
3097 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3098
3099 wxPyEndAllowThreads(__tstate);
3100 if (PyErr_Occurred()) SWIG_fail;
3101 }
3102 resultobj = PyInt_FromLong((long)result);
3103 return resultobj;
3104 fail:
3105 return NULL;
3106}
3107
3108
3109static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3110 PyObject *resultobj;
3111 wxFrame *arg1 = (wxFrame *) 0 ;
3112 long arg2 = (long) -1 ;
423f194a 3113 int arg3 = (int) -1 ;
d14a1e28
RD
3114 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3115 wxString *arg4 = (wxString *) &arg4_defvalue ;
3116 wxToolBar *result;
423f194a 3117 bool temp4 = False ;
d14a1e28
RD
3118 PyObject * obj0 = 0 ;
3119 PyObject * obj3 = 0 ;
3120 char *kwnames[] = {
3121 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3122 };
3123
3124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3126 if (obj3) {
3127 {
3128 arg4 = wxString_in_helper(obj3);
3129 if (arg4 == NULL) SWIG_fail;
423f194a 3130 temp4 = True;
d14a1e28
RD
3131 }
3132 }
3133 {
3134 PyThreadState* __tstate = wxPyBeginAllowThreads();
3135 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3136
3137 wxPyEndAllowThreads(__tstate);
3138 if (PyErr_Occurred()) SWIG_fail;
3139 }
3140 {
3141 resultobj = wxPyMake_wxObject(result);
3142 }
3143 {
3144 if (temp4)
3145 delete arg4;
3146 }
3147 return resultobj;
3148 fail:
3149 {
3150 if (temp4)
3151 delete arg4;
3152 }
3153 return NULL;
3154}
3155
3156
3157static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3158 PyObject *resultobj;
3159 wxFrame *arg1 = (wxFrame *) 0 ;
3160 wxToolBar *result;
3161 PyObject * obj0 = 0 ;
3162 char *kwnames[] = {
3163 (char *) "self", NULL
3164 };
3165
3166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3168 {
3169 PyThreadState* __tstate = wxPyBeginAllowThreads();
3170 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3171
3172 wxPyEndAllowThreads(__tstate);
3173 if (PyErr_Occurred()) SWIG_fail;
3174 }
3175 {
3176 resultobj = wxPyMake_wxObject(result);
3177 }
3178 return resultobj;
3179 fail:
3180 return NULL;
3181}
3182
3183
3184static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3185 PyObject *resultobj;
3186 wxFrame *arg1 = (wxFrame *) 0 ;
3187 wxToolBar *arg2 = (wxToolBar *) 0 ;
3188 PyObject * obj0 = 0 ;
3189 PyObject * obj1 = 0 ;
3190 char *kwnames[] = {
3191 (char *) "self",(char *) "toolbar", NULL
3192 };
3193
3194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3196 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3197 {
3198 PyThreadState* __tstate = wxPyBeginAllowThreads();
3199 (arg1)->SetToolBar(arg2);
3200
3201 wxPyEndAllowThreads(__tstate);
3202 if (PyErr_Occurred()) SWIG_fail;
3203 }
3204 Py_INCREF(Py_None); resultobj = Py_None;
3205 return resultobj;
3206 fail:
3207 return NULL;
3208}
3209
3210
3211static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3212 PyObject *resultobj;
3213 wxFrame *arg1 = (wxFrame *) 0 ;
3214 wxString *arg2 = 0 ;
3215 bool arg3 ;
423f194a 3216 bool temp2 = False ;
d14a1e28
RD
3217 PyObject * obj0 = 0 ;
3218 PyObject * obj1 = 0 ;
3219 PyObject * obj2 = 0 ;
3220 char *kwnames[] = {
3221 (char *) "self",(char *) "text",(char *) "show", NULL
3222 };
3223
3224 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3225 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3226 {
3227 arg2 = wxString_in_helper(obj1);
3228 if (arg2 == NULL) SWIG_fail;
423f194a 3229 temp2 = True;
d14a1e28
RD
3230 }
3231 arg3 = PyInt_AsLong(obj2) ? true : false;
3232 if (PyErr_Occurred()) SWIG_fail;
3233 {
3234 PyThreadState* __tstate = wxPyBeginAllowThreads();
3235 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3236
3237 wxPyEndAllowThreads(__tstate);
3238 if (PyErr_Occurred()) SWIG_fail;
3239 }
3240 Py_INCREF(Py_None); resultobj = Py_None;
3241 {
3242 if (temp2)
3243 delete arg2;
3244 }
3245 return resultobj;
3246 fail:
3247 {
3248 if (temp2)
3249 delete arg2;
3250 }
3251 return NULL;
3252}
3253
3254
3255static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3256 PyObject *resultobj;
3257 wxFrame *arg1 = (wxFrame *) 0 ;
3258 wxMenu *arg2 = (wxMenu *) NULL ;
3259 PyObject * obj0 = 0 ;
3260 PyObject * obj1 = 0 ;
3261 char *kwnames[] = {
3262 (char *) "self",(char *) "menu", NULL
3263 };
3264
3265 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3266 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3267 if (obj1) {
3268 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3269 }
3270 {
3271 PyThreadState* __tstate = wxPyBeginAllowThreads();
3272 (arg1)->DoMenuUpdates(arg2);
3273
3274 wxPyEndAllowThreads(__tstate);
3275 if (PyErr_Occurred()) SWIG_fail;
3276 }
3277 Py_INCREF(Py_None); resultobj = Py_None;
3278 return resultobj;
3279 fail:
3280 return NULL;
3281}
3282
3283
3284static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3285 PyObject *obj;
3286 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3287 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3288 Py_INCREF(obj);
3289 return Py_BuildValue((char *)"");
3290}
3291static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3292 PyObject *resultobj;
3293 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3294 int arg2 ;
d14a1e28
RD
3295 wxString *arg3 = 0 ;
3296 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3297 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3298 wxSize const &arg5_defvalue = wxDefaultSize ;
3299 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3300 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3301 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3302 wxString *arg7 = (wxString *) &arg7_defvalue ;
3303 wxDialog *result;
423f194a 3304 bool temp3 = False ;
d14a1e28
RD
3305 wxPoint temp4 ;
3306 wxSize temp5 ;
423f194a 3307 bool temp7 = False ;
d14a1e28
RD
3308 PyObject * obj0 = 0 ;
3309 PyObject * obj2 = 0 ;
3310 PyObject * obj3 = 0 ;
3311 PyObject * obj4 = 0 ;
3312 PyObject * obj6 = 0 ;
3313 char *kwnames[] = {
3314 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3315 };
3316
3317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3319 {
3320 arg3 = wxString_in_helper(obj2);
3321 if (arg3 == NULL) SWIG_fail;
423f194a 3322 temp3 = True;
d14a1e28
RD
3323 }
3324 if (obj3) {
3325 {
3326 arg4 = &temp4;
3327 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3328 }
3329 }
3330 if (obj4) {
3331 {
3332 arg5 = &temp5;
3333 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3334 }
3335 }
3336 if (obj6) {
3337 {
3338 arg7 = wxString_in_helper(obj6);
3339 if (arg7 == NULL) SWIG_fail;
423f194a 3340 temp7 = True;
d14a1e28
RD
3341 }
3342 }
3343 {
3344 PyThreadState* __tstate = wxPyBeginAllowThreads();
3345 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3346
3347 wxPyEndAllowThreads(__tstate);
3348 if (PyErr_Occurred()) SWIG_fail;
3349 }
3350 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3351 {
3352 if (temp3)
3353 delete arg3;
3354 }
3355 {
3356 if (temp7)
3357 delete arg7;
3358 }
3359 return resultobj;
3360 fail:
3361 {
3362 if (temp3)
3363 delete arg3;
3364 }
3365 {
3366 if (temp7)
3367 delete arg7;
3368 }
3369 return NULL;
3370}
3371
3372
3373static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3374 PyObject *resultobj;
3375 wxDialog *result;
3376 char *kwnames[] = {
3377 NULL
3378 };
3379
3380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3381 {
3382 PyThreadState* __tstate = wxPyBeginAllowThreads();
3383 result = (wxDialog *)new wxDialog();
3384
3385 wxPyEndAllowThreads(__tstate);
3386 if (PyErr_Occurred()) SWIG_fail;
3387 }
3388 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3389 return resultobj;
3390 fail:
3391 return NULL;
3392}
3393
3394
3395static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3396 PyObject *resultobj;
3397 wxDialog *arg1 = (wxDialog *) 0 ;
3398 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3399 int arg3 ;
d14a1e28
RD
3400 wxString *arg4 = 0 ;
3401 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3402 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3403 wxSize const &arg6_defvalue = wxDefaultSize ;
3404 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3405 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3406 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3407 wxString *arg8 = (wxString *) &arg8_defvalue ;
3408 bool result;
423f194a 3409 bool temp4 = False ;
d14a1e28
RD
3410 wxPoint temp5 ;
3411 wxSize temp6 ;
423f194a 3412 bool temp8 = False ;
d14a1e28
RD
3413 PyObject * obj0 = 0 ;
3414 PyObject * obj1 = 0 ;
3415 PyObject * obj3 = 0 ;
3416 PyObject * obj4 = 0 ;
3417 PyObject * obj5 = 0 ;
3418 PyObject * obj7 = 0 ;
3419 char *kwnames[] = {
3420 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3421 };
3422
3423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3425 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3426 {
3427 arg4 = wxString_in_helper(obj3);
3428 if (arg4 == NULL) SWIG_fail;
423f194a 3429 temp4 = True;
d14a1e28
RD
3430 }
3431 if (obj4) {
3432 {
3433 arg5 = &temp5;
3434 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3435 }
3436 }
3437 if (obj5) {
3438 {
3439 arg6 = &temp6;
3440 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3441 }
3442 }
3443 if (obj7) {
3444 {
3445 arg8 = wxString_in_helper(obj7);
3446 if (arg8 == NULL) SWIG_fail;
423f194a 3447 temp8 = True;
d14a1e28
RD
3448 }
3449 }
3450 {
3451 PyThreadState* __tstate = wxPyBeginAllowThreads();
3452 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3453
3454 wxPyEndAllowThreads(__tstate);
3455 if (PyErr_Occurred()) SWIG_fail;
3456 }
3457 resultobj = PyInt_FromLong((long)result);
3458 {
3459 if (temp4)
3460 delete arg4;
3461 }
3462 {
3463 if (temp8)
3464 delete arg8;
3465 }
3466 return resultobj;
3467 fail:
3468 {
3469 if (temp4)
3470 delete arg4;
3471 }
3472 {
3473 if (temp8)
3474 delete arg8;
3475 }
3476 return NULL;
3477}
3478
3479
3480static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3481 PyObject *resultobj;
3482 wxDialog *arg1 = (wxDialog *) 0 ;
3483 int arg2 ;
3484 PyObject * obj0 = 0 ;
3485 char *kwnames[] = {
3486 (char *) "self",(char *) "returnCode", NULL
3487 };
3488
3489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3491 {
3492 PyThreadState* __tstate = wxPyBeginAllowThreads();
3493 (arg1)->SetReturnCode(arg2);
3494
3495 wxPyEndAllowThreads(__tstate);
3496 if (PyErr_Occurred()) SWIG_fail;
3497 }
3498 Py_INCREF(Py_None); resultobj = Py_None;
3499 return resultobj;
3500 fail:
3501 return NULL;
3502}
3503
3504
3505static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3506 PyObject *resultobj;
3507 wxDialog *arg1 = (wxDialog *) 0 ;
3508 int result;
3509 PyObject * obj0 = 0 ;
3510 char *kwnames[] = {
3511 (char *) "self", NULL
3512 };
3513
3514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3516 {
3517 PyThreadState* __tstate = wxPyBeginAllowThreads();
3518 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3519
3520 wxPyEndAllowThreads(__tstate);
3521 if (PyErr_Occurred()) SWIG_fail;
3522 }
3523 resultobj = PyInt_FromLong((long)result);
3524 return resultobj;
3525 fail:
3526 return NULL;
3527}
3528
3529
3530static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3531 PyObject *resultobj;
3532 wxDialog *arg1 = (wxDialog *) 0 ;
3533 wxString *arg2 = 0 ;
3534 wxSizer *result;
423f194a 3535 bool temp2 = False ;
d14a1e28
RD
3536 PyObject * obj0 = 0 ;
3537 PyObject * obj1 = 0 ;
3538 char *kwnames[] = {
3539 (char *) "self",(char *) "message", NULL
3540 };
3541
3542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3544 {
3545 arg2 = wxString_in_helper(obj1);
3546 if (arg2 == NULL) SWIG_fail;
423f194a 3547 temp2 = True;
d14a1e28
RD
3548 }
3549 {
3550 PyThreadState* __tstate = wxPyBeginAllowThreads();
3551 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3552
3553 wxPyEndAllowThreads(__tstate);
3554 if (PyErr_Occurred()) SWIG_fail;
3555 }
3556 {
3557 resultobj = wxPyMake_wxSizer(result);
3558 }
3559 {
3560 if (temp2)
3561 delete arg2;
3562 }
3563 return resultobj;
3564 fail:
3565 {
3566 if (temp2)
3567 delete arg2;
3568 }
3569 return NULL;
3570}
3571
3572
3573static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3574 PyObject *resultobj;
3575 wxDialog *arg1 = (wxDialog *) 0 ;
3576 long arg2 ;
3577 wxSizer *result;
3578 PyObject * obj0 = 0 ;
3579 char *kwnames[] = {
3580 (char *) "self",(char *) "flags", NULL
3581 };
3582
3583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3585 {
3586 PyThreadState* __tstate = wxPyBeginAllowThreads();
3587 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3588
3589 wxPyEndAllowThreads(__tstate);
3590 if (PyErr_Occurred()) SWIG_fail;
3591 }
3592 {
3593 resultobj = wxPyMake_wxSizer(result);
3594 }
3595 return resultobj;
3596 fail:
3597 return NULL;
3598}
3599
3600
3601static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3602 PyObject *resultobj;
3603 wxDialog *arg1 = (wxDialog *) 0 ;
3604 bool arg2 ;
3605 PyObject * obj0 = 0 ;
3606 PyObject * obj1 = 0 ;
3607 char *kwnames[] = {
3608 (char *) "self",(char *) "flag", NULL
3609 };
3610
3611 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3612 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3613 arg2 = PyInt_AsLong(obj1) ? true : false;
3614 if (PyErr_Occurred()) SWIG_fail;
3615 {
3616 PyThreadState* __tstate = wxPyBeginAllowThreads();
3617 (arg1)->SetModal(arg2);
3618
3619 wxPyEndAllowThreads(__tstate);
3620 if (PyErr_Occurred()) SWIG_fail;
3621 }
3622 Py_INCREF(Py_None); resultobj = Py_None;
3623 return resultobj;
3624 fail:
3625 return NULL;
3626}
3627
3628
3629static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3630 PyObject *resultobj;
3631 wxDialog *arg1 = (wxDialog *) 0 ;
3632 bool result;
3633 PyObject * obj0 = 0 ;
3634 char *kwnames[] = {
3635 (char *) "self", NULL
3636 };
3637
3638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3639 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3640 {
3641 PyThreadState* __tstate = wxPyBeginAllowThreads();
3642 result = (bool)((wxDialog const *)arg1)->IsModal();
3643
3644 wxPyEndAllowThreads(__tstate);
3645 if (PyErr_Occurred()) SWIG_fail;
3646 }
3647 resultobj = PyInt_FromLong((long)result);
3648 return resultobj;
3649 fail:
3650 return NULL;
3651}
3652
3653
3654static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3655 PyObject *resultobj;
3656 wxDialog *arg1 = (wxDialog *) 0 ;
3657 int result;
3658 PyObject * obj0 = 0 ;
3659 char *kwnames[] = {
3660 (char *) "self", NULL
3661 };
3662
3663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3665 {
3666 PyThreadState* __tstate = wxPyBeginAllowThreads();
3667 result = (int)(arg1)->ShowModal();
3668
3669 wxPyEndAllowThreads(__tstate);
3670 if (PyErr_Occurred()) SWIG_fail;
3671 }
3672 resultobj = PyInt_FromLong((long)result);
3673 return resultobj;
3674 fail:
3675 return NULL;
3676}
3677
3678
3679static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3680 PyObject *resultobj;
3681 wxDialog *arg1 = (wxDialog *) 0 ;
3682 int arg2 ;
3683 PyObject * obj0 = 0 ;
3684 char *kwnames[] = {
3685 (char *) "self",(char *) "retCode", NULL
3686 };
3687
3688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3690 {
3691 PyThreadState* __tstate = wxPyBeginAllowThreads();
3692 (arg1)->EndModal(arg2);
3693
3694 wxPyEndAllowThreads(__tstate);
3695 if (PyErr_Occurred()) SWIG_fail;
3696 }
3697 Py_INCREF(Py_None); resultobj = Py_None;
3698 return resultobj;
3699 fail:
3700 return NULL;
3701}
3702
3703
3704static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3705 PyObject *resultobj;
3706 wxDialog *arg1 = (wxDialog *) 0 ;
3707 bool result;
3708 PyObject * obj0 = 0 ;
3709 char *kwnames[] = {
3710 (char *) "self", NULL
3711 };
3712
3713 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3714 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3715 {
3716 PyThreadState* __tstate = wxPyBeginAllowThreads();
3717 result = (bool)wxDialog_IsModalShowing(arg1);
3718
3719 wxPyEndAllowThreads(__tstate);
3720 if (PyErr_Occurred()) SWIG_fail;
3721 }
3722 resultobj = PyInt_FromLong((long)result);
3723 return resultobj;
3724 fail:
3725 return NULL;
3726}
3727
3728
3729static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3730 PyObject *obj;
3731 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3732 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3733 Py_INCREF(obj);
3734 return Py_BuildValue((char *)"");
3735}
3736static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj;
3738 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3739 int arg2 ;
d14a1e28
RD
3740 wxString *arg3 = 0 ;
3741 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3742 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3743 wxSize const &arg5_defvalue = wxDefaultSize ;
3744 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3745 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3746 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3747 wxString *arg7 = (wxString *) &arg7_defvalue ;
3748 wxMiniFrame *result;
423f194a 3749 bool temp3 = False ;
d14a1e28
RD
3750 wxPoint temp4 ;
3751 wxSize temp5 ;
423f194a 3752 bool temp7 = False ;
d14a1e28
RD
3753 PyObject * obj0 = 0 ;
3754 PyObject * obj2 = 0 ;
3755 PyObject * obj3 = 0 ;
3756 PyObject * obj4 = 0 ;
3757 PyObject * obj6 = 0 ;
3758 char *kwnames[] = {
3759 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3760 };
3761
3762 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3763 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3764 {
3765 arg3 = wxString_in_helper(obj2);
3766 if (arg3 == NULL) SWIG_fail;
423f194a 3767 temp3 = True;
d14a1e28
RD
3768 }
3769 if (obj3) {
3770 {
3771 arg4 = &temp4;
3772 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3773 }
3774 }
3775 if (obj4) {
3776 {
3777 arg5 = &temp5;
3778 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3779 }
3780 }
3781 if (obj6) {
3782 {
3783 arg7 = wxString_in_helper(obj6);
3784 if (arg7 == NULL) SWIG_fail;
423f194a 3785 temp7 = True;
d14a1e28
RD
3786 }
3787 }
3788 {
3789 PyThreadState* __tstate = wxPyBeginAllowThreads();
3790 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3791
3792 wxPyEndAllowThreads(__tstate);
3793 if (PyErr_Occurred()) SWIG_fail;
3794 }
3795 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3796 {
3797 if (temp3)
3798 delete arg3;
3799 }
3800 {
3801 if (temp7)
3802 delete arg7;
3803 }
3804 return resultobj;
3805 fail:
3806 {
3807 if (temp3)
3808 delete arg3;
3809 }
3810 {
3811 if (temp7)
3812 delete arg7;
3813 }
3814 return NULL;
3815}
3816
3817
3818static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3819 PyObject *resultobj;
3820 wxMiniFrame *result;
3821 char *kwnames[] = {
3822 NULL
3823 };
3824
3825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3826 {
3827 PyThreadState* __tstate = wxPyBeginAllowThreads();
3828 result = (wxMiniFrame *)new wxMiniFrame();
3829
3830 wxPyEndAllowThreads(__tstate);
3831 if (PyErr_Occurred()) SWIG_fail;
3832 }
3833 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3834 return resultobj;
3835 fail:
3836 return NULL;
3837}
3838
3839
3840static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3841 PyObject *resultobj;
3842 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3843 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3844 int arg3 ;
d14a1e28
RD
3845 wxString *arg4 = 0 ;
3846 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3847 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3848 wxSize const &arg6_defvalue = wxDefaultSize ;
3849 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3850 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3851 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3852 wxString *arg8 = (wxString *) &arg8_defvalue ;
3853 bool result;
423f194a 3854 bool temp4 = False ;
d14a1e28
RD
3855 wxPoint temp5 ;
3856 wxSize temp6 ;
423f194a 3857 bool temp8 = False ;
d14a1e28
RD
3858 PyObject * obj0 = 0 ;
3859 PyObject * obj1 = 0 ;
3860 PyObject * obj3 = 0 ;
3861 PyObject * obj4 = 0 ;
3862 PyObject * obj5 = 0 ;
3863 PyObject * obj7 = 0 ;
3864 char *kwnames[] = {
3865 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3866 };
3867
3868 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3869 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3870 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3871 {
3872 arg4 = wxString_in_helper(obj3);
3873 if (arg4 == NULL) SWIG_fail;
423f194a 3874 temp4 = True;
d14a1e28
RD
3875 }
3876 if (obj4) {
3877 {
3878 arg5 = &temp5;
3879 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3880 }
3881 }
3882 if (obj5) {
3883 {
3884 arg6 = &temp6;
3885 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3886 }
3887 }
3888 if (obj7) {
3889 {
3890 arg8 = wxString_in_helper(obj7);
3891 if (arg8 == NULL) SWIG_fail;
423f194a 3892 temp8 = True;
d14a1e28
RD
3893 }
3894 }
3895 {
3896 PyThreadState* __tstate = wxPyBeginAllowThreads();
3897 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3898
3899 wxPyEndAllowThreads(__tstate);
3900 if (PyErr_Occurred()) SWIG_fail;
3901 }
3902 resultobj = PyInt_FromLong((long)result);
3903 {
3904 if (temp4)
3905 delete arg4;
3906 }
3907 {
3908 if (temp8)
3909 delete arg8;
3910 }
3911 return resultobj;
3912 fail:
3913 {
3914 if (temp4)
3915 delete arg4;
3916 }
3917 {
3918 if (temp8)
3919 delete arg8;
3920 }
3921 return NULL;
3922}
3923
3924
3925static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3926 PyObject *obj;
3927 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3928 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3929 Py_INCREF(obj);
3930 return Py_BuildValue((char *)"");
3931}
3932static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3933 PyObject *resultobj;
3934 wxBitmap *arg1 = 0 ;
3935 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3936 int arg3 ;
d14a1e28
RD
3937 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3938 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3939 wxSize const &arg5_defvalue = wxDefaultSize ;
3940 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3941 long arg6 = (long) wxNO_BORDER ;
3942 wxSplashScreenWindow *result;
3943 wxPoint temp4 ;
3944 wxSize temp5 ;
3945 PyObject * obj0 = 0 ;
3946 PyObject * obj1 = 0 ;
3947 PyObject * obj3 = 0 ;
3948 PyObject * obj4 = 0 ;
3949 char *kwnames[] = {
3950 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
3951 };
3952
3953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
3954 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3955 if (arg1 == NULL) {
3956 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
3957 }
3958 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3959 if (obj3) {
3960 {
3961 arg4 = &temp4;
3962 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3963 }
3964 }
3965 if (obj4) {
3966 {
3967 arg5 = &temp5;
3968 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3969 }
3970 }
3971 {
3972 PyThreadState* __tstate = wxPyBeginAllowThreads();
3973 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
3974
3975 wxPyEndAllowThreads(__tstate);
3976 if (PyErr_Occurred()) SWIG_fail;
3977 }
3978 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
3979 return resultobj;
3980 fail:
3981 return NULL;
3982}
3983
3984
3985static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
3986 PyObject *resultobj;
3987 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
3988 wxBitmap *arg2 = 0 ;
3989 PyObject * obj0 = 0 ;
3990 PyObject * obj1 = 0 ;
3991 char *kwnames[] = {
3992 (char *) "self",(char *) "bitmap", NULL
3993 };
3994
3995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
3996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3998 if (arg2 == NULL) {
3999 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4000 }
4001 {
4002 PyThreadState* __tstate = wxPyBeginAllowThreads();
4003 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4004
4005 wxPyEndAllowThreads(__tstate);
4006 if (PyErr_Occurred()) SWIG_fail;
4007 }
4008 Py_INCREF(Py_None); resultobj = Py_None;
4009 return resultobj;
4010 fail:
4011 return NULL;
4012}
4013
4014
4015static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4016 PyObject *resultobj;
4017 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4018 wxBitmap *result;
4019 PyObject * obj0 = 0 ;
4020 char *kwnames[] = {
4021 (char *) "self", NULL
4022 };
4023
4024 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4025 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4026 {
4027 PyThreadState* __tstate = wxPyBeginAllowThreads();
4028 {
4029 wxBitmap &_result_ref = (arg1)->GetBitmap();
4030 result = (wxBitmap *) &_result_ref;
4031 }
4032
4033 wxPyEndAllowThreads(__tstate);
4034 if (PyErr_Occurred()) SWIG_fail;
4035 }
4036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4037 return resultobj;
4038 fail:
4039 return NULL;
4040}
4041
4042
4043static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4044 PyObject *obj;
4045 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4046 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4047 Py_INCREF(obj);
4048 return Py_BuildValue((char *)"");
4049}
4050static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4051 PyObject *resultobj;
4052 wxBitmap *arg1 = 0 ;
4053 long arg2 ;
4054 int arg3 ;
4055 wxWindow *arg4 = (wxWindow *) 0 ;
423f194a 4056 int arg5 ;
d14a1e28
RD
4057 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4058 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4059 wxSize const &arg7_defvalue = wxDefaultSize ;
4060 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4061 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4062 wxSplashScreen *result;
4063 wxPoint temp6 ;
4064 wxSize temp7 ;
4065 PyObject * obj0 = 0 ;
4066 PyObject * obj3 = 0 ;
4067 PyObject * obj5 = 0 ;
4068 PyObject * obj6 = 0 ;
4069 char *kwnames[] = {
4070 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4071 };
4072
4073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4075 if (arg1 == NULL) {
4076 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4077 }
4078 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4079 if (obj5) {
4080 {
4081 arg6 = &temp6;
4082 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4083 }
4084 }
4085 if (obj6) {
4086 {
4087 arg7 = &temp7;
4088 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4089 }
4090 }
4091 {
4092 PyThreadState* __tstate = wxPyBeginAllowThreads();
4093 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4094
4095 wxPyEndAllowThreads(__tstate);
4096 if (PyErr_Occurred()) SWIG_fail;
4097 }
4098 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4099 return resultobj;
4100 fail:
4101 return NULL;
4102}
4103
4104
4105static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4106 PyObject *resultobj;
4107 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4108 long result;
4109 PyObject * obj0 = 0 ;
4110 char *kwnames[] = {
4111 (char *) "self", NULL
4112 };
4113
4114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4116 {
4117 PyThreadState* __tstate = wxPyBeginAllowThreads();
4118 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4119
4120 wxPyEndAllowThreads(__tstate);
4121 if (PyErr_Occurred()) SWIG_fail;
4122 }
4123 resultobj = PyInt_FromLong((long)result);
4124 return resultobj;
4125 fail:
4126 return NULL;
4127}
4128
4129
4130static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4131 PyObject *resultobj;
4132 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4133 wxSplashScreenWindow *result;
4134 PyObject * obj0 = 0 ;
4135 char *kwnames[] = {
4136 (char *) "self", NULL
4137 };
4138
4139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4141 {
4142 PyThreadState* __tstate = wxPyBeginAllowThreads();
4143 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4144
4145 wxPyEndAllowThreads(__tstate);
4146 if (PyErr_Occurred()) SWIG_fail;
4147 }
4148 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4149 return resultobj;
4150 fail:
4151 return NULL;
4152}
4153
4154
4155static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4156 PyObject *resultobj;
4157 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4158 int result;
4159 PyObject * obj0 = 0 ;
4160 char *kwnames[] = {
4161 (char *) "self", NULL
4162 };
4163
4164 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4165 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4166 {
4167 PyThreadState* __tstate = wxPyBeginAllowThreads();
4168 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4169
4170 wxPyEndAllowThreads(__tstate);
4171 if (PyErr_Occurred()) SWIG_fail;
4172 }
4173 resultobj = PyInt_FromLong((long)result);
4174 return resultobj;
4175 fail:
4176 return NULL;
4177}
4178
4179
4180static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4181 PyObject *obj;
4182 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4183 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4184 Py_INCREF(obj);
4185 return Py_BuildValue((char *)"");
4186}
4187static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4188 PyObject *resultobj;
4189 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4190 int arg2 = (int) -1 ;
d14a1e28
RD
4191 long arg3 = (long) wxST_SIZEGRIP ;
4192 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4193 wxString *arg4 = (wxString *) &arg4_defvalue ;
4194 wxStatusBar *result;
423f194a 4195 bool temp4 = False ;
d14a1e28
RD
4196 PyObject * obj0 = 0 ;
4197 PyObject * obj3 = 0 ;
4198 char *kwnames[] = {
4199 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4200 };
4201
4202 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4203 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4204 if (obj3) {
4205 {
4206 arg4 = wxString_in_helper(obj3);
4207 if (arg4 == NULL) SWIG_fail;
423f194a 4208 temp4 = True;
d14a1e28
RD
4209 }
4210 }
4211 {
4212 PyThreadState* __tstate = wxPyBeginAllowThreads();
4213 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4214
4215 wxPyEndAllowThreads(__tstate);
4216 if (PyErr_Occurred()) SWIG_fail;
4217 }
4218 {
4219 resultobj = wxPyMake_wxObject(result);
4220 }
4221 {
4222 if (temp4)
4223 delete arg4;
4224 }
4225 return resultobj;
4226 fail:
4227 {
4228 if (temp4)
4229 delete arg4;
4230 }
4231 return NULL;
4232}
4233
4234
4235static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4236 PyObject *resultobj;
4237 wxStatusBar *result;
4238 char *kwnames[] = {
4239 NULL
4240 };
4241
4242 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4243 {
4244 PyThreadState* __tstate = wxPyBeginAllowThreads();
4245 result = (wxStatusBar *)new wxStatusBar();
4246
4247 wxPyEndAllowThreads(__tstate);
4248 if (PyErr_Occurred()) SWIG_fail;
4249 }
4250 {
4251 resultobj = wxPyMake_wxObject(result);
4252 }
4253 return resultobj;
4254 fail:
4255 return NULL;
4256}
4257
4258
4259static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4260 PyObject *resultobj;
4261 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4262 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4263 int arg3 ;
d14a1e28
RD
4264 long arg4 = (long) wxST_SIZEGRIP ;
4265 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4266 wxString *arg5 = (wxString *) &arg5_defvalue ;
4267 bool result;
423f194a 4268 bool temp5 = False ;
d14a1e28
RD
4269 PyObject * obj0 = 0 ;
4270 PyObject * obj1 = 0 ;
4271 PyObject * obj4 = 0 ;
4272 char *kwnames[] = {
4273 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4274 };
4275
4276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4278 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4279 if (obj4) {
4280 {
4281 arg5 = wxString_in_helper(obj4);
4282 if (arg5 == NULL) SWIG_fail;
423f194a 4283 temp5 = True;
d14a1e28
RD
4284 }
4285 }
4286 {
4287 PyThreadState* __tstate = wxPyBeginAllowThreads();
4288 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4289
4290 wxPyEndAllowThreads(__tstate);
4291 if (PyErr_Occurred()) SWIG_fail;
4292 }
4293 resultobj = PyInt_FromLong((long)result);
4294 {
4295 if (temp5)
4296 delete arg5;
4297 }
4298 return resultobj;
4299 fail:
4300 {
4301 if (temp5)
4302 delete arg5;
4303 }
4304 return NULL;
4305}
4306
4307
4308static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4309 PyObject *resultobj;
4310 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4311 int arg2 = (int) 1 ;
4312 PyObject * obj0 = 0 ;
4313 char *kwnames[] = {
4314 (char *) "self",(char *) "number", NULL
4315 };
4316
4317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4319 {
4320 PyThreadState* __tstate = wxPyBeginAllowThreads();
4321 (arg1)->SetFieldsCount(arg2);
4322
4323 wxPyEndAllowThreads(__tstate);
4324 if (PyErr_Occurred()) SWIG_fail;
4325 }
4326 Py_INCREF(Py_None); resultobj = Py_None;
4327 return resultobj;
4328 fail:
4329 return NULL;
4330}
4331
4332
4333static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4334 PyObject *resultobj;
4335 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4336 int result;
4337 PyObject * obj0 = 0 ;
4338 char *kwnames[] = {
4339 (char *) "self", NULL
4340 };
4341
4342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4344 {
4345 PyThreadState* __tstate = wxPyBeginAllowThreads();
4346 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4347
4348 wxPyEndAllowThreads(__tstate);
4349 if (PyErr_Occurred()) SWIG_fail;
4350 }
4351 resultobj = PyInt_FromLong((long)result);
4352 return resultobj;
4353 fail:
4354 return NULL;
4355}
4356
4357
4358static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4359 PyObject *resultobj;
4360 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4361 wxString *arg2 = 0 ;
4362 int arg3 = (int) 0 ;
423f194a 4363 bool temp2 = False ;
d14a1e28
RD
4364 PyObject * obj0 = 0 ;
4365 PyObject * obj1 = 0 ;
4366 char *kwnames[] = {
4367 (char *) "self",(char *) "text",(char *) "number", NULL
4368 };
4369
4370 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4371 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4372 {
4373 arg2 = wxString_in_helper(obj1);
4374 if (arg2 == NULL) SWIG_fail;
423f194a 4375 temp2 = True;
d14a1e28
RD
4376 }
4377 {
4378 PyThreadState* __tstate = wxPyBeginAllowThreads();
4379 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4380
4381 wxPyEndAllowThreads(__tstate);
4382 if (PyErr_Occurred()) SWIG_fail;
4383 }
4384 Py_INCREF(Py_None); resultobj = Py_None;
4385 {
4386 if (temp2)
4387 delete arg2;
4388 }
4389 return resultobj;
4390 fail:
4391 {
4392 if (temp2)
4393 delete arg2;
4394 }
4395 return NULL;
4396}
4397
4398
4399static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4400 PyObject *resultobj;
4401 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4402 int arg2 = (int) 0 ;
4403 wxString result;
4404 PyObject * obj0 = 0 ;
4405 char *kwnames[] = {
4406 (char *) "self",(char *) "number", NULL
4407 };
4408
4409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4411 {
4412 PyThreadState* __tstate = wxPyBeginAllowThreads();
4413 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4414
4415 wxPyEndAllowThreads(__tstate);
4416 if (PyErr_Occurred()) SWIG_fail;
4417 }
4418 {
4419#if wxUSE_UNICODE
4420 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4421#else
4422 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4423#endif
4424 }
4425 return resultobj;
4426 fail:
4427 return NULL;
4428}
4429
4430
4431static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4432 PyObject *resultobj;
4433 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4434 wxString *arg2 = 0 ;
4435 int arg3 = (int) 0 ;
423f194a 4436 bool temp2 = False ;
d14a1e28
RD
4437 PyObject * obj0 = 0 ;
4438 PyObject * obj1 = 0 ;
4439 char *kwnames[] = {
4440 (char *) "self",(char *) "text",(char *) "number", NULL
4441 };
4442
4443 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4444 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4445 {
4446 arg2 = wxString_in_helper(obj1);
4447 if (arg2 == NULL) SWIG_fail;
423f194a 4448 temp2 = True;
d14a1e28
RD
4449 }
4450 {
4451 PyThreadState* __tstate = wxPyBeginAllowThreads();
4452 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4453
4454 wxPyEndAllowThreads(__tstate);
4455 if (PyErr_Occurred()) SWIG_fail;
4456 }
4457 Py_INCREF(Py_None); resultobj = Py_None;
4458 {
4459 if (temp2)
4460 delete arg2;
4461 }
4462 return resultobj;
4463 fail:
4464 {
4465 if (temp2)
4466 delete arg2;
4467 }
4468 return NULL;
4469}
4470
4471
4472static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4473 PyObject *resultobj;
4474 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4475 int arg2 = (int) 0 ;
4476 PyObject * obj0 = 0 ;
4477 char *kwnames[] = {
4478 (char *) "self",(char *) "number", NULL
4479 };
4480
4481 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4482 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4483 {
4484 PyThreadState* __tstate = wxPyBeginAllowThreads();
4485 (arg1)->PopStatusText(arg2);
4486
4487 wxPyEndAllowThreads(__tstate);
4488 if (PyErr_Occurred()) SWIG_fail;
4489 }
4490 Py_INCREF(Py_None); resultobj = Py_None;
4491 return resultobj;
4492 fail:
4493 return NULL;
4494}
4495
4496
4497static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4498 PyObject *resultobj;
4499 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4500 int arg2 ;
4501 int *arg3 = (int *) 0 ;
4502 PyObject * obj0 = 0 ;
4503 PyObject * obj1 = 0 ;
4504 char *kwnames[] = {
4505 (char *) "self",(char *) "widths", NULL
4506 };
4507
4508 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4509 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4510 {
4511 arg2 = PyList_Size(obj1);
4512 arg3 = int_LIST_helper(obj1);
4513 if (arg3 == NULL) SWIG_fail;
4514 }
4515 {
4516 PyThreadState* __tstate = wxPyBeginAllowThreads();
4517 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4518
4519 wxPyEndAllowThreads(__tstate);
4520 if (PyErr_Occurred()) SWIG_fail;
4521 }
4522 Py_INCREF(Py_None); resultobj = Py_None;
4523 {
4524 if (arg3) delete [] arg3;
4525 }
4526 return resultobj;
4527 fail:
4528 {
4529 if (arg3) delete [] arg3;
4530 }
4531 return NULL;
4532}
4533
4534
4535static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4536 PyObject *resultobj;
4537 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4538 int arg2 ;
44127b65 4539 wxRect result;
d14a1e28 4540 PyObject * obj0 = 0 ;
d14a1e28 4541 char *kwnames[] = {
44127b65 4542 (char *) "self",(char *) "i", NULL
d14a1e28
RD
4543 };
4544
44127b65 4545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 4546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
4547 {
4548 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 4549 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
4550
4551 wxPyEndAllowThreads(__tstate);
4552 if (PyErr_Occurred()) SWIG_fail;
4553 }
44127b65
RD
4554 {
4555 wxRect * resultptr;
4556 resultptr = new wxRect((wxRect &) result);
4557 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4558 }
d14a1e28
RD
4559 return resultobj;
4560 fail:
4561 return NULL;
4562}
4563
4564
4565static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4566 PyObject *resultobj;
4567 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4568 int arg2 ;
4569 PyObject * obj0 = 0 ;
4570 char *kwnames[] = {
4571 (char *) "self",(char *) "height", NULL
4572 };
4573
4574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4576 {
4577 PyThreadState* __tstate = wxPyBeginAllowThreads();
4578 (arg1)->SetMinHeight(arg2);
4579
4580 wxPyEndAllowThreads(__tstate);
4581 if (PyErr_Occurred()) SWIG_fail;
4582 }
4583 Py_INCREF(Py_None); resultobj = Py_None;
4584 return resultobj;
4585 fail:
4586 return NULL;
4587}
4588
4589
4590static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4591 PyObject *resultobj;
4592 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4593 int result;
4594 PyObject * obj0 = 0 ;
4595 char *kwnames[] = {
4596 (char *) "self", NULL
4597 };
4598
4599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4601 {
4602 PyThreadState* __tstate = wxPyBeginAllowThreads();
4603 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4604
4605 wxPyEndAllowThreads(__tstate);
4606 if (PyErr_Occurred()) SWIG_fail;
4607 }
4608 resultobj = PyInt_FromLong((long)result);
4609 return resultobj;
4610 fail:
4611 return NULL;
4612}
4613
4614
4615static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4616 PyObject *resultobj;
4617 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4618 int result;
4619 PyObject * obj0 = 0 ;
4620 char *kwnames[] = {
4621 (char *) "self", NULL
4622 };
4623
4624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4626 {
4627 PyThreadState* __tstate = wxPyBeginAllowThreads();
4628 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4629
4630 wxPyEndAllowThreads(__tstate);
4631 if (PyErr_Occurred()) SWIG_fail;
4632 }
4633 resultobj = PyInt_FromLong((long)result);
4634 return resultobj;
4635 fail:
4636 return NULL;
4637}
4638
4639
4640static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4641 PyObject *obj;
4642 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4643 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4644 Py_INCREF(obj);
4645 return Py_BuildValue((char *)"");
4646}
4647static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4648 PyObject *resultobj;
4649 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4650 int arg2 ;
d14a1e28
RD
4651 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4652 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4653 wxSize const &arg4_defvalue = wxDefaultSize ;
4654 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4655 long arg5 = (long) wxSP_3D ;
4656 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4657 wxString *arg6 = (wxString *) &arg6_defvalue ;
4658 wxSplitterWindow *result;
4659 wxPoint temp3 ;
4660 wxSize temp4 ;
423f194a 4661 bool temp6 = False ;
d14a1e28
RD
4662 PyObject * obj0 = 0 ;
4663 PyObject * obj2 = 0 ;
4664 PyObject * obj3 = 0 ;
4665 PyObject * obj5 = 0 ;
4666 char *kwnames[] = {
4667 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4668 };
4669
4670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4672 if (obj2) {
4673 {
4674 arg3 = &temp3;
4675 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4676 }
4677 }
4678 if (obj3) {
4679 {
4680 arg4 = &temp4;
4681 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4682 }
4683 }
4684 if (obj5) {
4685 {
4686 arg6 = wxString_in_helper(obj5);
4687 if (arg6 == NULL) SWIG_fail;
423f194a 4688 temp6 = True;
d14a1e28
RD
4689 }
4690 }
4691 {
4692 PyThreadState* __tstate = wxPyBeginAllowThreads();
4693 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4694
4695 wxPyEndAllowThreads(__tstate);
4696 if (PyErr_Occurred()) SWIG_fail;
4697 }
4698 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4699 {
4700 if (temp6)
4701 delete arg6;
4702 }
4703 return resultobj;
4704 fail:
4705 {
4706 if (temp6)
4707 delete arg6;
4708 }
4709 return NULL;
4710}
4711
4712
4713static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4714 PyObject *resultobj;
4715 wxSplitterWindow *result;
4716 char *kwnames[] = {
4717 NULL
4718 };
4719
4720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4721 {
4722 PyThreadState* __tstate = wxPyBeginAllowThreads();
4723 result = (wxSplitterWindow *)new wxSplitterWindow();
4724
4725 wxPyEndAllowThreads(__tstate);
4726 if (PyErr_Occurred()) SWIG_fail;
4727 }
4728 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4729 return resultobj;
4730 fail:
4731 return NULL;
4732}
4733
4734
4735static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4736 PyObject *resultobj;
4737 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4738 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4739 int arg3 ;
d14a1e28
RD
4740 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4741 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4742 wxSize const &arg5_defvalue = wxDefaultSize ;
4743 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4744 long arg6 = (long) wxSP_3D ;
4745 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4746 wxString *arg7 = (wxString *) &arg7_defvalue ;
4747 bool result;
4748 wxPoint temp4 ;
4749 wxSize temp5 ;
423f194a 4750 bool temp7 = False ;
d14a1e28
RD
4751 PyObject * obj0 = 0 ;
4752 PyObject * obj1 = 0 ;
4753 PyObject * obj3 = 0 ;
4754 PyObject * obj4 = 0 ;
4755 PyObject * obj6 = 0 ;
4756 char *kwnames[] = {
4757 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4758 };
4759
4760 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4761 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4762 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4763 if (obj3) {
4764 {
4765 arg4 = &temp4;
4766 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4767 }
4768 }
4769 if (obj4) {
4770 {
4771 arg5 = &temp5;
4772 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4773 }
4774 }
4775 if (obj6) {
4776 {
4777 arg7 = wxString_in_helper(obj6);
4778 if (arg7 == NULL) SWIG_fail;
423f194a 4779 temp7 = True;
d14a1e28
RD
4780 }
4781 }
4782 {
4783 PyThreadState* __tstate = wxPyBeginAllowThreads();
4784 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4785
4786 wxPyEndAllowThreads(__tstate);
4787 if (PyErr_Occurred()) SWIG_fail;
4788 }
4789 resultobj = PyInt_FromLong((long)result);
4790 {
4791 if (temp7)
4792 delete arg7;
4793 }
4794 return resultobj;
4795 fail:
4796 {
4797 if (temp7)
4798 delete arg7;
4799 }
4800 return NULL;
4801}
4802
4803
4804static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4805 PyObject *resultobj;
4806 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4807 wxWindow *result;
4808 PyObject * obj0 = 0 ;
4809 char *kwnames[] = {
4810 (char *) "self", NULL
4811 };
4812
4813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4815 {
4816 PyThreadState* __tstate = wxPyBeginAllowThreads();
4817 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4818
4819 wxPyEndAllowThreads(__tstate);
4820 if (PyErr_Occurred()) SWIG_fail;
4821 }
4822 {
4823 resultobj = wxPyMake_wxObject(result);
4824 }
4825 return resultobj;
4826 fail:
4827 return NULL;
4828}
4829
4830
4831static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4832 PyObject *resultobj;
4833 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4834 wxWindow *result;
4835 PyObject * obj0 = 0 ;
4836 char *kwnames[] = {
4837 (char *) "self", NULL
4838 };
4839
4840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4842 {
4843 PyThreadState* __tstate = wxPyBeginAllowThreads();
4844 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4845
4846 wxPyEndAllowThreads(__tstate);
4847 if (PyErr_Occurred()) SWIG_fail;
4848 }
4849 {
4850 resultobj = wxPyMake_wxObject(result);
4851 }
4852 return resultobj;
4853 fail:
4854 return NULL;
4855}
4856
4857
4858static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4859 PyObject *resultobj;
4860 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4861 int arg2 ;
4862 PyObject * obj0 = 0 ;
4863 char *kwnames[] = {
4864 (char *) "self",(char *) "mode", NULL
4865 };
4866
4867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) 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 (arg1)->SetSplitMode(arg2);
4872
4873 wxPyEndAllowThreads(__tstate);
4874 if (PyErr_Occurred()) SWIG_fail;
4875 }
4876 Py_INCREF(Py_None); resultobj = Py_None;
4877 return resultobj;
4878 fail:
4879 return NULL;
4880}
4881
4882
4883static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4884 PyObject *resultobj;
4885 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4886 int result;
4887 PyObject * obj0 = 0 ;
4888 char *kwnames[] = {
4889 (char *) "self", NULL
4890 };
4891
4892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4894 {
4895 PyThreadState* __tstate = wxPyBeginAllowThreads();
4896 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4897
4898 wxPyEndAllowThreads(__tstate);
4899 if (PyErr_Occurred()) SWIG_fail;
4900 }
4901 resultobj = PyInt_FromLong((long)result);
4902 return resultobj;
4903 fail:
4904 return NULL;
4905}
4906
4907
4908static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4909 PyObject *resultobj;
4910 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4911 wxWindow *arg2 = (wxWindow *) 0 ;
4912 PyObject * obj0 = 0 ;
4913 PyObject * obj1 = 0 ;
4914 char *kwnames[] = {
4915 (char *) "self",(char *) "window", NULL
4916 };
4917
4918 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
4919 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4920 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4921 {
4922 PyThreadState* __tstate = wxPyBeginAllowThreads();
4923 (arg1)->Initialize(arg2);
4924
4925 wxPyEndAllowThreads(__tstate);
4926 if (PyErr_Occurred()) SWIG_fail;
4927 }
4928 Py_INCREF(Py_None); resultobj = Py_None;
4929 return resultobj;
4930 fail:
4931 return NULL;
4932}
4933
4934
4935static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
4936 PyObject *resultobj;
4937 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4938 wxWindow *arg2 = (wxWindow *) 0 ;
4939 wxWindow *arg3 = (wxWindow *) 0 ;
4940 int arg4 = (int) 0 ;
4941 bool result;
4942 PyObject * obj0 = 0 ;
4943 PyObject * obj1 = 0 ;
4944 PyObject * obj2 = 0 ;
4945 char *kwnames[] = {
4946 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4947 };
4948
4949 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4950 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4951 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4952 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4953 {
4954 PyThreadState* __tstate = wxPyBeginAllowThreads();
4955 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
4956
4957 wxPyEndAllowThreads(__tstate);
4958 if (PyErr_Occurred()) SWIG_fail;
4959 }
4960 resultobj = PyInt_FromLong((long)result);
4961 return resultobj;
4962 fail:
4963 return NULL;
4964}
4965
4966
4967static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
4968 PyObject *resultobj;
4969 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4970 wxWindow *arg2 = (wxWindow *) 0 ;
4971 wxWindow *arg3 = (wxWindow *) 0 ;
4972 int arg4 = (int) 0 ;
4973 bool result;
4974 PyObject * obj0 = 0 ;
4975 PyObject * obj1 = 0 ;
4976 PyObject * obj2 = 0 ;
4977 char *kwnames[] = {
4978 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
4979 };
4980
4981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
4982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4983 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4984 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4985 {
4986 PyThreadState* __tstate = wxPyBeginAllowThreads();
4987 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
4988
4989 wxPyEndAllowThreads(__tstate);
4990 if (PyErr_Occurred()) SWIG_fail;
4991 }
4992 resultobj = PyInt_FromLong((long)result);
4993 return resultobj;
4994 fail:
4995 return NULL;
4996}
4997
4998
4999static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5000 PyObject *resultobj;
5001 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5002 wxWindow *arg2 = (wxWindow *) NULL ;
5003 bool result;
5004 PyObject * obj0 = 0 ;
5005 PyObject * obj1 = 0 ;
5006 char *kwnames[] = {
5007 (char *) "self",(char *) "toRemove", NULL
5008 };
5009
5010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5012 if (obj1) {
5013 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5014 }
5015 {
5016 PyThreadState* __tstate = wxPyBeginAllowThreads();
5017 result = (bool)(arg1)->Unsplit(arg2);
5018
5019 wxPyEndAllowThreads(__tstate);
5020 if (PyErr_Occurred()) SWIG_fail;
5021 }
5022 resultobj = PyInt_FromLong((long)result);
5023 return resultobj;
5024 fail:
5025 return NULL;
5026}
5027
5028
5029static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5030 PyObject *resultobj;
5031 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5032 wxWindow *arg2 = (wxWindow *) 0 ;
5033 wxWindow *arg3 = (wxWindow *) 0 ;
5034 bool result;
5035 PyObject * obj0 = 0 ;
5036 PyObject * obj1 = 0 ;
5037 PyObject * obj2 = 0 ;
5038 char *kwnames[] = {
5039 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5040 };
5041
5042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5044 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5045 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5046 {
5047 PyThreadState* __tstate = wxPyBeginAllowThreads();
5048 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5049
5050 wxPyEndAllowThreads(__tstate);
5051 if (PyErr_Occurred()) SWIG_fail;
5052 }
5053 resultobj = PyInt_FromLong((long)result);
5054 return resultobj;
5055 fail:
5056 return NULL;
5057}
5058
5059
5060static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5061 PyObject *resultobj;
5062 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5063 bool result;
5064 PyObject * obj0 = 0 ;
5065 char *kwnames[] = {
5066 (char *) "self", NULL
5067 };
5068
5069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5071 {
5072 PyThreadState* __tstate = wxPyBeginAllowThreads();
5073 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5074
5075 wxPyEndAllowThreads(__tstate);
5076 if (PyErr_Occurred()) SWIG_fail;
5077 }
5078 resultobj = PyInt_FromLong((long)result);
5079 return resultobj;
5080 fail:
5081 return NULL;
5082}
5083
5084
5085static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5086 PyObject *resultobj;
5087 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5088 int arg2 ;
5089 PyObject * obj0 = 0 ;
5090 char *kwnames[] = {
5091 (char *) "self",(char *) "width", NULL
5092 };
5093
5094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5096 {
5097 PyThreadState* __tstate = wxPyBeginAllowThreads();
5098 (arg1)->SetSashSize(arg2);
5099
5100 wxPyEndAllowThreads(__tstate);
5101 if (PyErr_Occurred()) SWIG_fail;
5102 }
5103 Py_INCREF(Py_None); resultobj = Py_None;
5104 return resultobj;
5105 fail:
5106 return NULL;
5107}
5108
5109
5110static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5111 PyObject *resultobj;
5112 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5113 int arg2 ;
5114 PyObject * obj0 = 0 ;
5115 char *kwnames[] = {
5116 (char *) "self",(char *) "width", NULL
5117 };
5118
5119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5121 {
5122 PyThreadState* __tstate = wxPyBeginAllowThreads();
5123 (arg1)->SetBorderSize(arg2);
5124
5125 wxPyEndAllowThreads(__tstate);
5126 if (PyErr_Occurred()) SWIG_fail;
5127 }
5128 Py_INCREF(Py_None); resultobj = Py_None;
5129 return resultobj;
5130 fail:
5131 return NULL;
5132}
5133
5134
5135static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5136 PyObject *resultobj;
5137 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5138 int result;
5139 PyObject * obj0 = 0 ;
5140 char *kwnames[] = {
5141 (char *) "self", NULL
5142 };
5143
5144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5146 {
5147 PyThreadState* __tstate = wxPyBeginAllowThreads();
5148 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5149
5150 wxPyEndAllowThreads(__tstate);
5151 if (PyErr_Occurred()) SWIG_fail;
5152 }
5153 resultobj = PyInt_FromLong((long)result);
5154 return resultobj;
5155 fail:
5156 return NULL;
5157}
5158
5159
5160static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5161 PyObject *resultobj;
5162 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5163 int result;
5164 PyObject * obj0 = 0 ;
5165 char *kwnames[] = {
5166 (char *) "self", NULL
5167 };
5168
5169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5171 {
5172 PyThreadState* __tstate = wxPyBeginAllowThreads();
5173 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5174
5175 wxPyEndAllowThreads(__tstate);
5176 if (PyErr_Occurred()) SWIG_fail;
5177 }
5178 resultobj = PyInt_FromLong((long)result);
5179 return resultobj;
5180 fail:
5181 return NULL;
5182}
5183
5184
5185static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5186 PyObject *resultobj;
5187 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5188 int arg2 ;
423f194a 5189 bool arg3 = (bool) True ;
d14a1e28
RD
5190 PyObject * obj0 = 0 ;
5191 PyObject * obj2 = 0 ;
5192 char *kwnames[] = {
5193 (char *) "self",(char *) "position",(char *) "redraw", NULL
5194 };
5195
5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5198 if (obj2) {
5199 arg3 = PyInt_AsLong(obj2) ? true : false;
5200 if (PyErr_Occurred()) SWIG_fail;
5201 }
5202 {
5203 PyThreadState* __tstate = wxPyBeginAllowThreads();
5204 (arg1)->SetSashPosition(arg2,arg3);
5205
5206 wxPyEndAllowThreads(__tstate);
5207 if (PyErr_Occurred()) SWIG_fail;
5208 }
5209 Py_INCREF(Py_None); resultobj = Py_None;
5210 return resultobj;
5211 fail:
5212 return NULL;
5213}
5214
5215
5216static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5217 PyObject *resultobj;
5218 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5219 int result;
5220 PyObject * obj0 = 0 ;
5221 char *kwnames[] = {
5222 (char *) "self", NULL
5223 };
5224
5225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5227 {
5228 PyThreadState* __tstate = wxPyBeginAllowThreads();
5229 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5230
5231 wxPyEndAllowThreads(__tstate);
5232 if (PyErr_Occurred()) SWIG_fail;
5233 }
5234 resultobj = PyInt_FromLong((long)result);
5235 return resultobj;
5236 fail:
5237 return NULL;
5238}
5239
5240
5241static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5242 PyObject *resultobj;
5243 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5244 int arg2 ;
5245 PyObject * obj0 = 0 ;
5246 char *kwnames[] = {
5247 (char *) "self",(char *) "min", NULL
5248 };
5249
5250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) goto fail;
5251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5252 {
5253 PyThreadState* __tstate = wxPyBeginAllowThreads();
5254 (arg1)->SetMinimumPaneSize(arg2);
5255
5256 wxPyEndAllowThreads(__tstate);
5257 if (PyErr_Occurred()) SWIG_fail;
5258 }
5259 Py_INCREF(Py_None); resultobj = Py_None;
5260 return resultobj;
5261 fail:
5262 return NULL;
5263}
5264
5265
5266static PyObject *_wrap_SplitterWindow_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5267 PyObject *resultobj;
5268 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5269 int result;
5270 PyObject * obj0 = 0 ;
5271 char *kwnames[] = {
5272 (char *) "self", NULL
5273 };
5274
5275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5277 {
5278 PyThreadState* __tstate = wxPyBeginAllowThreads();
5279 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5280
5281 wxPyEndAllowThreads(__tstate);
5282 if (PyErr_Occurred()) SWIG_fail;
5283 }
5284 resultobj = PyInt_FromLong((long)result);
5285 return resultobj;
5286 fail:
5287 return NULL;
5288}
5289
5290
5291static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5292 PyObject *resultobj;
5293 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5294 int arg2 ;
5295 int arg3 ;
5296 int arg4 = (int) 5 ;
5297 bool result;
5298 PyObject * obj0 = 0 ;
5299 char *kwnames[] = {
5300 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5301 };
5302
5303 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
5304 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5305 {
5306 PyThreadState* __tstate = wxPyBeginAllowThreads();
5307 result = (bool)(arg1)->SashHitTest(arg2,arg3,arg4);
5308
5309 wxPyEndAllowThreads(__tstate);
5310 if (PyErr_Occurred()) SWIG_fail;
5311 }
5312 resultobj = PyInt_FromLong((long)result);
5313 return resultobj;
5314 fail:
5315 return NULL;
5316}
5317
5318
5319static PyObject *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5320 PyObject *resultobj;
5321 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5322 PyObject * obj0 = 0 ;
5323 char *kwnames[] = {
5324 (char *) "self", NULL
5325 };
5326
5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5328 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5329 {
5330 PyThreadState* __tstate = wxPyBeginAllowThreads();
5331 (arg1)->SizeWindows();
5332
5333 wxPyEndAllowThreads(__tstate);
5334 if (PyErr_Occurred()) SWIG_fail;
5335 }
5336 Py_INCREF(Py_None); resultobj = Py_None;
5337 return resultobj;
5338 fail:
5339 return NULL;
5340}
5341
5342
5343static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5344 PyObject *resultobj;
5345 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5346 bool arg2 ;
5347 PyObject * obj0 = 0 ;
5348 PyObject * obj1 = 0 ;
5349 char *kwnames[] = {
5350 (char *) "self",(char *) "needUpdating", NULL
5351 };
5352
5353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5354 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5355 arg2 = PyInt_AsLong(obj1) ? true : false;
5356 if (PyErr_Occurred()) SWIG_fail;
5357 {
5358 PyThreadState* __tstate = wxPyBeginAllowThreads();
5359 (arg1)->SetNeedUpdating(arg2);
5360
5361 wxPyEndAllowThreads(__tstate);
5362 if (PyErr_Occurred()) SWIG_fail;
5363 }
5364 Py_INCREF(Py_None); resultobj = Py_None;
5365 return resultobj;
5366 fail:
5367 return NULL;
5368}
5369
5370
5371static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5372 PyObject *resultobj;
5373 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5374 bool result;
5375 PyObject * obj0 = 0 ;
5376 char *kwnames[] = {
5377 (char *) "self", NULL
5378 };
5379
5380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5381 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5382 {
5383 PyThreadState* __tstate = wxPyBeginAllowThreads();
5384 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5385
5386 wxPyEndAllowThreads(__tstate);
5387 if (PyErr_Occurred()) SWIG_fail;
5388 }
5389 resultobj = PyInt_FromLong((long)result);
5390 return resultobj;
5391 fail:
5392 return NULL;
5393}
5394
5395
5396static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5397 PyObject *obj;
5398 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5399 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5400 Py_INCREF(obj);
5401 return Py_BuildValue((char *)"");
5402}
5403static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5404 PyObject *resultobj;
5405 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5406 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5407 wxSplitterEvent *result;
5408 PyObject * obj1 = 0 ;
5409 char *kwnames[] = {
5410 (char *) "type",(char *) "splitter", NULL
5411 };
5412
5413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5414 if (obj1) {
5415 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5416 }
5417 {
5418 PyThreadState* __tstate = wxPyBeginAllowThreads();
5419 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5420
5421 wxPyEndAllowThreads(__tstate);
5422 if (PyErr_Occurred()) SWIG_fail;
5423 }
5424 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5425 return resultobj;
5426 fail:
5427 return NULL;
5428}
5429
5430
5431static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5432 PyObject *resultobj;
5433 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5434 int arg2 ;
5435 PyObject * obj0 = 0 ;
5436 char *kwnames[] = {
5437 (char *) "self",(char *) "pos", NULL
5438 };
5439
5440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) goto fail;
5441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5442 {
5443 PyThreadState* __tstate = wxPyBeginAllowThreads();
5444 (arg1)->SetSashPosition(arg2);
5445
5446 wxPyEndAllowThreads(__tstate);
5447 if (PyErr_Occurred()) SWIG_fail;
5448 }
5449 Py_INCREF(Py_None); resultobj = Py_None;
5450 return resultobj;
5451 fail:
5452 return NULL;
5453}
5454
5455
5456static PyObject *_wrap_SplitterEvent_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5457 PyObject *resultobj;
5458 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5459 int result;
5460 PyObject * obj0 = 0 ;
5461 char *kwnames[] = {
5462 (char *) "self", NULL
5463 };
5464
5465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetSashPosition",kwnames,&obj0)) goto fail;
5466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5467 {
5468 PyThreadState* __tstate = wxPyBeginAllowThreads();
5469 result = (int)((wxSplitterEvent const *)arg1)->GetSashPosition();
5470
5471 wxPyEndAllowThreads(__tstate);
5472 if (PyErr_Occurred()) SWIG_fail;
5473 }
5474 resultobj = PyInt_FromLong((long)result);
5475 return resultobj;
5476 fail:
5477 return NULL;
5478}
5479
5480
5481static PyObject *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5482 PyObject *resultobj;
5483 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5484 wxWindow *result;
5485 PyObject * obj0 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "self", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5492 {
5493 PyThreadState* __tstate = wxPyBeginAllowThreads();
5494 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5495
5496 wxPyEndAllowThreads(__tstate);
5497 if (PyErr_Occurred()) SWIG_fail;
5498 }
5499 {
5500 resultobj = wxPyMake_wxObject(result);
5501 }
5502 return resultobj;
5503 fail:
5504 return NULL;
5505}
5506
5507
5508static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5509 PyObject *resultobj;
5510 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5511 int result;
5512 PyObject * obj0 = 0 ;
5513 char *kwnames[] = {
5514 (char *) "self", NULL
5515 };
5516
5517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5519 {
5520 PyThreadState* __tstate = wxPyBeginAllowThreads();
5521 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5522
5523 wxPyEndAllowThreads(__tstate);
5524 if (PyErr_Occurred()) SWIG_fail;
5525 }
5526 resultobj = PyInt_FromLong((long)result);
5527 return resultobj;
5528 fail:
5529 return NULL;
5530}
5531
5532
5533static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5534 PyObject *resultobj;
5535 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5536 int result;
5537 PyObject * obj0 = 0 ;
5538 char *kwnames[] = {
5539 (char *) "self", NULL
5540 };
5541
5542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5544 {
5545 PyThreadState* __tstate = wxPyBeginAllowThreads();
5546 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5547
5548 wxPyEndAllowThreads(__tstate);
5549 if (PyErr_Occurred()) SWIG_fail;
5550 }
5551 resultobj = PyInt_FromLong((long)result);
5552 return resultobj;
5553 fail:
5554 return NULL;
5555}
5556
5557
5558static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5559 PyObject *obj;
5560 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5561 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5562 Py_INCREF(obj);
5563 return Py_BuildValue((char *)"");
5564}
5565static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5566 PyObject *resultobj;
5567 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 5568 int arg2 ;
d14a1e28
RD
5569 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5570 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5571 wxSize const &arg4_defvalue = wxDefaultSize ;
5572 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5573 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5574 wxString const &arg6_defvalue = wxPySashNameStr ;
5575 wxString *arg6 = (wxString *) &arg6_defvalue ;
5576 wxSashWindow *result;
5577 wxPoint temp3 ;
5578 wxSize temp4 ;
423f194a 5579 bool temp6 = False ;
d14a1e28
RD
5580 PyObject * obj0 = 0 ;
5581 PyObject * obj2 = 0 ;
5582 PyObject * obj3 = 0 ;
5583 PyObject * obj5 = 0 ;
5584 char *kwnames[] = {
5585 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5586 };
5587
5588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5590 if (obj2) {
5591 {
5592 arg3 = &temp3;
5593 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5594 }
5595 }
5596 if (obj3) {
5597 {
5598 arg4 = &temp4;
5599 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5600 }
5601 }
5602 if (obj5) {
5603 {
5604 arg6 = wxString_in_helper(obj5);
5605 if (arg6 == NULL) SWIG_fail;
423f194a 5606 temp6 = True;
d14a1e28
RD
5607 }
5608 }
5609 {
5610 PyThreadState* __tstate = wxPyBeginAllowThreads();
5611 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5612
5613 wxPyEndAllowThreads(__tstate);
5614 if (PyErr_Occurred()) SWIG_fail;
5615 }
5616 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5617 {
5618 if (temp6)
5619 delete arg6;
5620 }
5621 return resultobj;
5622 fail:
5623 {
5624 if (temp6)
5625 delete arg6;
5626 }
5627 return NULL;
5628}
5629
5630
5631static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5632 PyObject *resultobj;
5633 wxSashWindow *result;
5634 char *kwnames[] = {
5635 NULL
5636 };
5637
5638 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5639 {
5640 PyThreadState* __tstate = wxPyBeginAllowThreads();
5641 result = (wxSashWindow *)new wxSashWindow();
5642
5643 wxPyEndAllowThreads(__tstate);
5644 if (PyErr_Occurred()) SWIG_fail;
5645 }
5646 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5647 return resultobj;
5648 fail:
5649 return NULL;
5650}
5651
5652
5653static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5654 PyObject *resultobj;
5655 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5656 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 5657 int arg3 ;
d14a1e28
RD
5658 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5659 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5660 wxSize const &arg5_defvalue = wxDefaultSize ;
5661 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5662 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5663 wxString const &arg7_defvalue = wxPySashNameStr ;
5664 wxString *arg7 = (wxString *) &arg7_defvalue ;
5665 bool result;
5666 wxPoint temp4 ;
5667 wxSize temp5 ;
423f194a 5668 bool temp7 = False ;
d14a1e28
RD
5669 PyObject * obj0 = 0 ;
5670 PyObject * obj1 = 0 ;
5671 PyObject * obj3 = 0 ;
5672 PyObject * obj4 = 0 ;
5673 PyObject * obj6 = 0 ;
5674 char *kwnames[] = {
5675 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5676 };
5677
5678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5681 if (obj3) {
5682 {
5683 arg4 = &temp4;
5684 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5685 }
5686 }
5687 if (obj4) {
5688 {
5689 arg5 = &temp5;
5690 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5691 }
5692 }
5693 if (obj6) {
5694 {
5695 arg7 = wxString_in_helper(obj6);
5696 if (arg7 == NULL) SWIG_fail;
423f194a 5697 temp7 = True;
d14a1e28
RD
5698 }
5699 }
5700 {
5701 PyThreadState* __tstate = wxPyBeginAllowThreads();
5702 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5703
5704 wxPyEndAllowThreads(__tstate);
5705 if (PyErr_Occurred()) SWIG_fail;
5706 }
5707 resultobj = PyInt_FromLong((long)result);
5708 {
5709 if (temp7)
5710 delete arg7;
5711 }
5712 return resultobj;
5713 fail:
5714 {
5715 if (temp7)
5716 delete arg7;
5717 }
5718 return NULL;
5719}
5720
5721
5722static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5723 PyObject *resultobj;
5724 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5725 int arg2 ;
5726 bool arg3 ;
5727 PyObject * obj0 = 0 ;
5728 PyObject * obj2 = 0 ;
5729 char *kwnames[] = {
5730 (char *) "self",(char *) "edge",(char *) "sash", NULL
5731 };
5732
5733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5735 arg3 = PyInt_AsLong(obj2) ? true : false;
5736 if (PyErr_Occurred()) SWIG_fail;
5737 {
5738 PyThreadState* __tstate = wxPyBeginAllowThreads();
5739 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5740
5741 wxPyEndAllowThreads(__tstate);
5742 if (PyErr_Occurred()) SWIG_fail;
5743 }
5744 Py_INCREF(Py_None); resultobj = Py_None;
5745 return resultobj;
5746 fail:
5747 return NULL;
5748}
5749
5750
5751static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5752 PyObject *resultobj;
5753 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5754 int arg2 ;
5755 bool result;
5756 PyObject * obj0 = 0 ;
5757 char *kwnames[] = {
5758 (char *) "self",(char *) "edge", NULL
5759 };
5760
5761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5763 {
5764 PyThreadState* __tstate = wxPyBeginAllowThreads();
5765 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5766
5767 wxPyEndAllowThreads(__tstate);
5768 if (PyErr_Occurred()) SWIG_fail;
5769 }
5770 resultobj = PyInt_FromLong((long)result);
5771 return resultobj;
5772 fail:
5773 return NULL;
5774}
5775
5776
5777static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5778 PyObject *resultobj;
5779 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5780 int arg2 ;
5781 bool arg3 ;
5782 PyObject * obj0 = 0 ;
5783 PyObject * obj2 = 0 ;
5784 char *kwnames[] = {
5785 (char *) "self",(char *) "edge",(char *) "border", NULL
5786 };
5787
5788 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5789 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5790 arg3 = PyInt_AsLong(obj2) ? true : false;
5791 if (PyErr_Occurred()) SWIG_fail;
5792 {
5793 PyThreadState* __tstate = wxPyBeginAllowThreads();
5794 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5795
5796 wxPyEndAllowThreads(__tstate);
5797 if (PyErr_Occurred()) SWIG_fail;
5798 }
5799 Py_INCREF(Py_None); resultobj = Py_None;
5800 return resultobj;
5801 fail:
5802 return NULL;
5803}
5804
5805
5806static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5807 PyObject *resultobj;
5808 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5809 int arg2 ;
5810 bool result;
5811 PyObject * obj0 = 0 ;
5812 char *kwnames[] = {
5813 (char *) "self",(char *) "edge", NULL
5814 };
5815
5816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5818 {
5819 PyThreadState* __tstate = wxPyBeginAllowThreads();
5820 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5821
5822 wxPyEndAllowThreads(__tstate);
5823 if (PyErr_Occurred()) SWIG_fail;
5824 }
5825 resultobj = PyInt_FromLong((long)result);
5826 return resultobj;
5827 fail:
5828 return NULL;
5829}
5830
5831
5832static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5833 PyObject *resultobj;
5834 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5835 int arg2 ;
5836 int result;
5837 PyObject * obj0 = 0 ;
5838 char *kwnames[] = {
5839 (char *) "self",(char *) "edge", NULL
5840 };
5841
5842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5844 {
5845 PyThreadState* __tstate = wxPyBeginAllowThreads();
5846 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5847
5848 wxPyEndAllowThreads(__tstate);
5849 if (PyErr_Occurred()) SWIG_fail;
5850 }
5851 resultobj = PyInt_FromLong((long)result);
5852 return resultobj;
5853 fail:
5854 return NULL;
5855}
5856
5857
5858static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5859 PyObject *resultobj;
5860 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5861 int arg2 ;
5862 PyObject * obj0 = 0 ;
5863 char *kwnames[] = {
5864 (char *) "self",(char *) "width", NULL
5865 };
5866
5867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5869 {
5870 PyThreadState* __tstate = wxPyBeginAllowThreads();
5871 (arg1)->SetDefaultBorderSize(arg2);
5872
5873 wxPyEndAllowThreads(__tstate);
5874 if (PyErr_Occurred()) SWIG_fail;
5875 }
5876 Py_INCREF(Py_None); resultobj = Py_None;
5877 return resultobj;
5878 fail:
5879 return NULL;
5880}
5881
5882
5883static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5884 PyObject *resultobj;
5885 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5886 int result;
5887 PyObject * obj0 = 0 ;
5888 char *kwnames[] = {
5889 (char *) "self", NULL
5890 };
5891
5892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
5893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5894 {
5895 PyThreadState* __tstate = wxPyBeginAllowThreads();
5896 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
5897
5898 wxPyEndAllowThreads(__tstate);
5899 if (PyErr_Occurred()) SWIG_fail;
5900 }
5901 resultobj = PyInt_FromLong((long)result);
5902 return resultobj;
5903 fail:
5904 return NULL;
5905}
5906
5907
5908static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5909 PyObject *resultobj;
5910 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5911 int arg2 ;
5912 PyObject * obj0 = 0 ;
5913 char *kwnames[] = {
5914 (char *) "self",(char *) "width", NULL
5915 };
5916
5917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
5918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5919 {
5920 PyThreadState* __tstate = wxPyBeginAllowThreads();
5921 (arg1)->SetExtraBorderSize(arg2);
5922
5923 wxPyEndAllowThreads(__tstate);
5924 if (PyErr_Occurred()) SWIG_fail;
5925 }
5926 Py_INCREF(Py_None); resultobj = Py_None;
5927 return resultobj;
5928 fail:
5929 return NULL;
5930}
5931
5932
5933static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5934 PyObject *resultobj;
5935 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5936 int result;
5937 PyObject * obj0 = 0 ;
5938 char *kwnames[] = {
5939 (char *) "self", NULL
5940 };
5941
5942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
5943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5944 {
5945 PyThreadState* __tstate = wxPyBeginAllowThreads();
5946 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
5947
5948 wxPyEndAllowThreads(__tstate);
5949 if (PyErr_Occurred()) SWIG_fail;
5950 }
5951 resultobj = PyInt_FromLong((long)result);
5952 return resultobj;
5953 fail:
5954 return NULL;
5955}
5956
5957
5958static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
5959 PyObject *resultobj;
5960 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5961 int arg2 ;
5962 PyObject * obj0 = 0 ;
5963 char *kwnames[] = {
5964 (char *) "self",(char *) "min", NULL
5965 };
5966
5967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
5968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5969 {
5970 PyThreadState* __tstate = wxPyBeginAllowThreads();
5971 (arg1)->SetMinimumSizeX(arg2);
5972
5973 wxPyEndAllowThreads(__tstate);
5974 if (PyErr_Occurred()) SWIG_fail;
5975 }
5976 Py_INCREF(Py_None); resultobj = Py_None;
5977 return resultobj;
5978 fail:
5979 return NULL;
5980}
5981
5982
5983static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
5984 PyObject *resultobj;
5985 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5986 int arg2 ;
5987 PyObject * obj0 = 0 ;
5988 char *kwnames[] = {
5989 (char *) "self",(char *) "min", NULL
5990 };
5991
5992 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
5993 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5994 {
5995 PyThreadState* __tstate = wxPyBeginAllowThreads();
5996 (arg1)->SetMinimumSizeY(arg2);
5997
5998 wxPyEndAllowThreads(__tstate);
5999 if (PyErr_Occurred()) SWIG_fail;
6000 }
6001 Py_INCREF(Py_None); resultobj = Py_None;
6002 return resultobj;
6003 fail:
6004 return NULL;
6005}
6006
6007
6008static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6009 PyObject *resultobj;
6010 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6011 int result;
6012 PyObject * obj0 = 0 ;
6013 char *kwnames[] = {
6014 (char *) "self", NULL
6015 };
6016
6017 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6018 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6019 {
6020 PyThreadState* __tstate = wxPyBeginAllowThreads();
6021 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6022
6023 wxPyEndAllowThreads(__tstate);
6024 if (PyErr_Occurred()) SWIG_fail;
6025 }
6026 resultobj = PyInt_FromLong((long)result);
6027 return resultobj;
6028 fail:
6029 return NULL;
6030}
6031
6032
6033static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6034 PyObject *resultobj;
6035 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6036 int result;
6037 PyObject * obj0 = 0 ;
6038 char *kwnames[] = {
6039 (char *) "self", NULL
6040 };
6041
6042 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6043 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6044 {
6045 PyThreadState* __tstate = wxPyBeginAllowThreads();
6046 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6047
6048 wxPyEndAllowThreads(__tstate);
6049 if (PyErr_Occurred()) SWIG_fail;
6050 }
6051 resultobj = PyInt_FromLong((long)result);
6052 return resultobj;
6053 fail:
6054 return NULL;
6055}
6056
6057
6058static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6059 PyObject *resultobj;
6060 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6061 int arg2 ;
6062 PyObject * obj0 = 0 ;
6063 char *kwnames[] = {
6064 (char *) "self",(char *) "max", NULL
6065 };
6066
6067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6069 {
6070 PyThreadState* __tstate = wxPyBeginAllowThreads();
6071 (arg1)->SetMaximumSizeX(arg2);
6072
6073 wxPyEndAllowThreads(__tstate);
6074 if (PyErr_Occurred()) SWIG_fail;
6075 }
6076 Py_INCREF(Py_None); resultobj = Py_None;
6077 return resultobj;
6078 fail:
6079 return NULL;
6080}
6081
6082
6083static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6084 PyObject *resultobj;
6085 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6086 int arg2 ;
6087 PyObject * obj0 = 0 ;
6088 char *kwnames[] = {
6089 (char *) "self",(char *) "max", NULL
6090 };
6091
6092 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6093 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6094 {
6095 PyThreadState* __tstate = wxPyBeginAllowThreads();
6096 (arg1)->SetMaximumSizeY(arg2);
6097
6098 wxPyEndAllowThreads(__tstate);
6099 if (PyErr_Occurred()) SWIG_fail;
6100 }
6101 Py_INCREF(Py_None); resultobj = Py_None;
6102 return resultobj;
6103 fail:
6104 return NULL;
6105}
6106
6107
6108static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6109 PyObject *resultobj;
6110 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6111 int result;
6112 PyObject * obj0 = 0 ;
6113 char *kwnames[] = {
6114 (char *) "self", NULL
6115 };
6116
6117 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6118 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6119 {
6120 PyThreadState* __tstate = wxPyBeginAllowThreads();
6121 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6122
6123 wxPyEndAllowThreads(__tstate);
6124 if (PyErr_Occurred()) SWIG_fail;
6125 }
6126 resultobj = PyInt_FromLong((long)result);
6127 return resultobj;
6128 fail:
6129 return NULL;
6130}
6131
6132
6133static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6134 PyObject *resultobj;
6135 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6136 int result;
6137 PyObject * obj0 = 0 ;
6138 char *kwnames[] = {
6139 (char *) "self", NULL
6140 };
6141
6142 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6143 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6144 {
6145 PyThreadState* __tstate = wxPyBeginAllowThreads();
6146 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6147
6148 wxPyEndAllowThreads(__tstate);
6149 if (PyErr_Occurred()) SWIG_fail;
6150 }
6151 resultobj = PyInt_FromLong((long)result);
6152 return resultobj;
6153 fail:
6154 return NULL;
6155}
6156
6157
6158static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6159 PyObject *resultobj;
6160 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6161 int arg2 ;
6162 int arg3 ;
6163 int arg4 = (int) 2 ;
6164 int result;
6165 PyObject * obj0 = 0 ;
6166 char *kwnames[] = {
6167 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6168 };
6169
6170 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6171 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6172 {
6173 PyThreadState* __tstate = wxPyBeginAllowThreads();
6174 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6175
6176 wxPyEndAllowThreads(__tstate);
6177 if (PyErr_Occurred()) SWIG_fail;
6178 }
6179 resultobj = PyInt_FromLong((long)result);
6180 return resultobj;
6181 fail:
6182 return NULL;
6183}
6184
6185
6186static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6187 PyObject *resultobj;
6188 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6189 PyObject * obj0 = 0 ;
6190 char *kwnames[] = {
6191 (char *) "self", NULL
6192 };
6193
6194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6196 {
6197 PyThreadState* __tstate = wxPyBeginAllowThreads();
6198 (arg1)->SizeWindows();
6199
6200 wxPyEndAllowThreads(__tstate);
6201 if (PyErr_Occurred()) SWIG_fail;
6202 }
6203 Py_INCREF(Py_None); resultobj = Py_None;
6204 return resultobj;
6205 fail:
6206 return NULL;
6207}
6208
6209
6210static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6211 PyObject *obj;
6212 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6213 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6214 Py_INCREF(obj);
6215 return Py_BuildValue((char *)"");
6216}
6217static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6218 PyObject *resultobj;
6219 int arg1 = (int) 0 ;
6220 int arg2 = (int) wxSASH_NONE ;
6221 wxSashEvent *result;
6222 char *kwnames[] = {
6223 (char *) "id",(char *) "edge", NULL
6224 };
6225
6226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6227 {
6228 PyThreadState* __tstate = wxPyBeginAllowThreads();
6229 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6230
6231 wxPyEndAllowThreads(__tstate);
6232 if (PyErr_Occurred()) SWIG_fail;
6233 }
6234 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6235 return resultobj;
6236 fail:
6237 return NULL;
6238}
6239
6240
6241static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6242 PyObject *resultobj;
6243 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6244 int arg2 ;
6245 PyObject * obj0 = 0 ;
6246 char *kwnames[] = {
6247 (char *) "self",(char *) "edge", NULL
6248 };
6249
6250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6252 {
6253 PyThreadState* __tstate = wxPyBeginAllowThreads();
6254 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6255
6256 wxPyEndAllowThreads(__tstate);
6257 if (PyErr_Occurred()) SWIG_fail;
6258 }
6259 Py_INCREF(Py_None); resultobj = Py_None;
6260 return resultobj;
6261 fail:
6262 return NULL;
6263}
6264
6265
6266static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6267 PyObject *resultobj;
6268 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6269 int result;
6270 PyObject * obj0 = 0 ;
6271 char *kwnames[] = {
6272 (char *) "self", NULL
6273 };
6274
6275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6277 {
6278 PyThreadState* __tstate = wxPyBeginAllowThreads();
6279 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6280
6281 wxPyEndAllowThreads(__tstate);
6282 if (PyErr_Occurred()) SWIG_fail;
6283 }
6284 resultobj = PyInt_FromLong((long)result);
6285 return resultobj;
6286 fail:
6287 return NULL;
6288}
6289
6290
6291static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6292 PyObject *resultobj;
6293 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6294 wxRect *arg2 = 0 ;
6295 wxRect temp2 ;
6296 PyObject * obj0 = 0 ;
6297 PyObject * obj1 = 0 ;
6298 char *kwnames[] = {
6299 (char *) "self",(char *) "rect", NULL
6300 };
6301
6302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6304 {
6305 arg2 = &temp2;
6306 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6307 }
6308 {
6309 PyThreadState* __tstate = wxPyBeginAllowThreads();
6310 (arg1)->SetDragRect((wxRect const &)*arg2);
6311
6312 wxPyEndAllowThreads(__tstate);
6313 if (PyErr_Occurred()) SWIG_fail;
6314 }
6315 Py_INCREF(Py_None); resultobj = Py_None;
6316 return resultobj;
6317 fail:
6318 return NULL;
6319}
6320
6321
6322static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6323 PyObject *resultobj;
6324 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6325 wxRect result;
6326 PyObject * obj0 = 0 ;
6327 char *kwnames[] = {
6328 (char *) "self", NULL
6329 };
6330
6331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6333 {
6334 PyThreadState* __tstate = wxPyBeginAllowThreads();
6335 result = ((wxSashEvent const *)arg1)->GetDragRect();
6336
6337 wxPyEndAllowThreads(__tstate);
6338 if (PyErr_Occurred()) SWIG_fail;
6339 }
6340 {
6341 wxRect * resultptr;
6342 resultptr = new wxRect((wxRect &) result);
6343 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6344 }
6345 return resultobj;
6346 fail:
6347 return NULL;
6348}
6349
6350
6351static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6352 PyObject *resultobj;
6353 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6354 int arg2 ;
6355 PyObject * obj0 = 0 ;
6356 char *kwnames[] = {
6357 (char *) "self",(char *) "status", NULL
6358 };
6359
6360 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6361 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6362 {
6363 PyThreadState* __tstate = wxPyBeginAllowThreads();
6364 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6365
6366 wxPyEndAllowThreads(__tstate);
6367 if (PyErr_Occurred()) SWIG_fail;
6368 }
6369 Py_INCREF(Py_None); resultobj = Py_None;
6370 return resultobj;
6371 fail:
6372 return NULL;
6373}
6374
6375
6376static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6377 PyObject *resultobj;
6378 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6379 int result;
6380 PyObject * obj0 = 0 ;
6381 char *kwnames[] = {
6382 (char *) "self", NULL
6383 };
6384
6385 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6386 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6387 {
6388 PyThreadState* __tstate = wxPyBeginAllowThreads();
6389 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6390
6391 wxPyEndAllowThreads(__tstate);
6392 if (PyErr_Occurred()) SWIG_fail;
6393 }
6394 resultobj = PyInt_FromLong((long)result);
6395 return resultobj;
6396 fail:
6397 return NULL;
6398}
6399
6400
6401static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6402 PyObject *obj;
6403 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6404 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6405 Py_INCREF(obj);
6406 return Py_BuildValue((char *)"");
6407}
6408static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6409 PyObject *resultobj;
423f194a 6410 int arg1 = (int) 0 ;
d14a1e28
RD
6411 wxQueryLayoutInfoEvent *result;
6412 char *kwnames[] = {
6413 (char *) "id", NULL
6414 };
6415
6416 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6417 {
6418 PyThreadState* __tstate = wxPyBeginAllowThreads();
6419 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6420
6421 wxPyEndAllowThreads(__tstate);
6422 if (PyErr_Occurred()) SWIG_fail;
6423 }
6424 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6425 return resultobj;
6426 fail:
6427 return NULL;
6428}
6429
6430
6431static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6432 PyObject *resultobj;
6433 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6434 int arg2 ;
6435 PyObject * obj0 = 0 ;
6436 char *kwnames[] = {
6437 (char *) "self",(char *) "length", NULL
6438 };
6439
6440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6441 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6442 {
6443 PyThreadState* __tstate = wxPyBeginAllowThreads();
6444 (arg1)->SetRequestedLength(arg2);
6445
6446 wxPyEndAllowThreads(__tstate);
6447 if (PyErr_Occurred()) SWIG_fail;
6448 }
6449 Py_INCREF(Py_None); resultobj = Py_None;
6450 return resultobj;
6451 fail:
6452 return NULL;
6453}
6454
6455
6456static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6457 PyObject *resultobj;
6458 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6459 int result;
6460 PyObject * obj0 = 0 ;
6461 char *kwnames[] = {
6462 (char *) "self", NULL
6463 };
6464
6465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6467 {
6468 PyThreadState* __tstate = wxPyBeginAllowThreads();
6469 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6470
6471 wxPyEndAllowThreads(__tstate);
6472 if (PyErr_Occurred()) SWIG_fail;
6473 }
6474 resultobj = PyInt_FromLong((long)result);
6475 return resultobj;
6476 fail:
6477 return NULL;
6478}
6479
6480
6481static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6482 PyObject *resultobj;
6483 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6484 int arg2 ;
6485 PyObject * obj0 = 0 ;
6486 char *kwnames[] = {
6487 (char *) "self",(char *) "flags", NULL
6488 };
6489
6490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6492 {
6493 PyThreadState* __tstate = wxPyBeginAllowThreads();
6494 (arg1)->SetFlags(arg2);
6495
6496 wxPyEndAllowThreads(__tstate);
6497 if (PyErr_Occurred()) SWIG_fail;
6498 }
6499 Py_INCREF(Py_None); resultobj = Py_None;
6500 return resultobj;
6501 fail:
6502 return NULL;
6503}
6504
6505
6506static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6507 PyObject *resultobj;
6508 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6509 int result;
6510 PyObject * obj0 = 0 ;
6511 char *kwnames[] = {
6512 (char *) "self", NULL
6513 };
6514
6515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6517 {
6518 PyThreadState* __tstate = wxPyBeginAllowThreads();
6519 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6520
6521 wxPyEndAllowThreads(__tstate);
6522 if (PyErr_Occurred()) SWIG_fail;
6523 }
6524 resultobj = PyInt_FromLong((long)result);
6525 return resultobj;
6526 fail:
6527 return NULL;
6528}
6529
6530
6531static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6532 PyObject *resultobj;
6533 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6534 wxSize *arg2 = 0 ;
6535 wxSize temp2 ;
6536 PyObject * obj0 = 0 ;
6537 PyObject * obj1 = 0 ;
6538 char *kwnames[] = {
6539 (char *) "self",(char *) "size", NULL
6540 };
6541
6542 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6543 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6544 {
6545 arg2 = &temp2;
6546 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6547 }
6548 {
6549 PyThreadState* __tstate = wxPyBeginAllowThreads();
6550 (arg1)->SetSize((wxSize const &)*arg2);
6551
6552 wxPyEndAllowThreads(__tstate);
6553 if (PyErr_Occurred()) SWIG_fail;
6554 }
6555 Py_INCREF(Py_None); resultobj = Py_None;
6556 return resultobj;
6557 fail:
6558 return NULL;
6559}
6560
6561
6562static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6563 PyObject *resultobj;
6564 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6565 wxSize result;
6566 PyObject * obj0 = 0 ;
6567 char *kwnames[] = {
6568 (char *) "self", NULL
6569 };
6570
6571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6573 {
6574 PyThreadState* __tstate = wxPyBeginAllowThreads();
6575 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6576
6577 wxPyEndAllowThreads(__tstate);
6578 if (PyErr_Occurred()) SWIG_fail;
6579 }
6580 {
6581 wxSize * resultptr;
6582 resultptr = new wxSize((wxSize &) result);
6583 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6584 }
6585 return resultobj;
6586 fail:
6587 return NULL;
6588}
6589
6590
6591static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6592 PyObject *resultobj;
6593 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6594 int arg2 ;
6595 PyObject * obj0 = 0 ;
6596 char *kwnames[] = {
6597 (char *) "self",(char *) "orient", NULL
6598 };
6599
6600 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6601 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6602 {
6603 PyThreadState* __tstate = wxPyBeginAllowThreads();
6604 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6605
6606 wxPyEndAllowThreads(__tstate);
6607 if (PyErr_Occurred()) SWIG_fail;
6608 }
6609 Py_INCREF(Py_None); resultobj = Py_None;
6610 return resultobj;
6611 fail:
6612 return NULL;
6613}
6614
6615
6616static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6617 PyObject *resultobj;
6618 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6619 int result;
6620 PyObject * obj0 = 0 ;
6621 char *kwnames[] = {
6622 (char *) "self", NULL
6623 };
6624
6625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6627 {
6628 PyThreadState* __tstate = wxPyBeginAllowThreads();
6629 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6630
6631 wxPyEndAllowThreads(__tstate);
6632 if (PyErr_Occurred()) SWIG_fail;
6633 }
6634 resultobj = PyInt_FromLong((long)result);
6635 return resultobj;
6636 fail:
6637 return NULL;
6638}
6639
6640
6641static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6642 PyObject *resultobj;
6643 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6644 int arg2 ;
6645 PyObject * obj0 = 0 ;
6646 char *kwnames[] = {
6647 (char *) "self",(char *) "align", NULL
6648 };
6649
6650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6652 {
6653 PyThreadState* __tstate = wxPyBeginAllowThreads();
6654 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6655
6656 wxPyEndAllowThreads(__tstate);
6657 if (PyErr_Occurred()) SWIG_fail;
6658 }
6659 Py_INCREF(Py_None); resultobj = Py_None;
6660 return resultobj;
6661 fail:
6662 return NULL;
6663}
6664
6665
6666static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6667 PyObject *resultobj;
6668 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6669 int result;
6670 PyObject * obj0 = 0 ;
6671 char *kwnames[] = {
6672 (char *) "self", NULL
6673 };
6674
6675 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6676 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6677 {
6678 PyThreadState* __tstate = wxPyBeginAllowThreads();
6679 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6680
6681 wxPyEndAllowThreads(__tstate);
6682 if (PyErr_Occurred()) SWIG_fail;
6683 }
6684 resultobj = PyInt_FromLong((long)result);
6685 return resultobj;
6686 fail:
6687 return NULL;
6688}
6689
6690
6691static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6692 PyObject *obj;
6693 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6694 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6695 Py_INCREF(obj);
6696 return Py_BuildValue((char *)"");
6697}
6698static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6699 PyObject *resultobj;
423f194a 6700 int arg1 = (int) 0 ;
d14a1e28
RD
6701 wxCalculateLayoutEvent *result;
6702 char *kwnames[] = {
6703 (char *) "id", NULL
6704 };
6705
6706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6707 {
6708 PyThreadState* __tstate = wxPyBeginAllowThreads();
6709 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6710
6711 wxPyEndAllowThreads(__tstate);
6712 if (PyErr_Occurred()) SWIG_fail;
6713 }
6714 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6715 return resultobj;
6716 fail:
6717 return NULL;
6718}
6719
6720
6721static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6722 PyObject *resultobj;
6723 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6724 int arg2 ;
6725 PyObject * obj0 = 0 ;
6726 char *kwnames[] = {
6727 (char *) "self",(char *) "flags", NULL
6728 };
6729
6730 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6731 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6732 {
6733 PyThreadState* __tstate = wxPyBeginAllowThreads();
6734 (arg1)->SetFlags(arg2);
6735
6736 wxPyEndAllowThreads(__tstate);
6737 if (PyErr_Occurred()) SWIG_fail;
6738 }
6739 Py_INCREF(Py_None); resultobj = Py_None;
6740 return resultobj;
6741 fail:
6742 return NULL;
6743}
6744
6745
6746static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6747 PyObject *resultobj;
6748 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6749 int result;
6750 PyObject * obj0 = 0 ;
6751 char *kwnames[] = {
6752 (char *) "self", NULL
6753 };
6754
6755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6756 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6757 {
6758 PyThreadState* __tstate = wxPyBeginAllowThreads();
6759 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6760
6761 wxPyEndAllowThreads(__tstate);
6762 if (PyErr_Occurred()) SWIG_fail;
6763 }
6764 resultobj = PyInt_FromLong((long)result);
6765 return resultobj;
6766 fail:
6767 return NULL;
6768}
6769
6770
6771static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6772 PyObject *resultobj;
6773 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6774 wxRect *arg2 = 0 ;
6775 wxRect temp2 ;
6776 PyObject * obj0 = 0 ;
6777 PyObject * obj1 = 0 ;
6778 char *kwnames[] = {
6779 (char *) "self",(char *) "rect", NULL
6780 };
6781
6782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6784 {
6785 arg2 = &temp2;
6786 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6787 }
6788 {
6789 PyThreadState* __tstate = wxPyBeginAllowThreads();
6790 (arg1)->SetRect((wxRect const &)*arg2);
6791
6792 wxPyEndAllowThreads(__tstate);
6793 if (PyErr_Occurred()) SWIG_fail;
6794 }
6795 Py_INCREF(Py_None); resultobj = Py_None;
6796 return resultobj;
6797 fail:
6798 return NULL;
6799}
6800
6801
6802static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6803 PyObject *resultobj;
6804 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6805 wxRect result;
6806 PyObject * obj0 = 0 ;
6807 char *kwnames[] = {
6808 (char *) "self", NULL
6809 };
6810
6811 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6812 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6813 {
6814 PyThreadState* __tstate = wxPyBeginAllowThreads();
6815 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6816
6817 wxPyEndAllowThreads(__tstate);
6818 if (PyErr_Occurred()) SWIG_fail;
6819 }
6820 {
6821 wxRect * resultptr;
6822 resultptr = new wxRect((wxRect &) result);
6823 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6824 }
6825 return resultobj;
6826 fail:
6827 return NULL;
6828}
6829
6830
6831static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6832 PyObject *obj;
6833 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6834 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6835 Py_INCREF(obj);
6836 return Py_BuildValue((char *)"");
6837}
6838static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6839 PyObject *resultobj;
6840 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 6841 int arg2 ;
d14a1e28
RD
6842 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6843 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6844 wxSize const &arg4_defvalue = wxDefaultSize ;
6845 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6846 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6847 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6848 wxString *arg6 = (wxString *) &arg6_defvalue ;
6849 wxSashLayoutWindow *result;
6850 wxPoint temp3 ;
6851 wxSize temp4 ;
423f194a 6852 bool temp6 = False ;
d14a1e28
RD
6853 PyObject * obj0 = 0 ;
6854 PyObject * obj2 = 0 ;
6855 PyObject * obj3 = 0 ;
6856 PyObject * obj5 = 0 ;
6857 char *kwnames[] = {
6858 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6859 };
6860
6861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6863 if (obj2) {
6864 {
6865 arg3 = &temp3;
6866 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6867 }
6868 }
6869 if (obj3) {
6870 {
6871 arg4 = &temp4;
6872 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6873 }
6874 }
6875 if (obj5) {
6876 {
6877 arg6 = wxString_in_helper(obj5);
6878 if (arg6 == NULL) SWIG_fail;
423f194a 6879 temp6 = True;
d14a1e28
RD
6880 }
6881 }
6882 {
6883 PyThreadState* __tstate = wxPyBeginAllowThreads();
6884 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
6885
6886 wxPyEndAllowThreads(__tstate);
6887 if (PyErr_Occurred()) SWIG_fail;
6888 }
6889 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6890 {
6891 if (temp6)
6892 delete arg6;
6893 }
6894 return resultobj;
6895 fail:
6896 {
6897 if (temp6)
6898 delete arg6;
6899 }
6900 return NULL;
6901}
6902
6903
6904static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6905 PyObject *resultobj;
6906 wxSashLayoutWindow *result;
6907 char *kwnames[] = {
6908 NULL
6909 };
6910
6911 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
6912 {
6913 PyThreadState* __tstate = wxPyBeginAllowThreads();
6914 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
6915
6916 wxPyEndAllowThreads(__tstate);
6917 if (PyErr_Occurred()) SWIG_fail;
6918 }
6919 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
6920 return resultobj;
6921 fail:
6922 return NULL;
6923}
6924
6925
6926static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
6927 PyObject *resultobj;
6928 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6929 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 6930 int arg3 ;
d14a1e28
RD
6931 wxPoint const &arg4_defvalue = wxDefaultPosition ;
6932 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
6933 wxSize const &arg5_defvalue = wxDefaultSize ;
6934 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
6935 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6936 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
6937 wxString *arg7 = (wxString *) &arg7_defvalue ;
6938 bool result;
6939 wxPoint temp4 ;
6940 wxSize temp5 ;
423f194a 6941 bool temp7 = False ;
d14a1e28
RD
6942 PyObject * obj0 = 0 ;
6943 PyObject * obj1 = 0 ;
6944 PyObject * obj3 = 0 ;
6945 PyObject * obj4 = 0 ;
6946 PyObject * obj6 = 0 ;
6947 char *kwnames[] = {
6948 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6949 };
6950
6951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
6952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6953 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6954 if (obj3) {
6955 {
6956 arg4 = &temp4;
6957 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
6958 }
6959 }
6960 if (obj4) {
6961 {
6962 arg5 = &temp5;
6963 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
6964 }
6965 }
6966 if (obj6) {
6967 {
6968 arg7 = wxString_in_helper(obj6);
6969 if (arg7 == NULL) SWIG_fail;
423f194a 6970 temp7 = True;
d14a1e28
RD
6971 }
6972 }
6973 {
6974 PyThreadState* __tstate = wxPyBeginAllowThreads();
6975 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
6976
6977 wxPyEndAllowThreads(__tstate);
6978 if (PyErr_Occurred()) SWIG_fail;
6979 }
6980 resultobj = PyInt_FromLong((long)result);
6981 {
6982 if (temp7)
6983 delete arg7;
6984 }
6985 return resultobj;
6986 fail:
6987 {
6988 if (temp7)
6989 delete arg7;
6990 }
6991 return NULL;
6992}
6993
6994
6995static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6996 PyObject *resultobj;
6997 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
6998 int result;
6999 PyObject * obj0 = 0 ;
7000 char *kwnames[] = {
7001 (char *) "self", NULL
7002 };
7003
7004 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7005 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7006 {
7007 PyThreadState* __tstate = wxPyBeginAllowThreads();
7008 result = (int)(arg1)->GetAlignment();
7009
7010 wxPyEndAllowThreads(__tstate);
7011 if (PyErr_Occurred()) SWIG_fail;
7012 }
7013 resultobj = PyInt_FromLong((long)result);
7014 return resultobj;
7015 fail:
7016 return NULL;
7017}
7018
7019
7020static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7021 PyObject *resultobj;
7022 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7023 int result;
7024 PyObject * obj0 = 0 ;
7025 char *kwnames[] = {
7026 (char *) "self", NULL
7027 };
7028
7029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7031 {
7032 PyThreadState* __tstate = wxPyBeginAllowThreads();
7033 result = (int)(arg1)->GetOrientation();
7034
7035 wxPyEndAllowThreads(__tstate);
7036 if (PyErr_Occurred()) SWIG_fail;
7037 }
7038 resultobj = PyInt_FromLong((long)result);
7039 return resultobj;
7040 fail:
7041 return NULL;
7042}
7043
7044
7045static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7046 PyObject *resultobj;
7047 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7048 int arg2 ;
7049 PyObject * obj0 = 0 ;
7050 char *kwnames[] = {
7051 (char *) "self",(char *) "alignment", NULL
7052 };
7053
7054 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7055 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7056 {
7057 PyThreadState* __tstate = wxPyBeginAllowThreads();
7058 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7059
7060 wxPyEndAllowThreads(__tstate);
7061 if (PyErr_Occurred()) SWIG_fail;
7062 }
7063 Py_INCREF(Py_None); resultobj = Py_None;
7064 return resultobj;
7065 fail:
7066 return NULL;
7067}
7068
7069
7070static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7071 PyObject *resultobj;
7072 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7073 wxSize *arg2 = 0 ;
7074 wxSize temp2 ;
7075 PyObject * obj0 = 0 ;
7076 PyObject * obj1 = 0 ;
7077 char *kwnames[] = {
7078 (char *) "self",(char *) "size", NULL
7079 };
7080
7081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7083 {
7084 arg2 = &temp2;
7085 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7086 }
7087 {
7088 PyThreadState* __tstate = wxPyBeginAllowThreads();
7089 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7090
7091 wxPyEndAllowThreads(__tstate);
7092 if (PyErr_Occurred()) SWIG_fail;
7093 }
7094 Py_INCREF(Py_None); resultobj = Py_None;
7095 return resultobj;
7096 fail:
7097 return NULL;
7098}
7099
7100
7101static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7102 PyObject *resultobj;
7103 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7104 int arg2 ;
7105 PyObject * obj0 = 0 ;
7106 char *kwnames[] = {
7107 (char *) "self",(char *) "orientation", NULL
7108 };
7109
7110 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7111 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7112 {
7113 PyThreadState* __tstate = wxPyBeginAllowThreads();
7114 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7115
7116 wxPyEndAllowThreads(__tstate);
7117 if (PyErr_Occurred()) SWIG_fail;
7118 }
7119 Py_INCREF(Py_None); resultobj = Py_None;
7120 return resultobj;
7121 fail:
7122 return NULL;
7123}
7124
7125
7126static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7127 PyObject *obj;
7128 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7129 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7130 Py_INCREF(obj);
7131 return Py_BuildValue((char *)"");
7132}
7133static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7134 PyObject *resultobj;
7135 wxLayoutAlgorithm *result;
7136 char *kwnames[] = {
7137 NULL
7138 };
7139
7140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7141 {
7142 PyThreadState* __tstate = wxPyBeginAllowThreads();
7143 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7144
7145 wxPyEndAllowThreads(__tstate);
7146 if (PyErr_Occurred()) SWIG_fail;
7147 }
7148 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7149 return resultobj;
7150 fail:
7151 return NULL;
7152}
7153
7154
7155static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7156 PyObject *resultobj;
7157 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7158 PyObject * obj0 = 0 ;
7159 char *kwnames[] = {
7160 (char *) "self", NULL
7161 };
7162
7163 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7164 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7165 {
7166 PyThreadState* __tstate = wxPyBeginAllowThreads();
7167 delete arg1;
7168
7169 wxPyEndAllowThreads(__tstate);
7170 if (PyErr_Occurred()) SWIG_fail;
7171 }
7172 Py_INCREF(Py_None); resultobj = Py_None;
7173 return resultobj;
7174 fail:
7175 return NULL;
7176}
7177
7178
7179static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7180 PyObject *resultobj;
7181 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7182 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7183 wxRect *arg3 = (wxRect *) NULL ;
7184 bool result;
7185 PyObject * obj0 = 0 ;
7186 PyObject * obj1 = 0 ;
7187 PyObject * obj2 = 0 ;
7188 char *kwnames[] = {
7189 (char *) "self",(char *) "frame",(char *) "rect", NULL
7190 };
7191
7192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7194 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7195 if (obj2) {
7196 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7197 }
7198 {
7199 PyThreadState* __tstate = wxPyBeginAllowThreads();
7200 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7201
7202 wxPyEndAllowThreads(__tstate);
7203 if (PyErr_Occurred()) SWIG_fail;
7204 }
7205 resultobj = PyInt_FromLong((long)result);
7206 return resultobj;
7207 fail:
7208 return NULL;
7209}
7210
7211
7212static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7213 PyObject *resultobj;
7214 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7215 wxFrame *arg2 = (wxFrame *) 0 ;
7216 wxWindow *arg3 = (wxWindow *) NULL ;
7217 bool result;
7218 PyObject * obj0 = 0 ;
7219 PyObject * obj1 = 0 ;
7220 PyObject * obj2 = 0 ;
7221 char *kwnames[] = {
7222 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7223 };
7224
7225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7227 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7228 if (obj2) {
7229 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7230 }
7231 {
7232 PyThreadState* __tstate = wxPyBeginAllowThreads();
7233 result = (bool)(arg1)->LayoutFrame(arg2,arg3);
7234
7235 wxPyEndAllowThreads(__tstate);
7236 if (PyErr_Occurred()) SWIG_fail;
7237 }
7238 resultobj = PyInt_FromLong((long)result);
7239 return resultobj;
7240 fail:
7241 return NULL;
7242}
7243
7244
7245static PyObject *_wrap_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7246 PyObject *resultobj;
7247 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7248 wxWindow *arg2 = (wxWindow *) 0 ;
7249 wxWindow *arg3 = (wxWindow *) NULL ;
7250 bool result;
7251 PyObject * obj0 = 0 ;
7252 PyObject * obj1 = 0 ;
7253 PyObject * obj2 = 0 ;
7254 char *kwnames[] = {
7255 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7256 };
7257
7258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7259 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7260 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7261 if (obj2) {
7262 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7263 }
7264 {
7265 PyThreadState* __tstate = wxPyBeginAllowThreads();
7266 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7267
7268 wxPyEndAllowThreads(__tstate);
7269 if (PyErr_Occurred()) SWIG_fail;
7270 }
7271 resultobj = PyInt_FromLong((long)result);
7272 return resultobj;
7273 fail:
7274 return NULL;
7275}
7276
7277
7278static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7279 PyObject *obj;
7280 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7281 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7282 Py_INCREF(obj);
7283 return Py_BuildValue((char *)"");
7284}
7285static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7286 PyObject *resultobj;
7287 wxWindow *arg1 = (wxWindow *) 0 ;
7288 int arg2 = (int) wxBORDER_NONE ;
7289 wxPopupWindow *result;
7290 PyObject * obj0 = 0 ;
7291 char *kwnames[] = {
7292 (char *) "parent",(char *) "flags", NULL
7293 };
7294
7295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7297 {
7298 PyThreadState* __tstate = wxPyBeginAllowThreads();
7299 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7300
7301 wxPyEndAllowThreads(__tstate);
7302 if (PyErr_Occurred()) SWIG_fail;
7303 }
7304 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7305 return resultobj;
7306 fail:
7307 return NULL;
7308}
7309
7310
7311static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7312 PyObject *resultobj;
7313 wxPopupWindow *result;
7314 char *kwnames[] = {
7315 NULL
7316 };
7317
7318 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7319 {
7320 PyThreadState* __tstate = wxPyBeginAllowThreads();
7321 result = (wxPopupWindow *)new wxPopupWindow();
7322
7323 wxPyEndAllowThreads(__tstate);
7324 if (PyErr_Occurred()) SWIG_fail;
7325 }
7326 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7327 return resultobj;
7328 fail:
7329 return NULL;
7330}
7331
7332
7333static PyObject *_wrap_PopupWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7334 PyObject *resultobj;
7335 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7336 wxWindow *arg2 = (wxWindow *) 0 ;
7337 int arg3 = (int) wxBORDER_NONE ;
7338 bool result;
7339 PyObject * obj0 = 0 ;
7340 PyObject * obj1 = 0 ;
7341 char *kwnames[] = {
7342 (char *) "self",(char *) "parent",(char *) "flags", NULL
7343 };
7344
7345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:PopupWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
7346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7347 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (bool)(arg1)->Create(arg2,arg3);
7351
7352 wxPyEndAllowThreads(__tstate);
7353 if (PyErr_Occurred()) SWIG_fail;
7354 }
7355 resultobj = PyInt_FromLong((long)result);
7356 return resultobj;
7357 fail:
7358 return NULL;
7359}
7360
7361
7362static PyObject *_wrap_PopupWindow_Position(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxPopupWindow *arg1 = (wxPopupWindow *) 0 ;
7365 wxPoint *arg2 = 0 ;
7366 wxSize *arg3 = 0 ;
7367 wxPoint temp2 ;
7368 wxSize temp3 ;
7369 PyObject * obj0 = 0 ;
7370 PyObject * obj1 = 0 ;
7371 PyObject * obj2 = 0 ;
7372 char *kwnames[] = {
7373 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
7374 };
7375
7376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupWindow_Position",kwnames,&obj0,&obj1,&obj2)) goto fail;
7377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPopupWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7378 {
7379 arg2 = &temp2;
7380 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
7381 }
7382 {
7383 arg3 = &temp3;
7384 if ( ! wxSize_helper(obj2, &arg3)) SWIG_fail;
7385 }
7386 {
7387 PyThreadState* __tstate = wxPyBeginAllowThreads();
7388 (arg1)->Position((wxPoint const &)*arg2,(wxSize const &)*arg3);
7389
7390 wxPyEndAllowThreads(__tstate);
7391 if (PyErr_Occurred()) SWIG_fail;
7392 }
7393 Py_INCREF(Py_None); resultobj = Py_None;
7394 return resultobj;
7395 fail:
7396 return NULL;
7397}
7398
7399
7400static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7401 PyObject *obj;
7402 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7403 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7404 Py_INCREF(obj);
7405 return Py_BuildValue((char *)"");
7406}
7407static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7408 PyObject *resultobj;
7409 wxWindow *arg1 = (wxWindow *) 0 ;
7410 int arg2 = (int) wxBORDER_NONE ;
7411 wxPyPopupTransientWindow *result;
7412 PyObject * obj0 = 0 ;
7413 char *kwnames[] = {
7414 (char *) "parent",(char *) "style", NULL
7415 };
7416
7417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7419 {
7420 PyThreadState* __tstate = wxPyBeginAllowThreads();
7421 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7422
7423 wxPyEndAllowThreads(__tstate);
7424 if (PyErr_Occurred()) SWIG_fail;
7425 }
7426 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7427 return resultobj;
7428 fail:
7429 return NULL;
7430}
7431
7432
7433static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7434 PyObject *resultobj;
7435 wxPyPopupTransientWindow *result;
7436 char *kwnames[] = {
7437 NULL
7438 };
7439
7440 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7441 {
7442 PyThreadState* __tstate = wxPyBeginAllowThreads();
7443 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7444
7445 wxPyEndAllowThreads(__tstate);
7446 if (PyErr_Occurred()) SWIG_fail;
7447 }
7448 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7449 return resultobj;
7450 fail:
7451 return NULL;
7452}
7453
7454
7455static PyObject *_wrap_PopupTransientWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7456 PyObject *resultobj;
7457 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7458 PyObject *arg2 = (PyObject *) 0 ;
7459 PyObject *arg3 = (PyObject *) 0 ;
7460 PyObject * obj0 = 0 ;
7461 PyObject * obj1 = 0 ;
7462 PyObject * obj2 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "self",(char *) "self",(char *) "_class", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7469 arg2 = obj1;
7470 arg3 = obj2;
7471 {
7472 PyThreadState* __tstate = wxPyBeginAllowThreads();
7473 (arg1)->_setCallbackInfo(arg2,arg3);
7474
7475 wxPyEndAllowThreads(__tstate);
7476 if (PyErr_Occurred()) SWIG_fail;
7477 }
7478 Py_INCREF(Py_None); resultobj = Py_None;
7479 return resultobj;
7480 fail:
7481 return NULL;
7482}
7483
7484
7485static PyObject *_wrap_PopupTransientWindow_Popup(PyObject *self, PyObject *args, PyObject *kwargs) {
7486 PyObject *resultobj;
7487 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7488 wxWindow *arg2 = (wxWindow *) NULL ;
7489 PyObject * obj0 = 0 ;
7490 PyObject * obj1 = 0 ;
7491 char *kwnames[] = {
7492 (char *) "self",(char *) "focus", NULL
7493 };
7494
7495 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:PopupTransientWindow_Popup",kwnames,&obj0,&obj1)) goto fail;
7496 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7497 if (obj1) {
7498 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7499 }
7500 {
7501 PyThreadState* __tstate = wxPyBeginAllowThreads();
7502 (arg1)->Popup(arg2);
7503
7504 wxPyEndAllowThreads(__tstate);
7505 if (PyErr_Occurred()) SWIG_fail;
7506 }
7507 Py_INCREF(Py_None); resultobj = Py_None;
7508 return resultobj;
7509 fail:
7510 return NULL;
7511}
7512
7513
7514static PyObject *_wrap_PopupTransientWindow_Dismiss(PyObject *self, PyObject *args, PyObject *kwargs) {
7515 PyObject *resultobj;
7516 wxPyPopupTransientWindow *arg1 = (wxPyPopupTransientWindow *) 0 ;
7517 PyObject * obj0 = 0 ;
7518 char *kwnames[] = {
7519 (char *) "self", NULL
7520 };
7521
7522 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PopupTransientWindow_Dismiss",kwnames,&obj0)) goto fail;
7523 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPopupTransientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7524 {
7525 PyThreadState* __tstate = wxPyBeginAllowThreads();
7526 (arg1)->Dismiss();
7527
7528 wxPyEndAllowThreads(__tstate);
7529 if (PyErr_Occurred()) SWIG_fail;
7530 }
7531 Py_INCREF(Py_None); resultobj = Py_None;
7532 return resultobj;
7533 fail:
7534 return NULL;
7535}
7536
7537
7538static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7539 PyObject *obj;
7540 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7541 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7542 Py_INCREF(obj);
7543 return Py_BuildValue((char *)"");
7544}
7545static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7546 PyObject *resultobj;
7547 wxWindow *arg1 = (wxWindow *) 0 ;
8a0b029b 7548 wxString *arg2 = 0 ;
423f194a 7549 int arg3 = (int) 100 ;
d14a1e28
RD
7550 wxRect *arg4 = (wxRect *) NULL ;
7551 wxTipWindow *result;
8a0b029b 7552 bool temp2 = False ;
d14a1e28
RD
7553 PyObject * obj0 = 0 ;
7554 PyObject * obj1 = 0 ;
7555 PyObject * obj3 = 0 ;
7556 char *kwnames[] = {
7557 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7558 };
7559
7560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8a0b029b
RD
7562 {
7563 arg2 = wxString_in_helper(obj1);
7564 if (arg2 == NULL) SWIG_fail;
7565 temp2 = True;
7566 }
d14a1e28
RD
7567 if (obj3) {
7568 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7569 }
7570 {
7571 PyThreadState* __tstate = wxPyBeginAllowThreads();
8a0b029b 7572 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
7573
7574 wxPyEndAllowThreads(__tstate);
7575 if (PyErr_Occurred()) SWIG_fail;
7576 }
7577 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
8a0b029b
RD
7578 {
7579 if (temp2)
7580 delete arg2;
7581 }
d14a1e28
RD
7582 return resultobj;
7583 fail:
8a0b029b
RD
7584 {
7585 if (temp2)
7586 delete arg2;
7587 }
d14a1e28
RD
7588 return NULL;
7589}
7590
7591
7592static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7593 PyObject *resultobj;
7594 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7595 wxRect *arg2 = 0 ;
7596 wxRect temp2 ;
7597 PyObject * obj0 = 0 ;
7598 PyObject * obj1 = 0 ;
7599 char *kwnames[] = {
7600 (char *) "self",(char *) "rectBound", NULL
7601 };
7602
7603 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7604 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7605 {
7606 arg2 = &temp2;
7607 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7608 }
7609 {
7610 PyThreadState* __tstate = wxPyBeginAllowThreads();
7611 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7612
7613 wxPyEndAllowThreads(__tstate);
7614 if (PyErr_Occurred()) SWIG_fail;
7615 }
7616 Py_INCREF(Py_None); resultobj = Py_None;
7617 return resultobj;
7618 fail:
7619 return NULL;
7620}
7621
7622
7623static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7624 PyObject *resultobj;
7625 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7626 PyObject * obj0 = 0 ;
7627 char *kwnames[] = {
7628 (char *) "self", NULL
7629 };
7630
7631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7633 {
7634 PyThreadState* __tstate = wxPyBeginAllowThreads();
7635 (arg1)->Close();
7636
7637 wxPyEndAllowThreads(__tstate);
7638 if (PyErr_Occurred()) SWIG_fail;
7639 }
7640 Py_INCREF(Py_None); resultobj = Py_None;
7641 return resultobj;
7642 fail:
7643 return NULL;
7644}
7645
7646
7647static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7648 PyObject *obj;
7649 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7650 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7651 Py_INCREF(obj);
7652 return Py_BuildValue((char *)"");
7653}
7654static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7655 PyObject *resultobj;
7656 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 7657 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
7658 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7659 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7660 wxSize const &arg4_defvalue = wxDefaultSize ;
7661 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7662 long arg5 = (long) 0 ;
7663 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7664 wxString *arg6 = (wxString *) &arg6_defvalue ;
7665 wxPyVScrolledWindow *result;
7666 wxPoint temp3 ;
7667 wxSize temp4 ;
423f194a 7668 bool temp6 = False ;
d14a1e28
RD
7669 PyObject * obj0 = 0 ;
7670 PyObject * obj2 = 0 ;
7671 PyObject * obj3 = 0 ;
7672 PyObject * obj5 = 0 ;
7673 char *kwnames[] = {
7674 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7675 };
7676
7677 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7678 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7679 if (obj2) {
7680 {
7681 arg3 = &temp3;
7682 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7683 }
7684 }
7685 if (obj3) {
7686 {
7687 arg4 = &temp4;
7688 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7689 }
7690 }
7691 if (obj5) {
7692 {
7693 arg6 = wxString_in_helper(obj5);
7694 if (arg6 == NULL) SWIG_fail;
423f194a 7695 temp6 = True;
d14a1e28
RD
7696 }
7697 }
7698 {
7699 PyThreadState* __tstate = wxPyBeginAllowThreads();
7700 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7701
7702 wxPyEndAllowThreads(__tstate);
7703 if (PyErr_Occurred()) SWIG_fail;
7704 }
7705 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7706 {
7707 if (temp6)
7708 delete arg6;
7709 }
7710 return resultobj;
7711 fail:
7712 {
7713 if (temp6)
7714 delete arg6;
7715 }
7716 return NULL;
7717}
7718
7719
7720static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7721 PyObject *resultobj;
7722 wxPyVScrolledWindow *result;
7723 char *kwnames[] = {
7724 NULL
7725 };
7726
7727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7728 {
7729 PyThreadState* __tstate = wxPyBeginAllowThreads();
7730 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7731
7732 wxPyEndAllowThreads(__tstate);
7733 if (PyErr_Occurred()) SWIG_fail;
7734 }
7735 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7736 return resultobj;
7737 fail:
7738 return NULL;
7739}
7740
7741
7742static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7743 PyObject *resultobj;
7744 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7745 PyObject *arg2 = (PyObject *) 0 ;
7746 PyObject *arg3 = (PyObject *) 0 ;
7747 PyObject * obj0 = 0 ;
7748 PyObject * obj1 = 0 ;
7749 PyObject * obj2 = 0 ;
7750 char *kwnames[] = {
7751 (char *) "self",(char *) "self",(char *) "_class", NULL
7752 };
7753
7754 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7755 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7756 arg2 = obj1;
7757 arg3 = obj2;
7758 {
7759 PyThreadState* __tstate = wxPyBeginAllowThreads();
7760 (arg1)->_setCallbackInfo(arg2,arg3);
7761
7762 wxPyEndAllowThreads(__tstate);
7763 if (PyErr_Occurred()) SWIG_fail;
7764 }
7765 Py_INCREF(Py_None); resultobj = Py_None;
7766 return resultobj;
7767 fail:
7768 return NULL;
7769}
7770
7771
7772static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7773 PyObject *resultobj;
7774 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7775 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 7776 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
7777 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7778 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7779 wxSize const &arg5_defvalue = wxDefaultSize ;
7780 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7781 long arg6 = (long) 0 ;
7782 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7783 wxString *arg7 = (wxString *) &arg7_defvalue ;
7784 bool result;
7785 wxPoint temp4 ;
7786 wxSize temp5 ;
423f194a 7787 bool temp7 = False ;
d14a1e28
RD
7788 PyObject * obj0 = 0 ;
7789 PyObject * obj1 = 0 ;
7790 PyObject * obj3 = 0 ;
7791 PyObject * obj4 = 0 ;
7792 PyObject * obj6 = 0 ;
7793 char *kwnames[] = {
7794 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7795 };
7796
7797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7798 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7799 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7800 if (obj3) {
7801 {
7802 arg4 = &temp4;
7803 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7804 }
7805 }
7806 if (obj4) {
7807 {
7808 arg5 = &temp5;
7809 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7810 }
7811 }
7812 if (obj6) {
7813 {
7814 arg7 = wxString_in_helper(obj6);
7815 if (arg7 == NULL) SWIG_fail;
423f194a 7816 temp7 = True;
d14a1e28
RD
7817 }
7818 }
7819 {
7820 PyThreadState* __tstate = wxPyBeginAllowThreads();
7821 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7822
7823 wxPyEndAllowThreads(__tstate);
7824 if (PyErr_Occurred()) SWIG_fail;
7825 }
7826 resultobj = PyInt_FromLong((long)result);
7827 {
7828 if (temp7)
7829 delete arg7;
7830 }
7831 return resultobj;
7832 fail:
7833 {
7834 if (temp7)
7835 delete arg7;
7836 }
7837 return NULL;
7838}
7839
7840
7841static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7842 PyObject *resultobj;
7843 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7844 size_t arg2 ;
7845 PyObject * obj0 = 0 ;
7846 PyObject * obj1 = 0 ;
7847 char *kwnames[] = {
7848 (char *) "self",(char *) "count", NULL
7849 };
7850
7851 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7852 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7853 arg2 = (size_t) PyInt_AsLong(obj1);
7854 if (PyErr_Occurred()) SWIG_fail;
7855 {
7856 PyThreadState* __tstate = wxPyBeginAllowThreads();
7857 (arg1)->SetLineCount(arg2);
7858
7859 wxPyEndAllowThreads(__tstate);
7860 if (PyErr_Occurred()) SWIG_fail;
7861 }
7862 Py_INCREF(Py_None); resultobj = Py_None;
7863 return resultobj;
7864 fail:
7865 return NULL;
7866}
7867
7868
7869static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7870 PyObject *resultobj;
7871 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7872 size_t arg2 ;
7873 bool result;
7874 PyObject * obj0 = 0 ;
7875 PyObject * obj1 = 0 ;
7876 char *kwnames[] = {
7877 (char *) "self",(char *) "line", NULL
7878 };
7879
7880 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
7881 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7882 arg2 = (size_t) PyInt_AsLong(obj1);
7883 if (PyErr_Occurred()) SWIG_fail;
7884 {
7885 PyThreadState* __tstate = wxPyBeginAllowThreads();
7886 result = (bool)(arg1)->ScrollToLine(arg2);
7887
7888 wxPyEndAllowThreads(__tstate);
7889 if (PyErr_Occurred()) SWIG_fail;
7890 }
7891 resultobj = PyInt_FromLong((long)result);
7892 return resultobj;
7893 fail:
7894 return NULL;
7895}
7896
7897
7898static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7899 PyObject *resultobj;
7900 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7901 int arg2 ;
7902 bool result;
7903 PyObject * obj0 = 0 ;
7904 char *kwnames[] = {
7905 (char *) "self",(char *) "lines", NULL
7906 };
7907
7908 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
7909 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7910 {
7911 PyThreadState* __tstate = wxPyBeginAllowThreads();
7912 result = (bool)(arg1)->ScrollLines(arg2);
7913
7914 wxPyEndAllowThreads(__tstate);
7915 if (PyErr_Occurred()) SWIG_fail;
7916 }
7917 resultobj = PyInt_FromLong((long)result);
7918 return resultobj;
7919 fail:
7920 return NULL;
7921}
7922
7923
7924static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
7925 PyObject *resultobj;
7926 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7927 int arg2 ;
7928 bool result;
7929 PyObject * obj0 = 0 ;
7930 char *kwnames[] = {
7931 (char *) "self",(char *) "pages", NULL
7932 };
7933
7934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
7935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7936 {
7937 PyThreadState* __tstate = wxPyBeginAllowThreads();
7938 result = (bool)(arg1)->ScrollPages(arg2);
7939
7940 wxPyEndAllowThreads(__tstate);
7941 if (PyErr_Occurred()) SWIG_fail;
7942 }
7943 resultobj = PyInt_FromLong((long)result);
7944 return resultobj;
7945 fail:
7946 return NULL;
7947}
7948
7949
7950static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7951 PyObject *resultobj;
7952 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7953 size_t arg2 ;
7954 PyObject * obj0 = 0 ;
7955 PyObject * obj1 = 0 ;
7956 char *kwnames[] = {
7957 (char *) "self",(char *) "line", NULL
7958 };
7959
7960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
7961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7962 arg2 = (size_t) PyInt_AsLong(obj1);
7963 if (PyErr_Occurred()) SWIG_fail;
7964 {
7965 PyThreadState* __tstate = wxPyBeginAllowThreads();
7966 (arg1)->RefreshLine(arg2);
7967
7968 wxPyEndAllowThreads(__tstate);
7969 if (PyErr_Occurred()) SWIG_fail;
7970 }
7971 Py_INCREF(Py_None); resultobj = Py_None;
7972 return resultobj;
7973 fail:
7974 return NULL;
7975}
7976
7977
7978static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7979 PyObject *resultobj;
7980 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7981 size_t arg2 ;
7982 size_t arg3 ;
7983 PyObject * obj0 = 0 ;
7984 PyObject * obj1 = 0 ;
7985 PyObject * obj2 = 0 ;
7986 char *kwnames[] = {
7987 (char *) "self",(char *) "from",(char *) "to", NULL
7988 };
7989
7990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7992 arg2 = (size_t) PyInt_AsLong(obj1);
7993 if (PyErr_Occurred()) SWIG_fail;
7994 arg3 = (size_t) PyInt_AsLong(obj2);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 {
7997 PyThreadState* __tstate = wxPyBeginAllowThreads();
7998 (arg1)->RefreshLines(arg2,arg3);
7999
8000 wxPyEndAllowThreads(__tstate);
8001 if (PyErr_Occurred()) SWIG_fail;
8002 }
8003 Py_INCREF(Py_None); resultobj = Py_None;
8004 return resultobj;
8005 fail:
8006 return NULL;
8007}
8008
8009
8010static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
8011 PyObject *resultobj;
8012 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
423f194a
RD
8013 int arg2 ;
8014 int arg3 ;
d14a1e28
RD
8015 int result;
8016 PyObject * obj0 = 0 ;
8017 char *kwnames[] = {
8018 (char *) "self",(char *) "x",(char *) "y", NULL
8019 };
8020
8021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
8022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8023 {
8024 PyThreadState* __tstate = wxPyBeginAllowThreads();
8025 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
8026
8027 wxPyEndAllowThreads(__tstate);
8028 if (PyErr_Occurred()) SWIG_fail;
8029 }
8030 resultobj = PyInt_FromLong((long)result);
8031 return resultobj;
8032 fail:
8033 return NULL;
8034}
8035
8036
8037static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8038 PyObject *resultobj;
8039 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8040 wxPoint *arg2 = 0 ;
8041 int result;
8042 wxPoint temp2 ;
8043 PyObject * obj0 = 0 ;
8044 PyObject * obj1 = 0 ;
8045 char *kwnames[] = {
8046 (char *) "self",(char *) "pt", NULL
8047 };
8048
8049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8051 {
8052 arg2 = &temp2;
8053 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8054 }
8055 {
8056 PyThreadState* __tstate = wxPyBeginAllowThreads();
8057 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8058
8059 wxPyEndAllowThreads(__tstate);
8060 if (PyErr_Occurred()) SWIG_fail;
8061 }
8062 resultobj = PyInt_FromLong((long)result);
8063 return resultobj;
8064 fail:
8065 return NULL;
8066}
8067
8068
8069static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8070 PyObject *resultobj;
8071 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8072 PyObject * obj0 = 0 ;
8073 char *kwnames[] = {
8074 (char *) "self", NULL
8075 };
8076
8077 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8078 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8079 {
8080 PyThreadState* __tstate = wxPyBeginAllowThreads();
8081 (arg1)->RefreshAll();
8082
8083 wxPyEndAllowThreads(__tstate);
8084 if (PyErr_Occurred()) SWIG_fail;
8085 }
8086 Py_INCREF(Py_None); resultobj = Py_None;
8087 return resultobj;
8088 fail:
8089 return NULL;
8090}
8091
8092
8093static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8094 PyObject *resultobj;
8095 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8096 size_t result;
8097 PyObject * obj0 = 0 ;
8098 char *kwnames[] = {
8099 (char *) "self", NULL
8100 };
8101
8102 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8103 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8104 {
8105 PyThreadState* __tstate = wxPyBeginAllowThreads();
8106 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8107
8108 wxPyEndAllowThreads(__tstate);
8109 if (PyErr_Occurred()) SWIG_fail;
8110 }
8111 resultobj = PyInt_FromLong((long)result);
8112 return resultobj;
8113 fail:
8114 return NULL;
8115}
8116
8117
8118static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8119 PyObject *resultobj;
8120 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8121 size_t result;
8122 PyObject * obj0 = 0 ;
8123 char *kwnames[] = {
8124 (char *) "self", NULL
8125 };
8126
8127 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8128 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8129 {
8130 PyThreadState* __tstate = wxPyBeginAllowThreads();
8131 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8132
8133 wxPyEndAllowThreads(__tstate);
8134 if (PyErr_Occurred()) SWIG_fail;
8135 }
8136 resultobj = PyInt_FromLong((long)result);
8137 return resultobj;
8138 fail:
8139 return NULL;
8140}
8141
8142
8143static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8144 PyObject *resultobj;
8145 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8146 size_t result;
8147 PyObject * obj0 = 0 ;
8148 char *kwnames[] = {
8149 (char *) "self", NULL
8150 };
8151
8152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8154 {
8155 PyThreadState* __tstate = wxPyBeginAllowThreads();
8156 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8157
8158 wxPyEndAllowThreads(__tstate);
8159 if (PyErr_Occurred()) SWIG_fail;
8160 }
8161 resultobj = PyInt_FromLong((long)result);
8162 return resultobj;
8163 fail:
8164 return NULL;
8165}
8166
8167
8168static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8169 PyObject *resultobj;
8170 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8171 size_t arg2 ;
8172 bool result;
8173 PyObject * obj0 = 0 ;
8174 PyObject * obj1 = 0 ;
8175 char *kwnames[] = {
8176 (char *) "self",(char *) "line", NULL
8177 };
8178
8179 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8180 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8181 arg2 = (size_t) PyInt_AsLong(obj1);
8182 if (PyErr_Occurred()) SWIG_fail;
8183 {
8184 PyThreadState* __tstate = wxPyBeginAllowThreads();
8185 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8186
8187 wxPyEndAllowThreads(__tstate);
8188 if (PyErr_Occurred()) SWIG_fail;
8189 }
8190 resultobj = PyInt_FromLong((long)result);
8191 return resultobj;
8192 fail:
8193 return NULL;
8194}
8195
8196
8197static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8198 PyObject *obj;
8199 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8200 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8201 Py_INCREF(obj);
8202 return Py_BuildValue((char *)"");
8203}
8204static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8205 PyObject *resultobj;
8206 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 8207 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
8208 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8209 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8210 wxSize const &arg4_defvalue = wxDefaultSize ;
8211 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8212 long arg5 = (long) 0 ;
8213 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8214 wxString *arg6 = (wxString *) &arg6_defvalue ;
8215 wxPyVListBox *result;
8216 wxPoint temp3 ;
8217 wxSize temp4 ;
423f194a 8218 bool temp6 = False ;
d14a1e28
RD
8219 PyObject * obj0 = 0 ;
8220 PyObject * obj2 = 0 ;
8221 PyObject * obj3 = 0 ;
8222 PyObject * obj5 = 0 ;
8223 char *kwnames[] = {
8224 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8225 };
8226
8227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8229 if (obj2) {
8230 {
8231 arg3 = &temp3;
8232 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8233 }
8234 }
8235 if (obj3) {
8236 {
8237 arg4 = &temp4;
8238 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8239 }
8240 }
8241 if (obj5) {
8242 {
8243 arg6 = wxString_in_helper(obj5);
8244 if (arg6 == NULL) SWIG_fail;
423f194a 8245 temp6 = True;
d14a1e28
RD
8246 }
8247 }
8248 {
8249 PyThreadState* __tstate = wxPyBeginAllowThreads();
8250 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8251
8252 wxPyEndAllowThreads(__tstate);
8253 if (PyErr_Occurred()) SWIG_fail;
8254 }
8255 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8256 {
8257 if (temp6)
8258 delete arg6;
8259 }
8260 return resultobj;
8261 fail:
8262 {
8263 if (temp6)
8264 delete arg6;
8265 }
8266 return NULL;
8267}
8268
8269
8270static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8271 PyObject *resultobj;
8272 wxPyVListBox *result;
8273 char *kwnames[] = {
8274 NULL
8275 };
8276
8277 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8278 {
8279 PyThreadState* __tstate = wxPyBeginAllowThreads();
8280 result = (wxPyVListBox *)new wxPyVListBox();
8281
8282 wxPyEndAllowThreads(__tstate);
8283 if (PyErr_Occurred()) SWIG_fail;
8284 }
8285 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8286 return resultobj;
8287 fail:
8288 return NULL;
8289}
8290
8291
8292static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8293 PyObject *resultobj;
8294 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8295 PyObject *arg2 = (PyObject *) 0 ;
8296 PyObject *arg3 = (PyObject *) 0 ;
8297 PyObject * obj0 = 0 ;
8298 PyObject * obj1 = 0 ;
8299 PyObject * obj2 = 0 ;
8300 char *kwnames[] = {
8301 (char *) "self",(char *) "self",(char *) "_class", NULL
8302 };
8303
8304 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8305 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8306 arg2 = obj1;
8307 arg3 = obj2;
8308 {
8309 PyThreadState* __tstate = wxPyBeginAllowThreads();
8310 (arg1)->_setCallbackInfo(arg2,arg3);
8311
8312 wxPyEndAllowThreads(__tstate);
8313 if (PyErr_Occurred()) SWIG_fail;
8314 }
8315 Py_INCREF(Py_None); resultobj = Py_None;
8316 return resultobj;
8317 fail:
8318 return NULL;
8319}
8320
8321
8322static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8323 PyObject *resultobj;
8324 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8325 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 8326 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
8327 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8328 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8329 wxSize const &arg5_defvalue = wxDefaultSize ;
8330 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8331 long arg6 = (long) 0 ;
8332 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8333 wxString *arg7 = (wxString *) &arg7_defvalue ;
8334 bool result;
8335 wxPoint temp4 ;
8336 wxSize temp5 ;
423f194a 8337 bool temp7 = False ;
d14a1e28
RD
8338 PyObject * obj0 = 0 ;
8339 PyObject * obj1 = 0 ;
8340 PyObject * obj3 = 0 ;
8341 PyObject * obj4 = 0 ;
8342 PyObject * obj6 = 0 ;
8343 char *kwnames[] = {
8344 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8345 };
8346
8347 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8348 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8349 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8350 if (obj3) {
8351 {
8352 arg4 = &temp4;
8353 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8354 }
8355 }
8356 if (obj4) {
8357 {
8358 arg5 = &temp5;
8359 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8360 }
8361 }
8362 if (obj6) {
8363 {
8364 arg7 = wxString_in_helper(obj6);
8365 if (arg7 == NULL) SWIG_fail;
423f194a 8366 temp7 = True;
d14a1e28
RD
8367 }
8368 }
8369 {
8370 PyThreadState* __tstate = wxPyBeginAllowThreads();
8371 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8372
8373 wxPyEndAllowThreads(__tstate);
8374 if (PyErr_Occurred()) SWIG_fail;
8375 }
8376 resultobj = PyInt_FromLong((long)result);
8377 {
8378 if (temp7)
8379 delete arg7;
8380 }
8381 return resultobj;
8382 fail:
8383 {
8384 if (temp7)
8385 delete arg7;
8386 }
8387 return NULL;
8388}
8389
8390
8391static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8392 PyObject *resultobj;
8393 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8394 size_t result;
8395 PyObject * obj0 = 0 ;
8396 char *kwnames[] = {
8397 (char *) "self", NULL
8398 };
8399
8400 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8401 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8402 {
8403 PyThreadState* __tstate = wxPyBeginAllowThreads();
8404 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8405
8406 wxPyEndAllowThreads(__tstate);
8407 if (PyErr_Occurred()) SWIG_fail;
8408 }
8409 resultobj = PyInt_FromLong((long)result);
8410 return resultobj;
8411 fail:
8412 return NULL;
8413}
8414
8415
8416static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8417 PyObject *resultobj;
8418 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8419 bool result;
8420 PyObject * obj0 = 0 ;
8421 char *kwnames[] = {
8422 (char *) "self", NULL
8423 };
8424
8425 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8426 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8427 {
8428 PyThreadState* __tstate = wxPyBeginAllowThreads();
8429 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8430
8431 wxPyEndAllowThreads(__tstate);
8432 if (PyErr_Occurred()) SWIG_fail;
8433 }
8434 resultobj = PyInt_FromLong((long)result);
8435 return resultobj;
8436 fail:
8437 return NULL;
8438}
8439
8440
8441static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8442 PyObject *resultobj;
8443 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8444 int result;
8445 PyObject * obj0 = 0 ;
8446 char *kwnames[] = {
8447 (char *) "self", NULL
8448 };
8449
8450 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8451 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8452 {
8453 PyThreadState* __tstate = wxPyBeginAllowThreads();
8454 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8455
8456 wxPyEndAllowThreads(__tstate);
8457 if (PyErr_Occurred()) SWIG_fail;
8458 }
8459 resultobj = PyInt_FromLong((long)result);
8460 return resultobj;
8461 fail:
8462 return NULL;
8463}
8464
8465
8466static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8467 PyObject *resultobj;
8468 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8469 size_t arg2 ;
8470 bool result;
8471 PyObject * obj0 = 0 ;
8472 PyObject * obj1 = 0 ;
8473 char *kwnames[] = {
8474 (char *) "self",(char *) "item", NULL
8475 };
8476
8477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8479 arg2 = (size_t) PyInt_AsLong(obj1);
8480 if (PyErr_Occurred()) SWIG_fail;
8481 {
8482 PyThreadState* __tstate = wxPyBeginAllowThreads();
8483 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8484
8485 wxPyEndAllowThreads(__tstate);
8486 if (PyErr_Occurred()) SWIG_fail;
8487 }
8488 resultobj = PyInt_FromLong((long)result);
8489 return resultobj;
8490 fail:
8491 return NULL;
8492}
8493
8494
8495static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8496 PyObject *resultobj;
8497 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8498 size_t arg2 ;
8499 bool result;
8500 PyObject * obj0 = 0 ;
8501 PyObject * obj1 = 0 ;
8502 char *kwnames[] = {
8503 (char *) "self",(char *) "item", NULL
8504 };
8505
8506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8508 arg2 = (size_t) PyInt_AsLong(obj1);
8509 if (PyErr_Occurred()) SWIG_fail;
8510 {
8511 PyThreadState* __tstate = wxPyBeginAllowThreads();
8512 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8513
8514 wxPyEndAllowThreads(__tstate);
8515 if (PyErr_Occurred()) SWIG_fail;
8516 }
8517 resultobj = PyInt_FromLong((long)result);
8518 return resultobj;
8519 fail:
8520 return NULL;
8521}
8522
8523
8524static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8525 PyObject *resultobj;
8526 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8527 size_t result;
8528 PyObject * obj0 = 0 ;
8529 char *kwnames[] = {
8530 (char *) "self", NULL
8531 };
8532
8533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8535 {
8536 PyThreadState* __tstate = wxPyBeginAllowThreads();
8537 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8538
8539 wxPyEndAllowThreads(__tstate);
8540 if (PyErr_Occurred()) SWIG_fail;
8541 }
8542 resultobj = PyInt_FromLong((long)result);
8543 return resultobj;
8544 fail:
8545 return NULL;
8546}
8547
8548
8549static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8550 PyObject *resultobj;
8551 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8552 unsigned long *arg2 = 0 ;
8553 int result;
8554 PyObject * obj0 = 0 ;
8555 PyObject * obj1 = 0 ;
8556 char *kwnames[] = {
8557 (char *) "self",(char *) "cookie", NULL
8558 };
8559
8560 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8561 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8562 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8563 if (arg2 == NULL) {
8564 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8565 }
8566 {
8567 PyThreadState* __tstate = wxPyBeginAllowThreads();
8568 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
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_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8581 PyObject *resultobj;
8582 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8583 unsigned long *arg2 = 0 ;
8584 int result;
8585 PyObject * obj0 = 0 ;
8586 PyObject * obj1 = 0 ;
8587 char *kwnames[] = {
8588 (char *) "self",(char *) "cookie", NULL
8589 };
8590
8591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8593 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8594 if (arg2 == NULL) {
8595 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8596 }
8597 {
8598 PyThreadState* __tstate = wxPyBeginAllowThreads();
8599 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8600
8601 wxPyEndAllowThreads(__tstate);
8602 if (PyErr_Occurred()) SWIG_fail;
8603 }
8604 resultobj = PyInt_FromLong((long)result);
8605 return resultobj;
8606 fail:
8607 return NULL;
8608}
8609
8610
8611static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8612 PyObject *resultobj;
8613 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8614 wxPoint result;
8615 PyObject * obj0 = 0 ;
8616 char *kwnames[] = {
8617 (char *) "self", NULL
8618 };
8619
8620 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8621 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8622 {
8623 PyThreadState* __tstate = wxPyBeginAllowThreads();
8624 result = ((wxPyVListBox const *)arg1)->GetMargins();
8625
8626 wxPyEndAllowThreads(__tstate);
8627 if (PyErr_Occurred()) SWIG_fail;
8628 }
8629 {
8630 wxPoint * resultptr;
8631 resultptr = new wxPoint((wxPoint &) result);
8632 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8633 }
8634 return resultobj;
8635 fail:
8636 return NULL;
8637}
8638
8639
8640static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8641 PyObject *resultobj;
8642 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8643 wxColour *result;
8644 PyObject * obj0 = 0 ;
8645 char *kwnames[] = {
8646 (char *) "self", NULL
8647 };
8648
8649 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8650 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8651 {
8652 PyThreadState* __tstate = wxPyBeginAllowThreads();
8653 {
8654 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8655 result = (wxColour *) &_result_ref;
8656 }
8657
8658 wxPyEndAllowThreads(__tstate);
8659 if (PyErr_Occurred()) SWIG_fail;
8660 }
8661 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8662 return resultobj;
8663 fail:
8664 return NULL;
8665}
8666
8667
8668static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8669 PyObject *resultobj;
8670 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8671 size_t arg2 ;
8672 PyObject * obj0 = 0 ;
8673 PyObject * obj1 = 0 ;
8674 char *kwnames[] = {
8675 (char *) "self",(char *) "count", NULL
8676 };
8677
8678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8680 arg2 = (size_t) PyInt_AsLong(obj1);
8681 if (PyErr_Occurred()) SWIG_fail;
8682 {
8683 PyThreadState* __tstate = wxPyBeginAllowThreads();
8684 (arg1)->SetItemCount(arg2);
8685
8686 wxPyEndAllowThreads(__tstate);
8687 if (PyErr_Occurred()) SWIG_fail;
8688 }
8689 Py_INCREF(Py_None); resultobj = Py_None;
8690 return resultobj;
8691 fail:
8692 return NULL;
8693}
8694
8695
8696static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8697 PyObject *resultobj;
8698 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8699 PyObject * obj0 = 0 ;
8700 char *kwnames[] = {
8701 (char *) "self", NULL
8702 };
8703
8704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8706 {
8707 PyThreadState* __tstate = wxPyBeginAllowThreads();
8708 (arg1)->Clear();
8709
8710 wxPyEndAllowThreads(__tstate);
8711 if (PyErr_Occurred()) SWIG_fail;
8712 }
8713 Py_INCREF(Py_None); resultobj = Py_None;
8714 return resultobj;
8715 fail:
8716 return NULL;
8717}
8718
8719
8720static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8721 PyObject *resultobj;
8722 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8723 int arg2 ;
8724 PyObject * obj0 = 0 ;
8725 char *kwnames[] = {
8726 (char *) "self",(char *) "selection", NULL
8727 };
8728
8729 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8730 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8731 {
8732 PyThreadState* __tstate = wxPyBeginAllowThreads();
8733 (arg1)->SetSelection(arg2);
8734
8735 wxPyEndAllowThreads(__tstate);
8736 if (PyErr_Occurred()) SWIG_fail;
8737 }
8738 Py_INCREF(Py_None); resultobj = Py_None;
8739 return resultobj;
8740 fail:
8741 return NULL;
8742}
8743
8744
8745static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8746 PyObject *resultobj;
8747 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8748 size_t arg2 ;
423f194a 8749 bool arg3 = (bool) True ;
d14a1e28
RD
8750 bool result;
8751 PyObject * obj0 = 0 ;
8752 PyObject * obj1 = 0 ;
8753 PyObject * obj2 = 0 ;
8754 char *kwnames[] = {
8755 (char *) "self",(char *) "item",(char *) "select", NULL
8756 };
8757
8758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8760 arg2 = (size_t) PyInt_AsLong(obj1);
8761 if (PyErr_Occurred()) SWIG_fail;
8762 if (obj2) {
8763 arg3 = PyInt_AsLong(obj2) ? true : false;
8764 if (PyErr_Occurred()) SWIG_fail;
8765 }
8766 {
8767 PyThreadState* __tstate = wxPyBeginAllowThreads();
8768 result = (bool)(arg1)->Select(arg2,arg3);
8769
8770 wxPyEndAllowThreads(__tstate);
8771 if (PyErr_Occurred()) SWIG_fail;
8772 }
8773 resultobj = PyInt_FromLong((long)result);
8774 return resultobj;
8775 fail:
8776 return NULL;
8777}
8778
8779
8780static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8781 PyObject *resultobj;
8782 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8783 size_t arg2 ;
8784 size_t arg3 ;
8785 bool result;
8786 PyObject * obj0 = 0 ;
8787 PyObject * obj1 = 0 ;
8788 PyObject * obj2 = 0 ;
8789 char *kwnames[] = {
8790 (char *) "self",(char *) "from",(char *) "to", NULL
8791 };
8792
8793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8795 arg2 = (size_t) PyInt_AsLong(obj1);
8796 if (PyErr_Occurred()) SWIG_fail;
8797 arg3 = (size_t) PyInt_AsLong(obj2);
8798 if (PyErr_Occurred()) SWIG_fail;
8799 {
8800 PyThreadState* __tstate = wxPyBeginAllowThreads();
8801 result = (bool)(arg1)->SelectRange(arg2,arg3);
8802
8803 wxPyEndAllowThreads(__tstate);
8804 if (PyErr_Occurred()) SWIG_fail;
8805 }
8806 resultobj = PyInt_FromLong((long)result);
8807 return resultobj;
8808 fail:
8809 return NULL;
8810}
8811
8812
8813static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8814 PyObject *resultobj;
8815 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8816 size_t arg2 ;
8817 PyObject * obj0 = 0 ;
8818 PyObject * obj1 = 0 ;
8819 char *kwnames[] = {
8820 (char *) "self",(char *) "item", NULL
8821 };
8822
8823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8824 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8825 arg2 = (size_t) PyInt_AsLong(obj1);
8826 if (PyErr_Occurred()) SWIG_fail;
8827 {
8828 PyThreadState* __tstate = wxPyBeginAllowThreads();
8829 (arg1)->Toggle(arg2);
8830
8831 wxPyEndAllowThreads(__tstate);
8832 if (PyErr_Occurred()) SWIG_fail;
8833 }
8834 Py_INCREF(Py_None); resultobj = Py_None;
8835 return resultobj;
8836 fail:
8837 return NULL;
8838}
8839
8840
8841static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8842 PyObject *resultobj;
8843 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8844 bool result;
8845 PyObject * obj0 = 0 ;
8846 char *kwnames[] = {
8847 (char *) "self", NULL
8848 };
8849
8850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8852 {
8853 PyThreadState* __tstate = wxPyBeginAllowThreads();
8854 result = (bool)(arg1)->SelectAll();
8855
8856 wxPyEndAllowThreads(__tstate);
8857 if (PyErr_Occurred()) SWIG_fail;
8858 }
8859 resultobj = PyInt_FromLong((long)result);
8860 return resultobj;
8861 fail:
8862 return NULL;
8863}
8864
8865
8866static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8867 PyObject *resultobj;
8868 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8869 bool result;
8870 PyObject * obj0 = 0 ;
8871 char *kwnames[] = {
8872 (char *) "self", NULL
8873 };
8874
8875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
8876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8877 {
8878 PyThreadState* __tstate = wxPyBeginAllowThreads();
8879 result = (bool)(arg1)->DeselectAll();
8880
8881 wxPyEndAllowThreads(__tstate);
8882 if (PyErr_Occurred()) SWIG_fail;
8883 }
8884 resultobj = PyInt_FromLong((long)result);
8885 return resultobj;
8886 fail:
8887 return NULL;
8888}
8889
8890
8891static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8892 PyObject *resultobj;
8893 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8894 wxPoint *arg2 = 0 ;
8895 wxPoint temp2 ;
8896 PyObject * obj0 = 0 ;
8897 PyObject * obj1 = 0 ;
8898 char *kwnames[] = {
8899 (char *) "self",(char *) "pt", NULL
8900 };
8901
8902 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
8903 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8904 {
8905 arg2 = &temp2;
8906 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8907 }
8908 {
8909 PyThreadState* __tstate = wxPyBeginAllowThreads();
8910 (arg1)->SetMargins((wxPoint const &)*arg2);
8911
8912 wxPyEndAllowThreads(__tstate);
8913 if (PyErr_Occurred()) SWIG_fail;
8914 }
8915 Py_INCREF(Py_None); resultobj = Py_None;
8916 return resultobj;
8917 fail:
8918 return NULL;
8919}
8920
8921
8922static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8923 PyObject *resultobj;
8924 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
423f194a
RD
8925 int arg2 ;
8926 int arg3 ;
d14a1e28
RD
8927 PyObject * obj0 = 0 ;
8928 char *kwnames[] = {
8929 (char *) "self",(char *) "x",(char *) "y", NULL
8930 };
8931
8932 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
8933 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8934 {
8935 PyThreadState* __tstate = wxPyBeginAllowThreads();
8936 (arg1)->SetMargins(arg2,arg3);
8937
8938 wxPyEndAllowThreads(__tstate);
8939 if (PyErr_Occurred()) SWIG_fail;
8940 }
8941 Py_INCREF(Py_None); resultobj = Py_None;
8942 return resultobj;
8943 fail:
8944 return NULL;
8945}
8946
8947
8948static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8949 PyObject *resultobj;
8950 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8951 wxColour *arg2 = 0 ;
8952 wxColour temp2 ;
8953 PyObject * obj0 = 0 ;
8954 PyObject * obj1 = 0 ;
8955 char *kwnames[] = {
8956 (char *) "self",(char *) "col", NULL
8957 };
8958
8959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
8960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8961 {
8962 arg2 = &temp2;
8963 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8964 }
8965 {
8966 PyThreadState* __tstate = wxPyBeginAllowThreads();
8967 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
8968
8969 wxPyEndAllowThreads(__tstate);
8970 if (PyErr_Occurred()) SWIG_fail;
8971 }
8972 Py_INCREF(Py_None); resultobj = Py_None;
8973 return resultobj;
8974 fail:
8975 return NULL;
8976}
8977
8978
8979static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
8980 PyObject *obj;
8981 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8982 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
8983 Py_INCREF(obj);
8984 return Py_BuildValue((char *)"");
8985}
8986static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8987 PyObject *resultobj;
8988 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 8989 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
8990 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8991 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8992 wxSize const &arg4_defvalue = wxDefaultSize ;
8993 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8994 long arg5 = (long) 0 ;
8995 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8996 wxString *arg6 = (wxString *) &arg6_defvalue ;
8997 wxPyHtmlListBox *result;
8998 wxPoint temp3 ;
8999 wxSize temp4 ;
423f194a 9000 bool temp6 = False ;
d14a1e28
RD
9001 PyObject * obj0 = 0 ;
9002 PyObject * obj2 = 0 ;
9003 PyObject * obj3 = 0 ;
9004 PyObject * obj5 = 0 ;
9005 char *kwnames[] = {
9006 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9007 };
9008
9009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
9010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9011 if (obj2) {
9012 {
9013 arg3 = &temp3;
9014 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9015 }
9016 }
9017 if (obj3) {
9018 {
9019 arg4 = &temp4;
9020 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9021 }
9022 }
9023 if (obj5) {
9024 {
9025 arg6 = wxString_in_helper(obj5);
9026 if (arg6 == NULL) SWIG_fail;
423f194a 9027 temp6 = True;
d14a1e28
RD
9028 }
9029 }
9030 {
9031 PyThreadState* __tstate = wxPyBeginAllowThreads();
9032 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9033
9034 wxPyEndAllowThreads(__tstate);
9035 if (PyErr_Occurred()) SWIG_fail;
9036 }
9037 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9038 {
9039 if (temp6)
9040 delete arg6;
9041 }
9042 return resultobj;
9043 fail:
9044 {
9045 if (temp6)
9046 delete arg6;
9047 }
9048 return NULL;
9049}
9050
9051
9052static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9053 PyObject *resultobj;
9054 wxPyHtmlListBox *result;
9055 char *kwnames[] = {
9056 NULL
9057 };
9058
9059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9060 {
9061 PyThreadState* __tstate = wxPyBeginAllowThreads();
9062 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9063
9064 wxPyEndAllowThreads(__tstate);
9065 if (PyErr_Occurred()) SWIG_fail;
9066 }
9067 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9068 return resultobj;
9069 fail:
9070 return NULL;
9071}
9072
9073
9074static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9075 PyObject *resultobj;
9076 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9077 PyObject *arg2 = (PyObject *) 0 ;
9078 PyObject *arg3 = (PyObject *) 0 ;
9079 PyObject * obj0 = 0 ;
9080 PyObject * obj1 = 0 ;
9081 PyObject * obj2 = 0 ;
9082 char *kwnames[] = {
9083 (char *) "self",(char *) "self",(char *) "_class", NULL
9084 };
9085
9086 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9087 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9088 arg2 = obj1;
9089 arg3 = obj2;
9090 {
9091 PyThreadState* __tstate = wxPyBeginAllowThreads();
9092 (arg1)->_setCallbackInfo(arg2,arg3);
9093
9094 wxPyEndAllowThreads(__tstate);
9095 if (PyErr_Occurred()) SWIG_fail;
9096 }
9097 Py_INCREF(Py_None); resultobj = Py_None;
9098 return resultobj;
9099 fail:
9100 return NULL;
9101}
9102
9103
9104static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9105 PyObject *resultobj;
9106 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9107 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 9108 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
9109 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9110 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9111 wxSize const &arg5_defvalue = wxDefaultSize ;
9112 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9113 long arg6 = (long) 0 ;
9114 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9115 wxString *arg7 = (wxString *) &arg7_defvalue ;
9116 bool result;
9117 wxPoint temp4 ;
9118 wxSize temp5 ;
423f194a 9119 bool temp7 = False ;
d14a1e28
RD
9120 PyObject * obj0 = 0 ;
9121 PyObject * obj1 = 0 ;
9122 PyObject * obj3 = 0 ;
9123 PyObject * obj4 = 0 ;
9124 PyObject * obj6 = 0 ;
9125 char *kwnames[] = {
9126 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9127 };
9128
9129 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9130 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9131 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9132 if (obj3) {
9133 {
9134 arg4 = &temp4;
9135 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9136 }
9137 }
9138 if (obj4) {
9139 {
9140 arg5 = &temp5;
9141 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9142 }
9143 }
9144 if (obj6) {
9145 {
9146 arg7 = wxString_in_helper(obj6);
9147 if (arg7 == NULL) SWIG_fail;
423f194a 9148 temp7 = True;
d14a1e28
RD
9149 }
9150 }
9151 {
9152 PyThreadState* __tstate = wxPyBeginAllowThreads();
9153 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9154
9155 wxPyEndAllowThreads(__tstate);
9156 if (PyErr_Occurred()) SWIG_fail;
9157 }
9158 resultobj = PyInt_FromLong((long)result);
9159 {
9160 if (temp7)
9161 delete arg7;
9162 }
9163 return resultobj;
9164 fail:
9165 {
9166 if (temp7)
9167 delete arg7;
9168 }
9169 return NULL;
9170}
9171
9172
9173static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9174 PyObject *resultobj;
9175 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9176 PyObject * obj0 = 0 ;
9177 char *kwnames[] = {
9178 (char *) "self", NULL
9179 };
9180
9181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9183 {
9184 PyThreadState* __tstate = wxPyBeginAllowThreads();
9185 (arg1)->RefreshAll();
9186
9187 wxPyEndAllowThreads(__tstate);
9188 if (PyErr_Occurred()) SWIG_fail;
9189 }
9190 Py_INCREF(Py_None); resultobj = Py_None;
9191 return resultobj;
9192 fail:
9193 return NULL;
9194}
9195
9196
9197static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9198 PyObject *resultobj;
9199 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9200 size_t arg2 ;
9201 PyObject * obj0 = 0 ;
9202 PyObject * obj1 = 0 ;
9203 char *kwnames[] = {
9204 (char *) "self",(char *) "count", NULL
9205 };
9206
9207 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9208 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9209 arg2 = (size_t) PyInt_AsLong(obj1);
9210 if (PyErr_Occurred()) SWIG_fail;
9211 {
9212 PyThreadState* __tstate = wxPyBeginAllowThreads();
9213 (arg1)->SetItemCount(arg2);
9214
9215 wxPyEndAllowThreads(__tstate);
9216 if (PyErr_Occurred()) SWIG_fail;
9217 }
9218 Py_INCREF(Py_None); resultobj = Py_None;
9219 return resultobj;
9220 fail:
9221 return NULL;
9222}
9223
9224
9225static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9226 PyObject *obj;
9227 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9228 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9229 Py_INCREF(obj);
9230 return Py_BuildValue((char *)"");
9231}
9232static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9233 PyObject *resultobj;
9234 wxTaskBarIcon *result;
9235 char *kwnames[] = {
9236 NULL
9237 };
9238
9239 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9240 {
9241 PyThreadState* __tstate = wxPyBeginAllowThreads();
9242 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9243
9244 wxPyEndAllowThreads(__tstate);
9245 if (PyErr_Occurred()) SWIG_fail;
9246 }
9247 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9248 return resultobj;
9249 fail:
9250 return NULL;
9251}
9252
9253
9254static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9255 PyObject *resultobj;
9256 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9257 PyObject * obj0 = 0 ;
9258 char *kwnames[] = {
9259 (char *) "self", NULL
9260 };
9261
9262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9264 {
9265 PyThreadState* __tstate = wxPyBeginAllowThreads();
9266 delete arg1;
9267
9268 wxPyEndAllowThreads(__tstate);
9269 if (PyErr_Occurred()) SWIG_fail;
9270 }
9271 Py_INCREF(Py_None); resultobj = Py_None;
9272 return resultobj;
9273 fail:
9274 return NULL;
9275}
9276
9277
9278static PyObject *_wrap_TaskBarIcon_IsOk(PyObject *self, PyObject *args, PyObject *kwargs) {
9279 PyObject *resultobj;
9280 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9281 bool result;
9282 PyObject * obj0 = 0 ;
9283 char *kwnames[] = {
9284 (char *) "self", NULL
9285 };
9286
9287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsOk",kwnames,&obj0)) goto fail;
9288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9289 {
9290 PyThreadState* __tstate = wxPyBeginAllowThreads();
9291 result = (bool)((wxTaskBarIcon const *)arg1)->IsOk();
9292
9293 wxPyEndAllowThreads(__tstate);
9294 if (PyErr_Occurred()) SWIG_fail;
9295 }
9296 resultobj = PyInt_FromLong((long)result);
9297 return resultobj;
9298 fail:
9299 return NULL;
9300}
9301
9302
9303static PyObject *_wrap_TaskBarIcon_IsIconInstalled(PyObject *self, PyObject *args, PyObject *kwargs) {
9304 PyObject *resultobj;
9305 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9306 bool result;
9307 PyObject * obj0 = 0 ;
9308 char *kwnames[] = {
9309 (char *) "self", NULL
9310 };
9311
9312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_IsIconInstalled",kwnames,&obj0)) goto fail;
9313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9314 {
9315 PyThreadState* __tstate = wxPyBeginAllowThreads();
9316 result = (bool)((wxTaskBarIcon const *)arg1)->IsIconInstalled();
9317
9318 wxPyEndAllowThreads(__tstate);
9319 if (PyErr_Occurred()) SWIG_fail;
9320 }
9321 resultobj = PyInt_FromLong((long)result);
9322 return resultobj;
9323 fail:
9324 return NULL;
9325}
9326
9327
9328static PyObject *_wrap_TaskBarIcon_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9329 PyObject *resultobj;
9330 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9331 wxIcon *arg2 = 0 ;
9332 wxString const &arg3_defvalue = wxPyEmptyString ;
9333 wxString *arg3 = (wxString *) &arg3_defvalue ;
9334 bool result;
423f194a 9335 bool temp3 = False ;
d14a1e28
RD
9336 PyObject * obj0 = 0 ;
9337 PyObject * obj1 = 0 ;
9338 PyObject * obj2 = 0 ;
9339 char *kwnames[] = {
9340 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
9341 };
9342
9343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames,&obj0,&obj1,&obj2)) goto fail;
9344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9345 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9346 if (arg2 == NULL) {
9347 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
9348 }
9349 if (obj2) {
9350 {
9351 arg3 = wxString_in_helper(obj2);
9352 if (arg3 == NULL) SWIG_fail;
423f194a 9353 temp3 = True;
d14a1e28
RD
9354 }
9355 }
9356 {
9357 PyThreadState* __tstate = wxPyBeginAllowThreads();
9358 result = (bool)(arg1)->SetIcon((wxIcon const &)*arg2,(wxString const &)*arg3);
9359
9360 wxPyEndAllowThreads(__tstate);
9361 if (PyErr_Occurred()) SWIG_fail;
9362 }
9363 resultobj = PyInt_FromLong((long)result);
9364 {
9365 if (temp3)
9366 delete arg3;
9367 }
9368 return resultobj;
9369 fail:
9370 {
9371 if (temp3)
9372 delete arg3;
9373 }
9374 return NULL;
9375}
9376
9377
9378static PyObject *_wrap_TaskBarIcon_RemoveIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9379 PyObject *resultobj;
9380 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9381 bool result;
9382 PyObject * obj0 = 0 ;
9383 char *kwnames[] = {
9384 (char *) "self", NULL
9385 };
9386
9387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TaskBarIcon_RemoveIcon",kwnames,&obj0)) goto fail;
9388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9389 {
9390 PyThreadState* __tstate = wxPyBeginAllowThreads();
9391 result = (bool)(arg1)->RemoveIcon();
9392
9393 wxPyEndAllowThreads(__tstate);
9394 if (PyErr_Occurred()) SWIG_fail;
9395 }
9396 resultobj = PyInt_FromLong((long)result);
9397 return resultobj;
9398 fail:
9399 return NULL;
9400}
9401
9402
9403static PyObject *_wrap_TaskBarIcon_PopupMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
9404 PyObject *resultobj;
9405 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9406 wxMenu *arg2 = (wxMenu *) 0 ;
9407 bool result;
9408 PyObject * obj0 = 0 ;
9409 PyObject * obj1 = 0 ;
9410 char *kwnames[] = {
9411 (char *) "self",(char *) "menu", NULL
9412 };
9413
9414 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TaskBarIcon_PopupMenu",kwnames,&obj0,&obj1)) goto fail;
9415 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9416 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9417 {
9418 PyThreadState* __tstate = wxPyBeginAllowThreads();
9419 result = (bool)(arg1)->PopupMenu(arg2);
9420
9421 wxPyEndAllowThreads(__tstate);
9422 if (PyErr_Occurred()) SWIG_fail;
9423 }
9424 resultobj = PyInt_FromLong((long)result);
9425 return resultobj;
9426 fail:
9427 return NULL;
9428}
9429
9430
9431static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9432 PyObject *obj;
9433 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9434 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9435 Py_INCREF(obj);
9436 return Py_BuildValue((char *)"");
9437}
9438static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9439 PyObject *resultobj;
9440 wxEventType arg1 ;
9441 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9442 wxTaskBarIconEvent *result;
9443 PyObject * obj1 = 0 ;
9444 char *kwnames[] = {
9445 (char *) "evtType",(char *) "tbIcon", NULL
9446 };
9447
9448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9450 {
9451 PyThreadState* __tstate = wxPyBeginAllowThreads();
9452 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9453
9454 wxPyEndAllowThreads(__tstate);
9455 if (PyErr_Occurred()) SWIG_fail;
9456 }
9457 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9458 return resultobj;
9459 fail:
9460 return NULL;
9461}
9462
9463
9464static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9465 PyObject *obj;
9466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9467 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9468 Py_INCREF(obj);
9469 return Py_BuildValue((char *)"");
9470}
9471static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9472 PyObject *resultobj;
9473 wxColourData *result;
9474 char *kwnames[] = {
9475 NULL
9476 };
9477
9478 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9479 {
9480 PyThreadState* __tstate = wxPyBeginAllowThreads();
9481 result = (wxColourData *)new wxColourData();
9482
9483 wxPyEndAllowThreads(__tstate);
9484 if (PyErr_Occurred()) SWIG_fail;
9485 }
9486 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9487 return resultobj;
9488 fail:
9489 return NULL;
9490}
9491
9492
9493static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9494 PyObject *resultobj;
9495 wxColourData *arg1 = (wxColourData *) 0 ;
9496 PyObject * obj0 = 0 ;
9497 char *kwnames[] = {
9498 (char *) "self", NULL
9499 };
9500
9501 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9502 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9503 {
9504 PyThreadState* __tstate = wxPyBeginAllowThreads();
9505 delete arg1;
9506
9507 wxPyEndAllowThreads(__tstate);
9508 if (PyErr_Occurred()) SWIG_fail;
9509 }
9510 Py_INCREF(Py_None); resultobj = Py_None;
9511 return resultobj;
9512 fail:
9513 return NULL;
9514}
9515
9516
9517static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9518 PyObject *resultobj;
9519 wxColourData *arg1 = (wxColourData *) 0 ;
9520 bool result;
9521 PyObject * obj0 = 0 ;
9522 char *kwnames[] = {
9523 (char *) "self", NULL
9524 };
9525
9526 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9527 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9528 {
9529 PyThreadState* __tstate = wxPyBeginAllowThreads();
9530 result = (bool)(arg1)->GetChooseFull();
9531
9532 wxPyEndAllowThreads(__tstate);
9533 if (PyErr_Occurred()) SWIG_fail;
9534 }
9535 resultobj = PyInt_FromLong((long)result);
9536 return resultobj;
9537 fail:
9538 return NULL;
9539}
9540
9541
9542static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9543 PyObject *resultobj;
9544 wxColourData *arg1 = (wxColourData *) 0 ;
9545 wxColour result;
9546 PyObject * obj0 = 0 ;
9547 char *kwnames[] = {
9548 (char *) "self", NULL
9549 };
9550
9551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9553 {
9554 PyThreadState* __tstate = wxPyBeginAllowThreads();
9555 result = (arg1)->GetColour();
9556
9557 wxPyEndAllowThreads(__tstate);
9558 if (PyErr_Occurred()) SWIG_fail;
9559 }
9560 {
9561 wxColour * resultptr;
9562 resultptr = new wxColour((wxColour &) result);
9563 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9564 }
9565 return resultobj;
9566 fail:
9567 return NULL;
9568}
9569
9570
9571static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9572 PyObject *resultobj;
9573 wxColourData *arg1 = (wxColourData *) 0 ;
9574 int arg2 ;
9575 wxColour result;
9576 PyObject * obj0 = 0 ;
9577 char *kwnames[] = {
9578 (char *) "self",(char *) "i", NULL
9579 };
9580
9581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9583 {
9584 PyThreadState* __tstate = wxPyBeginAllowThreads();
9585 result = (arg1)->GetCustomColour(arg2);
9586
9587 wxPyEndAllowThreads(__tstate);
9588 if (PyErr_Occurred()) SWIG_fail;
9589 }
9590 {
9591 wxColour * resultptr;
9592 resultptr = new wxColour((wxColour &) result);
9593 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9594 }
9595 return resultobj;
9596 fail:
9597 return NULL;
9598}
9599
9600
9601static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9602 PyObject *resultobj;
9603 wxColourData *arg1 = (wxColourData *) 0 ;
9604 int arg2 ;
9605 PyObject * obj0 = 0 ;
9606 char *kwnames[] = {
9607 (char *) "self",(char *) "flag", NULL
9608 };
9609
9610 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9611 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9612 {
9613 PyThreadState* __tstate = wxPyBeginAllowThreads();
9614 (arg1)->SetChooseFull(arg2);
9615
9616 wxPyEndAllowThreads(__tstate);
9617 if (PyErr_Occurred()) SWIG_fail;
9618 }
9619 Py_INCREF(Py_None); resultobj = Py_None;
9620 return resultobj;
9621 fail:
9622 return NULL;
9623}
9624
9625
9626static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9627 PyObject *resultobj;
9628 wxColourData *arg1 = (wxColourData *) 0 ;
9629 wxColour *arg2 = 0 ;
9630 wxColour temp2 ;
9631 PyObject * obj0 = 0 ;
9632 PyObject * obj1 = 0 ;
9633 char *kwnames[] = {
9634 (char *) "self",(char *) "colour", NULL
9635 };
9636
9637 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9638 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9639 {
9640 arg2 = &temp2;
9641 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9642 }
9643 {
9644 PyThreadState* __tstate = wxPyBeginAllowThreads();
9645 (arg1)->SetColour((wxColour const &)*arg2);
9646
9647 wxPyEndAllowThreads(__tstate);
9648 if (PyErr_Occurred()) SWIG_fail;
9649 }
9650 Py_INCREF(Py_None); resultobj = Py_None;
9651 return resultobj;
9652 fail:
9653 return NULL;
9654}
9655
9656
9657static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9658 PyObject *resultobj;
9659 wxColourData *arg1 = (wxColourData *) 0 ;
9660 int arg2 ;
9661 wxColour *arg3 = 0 ;
9662 wxColour temp3 ;
9663 PyObject * obj0 = 0 ;
9664 PyObject * obj2 = 0 ;
9665 char *kwnames[] = {
9666 (char *) "self",(char *) "i",(char *) "colour", NULL
9667 };
9668
9669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9671 {
9672 arg3 = &temp3;
9673 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9674 }
9675 {
9676 PyThreadState* __tstate = wxPyBeginAllowThreads();
9677 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9678
9679 wxPyEndAllowThreads(__tstate);
9680 if (PyErr_Occurred()) SWIG_fail;
9681 }
9682 Py_INCREF(Py_None); resultobj = Py_None;
9683 return resultobj;
9684 fail:
9685 return NULL;
9686}
9687
9688
9689static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9690 PyObject *obj;
9691 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9692 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9693 Py_INCREF(obj);
9694 return Py_BuildValue((char *)"");
9695}
9696static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9697 PyObject *resultobj;
9698 wxWindow *arg1 = (wxWindow *) 0 ;
9699 wxColourData *arg2 = (wxColourData *) NULL ;
9700 wxColourDialog *result;
9701 PyObject * obj0 = 0 ;
9702 PyObject * obj1 = 0 ;
9703 char *kwnames[] = {
9704 (char *) "parent",(char *) "data", NULL
9705 };
9706
9707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9709 if (obj1) {
9710 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9711 }
9712 {
9713 PyThreadState* __tstate = wxPyBeginAllowThreads();
9714 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9715
9716 wxPyEndAllowThreads(__tstate);
9717 if (PyErr_Occurred()) SWIG_fail;
9718 }
9719 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9720 return resultobj;
9721 fail:
9722 return NULL;
9723}
9724
9725
9726static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9727 PyObject *resultobj;
9728 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9729 wxColourData *result;
9730 PyObject * obj0 = 0 ;
9731 char *kwnames[] = {
9732 (char *) "self", NULL
9733 };
9734
9735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9737 {
9738 PyThreadState* __tstate = wxPyBeginAllowThreads();
9739 {
9740 wxColourData &_result_ref = (arg1)->GetColourData();
9741 result = (wxColourData *) &_result_ref;
9742 }
9743
9744 wxPyEndAllowThreads(__tstate);
9745 if (PyErr_Occurred()) SWIG_fail;
9746 }
9747 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9748 return resultobj;
9749 fail:
9750 return NULL;
9751}
9752
9753
9754static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9755 PyObject *resultobj;
9756 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9757 int result;
9758 PyObject * obj0 = 0 ;
9759 char *kwnames[] = {
9760 (char *) "self", NULL
9761 };
9762
9763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9765 {
9766 PyThreadState* __tstate = wxPyBeginAllowThreads();
9767 result = (int)(arg1)->ShowModal();
9768
9769 wxPyEndAllowThreads(__tstate);
9770 if (PyErr_Occurred()) SWIG_fail;
9771 }
9772 resultobj = PyInt_FromLong((long)result);
9773 return resultobj;
9774 fail:
9775 return NULL;
9776}
9777
9778
9779static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9780 PyObject *obj;
9781 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9782 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9783 Py_INCREF(obj);
9784 return Py_BuildValue((char *)"");
9785}
9786static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9787 PyObject *resultobj;
9788 wxWindow *arg1 = (wxWindow *) 0 ;
9789 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9790 wxString *arg2 = (wxString *) &arg2_defvalue ;
9791 wxString const &arg3_defvalue = wxPyEmptyString ;
9792 wxString *arg3 = (wxString *) &arg3_defvalue ;
9793 long arg4 = (long) 0 ;
9794 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9795 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9796 wxSize const &arg6_defvalue = wxDefaultSize ;
9797 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9798 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9799 wxString *arg7 = (wxString *) &arg7_defvalue ;
9800 wxDirDialog *result;
423f194a
RD
9801 bool temp2 = False ;
9802 bool temp3 = False ;
d14a1e28
RD
9803 wxPoint temp5 ;
9804 wxSize temp6 ;
423f194a 9805 bool temp7 = False ;
d14a1e28
RD
9806 PyObject * obj0 = 0 ;
9807 PyObject * obj1 = 0 ;
9808 PyObject * obj2 = 0 ;
9809 PyObject * obj4 = 0 ;
9810 PyObject * obj5 = 0 ;
9811 PyObject * obj6 = 0 ;
9812 char *kwnames[] = {
9813 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9814 };
9815
9816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9818 if (obj1) {
9819 {
9820 arg2 = wxString_in_helper(obj1);
9821 if (arg2 == NULL) SWIG_fail;
423f194a 9822 temp2 = True;
d14a1e28
RD
9823 }
9824 }
9825 if (obj2) {
9826 {
9827 arg3 = wxString_in_helper(obj2);
9828 if (arg3 == NULL) SWIG_fail;
423f194a 9829 temp3 = True;
d14a1e28
RD
9830 }
9831 }
9832 if (obj4) {
9833 {
9834 arg5 = &temp5;
9835 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9836 }
9837 }
9838 if (obj5) {
9839 {
9840 arg6 = &temp6;
9841 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9842 }
9843 }
9844 if (obj6) {
9845 {
9846 arg7 = wxString_in_helper(obj6);
9847 if (arg7 == NULL) SWIG_fail;
423f194a 9848 temp7 = True;
d14a1e28
RD
9849 }
9850 }
9851 {
9852 PyThreadState* __tstate = wxPyBeginAllowThreads();
9853 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
9854
9855 wxPyEndAllowThreads(__tstate);
9856 if (PyErr_Occurred()) SWIG_fail;
9857 }
9858 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
9859 {
9860 if (temp2)
9861 delete arg2;
9862 }
9863 {
9864 if (temp3)
9865 delete arg3;
9866 }
9867 {
9868 if (temp7)
9869 delete arg7;
9870 }
9871 return resultobj;
9872 fail:
9873 {
9874 if (temp2)
9875 delete arg2;
9876 }
9877 {
9878 if (temp3)
9879 delete arg3;
9880 }
9881 {
9882 if (temp7)
9883 delete arg7;
9884 }
9885 return NULL;
9886}
9887
9888
9889static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9890 PyObject *resultobj;
9891 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9892 wxString result;
9893 PyObject * obj0 = 0 ;
9894 char *kwnames[] = {
9895 (char *) "self", NULL
9896 };
9897
9898 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
9899 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9900 {
9901 PyThreadState* __tstate = wxPyBeginAllowThreads();
9902 result = (arg1)->GetPath();
9903
9904 wxPyEndAllowThreads(__tstate);
9905 if (PyErr_Occurred()) SWIG_fail;
9906 }
9907 {
9908#if wxUSE_UNICODE
9909 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9910#else
9911 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9912#endif
9913 }
9914 return resultobj;
9915 fail:
9916 return NULL;
9917}
9918
9919
9920static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9921 PyObject *resultobj;
9922 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9923 wxString result;
9924 PyObject * obj0 = 0 ;
9925 char *kwnames[] = {
9926 (char *) "self", NULL
9927 };
9928
9929 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
9930 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9931 {
9932 PyThreadState* __tstate = wxPyBeginAllowThreads();
9933 result = (arg1)->GetMessage();
9934
9935 wxPyEndAllowThreads(__tstate);
9936 if (PyErr_Occurred()) SWIG_fail;
9937 }
9938 {
9939#if wxUSE_UNICODE
9940 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9941#else
9942 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9943#endif
9944 }
9945 return resultobj;
9946 fail:
9947 return NULL;
9948}
9949
9950
9951static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9952 PyObject *resultobj;
9953 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9954 long result;
9955 PyObject * obj0 = 0 ;
9956 char *kwnames[] = {
9957 (char *) "self", NULL
9958 };
9959
9960 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
9961 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9962 {
9963 PyThreadState* __tstate = wxPyBeginAllowThreads();
9964 result = (long)(arg1)->GetStyle();
9965
9966 wxPyEndAllowThreads(__tstate);
9967 if (PyErr_Occurred()) SWIG_fail;
9968 }
9969 resultobj = PyInt_FromLong((long)result);
9970 return resultobj;
9971 fail:
9972 return NULL;
9973}
9974
9975
9976static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9977 PyObject *resultobj;
9978 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9979 wxString *arg2 = 0 ;
423f194a 9980 bool temp2 = False ;
d14a1e28
RD
9981 PyObject * obj0 = 0 ;
9982 PyObject * obj1 = 0 ;
9983 char *kwnames[] = {
9984 (char *) "self",(char *) "message", NULL
9985 };
9986
9987 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
9988 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9989 {
9990 arg2 = wxString_in_helper(obj1);
9991 if (arg2 == NULL) SWIG_fail;
423f194a 9992 temp2 = True;
d14a1e28
RD
9993 }
9994 {
9995 PyThreadState* __tstate = wxPyBeginAllowThreads();
9996 (arg1)->SetMessage((wxString const &)*arg2);
9997
9998 wxPyEndAllowThreads(__tstate);
9999 if (PyErr_Occurred()) SWIG_fail;
10000 }
10001 Py_INCREF(Py_None); resultobj = Py_None;
10002 {
10003 if (temp2)
10004 delete arg2;
10005 }
10006 return resultobj;
10007 fail:
10008 {
10009 if (temp2)
10010 delete arg2;
10011 }
10012 return NULL;
10013}
10014
10015
10016static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10017 PyObject *resultobj;
10018 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10019 wxString *arg2 = 0 ;
423f194a 10020 bool temp2 = False ;
d14a1e28
RD
10021 PyObject * obj0 = 0 ;
10022 PyObject * obj1 = 0 ;
10023 char *kwnames[] = {
10024 (char *) "self",(char *) "path", NULL
10025 };
10026
10027 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10028 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10029 {
10030 arg2 = wxString_in_helper(obj1);
10031 if (arg2 == NULL) SWIG_fail;
423f194a 10032 temp2 = True;
d14a1e28
RD
10033 }
10034 {
10035 PyThreadState* __tstate = wxPyBeginAllowThreads();
10036 (arg1)->SetPath((wxString const &)*arg2);
10037
10038 wxPyEndAllowThreads(__tstate);
10039 if (PyErr_Occurred()) SWIG_fail;
10040 }
10041 Py_INCREF(Py_None); resultobj = Py_None;
10042 {
10043 if (temp2)
10044 delete arg2;
10045 }
10046 return resultobj;
10047 fail:
10048 {
10049 if (temp2)
10050 delete arg2;
10051 }
10052 return NULL;
10053}
10054
10055
10056static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10057 PyObject *resultobj;
10058 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10059 int result;
10060 PyObject * obj0 = 0 ;
10061 char *kwnames[] = {
10062 (char *) "self", NULL
10063 };
10064
10065 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10066 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10067 {
10068 PyThreadState* __tstate = wxPyBeginAllowThreads();
10069 result = (int)(arg1)->ShowModal();
10070
10071 wxPyEndAllowThreads(__tstate);
10072 if (PyErr_Occurred()) SWIG_fail;
10073 }
10074 resultobj = PyInt_FromLong((long)result);
10075 return resultobj;
10076 fail:
10077 return NULL;
10078}
10079
10080
10081static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10082 PyObject *obj;
10083 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10084 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10085 Py_INCREF(obj);
10086 return Py_BuildValue((char *)"");
10087}
10088static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10089 PyObject *resultobj;
10090 wxWindow *arg1 = (wxWindow *) 0 ;
10091 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10092 wxString *arg2 = (wxString *) &arg2_defvalue ;
10093 wxString const &arg3_defvalue = wxPyEmptyString ;
10094 wxString *arg3 = (wxString *) &arg3_defvalue ;
10095 wxString const &arg4_defvalue = wxPyEmptyString ;
10096 wxString *arg4 = (wxString *) &arg4_defvalue ;
10097 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10098 wxString *arg5 = (wxString *) &arg5_defvalue ;
10099 long arg6 = (long) 0 ;
10100 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10101 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10102 wxFileDialog *result;
423f194a
RD
10103 bool temp2 = False ;
10104 bool temp3 = False ;
10105 bool temp4 = False ;
10106 bool temp5 = False ;
d14a1e28
RD
10107 wxPoint temp7 ;
10108 PyObject * obj0 = 0 ;
10109 PyObject * obj1 = 0 ;
10110 PyObject * obj2 = 0 ;
10111 PyObject * obj3 = 0 ;
10112 PyObject * obj4 = 0 ;
10113 PyObject * obj6 = 0 ;
10114 char *kwnames[] = {
10115 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10116 };
10117
10118 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10119 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10120 if (obj1) {
10121 {
10122 arg2 = wxString_in_helper(obj1);
10123 if (arg2 == NULL) SWIG_fail;
423f194a 10124 temp2 = True;
d14a1e28
RD
10125 }
10126 }
10127 if (obj2) {
10128 {
10129 arg3 = wxString_in_helper(obj2);
10130 if (arg3 == NULL) SWIG_fail;
423f194a 10131 temp3 = True;
d14a1e28
RD
10132 }
10133 }
10134 if (obj3) {
10135 {
10136 arg4 = wxString_in_helper(obj3);
10137 if (arg4 == NULL) SWIG_fail;
423f194a 10138 temp4 = True;
d14a1e28
RD
10139 }
10140 }
10141 if (obj4) {
10142 {
10143 arg5 = wxString_in_helper(obj4);
10144 if (arg5 == NULL) SWIG_fail;
423f194a 10145 temp5 = True;
d14a1e28
RD
10146 }
10147 }
10148 if (obj6) {
10149 {
10150 arg7 = &temp7;
10151 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10152 }
10153 }
10154 {
10155 PyThreadState* __tstate = wxPyBeginAllowThreads();
10156 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10157
10158 wxPyEndAllowThreads(__tstate);
10159 if (PyErr_Occurred()) SWIG_fail;
10160 }
10161 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10162 {
10163 if (temp2)
10164 delete arg2;
10165 }
10166 {
10167 if (temp3)
10168 delete arg3;
10169 }
10170 {
10171 if (temp4)
10172 delete arg4;
10173 }
10174 {
10175 if (temp5)
10176 delete arg5;
10177 }
10178 return resultobj;
10179 fail:
10180 {
10181 if (temp2)
10182 delete arg2;
10183 }
10184 {
10185 if (temp3)
10186 delete arg3;
10187 }
10188 {
10189 if (temp4)
10190 delete arg4;
10191 }
10192 {
10193 if (temp5)
10194 delete arg5;
10195 }
10196 return NULL;
10197}
10198
10199
10200static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10201 PyObject *resultobj;
10202 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10203 wxString *arg2 = 0 ;
423f194a 10204 bool temp2 = False ;
d14a1e28
RD
10205 PyObject * obj0 = 0 ;
10206 PyObject * obj1 = 0 ;
10207 char *kwnames[] = {
10208 (char *) "self",(char *) "message", NULL
10209 };
10210
10211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10213 {
10214 arg2 = wxString_in_helper(obj1);
10215 if (arg2 == NULL) SWIG_fail;
423f194a 10216 temp2 = True;
d14a1e28
RD
10217 }
10218 {
10219 PyThreadState* __tstate = wxPyBeginAllowThreads();
10220 (arg1)->SetMessage((wxString const &)*arg2);
10221
10222 wxPyEndAllowThreads(__tstate);
10223 if (PyErr_Occurred()) SWIG_fail;
10224 }
10225 Py_INCREF(Py_None); resultobj = Py_None;
10226 {
10227 if (temp2)
10228 delete arg2;
10229 }
10230 return resultobj;
10231 fail:
10232 {
10233 if (temp2)
10234 delete arg2;
10235 }
10236 return NULL;
10237}
10238
10239
10240static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10241 PyObject *resultobj;
10242 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10243 wxString *arg2 = 0 ;
423f194a 10244 bool temp2 = False ;
d14a1e28
RD
10245 PyObject * obj0 = 0 ;
10246 PyObject * obj1 = 0 ;
10247 char *kwnames[] = {
10248 (char *) "self",(char *) "path", NULL
10249 };
10250
10251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10253 {
10254 arg2 = wxString_in_helper(obj1);
10255 if (arg2 == NULL) SWIG_fail;
423f194a 10256 temp2 = True;
d14a1e28
RD
10257 }
10258 {
10259 PyThreadState* __tstate = wxPyBeginAllowThreads();
10260 (arg1)->SetPath((wxString const &)*arg2);
10261
10262 wxPyEndAllowThreads(__tstate);
10263 if (PyErr_Occurred()) SWIG_fail;
10264 }
10265 Py_INCREF(Py_None); resultobj = Py_None;
10266 {
10267 if (temp2)
10268 delete arg2;
10269 }
10270 return resultobj;
10271 fail:
10272 {
10273 if (temp2)
10274 delete arg2;
10275 }
10276 return NULL;
10277}
10278
10279
10280static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10281 PyObject *resultobj;
10282 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10283 wxString *arg2 = 0 ;
423f194a 10284 bool temp2 = False ;
d14a1e28
RD
10285 PyObject * obj0 = 0 ;
10286 PyObject * obj1 = 0 ;
10287 char *kwnames[] = {
10288 (char *) "self",(char *) "dir", NULL
10289 };
10290
10291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10293 {
10294 arg2 = wxString_in_helper(obj1);
10295 if (arg2 == NULL) SWIG_fail;
423f194a 10296 temp2 = True;
d14a1e28
RD
10297 }
10298 {
10299 PyThreadState* __tstate = wxPyBeginAllowThreads();
10300 (arg1)->SetDirectory((wxString const &)*arg2);
10301
10302 wxPyEndAllowThreads(__tstate);
10303 if (PyErr_Occurred()) SWIG_fail;
10304 }
10305 Py_INCREF(Py_None); resultobj = Py_None;
10306 {
10307 if (temp2)
10308 delete arg2;
10309 }
10310 return resultobj;
10311 fail:
10312 {
10313 if (temp2)
10314 delete arg2;
10315 }
10316 return NULL;
10317}
10318
10319
10320static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10321 PyObject *resultobj;
10322 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10323 wxString *arg2 = 0 ;
423f194a 10324 bool temp2 = False ;
d14a1e28
RD
10325 PyObject * obj0 = 0 ;
10326 PyObject * obj1 = 0 ;
10327 char *kwnames[] = {
10328 (char *) "self",(char *) "name", NULL
10329 };
10330
10331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10333 {
10334 arg2 = wxString_in_helper(obj1);
10335 if (arg2 == NULL) SWIG_fail;
423f194a 10336 temp2 = True;
d14a1e28
RD
10337 }
10338 {
10339 PyThreadState* __tstate = wxPyBeginAllowThreads();
10340 (arg1)->SetFilename((wxString const &)*arg2);
10341
10342 wxPyEndAllowThreads(__tstate);
10343 if (PyErr_Occurred()) SWIG_fail;
10344 }
10345 Py_INCREF(Py_None); resultobj = Py_None;
10346 {
10347 if (temp2)
10348 delete arg2;
10349 }
10350 return resultobj;
10351 fail:
10352 {
10353 if (temp2)
10354 delete arg2;
10355 }
10356 return NULL;
10357}
10358
10359
10360static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10361 PyObject *resultobj;
10362 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10363 wxString *arg2 = 0 ;
423f194a 10364 bool temp2 = False ;
d14a1e28
RD
10365 PyObject * obj0 = 0 ;
10366 PyObject * obj1 = 0 ;
10367 char *kwnames[] = {
10368 (char *) "self",(char *) "wildCard", NULL
10369 };
10370
10371 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10372 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10373 {
10374 arg2 = wxString_in_helper(obj1);
10375 if (arg2 == NULL) SWIG_fail;
423f194a 10376 temp2 = True;
d14a1e28
RD
10377 }
10378 {
10379 PyThreadState* __tstate = wxPyBeginAllowThreads();
10380 (arg1)->SetWildcard((wxString const &)*arg2);
10381
10382 wxPyEndAllowThreads(__tstate);
10383 if (PyErr_Occurred()) SWIG_fail;
10384 }
10385 Py_INCREF(Py_None); resultobj = Py_None;
10386 {
10387 if (temp2)
10388 delete arg2;
10389 }
10390 return resultobj;
10391 fail:
10392 {
10393 if (temp2)
10394 delete arg2;
10395 }
10396 return NULL;
10397}
10398
10399
10400static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10401 PyObject *resultobj;
10402 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10403 long arg2 ;
10404 PyObject * obj0 = 0 ;
10405 char *kwnames[] = {
10406 (char *) "self",(char *) "style", NULL
10407 };
10408
10409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10411 {
10412 PyThreadState* __tstate = wxPyBeginAllowThreads();
10413 (arg1)->SetStyle(arg2);
10414
10415 wxPyEndAllowThreads(__tstate);
10416 if (PyErr_Occurred()) SWIG_fail;
10417 }
10418 Py_INCREF(Py_None); resultobj = Py_None;
10419 return resultobj;
10420 fail:
10421 return NULL;
10422}
10423
10424
10425static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10426 PyObject *resultobj;
10427 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10428 int arg2 ;
10429 PyObject * obj0 = 0 ;
10430 char *kwnames[] = {
10431 (char *) "self",(char *) "filterIndex", NULL
10432 };
10433
10434 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10435 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10436 {
10437 PyThreadState* __tstate = wxPyBeginAllowThreads();
10438 (arg1)->SetFilterIndex(arg2);
10439
10440 wxPyEndAllowThreads(__tstate);
10441 if (PyErr_Occurred()) SWIG_fail;
10442 }
10443 Py_INCREF(Py_None); resultobj = Py_None;
10444 return resultobj;
10445 fail:
10446 return NULL;
10447}
10448
10449
10450static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10451 PyObject *resultobj;
10452 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10453 wxString result;
10454 PyObject * obj0 = 0 ;
10455 char *kwnames[] = {
10456 (char *) "self", NULL
10457 };
10458
10459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10461 {
10462 PyThreadState* __tstate = wxPyBeginAllowThreads();
10463 result = ((wxFileDialog const *)arg1)->GetMessage();
10464
10465 wxPyEndAllowThreads(__tstate);
10466 if (PyErr_Occurred()) SWIG_fail;
10467 }
10468 {
10469#if wxUSE_UNICODE
10470 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10471#else
10472 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10473#endif
10474 }
10475 return resultobj;
10476 fail:
10477 return NULL;
10478}
10479
10480
10481static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10482 PyObject *resultobj;
10483 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10484 wxString result;
10485 PyObject * obj0 = 0 ;
10486 char *kwnames[] = {
10487 (char *) "self", NULL
10488 };
10489
10490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10491 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10492 {
10493 PyThreadState* __tstate = wxPyBeginAllowThreads();
10494 result = ((wxFileDialog const *)arg1)->GetPath();
10495
10496 wxPyEndAllowThreads(__tstate);
10497 if (PyErr_Occurred()) SWIG_fail;
10498 }
10499 {
10500#if wxUSE_UNICODE
10501 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10502#else
10503 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10504#endif
10505 }
10506 return resultobj;
10507 fail:
10508 return NULL;
10509}
10510
10511
10512static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10513 PyObject *resultobj;
10514 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10515 wxString result;
10516 PyObject * obj0 = 0 ;
10517 char *kwnames[] = {
10518 (char *) "self", NULL
10519 };
10520
10521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10523 {
10524 PyThreadState* __tstate = wxPyBeginAllowThreads();
10525 result = ((wxFileDialog const *)arg1)->GetDirectory();
10526
10527 wxPyEndAllowThreads(__tstate);
10528 if (PyErr_Occurred()) SWIG_fail;
10529 }
10530 {
10531#if wxUSE_UNICODE
10532 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10533#else
10534 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10535#endif
10536 }
10537 return resultobj;
10538 fail:
10539 return NULL;
10540}
10541
10542
10543static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10544 PyObject *resultobj;
10545 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10546 wxString result;
10547 PyObject * obj0 = 0 ;
10548 char *kwnames[] = {
10549 (char *) "self", NULL
10550 };
10551
10552 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10553 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10554 {
10555 PyThreadState* __tstate = wxPyBeginAllowThreads();
10556 result = ((wxFileDialog const *)arg1)->GetFilename();
10557
10558 wxPyEndAllowThreads(__tstate);
10559 if (PyErr_Occurred()) SWIG_fail;
10560 }
10561 {
10562#if wxUSE_UNICODE
10563 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10564#else
10565 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10566#endif
10567 }
10568 return resultobj;
10569 fail:
10570 return NULL;
10571}
10572
10573
10574static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10575 PyObject *resultobj;
10576 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10577 wxString result;
10578 PyObject * obj0 = 0 ;
10579 char *kwnames[] = {
10580 (char *) "self", NULL
10581 };
10582
10583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10585 {
10586 PyThreadState* __tstate = wxPyBeginAllowThreads();
10587 result = ((wxFileDialog const *)arg1)->GetWildcard();
10588
10589 wxPyEndAllowThreads(__tstate);
10590 if (PyErr_Occurred()) SWIG_fail;
10591 }
10592 {
10593#if wxUSE_UNICODE
10594 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10595#else
10596 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10597#endif
10598 }
10599 return resultobj;
10600 fail:
10601 return NULL;
10602}
10603
10604
10605static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10606 PyObject *resultobj;
10607 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10608 long result;
10609 PyObject * obj0 = 0 ;
10610 char *kwnames[] = {
10611 (char *) "self", NULL
10612 };
10613
10614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10616 {
10617 PyThreadState* __tstate = wxPyBeginAllowThreads();
10618 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10619
10620 wxPyEndAllowThreads(__tstate);
10621 if (PyErr_Occurred()) SWIG_fail;
10622 }
10623 resultobj = PyInt_FromLong((long)result);
10624 return resultobj;
10625 fail:
10626 return NULL;
10627}
10628
10629
10630static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10631 PyObject *resultobj;
10632 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10633 int result;
10634 PyObject * obj0 = 0 ;
10635 char *kwnames[] = {
10636 (char *) "self", NULL
10637 };
10638
10639 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10640 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10641 {
10642 PyThreadState* __tstate = wxPyBeginAllowThreads();
10643 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10644
10645 wxPyEndAllowThreads(__tstate);
10646 if (PyErr_Occurred()) SWIG_fail;
10647 }
10648 resultobj = PyInt_FromLong((long)result);
10649 return resultobj;
10650 fail:
10651 return NULL;
10652}
10653
10654
10655static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10656 PyObject *resultobj;
10657 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10658 PyObject *result;
10659 PyObject * obj0 = 0 ;
10660 char *kwnames[] = {
10661 (char *) "self", NULL
10662 };
10663
10664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10666 {
10667 PyThreadState* __tstate = wxPyBeginAllowThreads();
10668 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10669
10670 wxPyEndAllowThreads(__tstate);
10671 if (PyErr_Occurred()) SWIG_fail;
10672 }
10673 resultobj = result;
10674 return resultobj;
10675 fail:
10676 return NULL;
10677}
10678
10679
10680static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10681 PyObject *resultobj;
10682 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10683 PyObject *result;
10684 PyObject * obj0 = 0 ;
10685 char *kwnames[] = {
10686 (char *) "self", NULL
10687 };
10688
10689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10691 {
10692 PyThreadState* __tstate = wxPyBeginAllowThreads();
10693 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10694
10695 wxPyEndAllowThreads(__tstate);
10696 if (PyErr_Occurred()) SWIG_fail;
10697 }
10698 resultobj = result;
10699 return resultobj;
10700 fail:
10701 return NULL;
10702}
10703
10704
10705static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10706 PyObject *obj;
10707 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10708 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10709 Py_INCREF(obj);
10710 return Py_BuildValue((char *)"");
10711}
10712static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10713 PyObject *resultobj;
10714 wxWindow *arg1 = (wxWindow *) 0 ;
10715 wxString *arg2 = 0 ;
10716 wxString *arg3 = 0 ;
10717 int arg4 ;
10718 wxString *arg5 = (wxString *) 0 ;
10719 long arg6 = (long) wxCHOICEDLG_STYLE ;
10720 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10721 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10722 wxMultiChoiceDialog *result;
423f194a
RD
10723 bool temp2 = False ;
10724 bool temp3 = False ;
d14a1e28
RD
10725 wxPoint temp7 ;
10726 PyObject * obj0 = 0 ;
10727 PyObject * obj1 = 0 ;
10728 PyObject * obj2 = 0 ;
10729 PyObject * obj4 = 0 ;
10730 PyObject * obj6 = 0 ;
10731 char *kwnames[] = {
10732 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10733 };
10734
10735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10737 {
10738 arg2 = wxString_in_helper(obj1);
10739 if (arg2 == NULL) SWIG_fail;
423f194a 10740 temp2 = True;
d14a1e28
RD
10741 }
10742 {
10743 arg3 = wxString_in_helper(obj2);
10744 if (arg3 == NULL) SWIG_fail;
423f194a 10745 temp3 = True;
d14a1e28
RD
10746 }
10747 if ((SWIG_ConvertPtr(obj4,(void **) &arg5, SWIGTYPE_p_wxString,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10748 if (obj6) {
10749 {
10750 arg7 = &temp7;
10751 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10752 }
10753 }
10754 {
10755 PyThreadState* __tstate = wxPyBeginAllowThreads();
10756 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10757
10758 wxPyEndAllowThreads(__tstate);
10759 if (PyErr_Occurred()) SWIG_fail;
10760 }
10761 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10762 {
10763 if (temp2)
10764 delete arg2;
10765 }
10766 {
10767 if (temp3)
10768 delete arg3;
10769 }
10770 return resultobj;
10771 fail:
10772 {
10773 if (temp2)
10774 delete arg2;
10775 }
10776 {
10777 if (temp3)
10778 delete arg3;
10779 }
10780 return NULL;
10781}
10782
10783
10784static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10785 PyObject *resultobj;
10786 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10787 wxArrayInt *arg2 = 0 ;
10788 PyObject * obj0 = 0 ;
10789 PyObject * obj1 = 0 ;
10790 char *kwnames[] = {
10791 (char *) "self",(char *) "selections", NULL
10792 };
10793
10794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10796 {
10797 if (! PySequence_Check(obj1)) {
10798 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10799 SWIG_fail;
10800 }
10801 arg2 = new wxArrayInt;
10802 int i, len=PySequence_Length(obj1);
10803 for (i=0; i<len; i++) {
10804 PyObject* item = PySequence_GetItem(obj1, i);
10805 PyObject* number = PyNumber_Int(item);
10806 arg2->Add(PyInt_AS_LONG(number));
10807 Py_DECREF(item);
10808 Py_DECREF(number);
10809 }
10810 }
10811 {
10812 PyThreadState* __tstate = wxPyBeginAllowThreads();
10813 (arg1)->SetSelections((wxArrayInt const &)*arg2);
10814
10815 wxPyEndAllowThreads(__tstate);
10816 if (PyErr_Occurred()) SWIG_fail;
10817 }
10818 Py_INCREF(Py_None); resultobj = Py_None;
10819 {
10820 if (arg2) delete arg2;
10821 }
10822 return resultobj;
10823 fail:
10824 {
10825 if (arg2) delete arg2;
10826 }
10827 return NULL;
10828}
10829
10830
10831static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10832 PyObject *resultobj;
10833 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10834 PyObject *result;
10835 PyObject * obj0 = 0 ;
10836 char *kwnames[] = {
10837 (char *) "self", NULL
10838 };
10839
10840 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
10841 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10842 {
10843 PyThreadState* __tstate = wxPyBeginAllowThreads();
10844 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
10845
10846 wxPyEndAllowThreads(__tstate);
10847 if (PyErr_Occurred()) SWIG_fail;
10848 }
10849 resultobj = result;
10850 return resultobj;
10851 fail:
10852 return NULL;
10853}
10854
10855
10856static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10857 PyObject *obj;
10858 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10859 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
10860 Py_INCREF(obj);
10861 return Py_BuildValue((char *)"");
10862}
10863static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10864 PyObject *resultobj;
10865 wxWindow *arg1 = (wxWindow *) 0 ;
10866 wxString *arg2 = 0 ;
10867 wxString *arg3 = 0 ;
10868 int arg4 ;
10869 wxString *arg5 = (wxString *) 0 ;
10870 long arg6 = (long) wxCHOICEDLG_STYLE ;
10871 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10872 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10873 wxSingleChoiceDialog *result;
423f194a
RD
10874 bool temp2 = False ;
10875 bool temp3 = False ;
d14a1e28
RD
10876 wxPoint temp6 ;
10877 PyObject * obj0 = 0 ;
10878 PyObject * obj1 = 0 ;
10879 PyObject * obj2 = 0 ;
10880 PyObject * obj3 = 0 ;
10881 PyObject * obj5 = 0 ;
10882 char *kwnames[] = {
10883 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10884 };
10885
10886 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
10887 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10888 {
10889 arg2 = wxString_in_helper(obj1);
10890 if (arg2 == NULL) SWIG_fail;
423f194a 10891 temp2 = True;
d14a1e28
RD
10892 }
10893 {
10894 arg3 = wxString_in_helper(obj2);
10895 if (arg3 == NULL) SWIG_fail;
423f194a 10896 temp3 = True;
d14a1e28
RD
10897 }
10898 {
10899 arg4 = PyList_Size(obj3);
10900 arg5 = wxString_LIST_helper(obj3);
10901 if (arg5 == NULL) SWIG_fail;
10902 }
10903 if (obj5) {
10904 {
10905 arg7 = &temp6;
10906 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
10907 }
10908 }
10909 {
10910 PyThreadState* __tstate = wxPyBeginAllowThreads();
10911 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10912
10913 wxPyEndAllowThreads(__tstate);
10914 if (PyErr_Occurred()) SWIG_fail;
10915 }
10916 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
10917 {
10918 if (temp2)
10919 delete arg2;
10920 }
10921 {
10922 if (temp3)
10923 delete arg3;
10924 }
10925 {
10926 if (arg5) delete [] arg5;
10927 }
10928 return resultobj;
10929 fail:
10930 {
10931 if (temp2)
10932 delete arg2;
10933 }
10934 {
10935 if (temp3)
10936 delete arg3;
10937 }
10938 {
10939 if (arg5) delete [] arg5;
10940 }
10941 return NULL;
10942}
10943
10944
10945static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10946 PyObject *resultobj;
10947 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10948 int result;
10949 PyObject * obj0 = 0 ;
10950 char *kwnames[] = {
10951 (char *) "self", NULL
10952 };
10953
10954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
10955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10956 {
10957 PyThreadState* __tstate = wxPyBeginAllowThreads();
10958 result = (int)(arg1)->GetSelection();
10959
10960 wxPyEndAllowThreads(__tstate);
10961 if (PyErr_Occurred()) SWIG_fail;
10962 }
10963 resultobj = PyInt_FromLong((long)result);
10964 return resultobj;
10965 fail:
10966 return NULL;
10967}
10968
10969
10970static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10971 PyObject *resultobj;
10972 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10973 wxString result;
10974 PyObject * obj0 = 0 ;
10975 char *kwnames[] = {
10976 (char *) "self", NULL
10977 };
10978
10979 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
10980 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10981 {
10982 PyThreadState* __tstate = wxPyBeginAllowThreads();
10983 result = (arg1)->GetStringSelection();
10984
10985 wxPyEndAllowThreads(__tstate);
10986 if (PyErr_Occurred()) SWIG_fail;
10987 }
10988 {
10989#if wxUSE_UNICODE
10990 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10991#else
10992 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10993#endif
10994 }
10995 return resultobj;
10996 fail:
10997 return NULL;
10998}
10999
11000
11001static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
11002 PyObject *resultobj;
11003 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11004 int arg2 ;
11005 PyObject * obj0 = 0 ;
11006 char *kwnames[] = {
11007 (char *) "self",(char *) "sel", NULL
11008 };
11009
11010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
11011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11012 {
11013 PyThreadState* __tstate = wxPyBeginAllowThreads();
11014 (arg1)->SetSelection(arg2);
11015
11016 wxPyEndAllowThreads(__tstate);
11017 if (PyErr_Occurred()) SWIG_fail;
11018 }
11019 Py_INCREF(Py_None); resultobj = Py_None;
11020 return resultobj;
11021 fail:
11022 return NULL;
11023}
11024
11025
11026static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11027 PyObject *resultobj;
11028 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
11029 int result;
11030 PyObject * obj0 = 0 ;
11031 char *kwnames[] = {
11032 (char *) "self", NULL
11033 };
11034
11035 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11036 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11037 {
11038 PyThreadState* __tstate = wxPyBeginAllowThreads();
11039 result = (int)(arg1)->ShowModal();
11040
11041 wxPyEndAllowThreads(__tstate);
11042 if (PyErr_Occurred()) SWIG_fail;
11043 }
11044 resultobj = PyInt_FromLong((long)result);
11045 return resultobj;
11046 fail:
11047 return NULL;
11048}
11049
11050
11051static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11052 PyObject *obj;
11053 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11054 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11055 Py_INCREF(obj);
11056 return Py_BuildValue((char *)"");
11057}
11058static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11059 PyObject *resultobj;
11060 wxWindow *arg1 = (wxWindow *) 0 ;
11061 wxString *arg2 = 0 ;
11062 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11063 wxString *arg3 = (wxString *) &arg3_defvalue ;
11064 wxString const &arg4_defvalue = wxPyEmptyString ;
11065 wxString *arg4 = (wxString *) &arg4_defvalue ;
11066 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11067 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11068 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11069 wxTextEntryDialog *result;
423f194a
RD
11070 bool temp2 = False ;
11071 bool temp3 = False ;
11072 bool temp4 = False ;
d14a1e28
RD
11073 wxPoint temp6 ;
11074 PyObject * obj0 = 0 ;
11075 PyObject * obj1 = 0 ;
11076 PyObject * obj2 = 0 ;
11077 PyObject * obj3 = 0 ;
11078 PyObject * obj5 = 0 ;
11079 char *kwnames[] = {
11080 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11081 };
11082
11083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11085 {
11086 arg2 = wxString_in_helper(obj1);
11087 if (arg2 == NULL) SWIG_fail;
423f194a 11088 temp2 = True;
d14a1e28
RD
11089 }
11090 if (obj2) {
11091 {
11092 arg3 = wxString_in_helper(obj2);
11093 if (arg3 == NULL) SWIG_fail;
423f194a 11094 temp3 = True;
d14a1e28
RD
11095 }
11096 }
11097 if (obj3) {
11098 {
11099 arg4 = wxString_in_helper(obj3);
11100 if (arg4 == NULL) SWIG_fail;
423f194a 11101 temp4 = True;
d14a1e28
RD
11102 }
11103 }
11104 if (obj5) {
11105 {
11106 arg6 = &temp6;
11107 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11108 }
11109 }
11110 {
11111 PyThreadState* __tstate = wxPyBeginAllowThreads();
11112 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11113
11114 wxPyEndAllowThreads(__tstate);
11115 if (PyErr_Occurred()) SWIG_fail;
11116 }
11117 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11118 {
11119 if (temp2)
11120 delete arg2;
11121 }
11122 {
11123 if (temp3)
11124 delete arg3;
11125 }
11126 {
11127 if (temp4)
11128 delete arg4;
11129 }
11130 return resultobj;
11131 fail:
11132 {
11133 if (temp2)
11134 delete arg2;
11135 }
11136 {
11137 if (temp3)
11138 delete arg3;
11139 }
11140 {
11141 if (temp4)
11142 delete arg4;
11143 }
11144 return NULL;
11145}
11146
11147
11148static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11149 PyObject *resultobj;
11150 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11151 wxString result;
11152 PyObject * obj0 = 0 ;
11153 char *kwnames[] = {
11154 (char *) "self", NULL
11155 };
11156
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11159 {
11160 PyThreadState* __tstate = wxPyBeginAllowThreads();
11161 result = (arg1)->GetValue();
11162
11163 wxPyEndAllowThreads(__tstate);
11164 if (PyErr_Occurred()) SWIG_fail;
11165 }
11166 {
11167#if wxUSE_UNICODE
11168 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11169#else
11170 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11171#endif
11172 }
11173 return resultobj;
11174 fail:
11175 return NULL;
11176}
11177
11178
11179static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11180 PyObject *resultobj;
11181 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11182 wxString *arg2 = 0 ;
423f194a 11183 bool temp2 = False ;
d14a1e28
RD
11184 PyObject * obj0 = 0 ;
11185 PyObject * obj1 = 0 ;
11186 char *kwnames[] = {
11187 (char *) "self",(char *) "value", NULL
11188 };
11189
11190 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11191 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11192 {
11193 arg2 = wxString_in_helper(obj1);
11194 if (arg2 == NULL) SWIG_fail;
423f194a 11195 temp2 = True;
d14a1e28
RD
11196 }
11197 {
11198 PyThreadState* __tstate = wxPyBeginAllowThreads();
11199 (arg1)->SetValue((wxString const &)*arg2);
11200
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 Py_INCREF(Py_None); resultobj = Py_None;
11205 {
11206 if (temp2)
11207 delete arg2;
11208 }
11209 return resultobj;
11210 fail:
11211 {
11212 if (temp2)
11213 delete arg2;
11214 }
11215 return NULL;
11216}
11217
11218
11219static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11220 PyObject *resultobj;
11221 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11222 int result;
11223 PyObject * obj0 = 0 ;
11224 char *kwnames[] = {
11225 (char *) "self", NULL
11226 };
11227
11228 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11229 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11230 {
11231 PyThreadState* __tstate = wxPyBeginAllowThreads();
11232 result = (int)(arg1)->ShowModal();
11233
11234 wxPyEndAllowThreads(__tstate);
11235 if (PyErr_Occurred()) SWIG_fail;
11236 }
11237 resultobj = PyInt_FromLong((long)result);
11238 return resultobj;
11239 fail:
11240 return NULL;
11241}
11242
11243
11244static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11245 PyObject *obj;
11246 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11247 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11248 Py_INCREF(obj);
11249 return Py_BuildValue((char *)"");
11250}
11251static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11252 PyObject *resultobj;
11253 wxFontData *result;
11254 char *kwnames[] = {
11255 NULL
11256 };
11257
11258 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11259 {
11260 PyThreadState* __tstate = wxPyBeginAllowThreads();
11261 result = (wxFontData *)new wxFontData();
11262
11263 wxPyEndAllowThreads(__tstate);
11264 if (PyErr_Occurred()) SWIG_fail;
11265 }
11266 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11267 return resultobj;
11268 fail:
11269 return NULL;
11270}
11271
11272
11273static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11274 PyObject *resultobj;
11275 wxFontData *arg1 = (wxFontData *) 0 ;
11276 PyObject * obj0 = 0 ;
11277 char *kwnames[] = {
11278 (char *) "self", NULL
11279 };
11280
11281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11283 {
11284 PyThreadState* __tstate = wxPyBeginAllowThreads();
11285 delete arg1;
11286
11287 wxPyEndAllowThreads(__tstate);
11288 if (PyErr_Occurred()) SWIG_fail;
11289 }
11290 Py_INCREF(Py_None); resultobj = Py_None;
11291 return resultobj;
11292 fail:
11293 return NULL;
11294}
11295
11296
11297static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11298 PyObject *resultobj;
11299 wxFontData *arg1 = (wxFontData *) 0 ;
11300 bool arg2 ;
11301 PyObject * obj0 = 0 ;
11302 PyObject * obj1 = 0 ;
11303 char *kwnames[] = {
11304 (char *) "self",(char *) "enable", NULL
11305 };
11306
11307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11309 arg2 = PyInt_AsLong(obj1) ? true : false;
11310 if (PyErr_Occurred()) SWIG_fail;
11311 {
11312 PyThreadState* __tstate = wxPyBeginAllowThreads();
11313 (arg1)->EnableEffects(arg2);
11314
11315 wxPyEndAllowThreads(__tstate);
11316 if (PyErr_Occurred()) SWIG_fail;
11317 }
11318 Py_INCREF(Py_None); resultobj = Py_None;
11319 return resultobj;
11320 fail:
11321 return NULL;
11322}
11323
11324
11325static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11326 PyObject *resultobj;
11327 wxFontData *arg1 = (wxFontData *) 0 ;
11328 bool result;
11329 PyObject * obj0 = 0 ;
11330 char *kwnames[] = {
11331 (char *) "self", NULL
11332 };
11333
11334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11336 {
11337 PyThreadState* __tstate = wxPyBeginAllowThreads();
11338 result = (bool)(arg1)->GetAllowSymbols();
11339
11340 wxPyEndAllowThreads(__tstate);
11341 if (PyErr_Occurred()) SWIG_fail;
11342 }
11343 resultobj = PyInt_FromLong((long)result);
11344 return resultobj;
11345 fail:
11346 return NULL;
11347}
11348
11349
11350static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11351 PyObject *resultobj;
11352 wxFontData *arg1 = (wxFontData *) 0 ;
11353 wxColour result;
11354 PyObject * obj0 = 0 ;
11355 char *kwnames[] = {
11356 (char *) "self", NULL
11357 };
11358
11359 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11360 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11361 {
11362 PyThreadState* __tstate = wxPyBeginAllowThreads();
11363 result = (arg1)->GetColour();
11364
11365 wxPyEndAllowThreads(__tstate);
11366 if (PyErr_Occurred()) SWIG_fail;
11367 }
11368 {
11369 wxColour * resultptr;
11370 resultptr = new wxColour((wxColour &) result);
11371 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11372 }
11373 return resultobj;
11374 fail:
11375 return NULL;
11376}
11377
11378
11379static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11380 PyObject *resultobj;
11381 wxFontData *arg1 = (wxFontData *) 0 ;
11382 wxFont result;
11383 PyObject * obj0 = 0 ;
11384 char *kwnames[] = {
11385 (char *) "self", NULL
11386 };
11387
11388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11390 {
11391 PyThreadState* __tstate = wxPyBeginAllowThreads();
11392 result = (arg1)->GetChosenFont();
11393
11394 wxPyEndAllowThreads(__tstate);
11395 if (PyErr_Occurred()) SWIG_fail;
11396 }
11397 {
11398 wxFont * resultptr;
11399 resultptr = new wxFont((wxFont &) result);
11400 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11401 }
11402 return resultobj;
11403 fail:
11404 return NULL;
11405}
11406
11407
11408static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11409 PyObject *resultobj;
11410 wxFontData *arg1 = (wxFontData *) 0 ;
11411 bool result;
11412 PyObject * obj0 = 0 ;
11413 char *kwnames[] = {
11414 (char *) "self", NULL
11415 };
11416
11417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11419 {
11420 PyThreadState* __tstate = wxPyBeginAllowThreads();
11421 result = (bool)(arg1)->GetEnableEffects();
11422
11423 wxPyEndAllowThreads(__tstate);
11424 if (PyErr_Occurred()) SWIG_fail;
11425 }
11426 resultobj = PyInt_FromLong((long)result);
11427 return resultobj;
11428 fail:
11429 return NULL;
11430}
11431
11432
11433static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11434 PyObject *resultobj;
11435 wxFontData *arg1 = (wxFontData *) 0 ;
11436 wxFont result;
11437 PyObject * obj0 = 0 ;
11438 char *kwnames[] = {
11439 (char *) "self", NULL
11440 };
11441
11442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11444 {
11445 PyThreadState* __tstate = wxPyBeginAllowThreads();
11446 result = (arg1)->GetInitialFont();
11447
11448 wxPyEndAllowThreads(__tstate);
11449 if (PyErr_Occurred()) SWIG_fail;
11450 }
11451 {
11452 wxFont * resultptr;
11453 resultptr = new wxFont((wxFont &) result);
11454 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11455 }
11456 return resultobj;
11457 fail:
11458 return NULL;
11459}
11460
11461
11462static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11463 PyObject *resultobj;
11464 wxFontData *arg1 = (wxFontData *) 0 ;
11465 bool result;
11466 PyObject * obj0 = 0 ;
11467 char *kwnames[] = {
11468 (char *) "self", NULL
11469 };
11470
11471 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11472 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11473 {
11474 PyThreadState* __tstate = wxPyBeginAllowThreads();
11475 result = (bool)(arg1)->GetShowHelp();
11476
11477 wxPyEndAllowThreads(__tstate);
11478 if (PyErr_Occurred()) SWIG_fail;
11479 }
11480 resultobj = PyInt_FromLong((long)result);
11481 return resultobj;
11482 fail:
11483 return NULL;
11484}
11485
11486
11487static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11488 PyObject *resultobj;
11489 wxFontData *arg1 = (wxFontData *) 0 ;
11490 bool arg2 ;
11491 PyObject * obj0 = 0 ;
11492 PyObject * obj1 = 0 ;
11493 char *kwnames[] = {
11494 (char *) "self",(char *) "allowSymbols", NULL
11495 };
11496
11497 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11498 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11499 arg2 = PyInt_AsLong(obj1) ? true : false;
11500 if (PyErr_Occurred()) SWIG_fail;
11501 {
11502 PyThreadState* __tstate = wxPyBeginAllowThreads();
11503 (arg1)->SetAllowSymbols(arg2);
11504
11505 wxPyEndAllowThreads(__tstate);
11506 if (PyErr_Occurred()) SWIG_fail;
11507 }
11508 Py_INCREF(Py_None); resultobj = Py_None;
11509 return resultobj;
11510 fail:
11511 return NULL;
11512}
11513
11514
11515static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11516 PyObject *resultobj;
11517 wxFontData *arg1 = (wxFontData *) 0 ;
11518 wxFont *arg2 = 0 ;
11519 PyObject * obj0 = 0 ;
11520 PyObject * obj1 = 0 ;
11521 char *kwnames[] = {
11522 (char *) "self",(char *) "font", NULL
11523 };
11524
11525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11527 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11528 if (arg2 == NULL) {
11529 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11530 }
11531 {
11532 PyThreadState* __tstate = wxPyBeginAllowThreads();
11533 (arg1)->SetChosenFont((wxFont const &)*arg2);
11534
11535 wxPyEndAllowThreads(__tstate);
11536 if (PyErr_Occurred()) SWIG_fail;
11537 }
11538 Py_INCREF(Py_None); resultobj = Py_None;
11539 return resultobj;
11540 fail:
11541 return NULL;
11542}
11543
11544
11545static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11546 PyObject *resultobj;
11547 wxFontData *arg1 = (wxFontData *) 0 ;
11548 wxColour *arg2 = 0 ;
11549 wxColour temp2 ;
11550 PyObject * obj0 = 0 ;
11551 PyObject * obj1 = 0 ;
11552 char *kwnames[] = {
11553 (char *) "self",(char *) "colour", NULL
11554 };
11555
11556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11557 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11558 {
11559 arg2 = &temp2;
11560 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11561 }
11562 {
11563 PyThreadState* __tstate = wxPyBeginAllowThreads();
11564 (arg1)->SetColour((wxColour const &)*arg2);
11565
11566 wxPyEndAllowThreads(__tstate);
11567 if (PyErr_Occurred()) SWIG_fail;
11568 }
11569 Py_INCREF(Py_None); resultobj = Py_None;
11570 return resultobj;
11571 fail:
11572 return NULL;
11573}
11574
11575
11576static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11577 PyObject *resultobj;
11578 wxFontData *arg1 = (wxFontData *) 0 ;
11579 wxFont *arg2 = 0 ;
11580 PyObject * obj0 = 0 ;
11581 PyObject * obj1 = 0 ;
11582 char *kwnames[] = {
11583 (char *) "self",(char *) "font", NULL
11584 };
11585
11586 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11587 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11588 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11589 if (arg2 == NULL) {
11590 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11591 }
11592 {
11593 PyThreadState* __tstate = wxPyBeginAllowThreads();
11594 (arg1)->SetInitialFont((wxFont const &)*arg2);
11595
11596 wxPyEndAllowThreads(__tstate);
11597 if (PyErr_Occurred()) SWIG_fail;
11598 }
11599 Py_INCREF(Py_None); resultobj = Py_None;
11600 return resultobj;
11601 fail:
11602 return NULL;
11603}
11604
11605
11606static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11607 PyObject *resultobj;
11608 wxFontData *arg1 = (wxFontData *) 0 ;
11609 int arg2 ;
11610 int arg3 ;
11611 PyObject * obj0 = 0 ;
11612 char *kwnames[] = {
11613 (char *) "self",(char *) "min",(char *) "max", NULL
11614 };
11615
11616 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11617 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11618 {
11619 PyThreadState* __tstate = wxPyBeginAllowThreads();
11620 (arg1)->SetRange(arg2,arg3);
11621
11622 wxPyEndAllowThreads(__tstate);
11623 if (PyErr_Occurred()) SWIG_fail;
11624 }
11625 Py_INCREF(Py_None); resultobj = Py_None;
11626 return resultobj;
11627 fail:
11628 return NULL;
11629}
11630
11631
11632static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11633 PyObject *resultobj;
11634 wxFontData *arg1 = (wxFontData *) 0 ;
11635 bool arg2 ;
11636 PyObject * obj0 = 0 ;
11637 PyObject * obj1 = 0 ;
11638 char *kwnames[] = {
11639 (char *) "self",(char *) "showHelp", NULL
11640 };
11641
11642 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11643 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11644 arg2 = PyInt_AsLong(obj1) ? true : false;
11645 if (PyErr_Occurred()) SWIG_fail;
11646 {
11647 PyThreadState* __tstate = wxPyBeginAllowThreads();
11648 (arg1)->SetShowHelp(arg2);
11649
11650 wxPyEndAllowThreads(__tstate);
11651 if (PyErr_Occurred()) SWIG_fail;
11652 }
11653 Py_INCREF(Py_None); resultobj = Py_None;
11654 return resultobj;
11655 fail:
11656 return NULL;
11657}
11658
11659
11660static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11661 PyObject *obj;
11662 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11663 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11664 Py_INCREF(obj);
11665 return Py_BuildValue((char *)"");
11666}
11667static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11668 PyObject *resultobj;
11669 wxWindow *arg1 = (wxWindow *) 0 ;
11670 wxFontData *arg2 = 0 ;
11671 wxFontDialog *result;
11672 PyObject * obj0 = 0 ;
11673 PyObject * obj1 = 0 ;
11674 char *kwnames[] = {
11675 (char *) "parent",(char *) "data", NULL
11676 };
11677
11678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11681 if (arg2 == NULL) {
11682 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11683 }
11684 {
11685 PyThreadState* __tstate = wxPyBeginAllowThreads();
11686 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11687
11688 wxPyEndAllowThreads(__tstate);
11689 if (PyErr_Occurred()) SWIG_fail;
11690 }
11691 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11692 return resultobj;
11693 fail:
11694 return NULL;
11695}
11696
11697
11698static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11699 PyObject *resultobj;
11700 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11701 wxFontData *result;
11702 PyObject * obj0 = 0 ;
11703 char *kwnames[] = {
11704 (char *) "self", NULL
11705 };
11706
11707 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11708 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11709 {
11710 PyThreadState* __tstate = wxPyBeginAllowThreads();
11711 {
11712 wxFontData &_result_ref = (arg1)->GetFontData();
11713 result = (wxFontData *) &_result_ref;
11714 }
11715
11716 wxPyEndAllowThreads(__tstate);
11717 if (PyErr_Occurred()) SWIG_fail;
11718 }
11719 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11720 return resultobj;
11721 fail:
11722 return NULL;
11723}
11724
11725
11726static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11727 PyObject *resultobj;
11728 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11729 int result;
11730 PyObject * obj0 = 0 ;
11731 char *kwnames[] = {
11732 (char *) "self", NULL
11733 };
11734
11735 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11736 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11737 {
11738 PyThreadState* __tstate = wxPyBeginAllowThreads();
11739 result = (int)(arg1)->ShowModal();
11740
11741 wxPyEndAllowThreads(__tstate);
11742 if (PyErr_Occurred()) SWIG_fail;
11743 }
11744 resultobj = PyInt_FromLong((long)result);
11745 return resultobj;
11746 fail:
11747 return NULL;
11748}
11749
11750
11751static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11752 PyObject *obj;
11753 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11754 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11755 Py_INCREF(obj);
11756 return Py_BuildValue((char *)"");
11757}
11758static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11759 PyObject *resultobj;
11760 wxWindow *arg1 = (wxWindow *) 0 ;
11761 wxString *arg2 = 0 ;
11762 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11763 wxString *arg3 = (wxString *) &arg3_defvalue ;
11764 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11765 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11766 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11767 wxMessageDialog *result;
423f194a
RD
11768 bool temp2 = False ;
11769 bool temp3 = False ;
d14a1e28
RD
11770 wxPoint temp5 ;
11771 PyObject * obj0 = 0 ;
11772 PyObject * obj1 = 0 ;
11773 PyObject * obj2 = 0 ;
11774 PyObject * obj4 = 0 ;
11775 char *kwnames[] = {
11776 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11777 };
11778
11779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11781 {
11782 arg2 = wxString_in_helper(obj1);
11783 if (arg2 == NULL) SWIG_fail;
423f194a 11784 temp2 = True;
d14a1e28
RD
11785 }
11786 if (obj2) {
11787 {
11788 arg3 = wxString_in_helper(obj2);
11789 if (arg3 == NULL) SWIG_fail;
423f194a 11790 temp3 = True;
d14a1e28
RD
11791 }
11792 }
11793 if (obj4) {
11794 {
11795 arg5 = &temp5;
11796 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11797 }
11798 }
11799 {
11800 PyThreadState* __tstate = wxPyBeginAllowThreads();
11801 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11802
11803 wxPyEndAllowThreads(__tstate);
11804 if (PyErr_Occurred()) SWIG_fail;
11805 }
11806 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11807 {
11808 if (temp2)
11809 delete arg2;
11810 }
11811 {
11812 if (temp3)
11813 delete arg3;
11814 }
11815 return resultobj;
11816 fail:
11817 {
11818 if (temp2)
11819 delete arg2;
11820 }
11821 {
11822 if (temp3)
11823 delete arg3;
11824 }
11825 return NULL;
11826}
11827
11828
11829static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11830 PyObject *resultobj;
11831 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
11832 int result;
11833 PyObject * obj0 = 0 ;
11834 char *kwnames[] = {
11835 (char *) "self", NULL
11836 };
11837
11838 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
11839 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11840 {
11841 PyThreadState* __tstate = wxPyBeginAllowThreads();
11842 result = (int)(arg1)->ShowModal();
11843
11844 wxPyEndAllowThreads(__tstate);
11845 if (PyErr_Occurred()) SWIG_fail;
11846 }
11847 resultobj = PyInt_FromLong((long)result);
11848 return resultobj;
11849 fail:
11850 return NULL;
11851}
11852
11853
11854static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
11855 PyObject *obj;
11856 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11857 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
11858 Py_INCREF(obj);
11859 return Py_BuildValue((char *)"");
11860}
11861static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11862 PyObject *resultobj;
11863 wxString *arg1 = 0 ;
11864 wxString *arg2 = 0 ;
11865 int arg3 = (int) 100 ;
11866 wxWindow *arg4 = (wxWindow *) NULL ;
11867 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
11868 wxProgressDialog *result;
423f194a
RD
11869 bool temp1 = False ;
11870 bool temp2 = False ;
d14a1e28
RD
11871 PyObject * obj0 = 0 ;
11872 PyObject * obj1 = 0 ;
11873 PyObject * obj3 = 0 ;
11874 char *kwnames[] = {
11875 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11876 };
11877
11878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
11879 {
11880 arg1 = wxString_in_helper(obj0);
11881 if (arg1 == NULL) SWIG_fail;
423f194a 11882 temp1 = True;
d14a1e28
RD
11883 }
11884 {
11885 arg2 = wxString_in_helper(obj1);
11886 if (arg2 == NULL) SWIG_fail;
423f194a 11887 temp2 = True;
d14a1e28
RD
11888 }
11889 if (obj3) {
11890 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11891 }
11892 {
11893 PyThreadState* __tstate = wxPyBeginAllowThreads();
11894 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
11895
11896 wxPyEndAllowThreads(__tstate);
11897 if (PyErr_Occurred()) SWIG_fail;
11898 }
11899 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
11900 {
11901 if (temp1)
11902 delete arg1;
11903 }
11904 {
11905 if (temp2)
11906 delete arg2;
11907 }
11908 return resultobj;
11909 fail:
11910 {
11911 if (temp1)
11912 delete arg1;
11913 }
11914 {
11915 if (temp2)
11916 delete arg2;
11917 }
11918 return NULL;
11919}
11920
11921
11922static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
11923 PyObject *resultobj;
11924 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11925 int arg2 ;
11926 wxString const &arg3_defvalue = wxPyEmptyString ;
11927 wxString *arg3 = (wxString *) &arg3_defvalue ;
11928 bool result;
423f194a 11929 bool temp3 = False ;
d14a1e28
RD
11930 PyObject * obj0 = 0 ;
11931 PyObject * obj2 = 0 ;
11932 char *kwnames[] = {
11933 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11934 };
11935
11936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
11937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11938 if (obj2) {
11939 {
11940 arg3 = wxString_in_helper(obj2);
11941 if (arg3 == NULL) SWIG_fail;
423f194a 11942 temp3 = True;
d14a1e28
RD
11943 }
11944 }
11945 {
11946 PyThreadState* __tstate = wxPyBeginAllowThreads();
11947 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
11948
11949 wxPyEndAllowThreads(__tstate);
11950 if (PyErr_Occurred()) SWIG_fail;
11951 }
11952 resultobj = PyInt_FromLong((long)result);
11953 {
11954 if (temp3)
11955 delete arg3;
11956 }
11957 return resultobj;
11958 fail:
11959 {
11960 if (temp3)
11961 delete arg3;
11962 }
11963 return NULL;
11964}
11965
11966
11967static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
11968 PyObject *resultobj;
11969 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11970 PyObject * obj0 = 0 ;
11971 char *kwnames[] = {
11972 (char *) "self", NULL
11973 };
11974
11975 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
11976 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11977 {
11978 PyThreadState* __tstate = wxPyBeginAllowThreads();
11979 (arg1)->Resume();
11980
11981 wxPyEndAllowThreads(__tstate);
11982 if (PyErr_Occurred()) SWIG_fail;
11983 }
11984 Py_INCREF(Py_None); resultobj = Py_None;
11985 return resultobj;
11986 fail:
11987 return NULL;
11988}
11989
11990
11991static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
11992 PyObject *obj;
11993 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11994 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
11995 Py_INCREF(obj);
11996 return Py_BuildValue((char *)"");
11997}
11998static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11999 PyObject *resultobj;
12000 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
12001 int arg2 = (int) 0 ;
12002 wxFindDialogEvent *result;
12003 char *kwnames[] = {
12004 (char *) "commandType",(char *) "id", NULL
12005 };
12006
12007 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
12008 {
12009 PyThreadState* __tstate = wxPyBeginAllowThreads();
12010 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
12011
12012 wxPyEndAllowThreads(__tstate);
12013 if (PyErr_Occurred()) SWIG_fail;
12014 }
12015 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
12016 return resultobj;
12017 fail:
12018 return NULL;
12019}
12020
12021
12022static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12023 PyObject *resultobj;
12024 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12025 int result;
12026 PyObject * obj0 = 0 ;
12027 char *kwnames[] = {
12028 (char *) "self", NULL
12029 };
12030
12031 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
12032 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12033 {
12034 PyThreadState* __tstate = wxPyBeginAllowThreads();
12035 result = (int)(arg1)->GetFlags();
12036
12037 wxPyEndAllowThreads(__tstate);
12038 if (PyErr_Occurred()) SWIG_fail;
12039 }
12040 resultobj = PyInt_FromLong((long)result);
12041 return resultobj;
12042 fail:
12043 return NULL;
12044}
12045
12046
12047static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12048 PyObject *resultobj;
12049 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
f0983263 12050 wxString *result;
d14a1e28
RD
12051 PyObject * obj0 = 0 ;
12052 char *kwnames[] = {
12053 (char *) "self", NULL
12054 };
12055
12056 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12057 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12058 {
12059 PyThreadState* __tstate = wxPyBeginAllowThreads();
f0983263
RD
12060 {
12061 wxString const &_result_ref = (arg1)->GetFindString();
12062 result = (wxString *) &_result_ref;
12063 }
d14a1e28
RD
12064
12065 wxPyEndAllowThreads(__tstate);
12066 if (PyErr_Occurred()) SWIG_fail;
12067 }
12068 {
12069#if wxUSE_UNICODE
f0983263 12070 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 12071#else
f0983263 12072 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
12073#endif
12074 }
12075 return resultobj;
12076 fail:
12077 return NULL;
12078}
12079
12080
12081static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12082 PyObject *resultobj;
12083 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12084 wxString *result;
12085 PyObject * obj0 = 0 ;
12086 char *kwnames[] = {
12087 (char *) "self", NULL
12088 };
12089
12090 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12091 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12092 {
12093 PyThreadState* __tstate = wxPyBeginAllowThreads();
12094 {
12095 wxString const &_result_ref = (arg1)->GetReplaceString();
12096 result = (wxString *) &_result_ref;
12097 }
12098
12099 wxPyEndAllowThreads(__tstate);
12100 if (PyErr_Occurred()) SWIG_fail;
12101 }
f0983263
RD
12102 {
12103#if wxUSE_UNICODE
12104 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12105#else
12106 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12107#endif
12108 }
d14a1e28
RD
12109 return resultobj;
12110 fail:
12111 return NULL;
12112}
12113
12114
12115static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12116 PyObject *resultobj;
12117 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12118 wxFindReplaceDialog *result;
12119 PyObject * obj0 = 0 ;
12120 char *kwnames[] = {
12121 (char *) "self", NULL
12122 };
12123
12124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12126 {
12127 PyThreadState* __tstate = wxPyBeginAllowThreads();
12128 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12129
12130 wxPyEndAllowThreads(__tstate);
12131 if (PyErr_Occurred()) SWIG_fail;
12132 }
12133 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12134 return resultobj;
12135 fail:
12136 return NULL;
12137}
12138
12139
12140static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12141 PyObject *resultobj;
12142 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12143 int arg2 ;
12144 PyObject * obj0 = 0 ;
12145 char *kwnames[] = {
12146 (char *) "self",(char *) "flags", NULL
12147 };
12148
12149 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12150 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12151 {
12152 PyThreadState* __tstate = wxPyBeginAllowThreads();
12153 (arg1)->SetFlags(arg2);
12154
12155 wxPyEndAllowThreads(__tstate);
12156 if (PyErr_Occurred()) SWIG_fail;
12157 }
12158 Py_INCREF(Py_None); resultobj = Py_None;
12159 return resultobj;
12160 fail:
12161 return NULL;
12162}
12163
12164
12165static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12166 PyObject *resultobj;
12167 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12168 wxString *arg2 = 0 ;
423f194a 12169 bool temp2 = False ;
d14a1e28
RD
12170 PyObject * obj0 = 0 ;
12171 PyObject * obj1 = 0 ;
12172 char *kwnames[] = {
12173 (char *) "self",(char *) "str", NULL
12174 };
12175
12176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12178 {
12179 arg2 = wxString_in_helper(obj1);
12180 if (arg2 == NULL) SWIG_fail;
423f194a 12181 temp2 = True;
d14a1e28
RD
12182 }
12183 {
12184 PyThreadState* __tstate = wxPyBeginAllowThreads();
12185 (arg1)->SetFindString((wxString const &)*arg2);
12186
12187 wxPyEndAllowThreads(__tstate);
12188 if (PyErr_Occurred()) SWIG_fail;
12189 }
12190 Py_INCREF(Py_None); resultobj = Py_None;
12191 {
12192 if (temp2)
12193 delete arg2;
12194 }
12195 return resultobj;
12196 fail:
12197 {
12198 if (temp2)
12199 delete arg2;
12200 }
12201 return NULL;
12202}
12203
12204
12205static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12206 PyObject *resultobj;
12207 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12208 wxString *arg2 = 0 ;
423f194a 12209 bool temp2 = False ;
d14a1e28
RD
12210 PyObject * obj0 = 0 ;
12211 PyObject * obj1 = 0 ;
12212 char *kwnames[] = {
12213 (char *) "self",(char *) "str", NULL
12214 };
12215
12216 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12217 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12218 {
12219 arg2 = wxString_in_helper(obj1);
12220 if (arg2 == NULL) SWIG_fail;
423f194a 12221 temp2 = True;
d14a1e28
RD
12222 }
12223 {
12224 PyThreadState* __tstate = wxPyBeginAllowThreads();
12225 (arg1)->SetReplaceString((wxString const &)*arg2);
12226
12227 wxPyEndAllowThreads(__tstate);
12228 if (PyErr_Occurred()) SWIG_fail;
12229 }
12230 Py_INCREF(Py_None); resultobj = Py_None;
12231 {
12232 if (temp2)
12233 delete arg2;
12234 }
12235 return resultobj;
12236 fail:
12237 {
12238 if (temp2)
12239 delete arg2;
12240 }
12241 return NULL;
12242}
12243
12244
12245static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12246 PyObject *obj;
12247 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12248 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12249 Py_INCREF(obj);
12250 return Py_BuildValue((char *)"");
12251}
12252static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12253 PyObject *resultobj;
12254 int arg1 = (int) 0 ;
12255 wxFindReplaceData *result;
12256 char *kwnames[] = {
12257 (char *) "flags", NULL
12258 };
12259
12260 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12261 {
12262 PyThreadState* __tstate = wxPyBeginAllowThreads();
12263 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12264
12265 wxPyEndAllowThreads(__tstate);
12266 if (PyErr_Occurred()) SWIG_fail;
12267 }
12268 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12269 return resultobj;
12270 fail:
12271 return NULL;
12272}
12273
12274
12275static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12276 PyObject *resultobj;
12277 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12278 PyObject * obj0 = 0 ;
12279 char *kwnames[] = {
12280 (char *) "self", NULL
12281 };
12282
12283 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12284 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12285 {
12286 PyThreadState* __tstate = wxPyBeginAllowThreads();
12287 delete arg1;
12288
12289 wxPyEndAllowThreads(__tstate);
12290 if (PyErr_Occurred()) SWIG_fail;
12291 }
12292 Py_INCREF(Py_None); resultobj = Py_None;
12293 return resultobj;
12294 fail:
12295 return NULL;
12296}
12297
12298
12299static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12300 PyObject *resultobj;
12301 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12302 wxString *result;
12303 PyObject * obj0 = 0 ;
12304 char *kwnames[] = {
12305 (char *) "self", NULL
12306 };
12307
12308 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12309 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12310 {
12311 PyThreadState* __tstate = wxPyBeginAllowThreads();
12312 {
12313 wxString const &_result_ref = (arg1)->GetFindString();
12314 result = (wxString *) &_result_ref;
12315 }
12316
12317 wxPyEndAllowThreads(__tstate);
12318 if (PyErr_Occurred()) SWIG_fail;
12319 }
f0983263
RD
12320 {
12321#if wxUSE_UNICODE
12322 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12323#else
12324 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12325#endif
12326 }
d14a1e28
RD
12327 return resultobj;
12328 fail:
12329 return NULL;
12330}
12331
12332
12333static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12334 PyObject *resultobj;
12335 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12336 wxString *result;
12337 PyObject * obj0 = 0 ;
12338 char *kwnames[] = {
12339 (char *) "self", NULL
12340 };
12341
12342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12344 {
12345 PyThreadState* __tstate = wxPyBeginAllowThreads();
12346 {
12347 wxString const &_result_ref = (arg1)->GetReplaceString();
12348 result = (wxString *) &_result_ref;
12349 }
12350
12351 wxPyEndAllowThreads(__tstate);
12352 if (PyErr_Occurred()) SWIG_fail;
12353 }
f0983263
RD
12354 {
12355#if wxUSE_UNICODE
12356 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12357#else
12358 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12359#endif
12360 }
d14a1e28
RD
12361 return resultobj;
12362 fail:
12363 return NULL;
12364}
12365
12366
12367static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12368 PyObject *resultobj;
12369 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12370 int result;
12371 PyObject * obj0 = 0 ;
12372 char *kwnames[] = {
12373 (char *) "self", NULL
12374 };
12375
12376 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12377 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12378 {
12379 PyThreadState* __tstate = wxPyBeginAllowThreads();
12380 result = (int)(arg1)->GetFlags();
12381
12382 wxPyEndAllowThreads(__tstate);
12383 if (PyErr_Occurred()) SWIG_fail;
12384 }
12385 resultobj = PyInt_FromLong((long)result);
12386 return resultobj;
12387 fail:
12388 return NULL;
12389}
12390
12391
12392static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12393 PyObject *resultobj;
12394 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12395 int arg2 ;
12396 PyObject * obj0 = 0 ;
12397 char *kwnames[] = {
12398 (char *) "self",(char *) "flags", NULL
12399 };
12400
12401 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12402 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12403 {
12404 PyThreadState* __tstate = wxPyBeginAllowThreads();
12405 (arg1)->SetFlags(arg2);
12406
12407 wxPyEndAllowThreads(__tstate);
12408 if (PyErr_Occurred()) SWIG_fail;
12409 }
12410 Py_INCREF(Py_None); resultobj = Py_None;
12411 return resultobj;
12412 fail:
12413 return NULL;
12414}
12415
12416
12417static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12418 PyObject *resultobj;
12419 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12420 wxString *arg2 = 0 ;
423f194a 12421 bool temp2 = False ;
d14a1e28
RD
12422 PyObject * obj0 = 0 ;
12423 PyObject * obj1 = 0 ;
12424 char *kwnames[] = {
12425 (char *) "self",(char *) "str", NULL
12426 };
12427
12428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12430 {
12431 arg2 = wxString_in_helper(obj1);
12432 if (arg2 == NULL) SWIG_fail;
423f194a 12433 temp2 = True;
d14a1e28
RD
12434 }
12435 {
12436 PyThreadState* __tstate = wxPyBeginAllowThreads();
12437 (arg1)->SetFindString((wxString const &)*arg2);
12438
12439 wxPyEndAllowThreads(__tstate);
12440 if (PyErr_Occurred()) SWIG_fail;
12441 }
12442 Py_INCREF(Py_None); resultobj = Py_None;
12443 {
12444 if (temp2)
12445 delete arg2;
12446 }
12447 return resultobj;
12448 fail:
12449 {
12450 if (temp2)
12451 delete arg2;
12452 }
12453 return NULL;
12454}
12455
12456
12457static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12458 PyObject *resultobj;
12459 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12460 wxString *arg2 = 0 ;
423f194a 12461 bool temp2 = False ;
d14a1e28
RD
12462 PyObject * obj0 = 0 ;
12463 PyObject * obj1 = 0 ;
12464 char *kwnames[] = {
12465 (char *) "self",(char *) "str", NULL
12466 };
12467
12468 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12469 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12470 {
12471 arg2 = wxString_in_helper(obj1);
12472 if (arg2 == NULL) SWIG_fail;
423f194a 12473 temp2 = True;
d14a1e28
RD
12474 }
12475 {
12476 PyThreadState* __tstate = wxPyBeginAllowThreads();
12477 (arg1)->SetReplaceString((wxString const &)*arg2);
12478
12479 wxPyEndAllowThreads(__tstate);
12480 if (PyErr_Occurred()) SWIG_fail;
12481 }
12482 Py_INCREF(Py_None); resultobj = Py_None;
12483 {
12484 if (temp2)
12485 delete arg2;
12486 }
12487 return resultobj;
12488 fail:
12489 {
12490 if (temp2)
12491 delete arg2;
12492 }
12493 return NULL;
12494}
12495
12496
12497static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12498 PyObject *obj;
12499 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12500 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12501 Py_INCREF(obj);
12502 return Py_BuildValue((char *)"");
12503}
12504static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12505 PyObject *resultobj;
12506 wxWindow *arg1 = (wxWindow *) 0 ;
12507 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12508 wxString *arg3 = 0 ;
12509 int arg4 = (int) 0 ;
12510 wxFindReplaceDialog *result;
423f194a 12511 bool temp3 = False ;
d14a1e28
RD
12512 PyObject * obj0 = 0 ;
12513 PyObject * obj1 = 0 ;
12514 PyObject * obj2 = 0 ;
12515 char *kwnames[] = {
12516 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12517 };
12518
12519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12521 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12522 {
12523 arg3 = wxString_in_helper(obj2);
12524 if (arg3 == NULL) SWIG_fail;
423f194a 12525 temp3 = True;
d14a1e28
RD
12526 }
12527 {
12528 PyThreadState* __tstate = wxPyBeginAllowThreads();
12529 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12530
12531 wxPyEndAllowThreads(__tstate);
12532 if (PyErr_Occurred()) SWIG_fail;
12533 }
12534 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12535 {
12536 if (temp3)
12537 delete arg3;
12538 }
12539 return resultobj;
12540 fail:
12541 {
12542 if (temp3)
12543 delete arg3;
12544 }
12545 return NULL;
12546}
12547
12548
12549static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12550 PyObject *resultobj;
12551 wxFindReplaceDialog *result;
12552 char *kwnames[] = {
12553 NULL
12554 };
12555
12556 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12557 {
12558 PyThreadState* __tstate = wxPyBeginAllowThreads();
12559 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12560
12561 wxPyEndAllowThreads(__tstate);
12562 if (PyErr_Occurred()) SWIG_fail;
12563 }
12564 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12565 return resultobj;
12566 fail:
12567 return NULL;
12568}
12569
12570
12571static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12572 PyObject *resultobj;
12573 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12574 wxWindow *arg2 = (wxWindow *) 0 ;
12575 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12576 wxString *arg4 = 0 ;
12577 int arg5 = (int) 0 ;
12578 bool result;
423f194a 12579 bool temp4 = False ;
d14a1e28
RD
12580 PyObject * obj0 = 0 ;
12581 PyObject * obj1 = 0 ;
12582 PyObject * obj2 = 0 ;
12583 PyObject * obj3 = 0 ;
12584 char *kwnames[] = {
12585 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12586 };
12587
12588 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12589 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12590 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12591 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12592 {
12593 arg4 = wxString_in_helper(obj3);
12594 if (arg4 == NULL) SWIG_fail;
423f194a 12595 temp4 = True;
d14a1e28
RD
12596 }
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 resultobj = PyInt_FromLong((long)result);
12605 {
12606 if (temp4)
12607 delete arg4;
12608 }
12609 return resultobj;
12610 fail:
12611 {
12612 if (temp4)
12613 delete arg4;
12614 }
12615 return NULL;
12616}
12617
12618
12619static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12620 PyObject *resultobj;
12621 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12622 wxFindReplaceData *result;
12623 PyObject * obj0 = 0 ;
12624 char *kwnames[] = {
12625 (char *) "self", NULL
12626 };
12627
12628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12630 {
12631 PyThreadState* __tstate = wxPyBeginAllowThreads();
12632 result = (wxFindReplaceData *)(arg1)->GetData();
12633
12634 wxPyEndAllowThreads(__tstate);
12635 if (PyErr_Occurred()) SWIG_fail;
12636 }
12637 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12638 return resultobj;
12639 fail:
12640 return NULL;
12641}
12642
12643
12644static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12645 PyObject *resultobj;
12646 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12647 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12648 PyObject * obj0 = 0 ;
12649 PyObject * obj1 = 0 ;
12650 char *kwnames[] = {
12651 (char *) "self",(char *) "data", NULL
12652 };
12653
12654 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12655 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12656 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12657 {
12658 PyThreadState* __tstate = wxPyBeginAllowThreads();
12659 (arg1)->SetData(arg2);
12660
12661 wxPyEndAllowThreads(__tstate);
12662 if (PyErr_Occurred()) SWIG_fail;
12663 }
12664 Py_INCREF(Py_None); resultobj = Py_None;
12665 return resultobj;
12666 fail:
12667 return NULL;
12668}
12669
12670
12671static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12672 PyObject *obj;
12673 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12674 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12675 Py_INCREF(obj);
12676 return Py_BuildValue((char *)"");
12677}
12678static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12679 PyObject *resultobj;
12680 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 12681 int arg2 ;
d14a1e28
RD
12682 wxString *arg3 = 0 ;
12683 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12684 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12685 wxSize const &arg5_defvalue = wxDefaultSize ;
12686 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12687 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12688 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12689 wxString *arg7 = (wxString *) &arg7_defvalue ;
12690 wxMDIParentFrame *result;
423f194a 12691 bool temp3 = False ;
d14a1e28
RD
12692 wxPoint temp4 ;
12693 wxSize temp5 ;
423f194a 12694 bool temp7 = False ;
d14a1e28
RD
12695 PyObject * obj0 = 0 ;
12696 PyObject * obj2 = 0 ;
12697 PyObject * obj3 = 0 ;
12698 PyObject * obj4 = 0 ;
12699 PyObject * obj6 = 0 ;
12700 char *kwnames[] = {
12701 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12702 };
12703
12704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12706 {
12707 arg3 = wxString_in_helper(obj2);
12708 if (arg3 == NULL) SWIG_fail;
423f194a 12709 temp3 = True;
d14a1e28
RD
12710 }
12711 if (obj3) {
12712 {
12713 arg4 = &temp4;
12714 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12715 }
12716 }
12717 if (obj4) {
12718 {
12719 arg5 = &temp5;
12720 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12721 }
12722 }
12723 if (obj6) {
12724 {
12725 arg7 = wxString_in_helper(obj6);
12726 if (arg7 == NULL) SWIG_fail;
423f194a 12727 temp7 = True;
d14a1e28
RD
12728 }
12729 }
12730 {
12731 PyThreadState* __tstate = wxPyBeginAllowThreads();
12732 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12733
12734 wxPyEndAllowThreads(__tstate);
12735 if (PyErr_Occurred()) SWIG_fail;
12736 }
12737 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12738 {
12739 if (temp3)
12740 delete arg3;
12741 }
12742 {
12743 if (temp7)
12744 delete arg7;
12745 }
12746 return resultobj;
12747 fail:
12748 {
12749 if (temp3)
12750 delete arg3;
12751 }
12752 {
12753 if (temp7)
12754 delete arg7;
12755 }
12756 return NULL;
12757}
12758
12759
12760static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12761 PyObject *resultobj;
12762 wxMDIParentFrame *result;
12763 char *kwnames[] = {
12764 NULL
12765 };
12766
12767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12768 {
12769 PyThreadState* __tstate = wxPyBeginAllowThreads();
12770 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12771
12772 wxPyEndAllowThreads(__tstate);
12773 if (PyErr_Occurred()) SWIG_fail;
12774 }
12775 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12776 return resultobj;
12777 fail:
12778 return NULL;
12779}
12780
12781
12782static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12783 PyObject *resultobj;
12784 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12785 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 12786 int arg3 ;
d14a1e28
RD
12787 wxString *arg4 = 0 ;
12788 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12789 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12790 wxSize const &arg6_defvalue = wxDefaultSize ;
12791 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12792 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12793 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12794 wxString *arg8 = (wxString *) &arg8_defvalue ;
12795 bool result;
423f194a 12796 bool temp4 = False ;
d14a1e28
RD
12797 wxPoint temp5 ;
12798 wxSize temp6 ;
423f194a 12799 bool temp8 = False ;
d14a1e28
RD
12800 PyObject * obj0 = 0 ;
12801 PyObject * obj1 = 0 ;
12802 PyObject * obj3 = 0 ;
12803 PyObject * obj4 = 0 ;
12804 PyObject * obj5 = 0 ;
12805 PyObject * obj7 = 0 ;
12806 char *kwnames[] = {
12807 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12808 };
12809
12810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12812 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12813 {
12814 arg4 = wxString_in_helper(obj3);
12815 if (arg4 == NULL) SWIG_fail;
423f194a 12816 temp4 = True;
d14a1e28
RD
12817 }
12818 if (obj4) {
12819 {
12820 arg5 = &temp5;
12821 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12822 }
12823 }
12824 if (obj5) {
12825 {
12826 arg6 = &temp6;
12827 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12828 }
12829 }
12830 if (obj7) {
12831 {
12832 arg8 = wxString_in_helper(obj7);
12833 if (arg8 == NULL) SWIG_fail;
423f194a 12834 temp8 = True;
d14a1e28
RD
12835 }
12836 }
12837 {
12838 PyThreadState* __tstate = wxPyBeginAllowThreads();
12839 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12840
12841 wxPyEndAllowThreads(__tstate);
12842 if (PyErr_Occurred()) SWIG_fail;
12843 }
12844 resultobj = PyInt_FromLong((long)result);
12845 {
12846 if (temp4)
12847 delete arg4;
12848 }
12849 {
12850 if (temp8)
12851 delete arg8;
12852 }
12853 return resultobj;
12854 fail:
12855 {
12856 if (temp4)
12857 delete arg4;
12858 }
12859 {
12860 if (temp8)
12861 delete arg8;
12862 }
12863 return NULL;
12864}
12865
12866
12867static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
12868 PyObject *resultobj;
12869 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12870 PyObject * obj0 = 0 ;
12871 char *kwnames[] = {
12872 (char *) "self", NULL
12873 };
12874
12875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
12876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12877 {
12878 PyThreadState* __tstate = wxPyBeginAllowThreads();
12879 (arg1)->ActivateNext();
12880
12881 wxPyEndAllowThreads(__tstate);
12882 if (PyErr_Occurred()) SWIG_fail;
12883 }
12884 Py_INCREF(Py_None); resultobj = Py_None;
12885 return resultobj;
12886 fail:
12887 return NULL;
12888}
12889
12890
12891static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
12892 PyObject *resultobj;
12893 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12894 PyObject * obj0 = 0 ;
12895 char *kwnames[] = {
12896 (char *) "self", NULL
12897 };
12898
12899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
12900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12901 {
12902 PyThreadState* __tstate = wxPyBeginAllowThreads();
12903 (arg1)->ActivatePrevious();
12904
12905 wxPyEndAllowThreads(__tstate);
12906 if (PyErr_Occurred()) SWIG_fail;
12907 }
12908 Py_INCREF(Py_None); resultobj = Py_None;
12909 return resultobj;
12910 fail:
12911 return NULL;
12912}
12913
12914
12915static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
12916 PyObject *resultobj;
12917 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12918 PyObject * obj0 = 0 ;
12919 char *kwnames[] = {
12920 (char *) "self", NULL
12921 };
12922
12923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
12924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12925 {
12926 PyThreadState* __tstate = wxPyBeginAllowThreads();
12927 (arg1)->ArrangeIcons();
12928
12929 wxPyEndAllowThreads(__tstate);
12930 if (PyErr_Occurred()) SWIG_fail;
12931 }
12932 Py_INCREF(Py_None); resultobj = Py_None;
12933 return resultobj;
12934 fail:
12935 return NULL;
12936}
12937
12938
12939static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
12940 PyObject *resultobj;
12941 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12942 PyObject * obj0 = 0 ;
12943 char *kwnames[] = {
12944 (char *) "self", NULL
12945 };
12946
12947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
12948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12949 {
12950 PyThreadState* __tstate = wxPyBeginAllowThreads();
12951 (arg1)->Cascade();
12952
12953 wxPyEndAllowThreads(__tstate);
12954 if (PyErr_Occurred()) SWIG_fail;
12955 }
12956 Py_INCREF(Py_None); resultobj = Py_None;
12957 return resultobj;
12958 fail:
12959 return NULL;
12960}
12961
12962
12963static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
12964 PyObject *resultobj;
12965 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12966 wxMDIChildFrame *result;
12967 PyObject * obj0 = 0 ;
12968 char *kwnames[] = {
12969 (char *) "self", NULL
12970 };
12971
12972 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
12973 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12974 {
12975 PyThreadState* __tstate = wxPyBeginAllowThreads();
12976 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
12977
12978 wxPyEndAllowThreads(__tstate);
12979 if (PyErr_Occurred()) SWIG_fail;
12980 }
12981 {
12982 resultobj = wxPyMake_wxObject(result);
12983 }
12984 return resultobj;
12985 fail:
12986 return NULL;
12987}
12988
12989
12990static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12991 PyObject *resultobj;
12992 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12993 wxMDIClientWindow *result;
12994 PyObject * obj0 = 0 ;
12995 char *kwnames[] = {
12996 (char *) "self", NULL
12997 };
12998
12999 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
13000 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13001 {
13002 PyThreadState* __tstate = wxPyBeginAllowThreads();
13003 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
13004
13005 wxPyEndAllowThreads(__tstate);
13006 if (PyErr_Occurred()) SWIG_fail;
13007 }
13008 {
13009 resultobj = wxPyMake_wxObject(result);
13010 }
13011 return resultobj;
13012 fail:
13013 return NULL;
13014}
13015
13016
13017static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13018 PyObject *resultobj;
13019 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13020 wxWindow *result;
13021 PyObject * obj0 = 0 ;
13022 char *kwnames[] = {
13023 (char *) "self", NULL
13024 };
13025
13026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
13027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13028 {
13029 PyThreadState* __tstate = wxPyBeginAllowThreads();
13030 result = (wxWindow *)(arg1)->GetToolBar();
13031
13032 wxPyEndAllowThreads(__tstate);
13033 if (PyErr_Occurred()) SWIG_fail;
13034 }
13035 {
13036 resultobj = wxPyMake_wxObject(result);
13037 }
13038 return resultobj;
13039 fail:
13040 return NULL;
13041}
13042
13043
13044static PyObject *_wrap_MDIParentFrame_GetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13045 PyObject *resultobj;
13046 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13047 wxMenu *result;
13048 PyObject * obj0 = 0 ;
13049 char *kwnames[] = {
13050 (char *) "self", NULL
13051 };
13052
13053 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetWindowMenu",kwnames,&obj0)) goto fail;
13054 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13055 {
13056 PyThreadState* __tstate = wxPyBeginAllowThreads();
13057 result = (wxMenu *)(arg1)->GetWindowMenu();
13058
13059 wxPyEndAllowThreads(__tstate);
13060 if (PyErr_Occurred()) SWIG_fail;
13061 }
13062 {
13063 resultobj = wxPyMake_wxObject(result);
13064 }
13065 return resultobj;
13066 fail:
13067 return NULL;
13068}
13069
13070
13071static PyObject *_wrap_MDIParentFrame_SetWindowMenu(PyObject *self, PyObject *args, PyObject *kwargs) {
13072 PyObject *resultobj;
13073 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13074 wxMenu *arg2 = (wxMenu *) 0 ;
13075 PyObject * obj0 = 0 ;
13076 PyObject * obj1 = 0 ;
13077 char *kwnames[] = {
13078 (char *) "self",(char *) "menu", NULL
13079 };
13080
13081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames,&obj0,&obj1)) goto fail;
13082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13083 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13084 {
13085 PyThreadState* __tstate = wxPyBeginAllowThreads();
13086 (arg1)->SetWindowMenu(arg2);
13087
13088 wxPyEndAllowThreads(__tstate);
13089 if (PyErr_Occurred()) SWIG_fail;
13090 }
13091 Py_INCREF(Py_None); resultobj = Py_None;
13092 return resultobj;
13093 fail:
13094 return NULL;
13095}
13096
13097
13098static PyObject *_wrap_MDIParentFrame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
13099 PyObject *resultobj;
13100 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13101 wxToolBar *arg2 = (wxToolBar *) 0 ;
13102 PyObject * obj0 = 0 ;
13103 PyObject * obj1 = 0 ;
13104 char *kwnames[] = {
13105 (char *) "self",(char *) "toolbar", NULL
13106 };
13107
13108 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIParentFrame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
13109 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13110 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13111 {
13112 PyThreadState* __tstate = wxPyBeginAllowThreads();
13113 (arg1)->SetToolBar(arg2);
13114
13115 wxPyEndAllowThreads(__tstate);
13116 if (PyErr_Occurred()) SWIG_fail;
13117 }
13118 Py_INCREF(Py_None); resultobj = Py_None;
13119 return resultobj;
13120 fail:
13121 return NULL;
13122}
13123
13124
13125static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13126 PyObject *resultobj;
13127 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13128 PyObject * obj0 = 0 ;
13129 char *kwnames[] = {
13130 (char *) "self", NULL
13131 };
13132
13133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13134 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13135 {
13136 PyThreadState* __tstate = wxPyBeginAllowThreads();
13137 (arg1)->Tile();
13138
13139 wxPyEndAllowThreads(__tstate);
13140 if (PyErr_Occurred()) SWIG_fail;
13141 }
13142 Py_INCREF(Py_None); resultobj = Py_None;
13143 return resultobj;
13144 fail:
13145 return NULL;
13146}
13147
13148
13149static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13150 PyObject *obj;
13151 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13152 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13153 Py_INCREF(obj);
13154 return Py_BuildValue((char *)"");
13155}
13156static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13157 PyObject *resultobj;
13158 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
423f194a 13159 int arg2 ;
d14a1e28
RD
13160 wxString *arg3 = 0 ;
13161 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13162 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13163 wxSize const &arg5_defvalue = wxDefaultSize ;
13164 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13165 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13166 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13167 wxString *arg7 = (wxString *) &arg7_defvalue ;
13168 wxMDIChildFrame *result;
423f194a 13169 bool temp3 = False ;
d14a1e28
RD
13170 wxPoint temp4 ;
13171 wxSize temp5 ;
423f194a 13172 bool temp7 = False ;
d14a1e28
RD
13173 PyObject * obj0 = 0 ;
13174 PyObject * obj2 = 0 ;
13175 PyObject * obj3 = 0 ;
13176 PyObject * obj4 = 0 ;
13177 PyObject * obj6 = 0 ;
13178 char *kwnames[] = {
13179 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13180 };
13181
13182 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13183 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13184 {
13185 arg3 = wxString_in_helper(obj2);
13186 if (arg3 == NULL) SWIG_fail;
423f194a 13187 temp3 = True;
d14a1e28
RD
13188 }
13189 if (obj3) {
13190 {
13191 arg4 = &temp4;
13192 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13193 }
13194 }
13195 if (obj4) {
13196 {
13197 arg5 = &temp5;
13198 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13199 }
13200 }
13201 if (obj6) {
13202 {
13203 arg7 = wxString_in_helper(obj6);
13204 if (arg7 == NULL) SWIG_fail;
423f194a 13205 temp7 = True;
d14a1e28
RD
13206 }
13207 }
13208 {
13209 PyThreadState* __tstate = wxPyBeginAllowThreads();
13210 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13211
13212 wxPyEndAllowThreads(__tstate);
13213 if (PyErr_Occurred()) SWIG_fail;
13214 }
13215 {
13216 resultobj = wxPyMake_wxObject(result);
13217 }
13218 {
13219 if (temp3)
13220 delete arg3;
13221 }
13222 {
13223 if (temp7)
13224 delete arg7;
13225 }
13226 return resultobj;
13227 fail:
13228 {
13229 if (temp3)
13230 delete arg3;
13231 }
13232 {
13233 if (temp7)
13234 delete arg7;
13235 }
13236 return NULL;
13237}
13238
13239
13240static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13241 PyObject *resultobj;
13242 wxMDIChildFrame *result;
13243 char *kwnames[] = {
13244 NULL
13245 };
13246
13247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13248 {
13249 PyThreadState* __tstate = wxPyBeginAllowThreads();
13250 result = (wxMDIChildFrame *)new wxMDIChildFrame();
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_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13265 PyObject *resultobj;
13266 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13267 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
423f194a 13268 int arg3 ;
d14a1e28
RD
13269 wxString *arg4 = 0 ;
13270 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13271 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13272 wxSize const &arg6_defvalue = wxDefaultSize ;
13273 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13274 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13275 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13276 wxString *arg8 = (wxString *) &arg8_defvalue ;
13277 bool result;
423f194a 13278 bool temp4 = False ;
d14a1e28
RD
13279 wxPoint temp5 ;
13280 wxSize temp6 ;
423f194a 13281 bool temp8 = False ;
d14a1e28
RD
13282 PyObject * obj0 = 0 ;
13283 PyObject * obj1 = 0 ;
13284 PyObject * obj3 = 0 ;
13285 PyObject * obj4 = 0 ;
13286 PyObject * obj5 = 0 ;
13287 PyObject * obj7 = 0 ;
13288 char *kwnames[] = {
13289 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13290 };
13291
13292 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13293 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13294 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13295 {
13296 arg4 = wxString_in_helper(obj3);
13297 if (arg4 == NULL) SWIG_fail;
423f194a 13298 temp4 = True;
d14a1e28
RD
13299 }
13300 if (obj4) {
13301 {
13302 arg5 = &temp5;
13303 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13304 }
13305 }
13306 if (obj5) {
13307 {
13308 arg6 = &temp6;
13309 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13310 }
13311 }
13312 if (obj7) {
13313 {
13314 arg8 = wxString_in_helper(obj7);
13315 if (arg8 == NULL) SWIG_fail;
423f194a 13316 temp8 = True;
d14a1e28
RD
13317 }
13318 }
13319 {
13320 PyThreadState* __tstate = wxPyBeginAllowThreads();
13321 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13322
13323 wxPyEndAllowThreads(__tstate);
13324 if (PyErr_Occurred()) SWIG_fail;
13325 }
13326 resultobj = PyInt_FromLong((long)result);
13327 {
13328 if (temp4)
13329 delete arg4;
13330 }
13331 {
13332 if (temp8)
13333 delete arg8;
13334 }
13335 return resultobj;
13336 fail:
13337 {
13338 if (temp4)
13339 delete arg4;
13340 }
13341 {
13342 if (temp8)
13343 delete arg8;
13344 }
13345 return NULL;
13346}
13347
13348
13349static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13350 PyObject *resultobj;
13351 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13352 PyObject * obj0 = 0 ;
13353 char *kwnames[] = {
13354 (char *) "self", NULL
13355 };
13356
13357 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13358 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13359 {
13360 PyThreadState* __tstate = wxPyBeginAllowThreads();
13361 (arg1)->Activate();
13362
13363 wxPyEndAllowThreads(__tstate);
13364 if (PyErr_Occurred()) SWIG_fail;
13365 }
13366 Py_INCREF(Py_None); resultobj = Py_None;
13367 return resultobj;
13368 fail:
13369 return NULL;
13370}
13371
13372
13373static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13374 PyObject *resultobj;
13375 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13376 bool arg2 ;
13377 PyObject * obj0 = 0 ;
13378 PyObject * obj1 = 0 ;
13379 char *kwnames[] = {
13380 (char *) "self",(char *) "maximize", NULL
13381 };
13382
13383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13385 arg2 = PyInt_AsLong(obj1) ? true : false;
13386 if (PyErr_Occurred()) SWIG_fail;
13387 {
13388 PyThreadState* __tstate = wxPyBeginAllowThreads();
13389 (arg1)->Maximize(arg2);
13390
13391 wxPyEndAllowThreads(__tstate);
13392 if (PyErr_Occurred()) SWIG_fail;
13393 }
13394 Py_INCREF(Py_None); resultobj = Py_None;
13395 return resultobj;
13396 fail:
13397 return NULL;
13398}
13399
13400
13401static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13402 PyObject *resultobj;
13403 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13404 PyObject * obj0 = 0 ;
13405 char *kwnames[] = {
13406 (char *) "self", NULL
13407 };
13408
13409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13411 {
13412 PyThreadState* __tstate = wxPyBeginAllowThreads();
13413 (arg1)->Restore();
13414
13415 wxPyEndAllowThreads(__tstate);
13416 if (PyErr_Occurred()) SWIG_fail;
13417 }
13418 Py_INCREF(Py_None); resultobj = Py_None;
13419 return resultobj;
13420 fail:
13421 return NULL;
13422}
13423
13424
13425static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13426 PyObject *obj;
13427 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13428 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13429 Py_INCREF(obj);
13430 return Py_BuildValue((char *)"");
13431}
13432static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13433 PyObject *resultobj;
13434 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13435 long arg2 = (long) 0 ;
13436 wxMDIClientWindow *result;
13437 PyObject * obj0 = 0 ;
13438 char *kwnames[] = {
13439 (char *) "parent",(char *) "style", NULL
13440 };
13441
13442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13444 {
13445 PyThreadState* __tstate = wxPyBeginAllowThreads();
13446 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13447
13448 wxPyEndAllowThreads(__tstate);
13449 if (PyErr_Occurred()) SWIG_fail;
13450 }
13451 {
13452 resultobj = wxPyMake_wxObject(result);
13453 }
13454 return resultobj;
13455 fail:
13456 return NULL;
13457}
13458
13459
13460static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13461 PyObject *resultobj;
13462 wxMDIClientWindow *result;
13463 char *kwnames[] = {
13464 NULL
13465 };
13466
13467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13468 {
13469 PyThreadState* __tstate = wxPyBeginAllowThreads();
13470 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13471
13472 wxPyEndAllowThreads(__tstate);
13473 if (PyErr_Occurred()) SWIG_fail;
13474 }
13475 {
13476 resultobj = wxPyMake_wxObject(result);
13477 }
13478 return resultobj;
13479 fail:
13480 return NULL;
13481}
13482
13483
13484static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13485 PyObject *resultobj;
13486 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13487 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13488 long arg3 = (long) 0 ;
13489 bool result;
13490 PyObject * obj0 = 0 ;
13491 PyObject * obj1 = 0 ;
13492 char *kwnames[] = {
13493 (char *) "self",(char *) "parent",(char *) "style", NULL
13494 };
13495
13496 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13497 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13498 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13499 {
13500 PyThreadState* __tstate = wxPyBeginAllowThreads();
13501 result = (bool)(arg1)->Create(arg2,arg3);
13502
13503 wxPyEndAllowThreads(__tstate);
13504 if (PyErr_Occurred()) SWIG_fail;
13505 }
13506 resultobj = PyInt_FromLong((long)result);
13507 return resultobj;
13508 fail:
13509 return NULL;
13510}
13511
13512
13513static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13514 PyObject *obj;
13515 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13516 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13517 Py_INCREF(obj);
13518 return Py_BuildValue((char *)"");
13519}
13520static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13521 PyObject *resultobj;
13522 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 13523 int arg2 ;
d14a1e28
RD
13524 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13525 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13526 wxSize const &arg4_defvalue = wxDefaultSize ;
13527 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13528 long arg5 = (long) 0 ;
13529 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13530 wxString *arg6 = (wxString *) &arg6_defvalue ;
13531 wxPyWindow *result;
13532 wxPoint temp3 ;
13533 wxSize temp4 ;
423f194a 13534 bool temp6 = False ;
d14a1e28
RD
13535 PyObject * obj0 = 0 ;
13536 PyObject * obj2 = 0 ;
13537 PyObject * obj3 = 0 ;
13538 PyObject * obj5 = 0 ;
13539 char *kwnames[] = {
13540 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13541 };
13542
13543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13545 if (obj2) {
13546 {
13547 arg3 = &temp3;
13548 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13549 }
13550 }
13551 if (obj3) {
13552 {
13553 arg4 = &temp4;
13554 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13555 }
13556 }
13557 if (obj5) {
13558 {
13559 arg6 = wxString_in_helper(obj5);
13560 if (arg6 == NULL) SWIG_fail;
423f194a 13561 temp6 = True;
d14a1e28
RD
13562 }
13563 }
13564 {
13565 PyThreadState* __tstate = wxPyBeginAllowThreads();
13566 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13567
13568 wxPyEndAllowThreads(__tstate);
13569 if (PyErr_Occurred()) SWIG_fail;
13570 }
13571 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13572 {
13573 if (temp6)
13574 delete arg6;
13575 }
13576 return resultobj;
13577 fail:
13578 {
13579 if (temp6)
13580 delete arg6;
13581 }
13582 return NULL;
13583}
13584
13585
13586static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13587 PyObject *resultobj;
13588 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13589 PyObject *arg2 = (PyObject *) 0 ;
13590 PyObject *arg3 = (PyObject *) 0 ;
13591 PyObject * obj0 = 0 ;
13592 PyObject * obj1 = 0 ;
13593 PyObject * obj2 = 0 ;
13594 char *kwnames[] = {
13595 (char *) "self",(char *) "self",(char *) "_class", NULL
13596 };
13597
13598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13600 arg2 = obj1;
13601 arg3 = obj2;
13602 {
13603 PyThreadState* __tstate = wxPyBeginAllowThreads();
13604 (arg1)->_setCallbackInfo(arg2,arg3);
13605
13606 wxPyEndAllowThreads(__tstate);
13607 if (PyErr_Occurred()) SWIG_fail;
13608 }
13609 Py_INCREF(Py_None); resultobj = Py_None;
13610 return resultobj;
13611 fail:
13612 return NULL;
13613}
13614
13615
13616static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13617 PyObject *resultobj;
13618 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13619 int arg2 ;
13620 int arg3 ;
13621 int arg4 ;
13622 int arg5 ;
13623 PyObject * obj0 = 0 ;
13624 char *kwnames[] = {
13625 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13626 };
13627
13628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13630 {
13631 PyThreadState* __tstate = wxPyBeginAllowThreads();
13632 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13633
13634 wxPyEndAllowThreads(__tstate);
13635 if (PyErr_Occurred()) SWIG_fail;
13636 }
13637 Py_INCREF(Py_None); resultobj = Py_None;
13638 return resultobj;
13639 fail:
13640 return NULL;
13641}
13642
13643
13644static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13645 PyObject *resultobj;
13646 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13647 int arg2 ;
13648 int arg3 ;
13649 int arg4 ;
13650 int arg5 ;
13651 int arg6 = (int) wxSIZE_AUTO ;
13652 PyObject * obj0 = 0 ;
13653 char *kwnames[] = {
13654 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13655 };
13656
13657 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13658 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13659 {
13660 PyThreadState* __tstate = wxPyBeginAllowThreads();
13661 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13662
13663 wxPyEndAllowThreads(__tstate);
13664 if (PyErr_Occurred()) SWIG_fail;
13665 }
13666 Py_INCREF(Py_None); resultobj = Py_None;
13667 return resultobj;
13668 fail:
13669 return NULL;
13670}
13671
13672
13673static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13674 PyObject *resultobj;
13675 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13676 int arg2 ;
13677 int arg3 ;
13678 PyObject * obj0 = 0 ;
13679 char *kwnames[] = {
13680 (char *) "self",(char *) "width",(char *) "height", NULL
13681 };
13682
13683 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13684 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13685 {
13686 PyThreadState* __tstate = wxPyBeginAllowThreads();
13687 (arg1)->base_DoSetClientSize(arg2,arg3);
13688
13689 wxPyEndAllowThreads(__tstate);
13690 if (PyErr_Occurred()) SWIG_fail;
13691 }
13692 Py_INCREF(Py_None); resultobj = Py_None;
13693 return resultobj;
13694 fail:
13695 return NULL;
13696}
13697
13698
13699static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13700 PyObject *resultobj;
13701 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13702 int arg2 ;
13703 int arg3 ;
13704 PyObject * obj0 = 0 ;
13705 char *kwnames[] = {
13706 (char *) "self",(char *) "x",(char *) "y", NULL
13707 };
13708
13709 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13710 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13711 {
13712 PyThreadState* __tstate = wxPyBeginAllowThreads();
13713 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13714
13715 wxPyEndAllowThreads(__tstate);
13716 if (PyErr_Occurred()) SWIG_fail;
13717 }
13718 Py_INCREF(Py_None); resultobj = Py_None;
13719 return resultobj;
13720 fail:
13721 return NULL;
13722}
13723
13724
13725static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13726 PyObject *resultobj;
13727 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13728 int *arg2 = (int *) 0 ;
13729 int *arg3 = (int *) 0 ;
13730 int temp2 ;
13731 int temp3 ;
13732 PyObject * obj0 = 0 ;
13733 char *kwnames[] = {
13734 (char *) "self", NULL
13735 };
13736
13737 arg2 = &temp2;
13738 arg3 = &temp3;
13739 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13740 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13741 {
13742 PyThreadState* __tstate = wxPyBeginAllowThreads();
13743 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13744
13745 wxPyEndAllowThreads(__tstate);
13746 if (PyErr_Occurred()) SWIG_fail;
13747 }
13748 Py_INCREF(Py_None); resultobj = Py_None;
13749 {
13750 PyObject *o = PyInt_FromLong((long) (*arg2));
13751 resultobj = t_output_helper(resultobj,o);
13752 }
13753 {
13754 PyObject *o = PyInt_FromLong((long) (*arg3));
13755 resultobj = t_output_helper(resultobj,o);
13756 }
13757 return resultobj;
13758 fail:
13759 return NULL;
13760}
13761
13762
13763static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13764 PyObject *resultobj;
13765 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13766 int *arg2 = (int *) 0 ;
13767 int *arg3 = (int *) 0 ;
13768 int temp2 ;
13769 int temp3 ;
13770 PyObject * obj0 = 0 ;
13771 char *kwnames[] = {
13772 (char *) "self", NULL
13773 };
13774
13775 arg2 = &temp2;
13776 arg3 = &temp3;
13777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13779 {
13780 PyThreadState* __tstate = wxPyBeginAllowThreads();
13781 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13782
13783 wxPyEndAllowThreads(__tstate);
13784 if (PyErr_Occurred()) SWIG_fail;
13785 }
13786 Py_INCREF(Py_None); resultobj = Py_None;
13787 {
13788 PyObject *o = PyInt_FromLong((long) (*arg2));
13789 resultobj = t_output_helper(resultobj,o);
13790 }
13791 {
13792 PyObject *o = PyInt_FromLong((long) (*arg3));
13793 resultobj = t_output_helper(resultobj,o);
13794 }
13795 return resultobj;
13796 fail:
13797 return NULL;
13798}
13799
13800
13801static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13802 PyObject *resultobj;
13803 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13804 int *arg2 = (int *) 0 ;
13805 int *arg3 = (int *) 0 ;
13806 int temp2 ;
13807 int temp3 ;
13808 PyObject * obj0 = 0 ;
13809 char *kwnames[] = {
13810 (char *) "self", NULL
13811 };
13812
13813 arg2 = &temp2;
13814 arg3 = &temp3;
13815 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13817 {
13818 PyThreadState* __tstate = wxPyBeginAllowThreads();
13819 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13820
13821 wxPyEndAllowThreads(__tstate);
13822 if (PyErr_Occurred()) SWIG_fail;
13823 }
13824 Py_INCREF(Py_None); resultobj = Py_None;
13825 {
13826 PyObject *o = PyInt_FromLong((long) (*arg2));
13827 resultobj = t_output_helper(resultobj,o);
13828 }
13829 {
13830 PyObject *o = PyInt_FromLong((long) (*arg3));
13831 resultobj = t_output_helper(resultobj,o);
13832 }
13833 return resultobj;
13834 fail:
13835 return NULL;
13836}
13837
13838
13839static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13840 PyObject *resultobj;
13841 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13842 wxSize result;
13843 PyObject * obj0 = 0 ;
13844 char *kwnames[] = {
13845 (char *) "self", NULL
13846 };
13847
13848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13850 {
13851 PyThreadState* __tstate = wxPyBeginAllowThreads();
13852 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13853
13854 wxPyEndAllowThreads(__tstate);
13855 if (PyErr_Occurred()) SWIG_fail;
13856 }
13857 {
13858 wxSize * resultptr;
13859 resultptr = new wxSize((wxSize &) result);
13860 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13861 }
13862 return resultobj;
13863 fail:
13864 return NULL;
13865}
13866
13867
13868static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13869 PyObject *resultobj;
13870 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13871 wxSize result;
13872 PyObject * obj0 = 0 ;
13873 char *kwnames[] = {
13874 (char *) "self", NULL
13875 };
13876
13877 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13878 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13879 {
13880 PyThreadState* __tstate = wxPyBeginAllowThreads();
13881 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13882
13883 wxPyEndAllowThreads(__tstate);
13884 if (PyErr_Occurred()) SWIG_fail;
13885 }
13886 {
13887 wxSize * resultptr;
13888 resultptr = new wxSize((wxSize &) result);
13889 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13890 }
13891 return resultobj;
13892 fail:
13893 return NULL;
13894}
13895
13896
13897static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13898 PyObject *resultobj;
13899 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13900 PyObject * obj0 = 0 ;
13901 char *kwnames[] = {
13902 (char *) "self", NULL
13903 };
13904
13905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
13906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13907 {
13908 PyThreadState* __tstate = wxPyBeginAllowThreads();
13909 (arg1)->base_InitDialog();
13910
13911 wxPyEndAllowThreads(__tstate);
13912 if (PyErr_Occurred()) SWIG_fail;
13913 }
13914 Py_INCREF(Py_None); resultobj = Py_None;
13915 return resultobj;
13916 fail:
13917 return NULL;
13918}
13919
13920
13921static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13922 PyObject *resultobj;
13923 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13924 bool result;
13925 PyObject * obj0 = 0 ;
13926 char *kwnames[] = {
13927 (char *) "self", NULL
13928 };
13929
13930 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) 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 result = (bool)(arg1)->base_TransferDataToWindow();
13935
13936 wxPyEndAllowThreads(__tstate);
13937 if (PyErr_Occurred()) SWIG_fail;
13938 }
13939 resultobj = PyInt_FromLong((long)result);
13940 return resultobj;
13941 fail:
13942 return NULL;
13943}
13944
13945
13946static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13947 PyObject *resultobj;
13948 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13949 bool result;
13950 PyObject * obj0 = 0 ;
13951 char *kwnames[] = {
13952 (char *) "self", NULL
13953 };
13954
13955 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
13956 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13957 {
13958 PyThreadState* __tstate = wxPyBeginAllowThreads();
13959 result = (bool)(arg1)->base_TransferDataFromWindow();
13960
13961 wxPyEndAllowThreads(__tstate);
13962 if (PyErr_Occurred()) SWIG_fail;
13963 }
13964 resultobj = PyInt_FromLong((long)result);
13965 return resultobj;
13966 fail:
13967 return NULL;
13968}
13969
13970
13971static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
13972 PyObject *resultobj;
13973 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13974 bool result;
13975 PyObject * obj0 = 0 ;
13976 char *kwnames[] = {
13977 (char *) "self", NULL
13978 };
13979
13980 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
13981 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13982 {
13983 PyThreadState* __tstate = wxPyBeginAllowThreads();
13984 result = (bool)(arg1)->base_Validate();
13985
13986 wxPyEndAllowThreads(__tstate);
13987 if (PyErr_Occurred()) SWIG_fail;
13988 }
13989 resultobj = PyInt_FromLong((long)result);
13990 return resultobj;
13991 fail:
13992 return NULL;
13993}
13994
13995
13996static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
13997 PyObject *resultobj;
13998 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13999 bool result;
14000 PyObject * obj0 = 0 ;
14001 char *kwnames[] = {
14002 (char *) "self", NULL
14003 };
14004
14005 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14006 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14007 {
14008 PyThreadState* __tstate = wxPyBeginAllowThreads();
14009 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
14010
14011 wxPyEndAllowThreads(__tstate);
14012 if (PyErr_Occurred()) SWIG_fail;
14013 }
14014 resultobj = PyInt_FromLong((long)result);
14015 return resultobj;
14016 fail:
14017 return NULL;
14018}
14019
14020
14021static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14022 PyObject *resultobj;
14023 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14024 bool result;
14025 PyObject * obj0 = 0 ;
14026 char *kwnames[] = {
14027 (char *) "self", NULL
14028 };
14029
14030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14032 {
14033 PyThreadState* __tstate = wxPyBeginAllowThreads();
14034 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
14035
14036 wxPyEndAllowThreads(__tstate);
14037 if (PyErr_Occurred()) SWIG_fail;
14038 }
14039 resultobj = PyInt_FromLong((long)result);
14040 return resultobj;
14041 fail:
14042 return NULL;
14043}
14044
14045
14046static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14047 PyObject *resultobj;
14048 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14049 wxSize result;
14050 PyObject * obj0 = 0 ;
14051 char *kwnames[] = {
14052 (char *) "self", NULL
14053 };
14054
14055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
14056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14057 {
14058 PyThreadState* __tstate = wxPyBeginAllowThreads();
14059 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
14060
14061 wxPyEndAllowThreads(__tstate);
14062 if (PyErr_Occurred()) SWIG_fail;
14063 }
14064 {
14065 wxSize * resultptr;
14066 resultptr = new wxSize((wxSize &) result);
14067 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14068 }
14069 return resultobj;
14070 fail:
14071 return NULL;
14072}
14073
14074
14075static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14076 PyObject *resultobj;
14077 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14078 wxWindow *arg2 = (wxWindow *) 0 ;
14079 PyObject * obj0 = 0 ;
14080 PyObject * obj1 = 0 ;
14081 char *kwnames[] = {
14082 (char *) "self",(char *) "child", NULL
14083 };
14084
14085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14087 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14088 {
14089 PyThreadState* __tstate = wxPyBeginAllowThreads();
14090 (arg1)->base_AddChild(arg2);
14091
14092 wxPyEndAllowThreads(__tstate);
14093 if (PyErr_Occurred()) SWIG_fail;
14094 }
14095 Py_INCREF(Py_None); resultobj = Py_None;
14096 return resultobj;
14097 fail:
14098 return NULL;
14099}
14100
14101
14102static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14103 PyObject *resultobj;
14104 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
14105 wxWindow *arg2 = (wxWindow *) 0 ;
14106 PyObject * obj0 = 0 ;
14107 PyObject * obj1 = 0 ;
14108 char *kwnames[] = {
14109 (char *) "self",(char *) "child", NULL
14110 };
14111
14112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14115 {
14116 PyThreadState* __tstate = wxPyBeginAllowThreads();
14117 (arg1)->base_RemoveChild(arg2);
14118
14119 wxPyEndAllowThreads(__tstate);
14120 if (PyErr_Occurred()) SWIG_fail;
14121 }
14122 Py_INCREF(Py_None); resultobj = Py_None;
14123 return resultobj;
14124 fail:
14125 return NULL;
14126}
14127
14128
14129static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14130 PyObject *obj;
14131 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14132 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14133 Py_INCREF(obj);
14134 return Py_BuildValue((char *)"");
14135}
14136static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14137 PyObject *resultobj;
14138 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 14139 int arg2 ;
d14a1e28
RD
14140 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14141 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14142 wxSize const &arg4_defvalue = wxDefaultSize ;
14143 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14144 long arg5 = (long) 0 ;
14145 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14146 wxString *arg6 = (wxString *) &arg6_defvalue ;
14147 wxPyPanel *result;
14148 wxPoint temp3 ;
14149 wxSize temp4 ;
423f194a 14150 bool temp6 = False ;
d14a1e28
RD
14151 PyObject * obj0 = 0 ;
14152 PyObject * obj2 = 0 ;
14153 PyObject * obj3 = 0 ;
14154 PyObject * obj5 = 0 ;
14155 char *kwnames[] = {
14156 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14157 };
14158
14159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14161 if (obj2) {
14162 {
14163 arg3 = &temp3;
14164 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14165 }
14166 }
14167 if (obj3) {
14168 {
14169 arg4 = &temp4;
14170 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14171 }
14172 }
14173 if (obj5) {
14174 {
14175 arg6 = wxString_in_helper(obj5);
14176 if (arg6 == NULL) SWIG_fail;
423f194a 14177 temp6 = True;
d14a1e28
RD
14178 }
14179 }
14180 {
14181 PyThreadState* __tstate = wxPyBeginAllowThreads();
14182 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14183
14184 wxPyEndAllowThreads(__tstate);
14185 if (PyErr_Occurred()) SWIG_fail;
14186 }
14187 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14188 {
14189 if (temp6)
14190 delete arg6;
14191 }
14192 return resultobj;
14193 fail:
14194 {
14195 if (temp6)
14196 delete arg6;
14197 }
14198 return NULL;
14199}
14200
14201
14202static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14203 PyObject *resultobj;
14204 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14205 PyObject *arg2 = (PyObject *) 0 ;
14206 PyObject *arg3 = (PyObject *) 0 ;
14207 PyObject * obj0 = 0 ;
14208 PyObject * obj1 = 0 ;
14209 PyObject * obj2 = 0 ;
14210 char *kwnames[] = {
14211 (char *) "self",(char *) "self",(char *) "_class", NULL
14212 };
14213
14214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14216 arg2 = obj1;
14217 arg3 = obj2;
14218 {
14219 PyThreadState* __tstate = wxPyBeginAllowThreads();
14220 (arg1)->_setCallbackInfo(arg2,arg3);
14221
14222 wxPyEndAllowThreads(__tstate);
14223 if (PyErr_Occurred()) SWIG_fail;
14224 }
14225 Py_INCREF(Py_None); resultobj = Py_None;
14226 return resultobj;
14227 fail:
14228 return NULL;
14229}
14230
14231
14232static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14233 PyObject *resultobj;
14234 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14235 int arg2 ;
14236 int arg3 ;
14237 int arg4 ;
14238 int arg5 ;
14239 PyObject * obj0 = 0 ;
14240 char *kwnames[] = {
14241 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14242 };
14243
14244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14246 {
14247 PyThreadState* __tstate = wxPyBeginAllowThreads();
14248 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14249
14250 wxPyEndAllowThreads(__tstate);
14251 if (PyErr_Occurred()) SWIG_fail;
14252 }
14253 Py_INCREF(Py_None); resultobj = Py_None;
14254 return resultobj;
14255 fail:
14256 return NULL;
14257}
14258
14259
14260static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14261 PyObject *resultobj;
14262 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14263 int arg2 ;
14264 int arg3 ;
14265 int arg4 ;
14266 int arg5 ;
14267 int arg6 = (int) wxSIZE_AUTO ;
14268 PyObject * obj0 = 0 ;
14269 char *kwnames[] = {
14270 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14271 };
14272
14273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14275 {
14276 PyThreadState* __tstate = wxPyBeginAllowThreads();
14277 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14278
14279 wxPyEndAllowThreads(__tstate);
14280 if (PyErr_Occurred()) SWIG_fail;
14281 }
14282 Py_INCREF(Py_None); resultobj = Py_None;
14283 return resultobj;
14284 fail:
14285 return NULL;
14286}
14287
14288
14289static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14290 PyObject *resultobj;
14291 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14292 int arg2 ;
14293 int arg3 ;
14294 PyObject * obj0 = 0 ;
14295 char *kwnames[] = {
14296 (char *) "self",(char *) "width",(char *) "height", NULL
14297 };
14298
14299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14300 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14301 {
14302 PyThreadState* __tstate = wxPyBeginAllowThreads();
14303 (arg1)->base_DoSetClientSize(arg2,arg3);
14304
14305 wxPyEndAllowThreads(__tstate);
14306 if (PyErr_Occurred()) SWIG_fail;
14307 }
14308 Py_INCREF(Py_None); resultobj = Py_None;
14309 return resultobj;
14310 fail:
14311 return NULL;
14312}
14313
14314
14315static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14316 PyObject *resultobj;
14317 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14318 int arg2 ;
14319 int arg3 ;
14320 PyObject * obj0 = 0 ;
14321 char *kwnames[] = {
14322 (char *) "self",(char *) "x",(char *) "y", NULL
14323 };
14324
14325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14327 {
14328 PyThreadState* __tstate = wxPyBeginAllowThreads();
14329 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14330
14331 wxPyEndAllowThreads(__tstate);
14332 if (PyErr_Occurred()) SWIG_fail;
14333 }
14334 Py_INCREF(Py_None); resultobj = Py_None;
14335 return resultobj;
14336 fail:
14337 return NULL;
14338}
14339
14340
14341static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14342 PyObject *resultobj;
14343 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14344 int *arg2 = (int *) 0 ;
14345 int *arg3 = (int *) 0 ;
14346 int temp2 ;
14347 int temp3 ;
14348 PyObject * obj0 = 0 ;
14349 char *kwnames[] = {
14350 (char *) "self", NULL
14351 };
14352
14353 arg2 = &temp2;
14354 arg3 = &temp3;
14355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14357 {
14358 PyThreadState* __tstate = wxPyBeginAllowThreads();
14359 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14360
14361 wxPyEndAllowThreads(__tstate);
14362 if (PyErr_Occurred()) SWIG_fail;
14363 }
14364 Py_INCREF(Py_None); resultobj = Py_None;
14365 {
14366 PyObject *o = PyInt_FromLong((long) (*arg2));
14367 resultobj = t_output_helper(resultobj,o);
14368 }
14369 {
14370 PyObject *o = PyInt_FromLong((long) (*arg3));
14371 resultobj = t_output_helper(resultobj,o);
14372 }
14373 return resultobj;
14374 fail:
14375 return NULL;
14376}
14377
14378
14379static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14380 PyObject *resultobj;
14381 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14382 int *arg2 = (int *) 0 ;
14383 int *arg3 = (int *) 0 ;
14384 int temp2 ;
14385 int temp3 ;
14386 PyObject * obj0 = 0 ;
14387 char *kwnames[] = {
14388 (char *) "self", NULL
14389 };
14390
14391 arg2 = &temp2;
14392 arg3 = &temp3;
14393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14395 {
14396 PyThreadState* __tstate = wxPyBeginAllowThreads();
14397 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14398
14399 wxPyEndAllowThreads(__tstate);
14400 if (PyErr_Occurred()) SWIG_fail;
14401 }
14402 Py_INCREF(Py_None); resultobj = Py_None;
14403 {
14404 PyObject *o = PyInt_FromLong((long) (*arg2));
14405 resultobj = t_output_helper(resultobj,o);
14406 }
14407 {
14408 PyObject *o = PyInt_FromLong((long) (*arg3));
14409 resultobj = t_output_helper(resultobj,o);
14410 }
14411 return resultobj;
14412 fail:
14413 return NULL;
14414}
14415
14416
14417static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14418 PyObject *resultobj;
14419 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14420 int *arg2 = (int *) 0 ;
14421 int *arg3 = (int *) 0 ;
14422 int temp2 ;
14423 int temp3 ;
14424 PyObject * obj0 = 0 ;
14425 char *kwnames[] = {
14426 (char *) "self", NULL
14427 };
14428
14429 arg2 = &temp2;
14430 arg3 = &temp3;
14431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14433 {
14434 PyThreadState* __tstate = wxPyBeginAllowThreads();
14435 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14436
14437 wxPyEndAllowThreads(__tstate);
14438 if (PyErr_Occurred()) SWIG_fail;
14439 }
14440 Py_INCREF(Py_None); resultobj = Py_None;
14441 {
14442 PyObject *o = PyInt_FromLong((long) (*arg2));
14443 resultobj = t_output_helper(resultobj,o);
14444 }
14445 {
14446 PyObject *o = PyInt_FromLong((long) (*arg3));
14447 resultobj = t_output_helper(resultobj,o);
14448 }
14449 return resultobj;
14450 fail:
14451 return NULL;
14452}
14453
14454
14455static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14456 PyObject *resultobj;
14457 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14458 wxSize result;
14459 PyObject * obj0 = 0 ;
14460 char *kwnames[] = {
14461 (char *) "self", NULL
14462 };
14463
14464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14466 {
14467 PyThreadState* __tstate = wxPyBeginAllowThreads();
14468 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14469
14470 wxPyEndAllowThreads(__tstate);
14471 if (PyErr_Occurred()) SWIG_fail;
14472 }
14473 {
14474 wxSize * resultptr;
14475 resultptr = new wxSize((wxSize &) result);
14476 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14477 }
14478 return resultobj;
14479 fail:
14480 return NULL;
14481}
14482
14483
14484static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14485 PyObject *resultobj;
14486 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14487 wxSize result;
14488 PyObject * obj0 = 0 ;
14489 char *kwnames[] = {
14490 (char *) "self", NULL
14491 };
14492
14493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14495 {
14496 PyThreadState* __tstate = wxPyBeginAllowThreads();
14497 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14498
14499 wxPyEndAllowThreads(__tstate);
14500 if (PyErr_Occurred()) SWIG_fail;
14501 }
14502 {
14503 wxSize * resultptr;
14504 resultptr = new wxSize((wxSize &) result);
14505 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14506 }
14507 return resultobj;
14508 fail:
14509 return NULL;
14510}
14511
14512
14513static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14514 PyObject *resultobj;
14515 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14516 PyObject * obj0 = 0 ;
14517 char *kwnames[] = {
14518 (char *) "self", NULL
14519 };
14520
14521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14523 {
14524 PyThreadState* __tstate = wxPyBeginAllowThreads();
14525 (arg1)->base_InitDialog();
14526
14527 wxPyEndAllowThreads(__tstate);
14528 if (PyErr_Occurred()) SWIG_fail;
14529 }
14530 Py_INCREF(Py_None); resultobj = Py_None;
14531 return resultobj;
14532 fail:
14533 return NULL;
14534}
14535
14536
14537static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14538 PyObject *resultobj;
14539 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14540 bool result;
14541 PyObject * obj0 = 0 ;
14542 char *kwnames[] = {
14543 (char *) "self", NULL
14544 };
14545
14546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) 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 result = (bool)(arg1)->base_TransferDataToWindow();
14551
14552 wxPyEndAllowThreads(__tstate);
14553 if (PyErr_Occurred()) SWIG_fail;
14554 }
14555 resultobj = PyInt_FromLong((long)result);
14556 return resultobj;
14557 fail:
14558 return NULL;
14559}
14560
14561
14562static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14563 PyObject *resultobj;
14564 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14565 bool result;
14566 PyObject * obj0 = 0 ;
14567 char *kwnames[] = {
14568 (char *) "self", NULL
14569 };
14570
14571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14573 {
14574 PyThreadState* __tstate = wxPyBeginAllowThreads();
14575 result = (bool)(arg1)->base_TransferDataFromWindow();
14576
14577 wxPyEndAllowThreads(__tstate);
14578 if (PyErr_Occurred()) SWIG_fail;
14579 }
14580 resultobj = PyInt_FromLong((long)result);
14581 return resultobj;
14582 fail:
14583 return NULL;
14584}
14585
14586
14587static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14588 PyObject *resultobj;
14589 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14590 bool result;
14591 PyObject * obj0 = 0 ;
14592 char *kwnames[] = {
14593 (char *) "self", NULL
14594 };
14595
14596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14598 {
14599 PyThreadState* __tstate = wxPyBeginAllowThreads();
14600 result = (bool)(arg1)->base_Validate();
14601
14602 wxPyEndAllowThreads(__tstate);
14603 if (PyErr_Occurred()) SWIG_fail;
14604 }
14605 resultobj = PyInt_FromLong((long)result);
14606 return resultobj;
14607 fail:
14608 return NULL;
14609}
14610
14611
14612static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14613 PyObject *resultobj;
14614 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14615 bool result;
14616 PyObject * obj0 = 0 ;
14617 char *kwnames[] = {
14618 (char *) "self", NULL
14619 };
14620
14621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14623 {
14624 PyThreadState* __tstate = wxPyBeginAllowThreads();
14625 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14626
14627 wxPyEndAllowThreads(__tstate);
14628 if (PyErr_Occurred()) SWIG_fail;
14629 }
14630 resultobj = PyInt_FromLong((long)result);
14631 return resultobj;
14632 fail:
14633 return NULL;
14634}
14635
14636
14637static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14638 PyObject *resultobj;
14639 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14640 bool result;
14641 PyObject * obj0 = 0 ;
14642 char *kwnames[] = {
14643 (char *) "self", NULL
14644 };
14645
14646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14648 {
14649 PyThreadState* __tstate = wxPyBeginAllowThreads();
14650 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14651
14652 wxPyEndAllowThreads(__tstate);
14653 if (PyErr_Occurred()) SWIG_fail;
14654 }
14655 resultobj = PyInt_FromLong((long)result);
14656 return resultobj;
14657 fail:
14658 return NULL;
14659}
14660
14661
14662static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14663 PyObject *resultobj;
14664 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14665 wxSize result;
14666 PyObject * obj0 = 0 ;
14667 char *kwnames[] = {
14668 (char *) "self", NULL
14669 };
14670
14671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14673 {
14674 PyThreadState* __tstate = wxPyBeginAllowThreads();
14675 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14676
14677 wxPyEndAllowThreads(__tstate);
14678 if (PyErr_Occurred()) SWIG_fail;
14679 }
14680 {
14681 wxSize * resultptr;
14682 resultptr = new wxSize((wxSize &) result);
14683 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14684 }
14685 return resultobj;
14686 fail:
14687 return NULL;
14688}
14689
14690
14691static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14692 PyObject *resultobj;
14693 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14694 wxWindow *arg2 = (wxWindow *) 0 ;
14695 PyObject * obj0 = 0 ;
14696 PyObject * obj1 = 0 ;
14697 char *kwnames[] = {
14698 (char *) "self",(char *) "child", NULL
14699 };
14700
14701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14703 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14704 {
14705 PyThreadState* __tstate = wxPyBeginAllowThreads();
14706 (arg1)->base_AddChild(arg2);
14707
14708 wxPyEndAllowThreads(__tstate);
14709 if (PyErr_Occurred()) SWIG_fail;
14710 }
14711 Py_INCREF(Py_None); resultobj = Py_None;
14712 return resultobj;
14713 fail:
14714 return NULL;
14715}
14716
14717
14718static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14719 PyObject *resultobj;
14720 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14721 wxWindow *arg2 = (wxWindow *) 0 ;
14722 PyObject * obj0 = 0 ;
14723 PyObject * obj1 = 0 ;
14724 char *kwnames[] = {
14725 (char *) "self",(char *) "child", NULL
14726 };
14727
14728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14730 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14731 {
14732 PyThreadState* __tstate = wxPyBeginAllowThreads();
14733 (arg1)->base_RemoveChild(arg2);
14734
14735 wxPyEndAllowThreads(__tstate);
14736 if (PyErr_Occurred()) SWIG_fail;
14737 }
14738 Py_INCREF(Py_None); resultobj = Py_None;
14739 return resultobj;
14740 fail:
14741 return NULL;
14742}
14743
14744
14745static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14746 PyObject *obj;
14747 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14748 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14749 Py_INCREF(obj);
14750 return Py_BuildValue((char *)"");
14751}
14752static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14753 PyObject *resultobj;
14754 wxPrintData *result;
14755 char *kwnames[] = {
14756 NULL
14757 };
14758
14759 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 result = (wxPrintData *)new wxPrintData();
14763
14764 wxPyEndAllowThreads(__tstate);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 }
14767 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14768 return resultobj;
14769 fail:
14770 return NULL;
14771}
14772
14773
14774static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14775 PyObject *resultobj;
14776 wxPrintData *arg1 = (wxPrintData *) 0 ;
14777 PyObject * obj0 = 0 ;
14778 char *kwnames[] = {
14779 (char *) "self", NULL
14780 };
14781
14782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14784 {
14785 PyThreadState* __tstate = wxPyBeginAllowThreads();
14786 delete arg1;
14787
14788 wxPyEndAllowThreads(__tstate);
14789 if (PyErr_Occurred()) SWIG_fail;
14790 }
14791 Py_INCREF(Py_None); resultobj = Py_None;
14792 return resultobj;
14793 fail:
14794 return NULL;
14795}
14796
14797
14798static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14799 PyObject *resultobj;
14800 wxPrintData *arg1 = (wxPrintData *) 0 ;
14801 int result;
14802 PyObject * obj0 = 0 ;
14803 char *kwnames[] = {
14804 (char *) "self", NULL
14805 };
14806
14807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14809 {
14810 PyThreadState* __tstate = wxPyBeginAllowThreads();
14811 result = (int)(arg1)->GetNoCopies();
14812
14813 wxPyEndAllowThreads(__tstate);
14814 if (PyErr_Occurred()) SWIG_fail;
14815 }
14816 resultobj = PyInt_FromLong((long)result);
14817 return resultobj;
14818 fail:
14819 return NULL;
14820}
14821
14822
14823static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14824 PyObject *resultobj;
14825 wxPrintData *arg1 = (wxPrintData *) 0 ;
14826 bool result;
14827 PyObject * obj0 = 0 ;
14828 char *kwnames[] = {
14829 (char *) "self", NULL
14830 };
14831
14832 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14833 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14834 {
14835 PyThreadState* __tstate = wxPyBeginAllowThreads();
14836 result = (bool)(arg1)->GetCollate();
14837
14838 wxPyEndAllowThreads(__tstate);
14839 if (PyErr_Occurred()) SWIG_fail;
14840 }
14841 resultobj = PyInt_FromLong((long)result);
14842 return resultobj;
14843 fail:
14844 return NULL;
14845}
14846
14847
14848static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14849 PyObject *resultobj;
14850 wxPrintData *arg1 = (wxPrintData *) 0 ;
14851 int result;
14852 PyObject * obj0 = 0 ;
14853 char *kwnames[] = {
14854 (char *) "self", NULL
14855 };
14856
14857 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
14858 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14859 {
14860 PyThreadState* __tstate = wxPyBeginAllowThreads();
14861 result = (int)(arg1)->GetOrientation();
14862
14863 wxPyEndAllowThreads(__tstate);
14864 if (PyErr_Occurred()) SWIG_fail;
14865 }
14866 resultobj = PyInt_FromLong((long)result);
14867 return resultobj;
14868 fail:
14869 return NULL;
14870}
14871
14872
14873static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
14874 PyObject *resultobj;
14875 wxPrintData *arg1 = (wxPrintData *) 0 ;
14876 bool result;
14877 PyObject * obj0 = 0 ;
14878 char *kwnames[] = {
14879 (char *) "self", NULL
14880 };
14881
14882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
14883 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14884 {
14885 PyThreadState* __tstate = wxPyBeginAllowThreads();
14886 result = (bool)(arg1)->Ok();
14887
14888 wxPyEndAllowThreads(__tstate);
14889 if (PyErr_Occurred()) SWIG_fail;
14890 }
14891 resultobj = PyInt_FromLong((long)result);
14892 return resultobj;
14893 fail:
14894 return NULL;
14895}
14896
14897
14898static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14899 PyObject *resultobj;
14900 wxPrintData *arg1 = (wxPrintData *) 0 ;
14901 wxString *result;
14902 PyObject * obj0 = 0 ;
14903 char *kwnames[] = {
14904 (char *) "self", NULL
14905 };
14906
14907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
14908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14909 {
14910 PyThreadState* __tstate = wxPyBeginAllowThreads();
14911 {
14912 wxString const &_result_ref = (arg1)->GetPrinterName();
14913 result = (wxString *) &_result_ref;
14914 }
14915
14916 wxPyEndAllowThreads(__tstate);
14917 if (PyErr_Occurred()) SWIG_fail;
14918 }
f0983263
RD
14919 {
14920#if wxUSE_UNICODE
14921 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14922#else
14923 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14924#endif
14925 }
d14a1e28
RD
14926 return resultobj;
14927 fail:
14928 return NULL;
14929}
14930
14931
14932static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14933 PyObject *resultobj;
14934 wxPrintData *arg1 = (wxPrintData *) 0 ;
14935 bool result;
14936 PyObject * obj0 = 0 ;
14937 char *kwnames[] = {
14938 (char *) "self", NULL
14939 };
14940
14941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
14942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14943 {
14944 PyThreadState* __tstate = wxPyBeginAllowThreads();
14945 result = (bool)(arg1)->GetColour();
14946
14947 wxPyEndAllowThreads(__tstate);
14948 if (PyErr_Occurred()) SWIG_fail;
14949 }
14950 resultobj = PyInt_FromLong((long)result);
14951 return resultobj;
14952 fail:
14953 return NULL;
14954}
14955
14956
14957static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14958 PyObject *resultobj;
14959 wxPrintData *arg1 = (wxPrintData *) 0 ;
14960 int result;
14961 PyObject * obj0 = 0 ;
14962 char *kwnames[] = {
14963 (char *) "self", NULL
14964 };
14965
14966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
14967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14968 {
14969 PyThreadState* __tstate = wxPyBeginAllowThreads();
14970 result = (int)(arg1)->GetDuplex();
14971
14972 wxPyEndAllowThreads(__tstate);
14973 if (PyErr_Occurred()) SWIG_fail;
14974 }
14975 resultobj = PyInt_FromLong((long)result);
14976 return resultobj;
14977 fail:
14978 return NULL;
14979}
14980
14981
14982static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14983 PyObject *resultobj;
14984 wxPrintData *arg1 = (wxPrintData *) 0 ;
14985 int result;
14986 PyObject * obj0 = 0 ;
14987 char *kwnames[] = {
14988 (char *) "self", NULL
14989 };
14990
14991 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
14992 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14993 {
14994 PyThreadState* __tstate = wxPyBeginAllowThreads();
14995 result = (int)(arg1)->GetPaperId();
14996
14997 wxPyEndAllowThreads(__tstate);
14998 if (PyErr_Occurred()) SWIG_fail;
14999 }
15000 resultobj = PyInt_FromLong((long)result);
15001 return resultobj;
15002 fail:
15003 return NULL;
15004}
15005
15006
15007static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15008 PyObject *resultobj;
15009 wxPrintData *arg1 = (wxPrintData *) 0 ;
15010 wxSize *result;
15011 PyObject * obj0 = 0 ;
15012 char *kwnames[] = {
15013 (char *) "self", NULL
15014 };
15015
15016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
15017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15018 {
15019 PyThreadState* __tstate = wxPyBeginAllowThreads();
15020 {
15021 wxSize const &_result_ref = (arg1)->GetPaperSize();
15022 result = (wxSize *) &_result_ref;
15023 }
15024
15025 wxPyEndAllowThreads(__tstate);
15026 if (PyErr_Occurred()) SWIG_fail;
15027 }
15028 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
15029 return resultobj;
15030 fail:
15031 return NULL;
15032}
15033
15034
15035static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15036 PyObject *resultobj;
15037 wxPrintData *arg1 = (wxPrintData *) 0 ;
15038 wxPrintQuality result;
15039 PyObject * obj0 = 0 ;
15040 char *kwnames[] = {
15041 (char *) "self", NULL
15042 };
15043
15044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
15045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15046 {
15047 PyThreadState* __tstate = wxPyBeginAllowThreads();
15048 result = (arg1)->GetQuality();
15049
15050 wxPyEndAllowThreads(__tstate);
15051 if (PyErr_Occurred()) SWIG_fail;
15052 }
15053 {
15054 wxPrintQuality * resultptr;
15055 resultptr = new wxPrintQuality((wxPrintQuality &) result);
15056 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPrintQuality, 1);
15057 }
15058 return resultobj;
15059 fail:
15060 return NULL;
15061}
15062
15063
15064static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
15065 PyObject *resultobj;
15066 wxPrintData *arg1 = (wxPrintData *) 0 ;
15067 int arg2 ;
15068 PyObject * obj0 = 0 ;
15069 char *kwnames[] = {
15070 (char *) "self",(char *) "v", NULL
15071 };
15072
15073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
15074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15075 {
15076 PyThreadState* __tstate = wxPyBeginAllowThreads();
15077 (arg1)->SetNoCopies(arg2);
15078
15079 wxPyEndAllowThreads(__tstate);
15080 if (PyErr_Occurred()) SWIG_fail;
15081 }
15082 Py_INCREF(Py_None); resultobj = Py_None;
15083 return resultobj;
15084 fail:
15085 return NULL;
15086}
15087
15088
15089static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15090 PyObject *resultobj;
15091 wxPrintData *arg1 = (wxPrintData *) 0 ;
15092 bool arg2 ;
15093 PyObject * obj0 = 0 ;
15094 PyObject * obj1 = 0 ;
15095 char *kwnames[] = {
15096 (char *) "self",(char *) "flag", NULL
15097 };
15098
15099 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15100 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15101 arg2 = PyInt_AsLong(obj1) ? true : false;
15102 if (PyErr_Occurred()) SWIG_fail;
15103 {
15104 PyThreadState* __tstate = wxPyBeginAllowThreads();
15105 (arg1)->SetCollate(arg2);
15106
15107 wxPyEndAllowThreads(__tstate);
15108 if (PyErr_Occurred()) SWIG_fail;
15109 }
15110 Py_INCREF(Py_None); resultobj = Py_None;
15111 return resultobj;
15112 fail:
15113 return NULL;
15114}
15115
15116
15117static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15118 PyObject *resultobj;
15119 wxPrintData *arg1 = (wxPrintData *) 0 ;
15120 int arg2 ;
15121 PyObject * obj0 = 0 ;
15122 char *kwnames[] = {
15123 (char *) "self",(char *) "orient", NULL
15124 };
15125
15126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15128 {
15129 PyThreadState* __tstate = wxPyBeginAllowThreads();
15130 (arg1)->SetOrientation(arg2);
15131
15132 wxPyEndAllowThreads(__tstate);
15133 if (PyErr_Occurred()) SWIG_fail;
15134 }
15135 Py_INCREF(Py_None); resultobj = Py_None;
15136 return resultobj;
15137 fail:
15138 return NULL;
15139}
15140
15141
15142static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15143 PyObject *resultobj;
15144 wxPrintData *arg1 = (wxPrintData *) 0 ;
15145 wxString *arg2 = 0 ;
423f194a 15146 bool temp2 = False ;
d14a1e28
RD
15147 PyObject * obj0 = 0 ;
15148 PyObject * obj1 = 0 ;
15149 char *kwnames[] = {
15150 (char *) "self",(char *) "name", NULL
15151 };
15152
15153 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15154 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15155 {
15156 arg2 = wxString_in_helper(obj1);
15157 if (arg2 == NULL) SWIG_fail;
423f194a 15158 temp2 = True;
d14a1e28
RD
15159 }
15160 {
15161 PyThreadState* __tstate = wxPyBeginAllowThreads();
15162 (arg1)->SetPrinterName((wxString const &)*arg2);
15163
15164 wxPyEndAllowThreads(__tstate);
15165 if (PyErr_Occurred()) SWIG_fail;
15166 }
15167 Py_INCREF(Py_None); resultobj = Py_None;
15168 {
15169 if (temp2)
15170 delete arg2;
15171 }
15172 return resultobj;
15173 fail:
15174 {
15175 if (temp2)
15176 delete arg2;
15177 }
15178 return NULL;
15179}
15180
15181
15182static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15183 PyObject *resultobj;
15184 wxPrintData *arg1 = (wxPrintData *) 0 ;
15185 bool arg2 ;
15186 PyObject * obj0 = 0 ;
15187 PyObject * obj1 = 0 ;
15188 char *kwnames[] = {
15189 (char *) "self",(char *) "colour", NULL
15190 };
15191
15192 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15193 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15194 arg2 = PyInt_AsLong(obj1) ? true : false;
15195 if (PyErr_Occurred()) SWIG_fail;
15196 {
15197 PyThreadState* __tstate = wxPyBeginAllowThreads();
15198 (arg1)->SetColour(arg2);
15199
15200 wxPyEndAllowThreads(__tstate);
15201 if (PyErr_Occurred()) SWIG_fail;
15202 }
15203 Py_INCREF(Py_None); resultobj = Py_None;
15204 return resultobj;
15205 fail:
15206 return NULL;
15207}
15208
15209
15210static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15211 PyObject *resultobj;
15212 wxPrintData *arg1 = (wxPrintData *) 0 ;
15213 int arg2 ;
15214 PyObject * obj0 = 0 ;
15215 char *kwnames[] = {
15216 (char *) "self",(char *) "duplex", NULL
15217 };
15218
15219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15221 {
15222 PyThreadState* __tstate = wxPyBeginAllowThreads();
15223 (arg1)->SetDuplex((wxDuplexMode )arg2);
15224
15225 wxPyEndAllowThreads(__tstate);
15226 if (PyErr_Occurred()) SWIG_fail;
15227 }
15228 Py_INCREF(Py_None); resultobj = Py_None;
15229 return resultobj;
15230 fail:
15231 return NULL;
15232}
15233
15234
15235static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15236 PyObject *resultobj;
15237 wxPrintData *arg1 = (wxPrintData *) 0 ;
15238 int arg2 ;
15239 PyObject * obj0 = 0 ;
15240 char *kwnames[] = {
15241 (char *) "self",(char *) "sizeId", NULL
15242 };
15243
15244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15246 {
15247 PyThreadState* __tstate = wxPyBeginAllowThreads();
15248 (arg1)->SetPaperId((wxPaperSize )arg2);
15249
15250 wxPyEndAllowThreads(__tstate);
15251 if (PyErr_Occurred()) SWIG_fail;
15252 }
15253 Py_INCREF(Py_None); resultobj = Py_None;
15254 return resultobj;
15255 fail:
15256 return NULL;
15257}
15258
15259
15260static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15261 PyObject *resultobj;
15262 wxPrintData *arg1 = (wxPrintData *) 0 ;
15263 wxSize *arg2 = 0 ;
15264 wxSize temp2 ;
15265 PyObject * obj0 = 0 ;
15266 PyObject * obj1 = 0 ;
15267 char *kwnames[] = {
15268 (char *) "self",(char *) "sz", NULL
15269 };
15270
15271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15273 {
15274 arg2 = &temp2;
15275 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15276 }
15277 {
15278 PyThreadState* __tstate = wxPyBeginAllowThreads();
15279 (arg1)->SetPaperSize((wxSize const &)*arg2);
15280
15281 wxPyEndAllowThreads(__tstate);
15282 if (PyErr_Occurred()) SWIG_fail;
15283 }
15284 Py_INCREF(Py_None); resultobj = Py_None;
15285 return resultobj;
15286 fail:
15287 return NULL;
15288}
15289
15290
15291static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15292 PyObject *resultobj;
15293 wxPrintData *arg1 = (wxPrintData *) 0 ;
15294 wxPrintQuality arg2 ;
15295 wxPrintQuality *argp2 ;
15296 PyObject * obj0 = 0 ;
15297 PyObject * obj1 = 0 ;
15298 char *kwnames[] = {
15299 (char *) "self",(char *) "quality", NULL
15300 };
15301
15302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetQuality",kwnames,&obj0,&obj1)) goto fail;
15303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15304 if ((SWIG_ConvertPtr(obj1,(void **) &argp2, SWIGTYPE_p_wxPrintQuality,SWIG_POINTER_EXCEPTION) == -1)) SWIG_fail;
15305 arg2 = *argp2;
15306 {
15307 PyThreadState* __tstate = wxPyBeginAllowThreads();
15308 (arg1)->SetQuality(arg2);
15309
15310 wxPyEndAllowThreads(__tstate);
15311 if (PyErr_Occurred()) SWIG_fail;
15312 }
15313 Py_INCREF(Py_None); resultobj = Py_None;
15314 return resultobj;
15315 fail:
15316 return NULL;
15317}
15318
15319
15320static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15321 PyObject *resultobj;
15322 wxPrintData *arg1 = (wxPrintData *) 0 ;
15323 wxString *result;
15324 PyObject * obj0 = 0 ;
15325 char *kwnames[] = {
15326 (char *) "self", NULL
15327 };
15328
15329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15331 {
15332 PyThreadState* __tstate = wxPyBeginAllowThreads();
15333 {
15334 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15335 result = (wxString *) &_result_ref;
15336 }
15337
15338 wxPyEndAllowThreads(__tstate);
15339 if (PyErr_Occurred()) SWIG_fail;
15340 }
f0983263
RD
15341 {
15342#if wxUSE_UNICODE
15343 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15344#else
15345 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15346#endif
15347 }
d14a1e28
RD
15348 return resultobj;
15349 fail:
15350 return NULL;
15351}
15352
15353
15354static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15355 PyObject *resultobj;
15356 wxPrintData *arg1 = (wxPrintData *) 0 ;
15357 wxString *result;
15358 PyObject * obj0 = 0 ;
15359 char *kwnames[] = {
15360 (char *) "self", NULL
15361 };
15362
15363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15365 {
15366 PyThreadState* __tstate = wxPyBeginAllowThreads();
15367 {
15368 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15369 result = (wxString *) &_result_ref;
15370 }
15371
15372 wxPyEndAllowThreads(__tstate);
15373 if (PyErr_Occurred()) SWIG_fail;
15374 }
f0983263
RD
15375 {
15376#if wxUSE_UNICODE
15377 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15378#else
15379 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15380#endif
15381 }
d14a1e28
RD
15382 return resultobj;
15383 fail:
15384 return NULL;
15385}
15386
15387
15388static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15389 PyObject *resultobj;
15390 wxPrintData *arg1 = (wxPrintData *) 0 ;
15391 wxString *result;
15392 PyObject * obj0 = 0 ;
15393 char *kwnames[] = {
15394 (char *) "self", NULL
15395 };
15396
15397 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15398 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15399 {
15400 PyThreadState* __tstate = wxPyBeginAllowThreads();
15401 {
15402 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15403 result = (wxString *) &_result_ref;
15404 }
15405
15406 wxPyEndAllowThreads(__tstate);
15407 if (PyErr_Occurred()) SWIG_fail;
15408 }
f0983263
RD
15409 {
15410#if wxUSE_UNICODE
15411 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15412#else
15413 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15414#endif
15415 }
d14a1e28
RD
15416 return resultobj;
15417 fail:
15418 return NULL;
15419}
15420
15421
15422static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15423 PyObject *resultobj;
15424 wxPrintData *arg1 = (wxPrintData *) 0 ;
15425 wxString *result;
15426 PyObject * obj0 = 0 ;
15427 char *kwnames[] = {
15428 (char *) "self", NULL
15429 };
15430
15431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15433 {
15434 PyThreadState* __tstate = wxPyBeginAllowThreads();
15435 {
15436 wxString const &_result_ref = (arg1)->GetFilename();
15437 result = (wxString *) &_result_ref;
15438 }
15439
15440 wxPyEndAllowThreads(__tstate);
15441 if (PyErr_Occurred()) SWIG_fail;
15442 }
f0983263
RD
15443 {
15444#if wxUSE_UNICODE
15445 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15446#else
15447 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15448#endif
15449 }
d14a1e28
RD
15450 return resultobj;
15451 fail:
15452 return NULL;
15453}
15454
15455
15456static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15457 PyObject *resultobj;
15458 wxPrintData *arg1 = (wxPrintData *) 0 ;
15459 wxString *result;
15460 PyObject * obj0 = 0 ;
15461 char *kwnames[] = {
15462 (char *) "self", NULL
15463 };
15464
15465 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15466 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15467 {
15468 PyThreadState* __tstate = wxPyBeginAllowThreads();
15469 {
15470 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15471 result = (wxString *) &_result_ref;
15472 }
15473
15474 wxPyEndAllowThreads(__tstate);
15475 if (PyErr_Occurred()) SWIG_fail;
15476 }
f0983263
RD
15477 {
15478#if wxUSE_UNICODE
15479 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15480#else
15481 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15482#endif
15483 }
d14a1e28
RD
15484 return resultobj;
15485 fail:
15486 return NULL;
15487}
15488
15489
15490static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15491 PyObject *resultobj;
15492 wxPrintData *arg1 = (wxPrintData *) 0 ;
15493 double result;
15494 PyObject * obj0 = 0 ;
15495 char *kwnames[] = {
15496 (char *) "self", NULL
15497 };
15498
15499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15501 {
15502 PyThreadState* __tstate = wxPyBeginAllowThreads();
15503 result = (double)(arg1)->GetPrinterScaleX();
15504
15505 wxPyEndAllowThreads(__tstate);
15506 if (PyErr_Occurred()) SWIG_fail;
15507 }
15508 resultobj = PyFloat_FromDouble(result);
15509 return resultobj;
15510 fail:
15511 return NULL;
15512}
15513
15514
15515static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15516 PyObject *resultobj;
15517 wxPrintData *arg1 = (wxPrintData *) 0 ;
15518 double result;
15519 PyObject * obj0 = 0 ;
15520 char *kwnames[] = {
15521 (char *) "self", NULL
15522 };
15523
15524 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15525 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15526 {
15527 PyThreadState* __tstate = wxPyBeginAllowThreads();
15528 result = (double)(arg1)->GetPrinterScaleY();
15529
15530 wxPyEndAllowThreads(__tstate);
15531 if (PyErr_Occurred()) SWIG_fail;
15532 }
15533 resultobj = PyFloat_FromDouble(result);
15534 return resultobj;
15535 fail:
15536 return NULL;
15537}
15538
15539
15540static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15541 PyObject *resultobj;
15542 wxPrintData *arg1 = (wxPrintData *) 0 ;
15543 long result;
15544 PyObject * obj0 = 0 ;
15545 char *kwnames[] = {
15546 (char *) "self", NULL
15547 };
15548
15549 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15550 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 result = (long)(arg1)->GetPrinterTranslateX();
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 resultobj = PyInt_FromLong((long)result);
15559 return resultobj;
15560 fail:
15561 return NULL;
15562}
15563
15564
15565static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15566 PyObject *resultobj;
15567 wxPrintData *arg1 = (wxPrintData *) 0 ;
15568 long result;
15569 PyObject * obj0 = 0 ;
15570 char *kwnames[] = {
15571 (char *) "self", NULL
15572 };
15573
15574 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15575 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15576 {
15577 PyThreadState* __tstate = wxPyBeginAllowThreads();
15578 result = (long)(arg1)->GetPrinterTranslateY();
15579
15580 wxPyEndAllowThreads(__tstate);
15581 if (PyErr_Occurred()) SWIG_fail;
15582 }
15583 resultobj = PyInt_FromLong((long)result);
15584 return resultobj;
15585 fail:
15586 return NULL;
15587}
15588
15589
15590static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15591 PyObject *resultobj;
15592 wxPrintData *arg1 = (wxPrintData *) 0 ;
15593 int result;
15594 PyObject * obj0 = 0 ;
15595 char *kwnames[] = {
15596 (char *) "self", NULL
15597 };
15598
15599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15601 {
15602 PyThreadState* __tstate = wxPyBeginAllowThreads();
15603 result = (int)(arg1)->GetPrintMode();
15604
15605 wxPyEndAllowThreads(__tstate);
15606 if (PyErr_Occurred()) SWIG_fail;
15607 }
15608 resultobj = PyInt_FromLong((long)result);
15609 return resultobj;
15610 fail:
15611 return NULL;
15612}
15613
15614
15615static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15616 PyObject *resultobj;
15617 wxPrintData *arg1 = (wxPrintData *) 0 ;
15618 wxString *arg2 = 0 ;
423f194a 15619 bool temp2 = False ;
d14a1e28
RD
15620 PyObject * obj0 = 0 ;
15621 PyObject * obj1 = 0 ;
15622 char *kwnames[] = {
15623 (char *) "self",(char *) "command", NULL
15624 };
15625
15626 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15627 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15628 {
15629 arg2 = wxString_in_helper(obj1);
15630 if (arg2 == NULL) SWIG_fail;
423f194a 15631 temp2 = True;
d14a1e28
RD
15632 }
15633 {
15634 PyThreadState* __tstate = wxPyBeginAllowThreads();
15635 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15636
15637 wxPyEndAllowThreads(__tstate);
15638 if (PyErr_Occurred()) SWIG_fail;
15639 }
15640 Py_INCREF(Py_None); resultobj = Py_None;
15641 {
15642 if (temp2)
15643 delete arg2;
15644 }
15645 return resultobj;
15646 fail:
15647 {
15648 if (temp2)
15649 delete arg2;
15650 }
15651 return NULL;
15652}
15653
15654
15655static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15656 PyObject *resultobj;
15657 wxPrintData *arg1 = (wxPrintData *) 0 ;
15658 wxString *arg2 = 0 ;
423f194a 15659 bool temp2 = False ;
d14a1e28
RD
15660 PyObject * obj0 = 0 ;
15661 PyObject * obj1 = 0 ;
15662 char *kwnames[] = {
15663 (char *) "self",(char *) "options", NULL
15664 };
15665
15666 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15667 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15668 {
15669 arg2 = wxString_in_helper(obj1);
15670 if (arg2 == NULL) SWIG_fail;
423f194a 15671 temp2 = True;
d14a1e28
RD
15672 }
15673 {
15674 PyThreadState* __tstate = wxPyBeginAllowThreads();
15675 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15676
15677 wxPyEndAllowThreads(__tstate);
15678 if (PyErr_Occurred()) SWIG_fail;
15679 }
15680 Py_INCREF(Py_None); resultobj = Py_None;
15681 {
15682 if (temp2)
15683 delete arg2;
15684 }
15685 return resultobj;
15686 fail:
15687 {
15688 if (temp2)
15689 delete arg2;
15690 }
15691 return NULL;
15692}
15693
15694
15695static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15696 PyObject *resultobj;
15697 wxPrintData *arg1 = (wxPrintData *) 0 ;
15698 wxString *arg2 = 0 ;
423f194a 15699 bool temp2 = False ;
d14a1e28
RD
15700 PyObject * obj0 = 0 ;
15701 PyObject * obj1 = 0 ;
15702 char *kwnames[] = {
15703 (char *) "self",(char *) "command", NULL
15704 };
15705
15706 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15707 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15708 {
15709 arg2 = wxString_in_helper(obj1);
15710 if (arg2 == NULL) SWIG_fail;
423f194a 15711 temp2 = True;
d14a1e28
RD
15712 }
15713 {
15714 PyThreadState* __tstate = wxPyBeginAllowThreads();
15715 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15716
15717 wxPyEndAllowThreads(__tstate);
15718 if (PyErr_Occurred()) SWIG_fail;
15719 }
15720 Py_INCREF(Py_None); resultobj = Py_None;
15721 {
15722 if (temp2)
15723 delete arg2;
15724 }
15725 return resultobj;
15726 fail:
15727 {
15728 if (temp2)
15729 delete arg2;
15730 }
15731 return NULL;
15732}
15733
15734
15735static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15736 PyObject *resultobj;
15737 wxPrintData *arg1 = (wxPrintData *) 0 ;
15738 wxString *arg2 = 0 ;
423f194a 15739 bool temp2 = False ;
d14a1e28
RD
15740 PyObject * obj0 = 0 ;
15741 PyObject * obj1 = 0 ;
15742 char *kwnames[] = {
15743 (char *) "self",(char *) "filename", NULL
15744 };
15745
15746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15748 {
15749 arg2 = wxString_in_helper(obj1);
15750 if (arg2 == NULL) SWIG_fail;
423f194a 15751 temp2 = True;
d14a1e28
RD
15752 }
15753 {
15754 PyThreadState* __tstate = wxPyBeginAllowThreads();
15755 (arg1)->SetFilename((wxString const &)*arg2);
15756
15757 wxPyEndAllowThreads(__tstate);
15758 if (PyErr_Occurred()) SWIG_fail;
15759 }
15760 Py_INCREF(Py_None); resultobj = Py_None;
15761 {
15762 if (temp2)
15763 delete arg2;
15764 }
15765 return resultobj;
15766 fail:
15767 {
15768 if (temp2)
15769 delete arg2;
15770 }
15771 return NULL;
15772}
15773
15774
15775static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15776 PyObject *resultobj;
15777 wxPrintData *arg1 = (wxPrintData *) 0 ;
15778 wxString *arg2 = 0 ;
423f194a 15779 bool temp2 = False ;
d14a1e28
RD
15780 PyObject * obj0 = 0 ;
15781 PyObject * obj1 = 0 ;
15782 char *kwnames[] = {
15783 (char *) "self",(char *) "path", NULL
15784 };
15785
15786 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15787 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15788 {
15789 arg2 = wxString_in_helper(obj1);
15790 if (arg2 == NULL) SWIG_fail;
423f194a 15791 temp2 = True;
d14a1e28
RD
15792 }
15793 {
15794 PyThreadState* __tstate = wxPyBeginAllowThreads();
15795 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15796
15797 wxPyEndAllowThreads(__tstate);
15798 if (PyErr_Occurred()) SWIG_fail;
15799 }
15800 Py_INCREF(Py_None); resultobj = Py_None;
15801 {
15802 if (temp2)
15803 delete arg2;
15804 }
15805 return resultobj;
15806 fail:
15807 {
15808 if (temp2)
15809 delete arg2;
15810 }
15811 return NULL;
15812}
15813
15814
15815static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15816 PyObject *resultobj;
15817 wxPrintData *arg1 = (wxPrintData *) 0 ;
15818 double arg2 ;
15819 PyObject * obj0 = 0 ;
15820 char *kwnames[] = {
15821 (char *) "self",(char *) "x", NULL
15822 };
15823
15824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15826 {
15827 PyThreadState* __tstate = wxPyBeginAllowThreads();
15828 (arg1)->SetPrinterScaleX(arg2);
15829
15830 wxPyEndAllowThreads(__tstate);
15831 if (PyErr_Occurred()) SWIG_fail;
15832 }
15833 Py_INCREF(Py_None); resultobj = Py_None;
15834 return resultobj;
15835 fail:
15836 return NULL;
15837}
15838
15839
15840static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15841 PyObject *resultobj;
15842 wxPrintData *arg1 = (wxPrintData *) 0 ;
15843 double arg2 ;
15844 PyObject * obj0 = 0 ;
15845 char *kwnames[] = {
15846 (char *) "self",(char *) "y", NULL
15847 };
15848
15849 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15850 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15851 {
15852 PyThreadState* __tstate = wxPyBeginAllowThreads();
15853 (arg1)->SetPrinterScaleY(arg2);
15854
15855 wxPyEndAllowThreads(__tstate);
15856 if (PyErr_Occurred()) SWIG_fail;
15857 }
15858 Py_INCREF(Py_None); resultobj = Py_None;
15859 return resultobj;
15860 fail:
15861 return NULL;
15862}
15863
15864
15865static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
15866 PyObject *resultobj;
15867 wxPrintData *arg1 = (wxPrintData *) 0 ;
15868 double arg2 ;
15869 double arg3 ;
15870 PyObject * obj0 = 0 ;
15871 char *kwnames[] = {
15872 (char *) "self",(char *) "x",(char *) "y", NULL
15873 };
15874
15875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
15876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15877 {
15878 PyThreadState* __tstate = wxPyBeginAllowThreads();
15879 (arg1)->SetPrinterScaling(arg2,arg3);
15880
15881 wxPyEndAllowThreads(__tstate);
15882 if (PyErr_Occurred()) SWIG_fail;
15883 }
15884 Py_INCREF(Py_None); resultobj = Py_None;
15885 return resultobj;
15886 fail:
15887 return NULL;
15888}
15889
15890
15891static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15892 PyObject *resultobj;
15893 wxPrintData *arg1 = (wxPrintData *) 0 ;
15894 long arg2 ;
15895 PyObject * obj0 = 0 ;
15896 char *kwnames[] = {
15897 (char *) "self",(char *) "x", NULL
15898 };
15899
15900 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
15901 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15902 {
15903 PyThreadState* __tstate = wxPyBeginAllowThreads();
15904 (arg1)->SetPrinterTranslateX(arg2);
15905
15906 wxPyEndAllowThreads(__tstate);
15907 if (PyErr_Occurred()) SWIG_fail;
15908 }
15909 Py_INCREF(Py_None); resultobj = Py_None;
15910 return resultobj;
15911 fail:
15912 return NULL;
15913}
15914
15915
15916static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15917 PyObject *resultobj;
15918 wxPrintData *arg1 = (wxPrintData *) 0 ;
15919 long arg2 ;
15920 PyObject * obj0 = 0 ;
15921 char *kwnames[] = {
15922 (char *) "self",(char *) "y", NULL
15923 };
15924
15925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
15926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15927 {
15928 PyThreadState* __tstate = wxPyBeginAllowThreads();
15929 (arg1)->SetPrinterTranslateY(arg2);
15930
15931 wxPyEndAllowThreads(__tstate);
15932 if (PyErr_Occurred()) SWIG_fail;
15933 }
15934 Py_INCREF(Py_None); resultobj = Py_None;
15935 return resultobj;
15936 fail:
15937 return NULL;
15938}
15939
15940
15941static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
15942 PyObject *resultobj;
15943 wxPrintData *arg1 = (wxPrintData *) 0 ;
15944 long arg2 ;
15945 long arg3 ;
15946 PyObject * obj0 = 0 ;
15947 char *kwnames[] = {
15948 (char *) "self",(char *) "x",(char *) "y", NULL
15949 };
15950
15951 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
15952 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15953 {
15954 PyThreadState* __tstate = wxPyBeginAllowThreads();
15955 (arg1)->SetPrinterTranslation(arg2,arg3);
15956
15957 wxPyEndAllowThreads(__tstate);
15958 if (PyErr_Occurred()) SWIG_fail;
15959 }
15960 Py_INCREF(Py_None); resultobj = Py_None;
15961 return resultobj;
15962 fail:
15963 return NULL;
15964}
15965
15966
15967static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15968 PyObject *resultobj;
15969 wxPrintData *arg1 = (wxPrintData *) 0 ;
15970 int arg2 ;
15971 PyObject * obj0 = 0 ;
15972 char *kwnames[] = {
15973 (char *) "self",(char *) "printMode", NULL
15974 };
15975
15976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
15977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15978 {
15979 PyThreadState* __tstate = wxPyBeginAllowThreads();
15980 (arg1)->SetPrintMode((wxPrintMode )arg2);
15981
15982 wxPyEndAllowThreads(__tstate);
15983 if (PyErr_Occurred()) SWIG_fail;
15984 }
15985 Py_INCREF(Py_None); resultobj = Py_None;
15986 return resultobj;
15987 fail:
15988 return NULL;
15989}
15990
15991
15992static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
15993 PyObject *obj;
15994 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15995 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
15996 Py_INCREF(obj);
15997 return Py_BuildValue((char *)"");
15998}
15999static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16000 PyObject *resultobj;
16001 wxPageSetupDialogData *result;
16002 char *kwnames[] = {
16003 NULL
16004 };
16005
16006 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
16007 {
16008 PyThreadState* __tstate = wxPyBeginAllowThreads();
16009 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
16010
16011 wxPyEndAllowThreads(__tstate);
16012 if (PyErr_Occurred()) SWIG_fail;
16013 }
16014 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
16015 return resultobj;
16016 fail:
16017 return NULL;
16018}
16019
16020
16021static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16022 PyObject *resultobj;
16023 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16024 PyObject * obj0 = 0 ;
16025 char *kwnames[] = {
16026 (char *) "self", NULL
16027 };
16028
16029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
16030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16031 {
16032 PyThreadState* __tstate = wxPyBeginAllowThreads();
16033 delete arg1;
16034
16035 wxPyEndAllowThreads(__tstate);
16036 if (PyErr_Occurred()) SWIG_fail;
16037 }
16038 Py_INCREF(Py_None); resultobj = Py_None;
16039 return resultobj;
16040 fail:
16041 return NULL;
16042}
16043
16044
16045static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16046 PyObject *resultobj;
16047 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16048 bool arg2 ;
16049 PyObject * obj0 = 0 ;
16050 PyObject * obj1 = 0 ;
16051 char *kwnames[] = {
16052 (char *) "self",(char *) "flag", NULL
16053 };
16054
16055 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
16056 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16057 arg2 = PyInt_AsLong(obj1) ? true : false;
16058 if (PyErr_Occurred()) SWIG_fail;
16059 {
16060 PyThreadState* __tstate = wxPyBeginAllowThreads();
16061 (arg1)->EnableHelp(arg2);
16062
16063 wxPyEndAllowThreads(__tstate);
16064 if (PyErr_Occurred()) SWIG_fail;
16065 }
16066 Py_INCREF(Py_None); resultobj = Py_None;
16067 return resultobj;
16068 fail:
16069 return NULL;
16070}
16071
16072
16073static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16074 PyObject *resultobj;
16075 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16076 bool arg2 ;
16077 PyObject * obj0 = 0 ;
16078 PyObject * obj1 = 0 ;
16079 char *kwnames[] = {
16080 (char *) "self",(char *) "flag", NULL
16081 };
16082
16083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16085 arg2 = PyInt_AsLong(obj1) ? true : false;
16086 if (PyErr_Occurred()) SWIG_fail;
16087 {
16088 PyThreadState* __tstate = wxPyBeginAllowThreads();
16089 (arg1)->EnableMargins(arg2);
16090
16091 wxPyEndAllowThreads(__tstate);
16092 if (PyErr_Occurred()) SWIG_fail;
16093 }
16094 Py_INCREF(Py_None); resultobj = Py_None;
16095 return resultobj;
16096 fail:
16097 return NULL;
16098}
16099
16100
16101static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16102 PyObject *resultobj;
16103 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16104 bool arg2 ;
16105 PyObject * obj0 = 0 ;
16106 PyObject * obj1 = 0 ;
16107 char *kwnames[] = {
16108 (char *) "self",(char *) "flag", NULL
16109 };
16110
16111 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16112 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16113 arg2 = PyInt_AsLong(obj1) ? true : false;
16114 if (PyErr_Occurred()) SWIG_fail;
16115 {
16116 PyThreadState* __tstate = wxPyBeginAllowThreads();
16117 (arg1)->EnableOrientation(arg2);
16118
16119 wxPyEndAllowThreads(__tstate);
16120 if (PyErr_Occurred()) SWIG_fail;
16121 }
16122 Py_INCREF(Py_None); resultobj = Py_None;
16123 return resultobj;
16124 fail:
16125 return NULL;
16126}
16127
16128
16129static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16130 PyObject *resultobj;
16131 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16132 bool arg2 ;
16133 PyObject * obj0 = 0 ;
16134 PyObject * obj1 = 0 ;
16135 char *kwnames[] = {
16136 (char *) "self",(char *) "flag", NULL
16137 };
16138
16139 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16140 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16141 arg2 = PyInt_AsLong(obj1) ? true : false;
16142 if (PyErr_Occurred()) SWIG_fail;
16143 {
16144 PyThreadState* __tstate = wxPyBeginAllowThreads();
16145 (arg1)->EnablePaper(arg2);
16146
16147 wxPyEndAllowThreads(__tstate);
16148 if (PyErr_Occurred()) SWIG_fail;
16149 }
16150 Py_INCREF(Py_None); resultobj = Py_None;
16151 return resultobj;
16152 fail:
16153 return NULL;
16154}
16155
16156
16157static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16158 PyObject *resultobj;
16159 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16160 bool arg2 ;
16161 PyObject * obj0 = 0 ;
16162 PyObject * obj1 = 0 ;
16163 char *kwnames[] = {
16164 (char *) "self",(char *) "flag", NULL
16165 };
16166
16167 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16168 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16169 arg2 = PyInt_AsLong(obj1) ? true : false;
16170 if (PyErr_Occurred()) SWIG_fail;
16171 {
16172 PyThreadState* __tstate = wxPyBeginAllowThreads();
16173 (arg1)->EnablePrinter(arg2);
16174
16175 wxPyEndAllowThreads(__tstate);
16176 if (PyErr_Occurred()) SWIG_fail;
16177 }
16178 Py_INCREF(Py_None); resultobj = Py_None;
16179 return resultobj;
16180 fail:
16181 return NULL;
16182}
16183
16184
16185static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16186 PyObject *resultobj;
16187 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16188 bool result;
16189 PyObject * obj0 = 0 ;
16190 char *kwnames[] = {
16191 (char *) "self", NULL
16192 };
16193
16194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16196 {
16197 PyThreadState* __tstate = wxPyBeginAllowThreads();
16198 result = (bool)(arg1)->GetDefaultMinMargins();
16199
16200 wxPyEndAllowThreads(__tstate);
16201 if (PyErr_Occurred()) SWIG_fail;
16202 }
16203 resultobj = PyInt_FromLong((long)result);
16204 return resultobj;
16205 fail:
16206 return NULL;
16207}
16208
16209
16210static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16211 PyObject *resultobj;
16212 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16213 bool result;
16214 PyObject * obj0 = 0 ;
16215 char *kwnames[] = {
16216 (char *) "self", NULL
16217 };
16218
16219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16221 {
16222 PyThreadState* __tstate = wxPyBeginAllowThreads();
16223 result = (bool)(arg1)->GetEnableMargins();
16224
16225 wxPyEndAllowThreads(__tstate);
16226 if (PyErr_Occurred()) SWIG_fail;
16227 }
16228 resultobj = PyInt_FromLong((long)result);
16229 return resultobj;
16230 fail:
16231 return NULL;
16232}
16233
16234
16235static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16236 PyObject *resultobj;
16237 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16238 bool result;
16239 PyObject * obj0 = 0 ;
16240 char *kwnames[] = {
16241 (char *) "self", NULL
16242 };
16243
16244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16246 {
16247 PyThreadState* __tstate = wxPyBeginAllowThreads();
16248 result = (bool)(arg1)->GetEnableOrientation();
16249
16250 wxPyEndAllowThreads(__tstate);
16251 if (PyErr_Occurred()) SWIG_fail;
16252 }
16253 resultobj = PyInt_FromLong((long)result);
16254 return resultobj;
16255 fail:
16256 return NULL;
16257}
16258
16259
16260static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16261 PyObject *resultobj;
16262 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16263 bool result;
16264 PyObject * obj0 = 0 ;
16265 char *kwnames[] = {
16266 (char *) "self", NULL
16267 };
16268
16269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16271 {
16272 PyThreadState* __tstate = wxPyBeginAllowThreads();
16273 result = (bool)(arg1)->GetEnablePaper();
16274
16275 wxPyEndAllowThreads(__tstate);
16276 if (PyErr_Occurred()) SWIG_fail;
16277 }
16278 resultobj = PyInt_FromLong((long)result);
16279 return resultobj;
16280 fail:
16281 return NULL;
16282}
16283
16284
16285static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16286 PyObject *resultobj;
16287 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16288 bool result;
16289 PyObject * obj0 = 0 ;
16290 char *kwnames[] = {
16291 (char *) "self", NULL
16292 };
16293
16294 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16295 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16296 {
16297 PyThreadState* __tstate = wxPyBeginAllowThreads();
16298 result = (bool)(arg1)->GetEnablePrinter();
16299
16300 wxPyEndAllowThreads(__tstate);
16301 if (PyErr_Occurred()) SWIG_fail;
16302 }
16303 resultobj = PyInt_FromLong((long)result);
16304 return resultobj;
16305 fail:
16306 return NULL;
16307}
16308
16309
16310static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16311 PyObject *resultobj;
16312 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16313 bool result;
16314 PyObject * obj0 = 0 ;
16315 char *kwnames[] = {
16316 (char *) "self", NULL
16317 };
16318
16319 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16320 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16321 {
16322 PyThreadState* __tstate = wxPyBeginAllowThreads();
16323 result = (bool)(arg1)->GetEnableHelp();
16324
16325 wxPyEndAllowThreads(__tstate);
16326 if (PyErr_Occurred()) SWIG_fail;
16327 }
16328 resultobj = PyInt_FromLong((long)result);
16329 return resultobj;
16330 fail:
16331 return NULL;
16332}
16333
16334
16335static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16336 PyObject *resultobj;
16337 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16338 bool result;
16339 PyObject * obj0 = 0 ;
16340 char *kwnames[] = {
16341 (char *) "self", NULL
16342 };
16343
16344 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16345 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16346 {
16347 PyThreadState* __tstate = wxPyBeginAllowThreads();
16348 result = (bool)(arg1)->GetDefaultInfo();
16349
16350 wxPyEndAllowThreads(__tstate);
16351 if (PyErr_Occurred()) SWIG_fail;
16352 }
16353 resultobj = PyInt_FromLong((long)result);
16354 return resultobj;
16355 fail:
16356 return NULL;
16357}
16358
16359
16360static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16361 PyObject *resultobj;
16362 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16363 wxPoint result;
16364 PyObject * obj0 = 0 ;
16365 char *kwnames[] = {
16366 (char *) "self", NULL
16367 };
16368
16369 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16370 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16371 {
16372 PyThreadState* __tstate = wxPyBeginAllowThreads();
16373 result = (arg1)->GetMarginTopLeft();
16374
16375 wxPyEndAllowThreads(__tstate);
16376 if (PyErr_Occurred()) SWIG_fail;
16377 }
16378 {
16379 wxPoint * resultptr;
16380 resultptr = new wxPoint((wxPoint &) result);
16381 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16382 }
16383 return resultobj;
16384 fail:
16385 return NULL;
16386}
16387
16388
16389static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16390 PyObject *resultobj;
16391 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16392 wxPoint result;
16393 PyObject * obj0 = 0 ;
16394 char *kwnames[] = {
16395 (char *) "self", NULL
16396 };
16397
16398 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16399 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16400 {
16401 PyThreadState* __tstate = wxPyBeginAllowThreads();
16402 result = (arg1)->GetMarginBottomRight();
16403
16404 wxPyEndAllowThreads(__tstate);
16405 if (PyErr_Occurred()) SWIG_fail;
16406 }
16407 {
16408 wxPoint * resultptr;
16409 resultptr = new wxPoint((wxPoint &) result);
16410 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16411 }
16412 return resultobj;
16413 fail:
16414 return NULL;
16415}
16416
16417
16418static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16419 PyObject *resultobj;
16420 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16421 wxPoint result;
16422 PyObject * obj0 = 0 ;
16423 char *kwnames[] = {
16424 (char *) "self", NULL
16425 };
16426
16427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16429 {
16430 PyThreadState* __tstate = wxPyBeginAllowThreads();
16431 result = (arg1)->GetMinMarginTopLeft();
16432
16433 wxPyEndAllowThreads(__tstate);
16434 if (PyErr_Occurred()) SWIG_fail;
16435 }
16436 {
16437 wxPoint * resultptr;
16438 resultptr = new wxPoint((wxPoint &) result);
16439 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16440 }
16441 return resultobj;
16442 fail:
16443 return NULL;
16444}
16445
16446
16447static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16448 PyObject *resultobj;
16449 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16450 wxPoint result;
16451 PyObject * obj0 = 0 ;
16452 char *kwnames[] = {
16453 (char *) "self", NULL
16454 };
16455
16456 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16457 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16458 {
16459 PyThreadState* __tstate = wxPyBeginAllowThreads();
16460 result = (arg1)->GetMinMarginBottomRight();
16461
16462 wxPyEndAllowThreads(__tstate);
16463 if (PyErr_Occurred()) SWIG_fail;
16464 }
16465 {
16466 wxPoint * resultptr;
16467 resultptr = new wxPoint((wxPoint &) result);
16468 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16469 }
16470 return resultobj;
16471 fail:
16472 return NULL;
16473}
16474
16475
16476static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16479 int result;
16480 PyObject * obj0 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16486 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16487 {
16488 PyThreadState* __tstate = wxPyBeginAllowThreads();
16489 result = (int)(arg1)->GetPaperId();
16490
16491 wxPyEndAllowThreads(__tstate);
16492 if (PyErr_Occurred()) SWIG_fail;
16493 }
16494 resultobj = PyInt_FromLong((long)result);
16495 return resultobj;
16496 fail:
16497 return NULL;
16498}
16499
16500
16501static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16502 PyObject *resultobj;
16503 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16504 wxSize result;
16505 PyObject * obj0 = 0 ;
16506 char *kwnames[] = {
16507 (char *) "self", NULL
16508 };
16509
16510 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16511 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16512 {
16513 PyThreadState* __tstate = wxPyBeginAllowThreads();
16514 result = (arg1)->GetPaperSize();
16515
16516 wxPyEndAllowThreads(__tstate);
16517 if (PyErr_Occurred()) SWIG_fail;
16518 }
16519 {
16520 wxSize * resultptr;
16521 resultptr = new wxSize((wxSize &) result);
16522 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16523 }
16524 return resultobj;
16525 fail:
16526 return NULL;
16527}
16528
16529
16530static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16531 PyObject *resultobj;
16532 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16533 wxPrintData *result;
16534 PyObject * obj0 = 0 ;
16535 char *kwnames[] = {
16536 (char *) "self", NULL
16537 };
16538
16539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16541 {
16542 PyThreadState* __tstate = wxPyBeginAllowThreads();
16543 {
16544 wxPrintData &_result_ref = (arg1)->GetPrintData();
16545 result = (wxPrintData *) &_result_ref;
16546 }
16547
16548 wxPyEndAllowThreads(__tstate);
16549 if (PyErr_Occurred()) SWIG_fail;
16550 }
16551 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16552 return resultobj;
16553 fail:
16554 return NULL;
16555}
16556
16557
16558static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16559 PyObject *resultobj;
16560 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16561 bool result;
16562 PyObject * obj0 = 0 ;
16563 char *kwnames[] = {
16564 (char *) "self", NULL
16565 };
16566
16567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",kwnames,&obj0)) goto fail;
16568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16569 {
16570 PyThreadState* __tstate = wxPyBeginAllowThreads();
16571 result = (bool)(arg1)->Ok();
16572
16573 wxPyEndAllowThreads(__tstate);
16574 if (PyErr_Occurred()) SWIG_fail;
16575 }
16576 resultobj = PyInt_FromLong((long)result);
16577 return resultobj;
16578 fail:
16579 return NULL;
16580}
16581
16582
16583static PyObject *_wrap_PageSetupDialogData_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16584 PyObject *resultobj;
16585 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16586 bool arg2 ;
16587 PyObject * obj0 = 0 ;
16588 PyObject * obj1 = 0 ;
16589 char *kwnames[] = {
16590 (char *) "self",(char *) "flag", NULL
16591 };
16592
16593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16595 arg2 = PyInt_AsLong(obj1) ? true : false;
16596 if (PyErr_Occurred()) SWIG_fail;
16597 {
16598 PyThreadState* __tstate = wxPyBeginAllowThreads();
16599 (arg1)->SetDefaultInfo(arg2);
16600
16601 wxPyEndAllowThreads(__tstate);
16602 if (PyErr_Occurred()) SWIG_fail;
16603 }
16604 Py_INCREF(Py_None); resultobj = Py_None;
16605 return resultobj;
16606 fail:
16607 return NULL;
16608}
16609
16610
16611static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16612 PyObject *resultobj;
16613 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16614 bool arg2 ;
16615 PyObject * obj0 = 0 ;
16616 PyObject * obj1 = 0 ;
16617 char *kwnames[] = {
16618 (char *) "self",(char *) "flag", NULL
16619 };
16620
16621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16623 arg2 = PyInt_AsLong(obj1) ? true : false;
16624 if (PyErr_Occurred()) SWIG_fail;
16625 {
16626 PyThreadState* __tstate = wxPyBeginAllowThreads();
16627 (arg1)->SetDefaultMinMargins(arg2);
16628
16629 wxPyEndAllowThreads(__tstate);
16630 if (PyErr_Occurred()) SWIG_fail;
16631 }
16632 Py_INCREF(Py_None); resultobj = Py_None;
16633 return resultobj;
16634 fail:
16635 return NULL;
16636}
16637
16638
16639static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16640 PyObject *resultobj;
16641 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16642 wxPoint *arg2 = 0 ;
16643 wxPoint temp2 ;
16644 PyObject * obj0 = 0 ;
16645 PyObject * obj1 = 0 ;
16646 char *kwnames[] = {
16647 (char *) "self",(char *) "pt", NULL
16648 };
16649
16650 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16651 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16652 {
16653 arg2 = &temp2;
16654 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16655 }
16656 {
16657 PyThreadState* __tstate = wxPyBeginAllowThreads();
16658 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16659
16660 wxPyEndAllowThreads(__tstate);
16661 if (PyErr_Occurred()) SWIG_fail;
16662 }
16663 Py_INCREF(Py_None); resultobj = Py_None;
16664 return resultobj;
16665 fail:
16666 return NULL;
16667}
16668
16669
16670static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16671 PyObject *resultobj;
16672 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16673 wxPoint *arg2 = 0 ;
16674 wxPoint temp2 ;
16675 PyObject * obj0 = 0 ;
16676 PyObject * obj1 = 0 ;
16677 char *kwnames[] = {
16678 (char *) "self",(char *) "pt", NULL
16679 };
16680
16681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16683 {
16684 arg2 = &temp2;
16685 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16686 }
16687 {
16688 PyThreadState* __tstate = wxPyBeginAllowThreads();
16689 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16690
16691 wxPyEndAllowThreads(__tstate);
16692 if (PyErr_Occurred()) SWIG_fail;
16693 }
16694 Py_INCREF(Py_None); resultobj = Py_None;
16695 return resultobj;
16696 fail:
16697 return NULL;
16698}
16699
16700
16701static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16702 PyObject *resultobj;
16703 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16704 wxPoint *arg2 = 0 ;
16705 wxPoint temp2 ;
16706 PyObject * obj0 = 0 ;
16707 PyObject * obj1 = 0 ;
16708 char *kwnames[] = {
16709 (char *) "self",(char *) "pt", NULL
16710 };
16711
16712 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16713 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16714 {
16715 arg2 = &temp2;
16716 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16717 }
16718 {
16719 PyThreadState* __tstate = wxPyBeginAllowThreads();
16720 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16721
16722 wxPyEndAllowThreads(__tstate);
16723 if (PyErr_Occurred()) SWIG_fail;
16724 }
16725 Py_INCREF(Py_None); resultobj = Py_None;
16726 return resultobj;
16727 fail:
16728 return NULL;
16729}
16730
16731
16732static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16733 PyObject *resultobj;
16734 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16735 wxPoint *arg2 = 0 ;
16736 wxPoint temp2 ;
16737 PyObject * obj0 = 0 ;
16738 PyObject * obj1 = 0 ;
16739 char *kwnames[] = {
16740 (char *) "self",(char *) "pt", NULL
16741 };
16742
16743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16745 {
16746 arg2 = &temp2;
16747 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16748 }
16749 {
16750 PyThreadState* __tstate = wxPyBeginAllowThreads();
16751 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16752
16753 wxPyEndAllowThreads(__tstate);
16754 if (PyErr_Occurred()) SWIG_fail;
16755 }
16756 Py_INCREF(Py_None); resultobj = Py_None;
16757 return resultobj;
16758 fail:
16759 return NULL;
16760}
16761
16762
16763static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16764 PyObject *resultobj;
16765 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16766 int arg2 ;
16767 PyObject * obj0 = 0 ;
16768 char *kwnames[] = {
16769 (char *) "self",(char *) "id", NULL
16770 };
16771
16772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16774 {
16775 PyThreadState* __tstate = wxPyBeginAllowThreads();
16776 (arg1)->SetPaperId((wxPaperSize )arg2);
16777
16778 wxPyEndAllowThreads(__tstate);
16779 if (PyErr_Occurred()) SWIG_fail;
16780 }
16781 Py_INCREF(Py_None); resultobj = Py_None;
16782 return resultobj;
16783 fail:
16784 return NULL;
16785}
16786
16787
16788static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16789 PyObject *resultobj;
16790 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16791 wxSize *arg2 = 0 ;
16792 wxSize temp2 ;
16793 PyObject * obj0 = 0 ;
16794 PyObject * obj1 = 0 ;
16795 char *kwnames[] = {
16796 (char *) "self",(char *) "size", NULL
16797 };
16798
16799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16801 {
16802 arg2 = &temp2;
16803 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16804 }
16805 {
16806 PyThreadState* __tstate = wxPyBeginAllowThreads();
16807 (arg1)->SetPaperSize((wxSize const &)*arg2);
16808
16809 wxPyEndAllowThreads(__tstate);
16810 if (PyErr_Occurred()) SWIG_fail;
16811 }
16812 Py_INCREF(Py_None); resultobj = Py_None;
16813 return resultobj;
16814 fail:
16815 return NULL;
16816}
16817
16818
16819static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16820 PyObject *resultobj;
16821 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16822 wxPrintData *arg2 = 0 ;
16823 PyObject * obj0 = 0 ;
16824 PyObject * obj1 = 0 ;
16825 char *kwnames[] = {
16826 (char *) "self",(char *) "printData", NULL
16827 };
16828
16829 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16830 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16831 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16832 if (arg2 == NULL) {
16833 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16834 }
16835 {
16836 PyThreadState* __tstate = wxPyBeginAllowThreads();
16837 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16838
16839 wxPyEndAllowThreads(__tstate);
16840 if (PyErr_Occurred()) SWIG_fail;
16841 }
16842 Py_INCREF(Py_None); resultobj = Py_None;
16843 return resultobj;
16844 fail:
16845 return NULL;
16846}
16847
16848
16849static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16850 PyObject *obj;
16851 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16852 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16853 Py_INCREF(obj);
16854 return Py_BuildValue((char *)"");
16855}
16856static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16857 PyObject *resultobj;
16858 wxWindow *arg1 = (wxWindow *) 0 ;
16859 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16860 wxPageSetupDialog *result;
16861 PyObject * obj0 = 0 ;
16862 PyObject * obj1 = 0 ;
16863 char *kwnames[] = {
16864 (char *) "parent",(char *) "data", NULL
16865 };
16866
16867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
16868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16869 if (obj1) {
16870 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16871 }
16872 {
16873 PyThreadState* __tstate = wxPyBeginAllowThreads();
16874 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
16875
16876 wxPyEndAllowThreads(__tstate);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
16880 return resultobj;
16881 fail:
16882 return NULL;
16883}
16884
16885
16886static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
16887 PyObject *resultobj;
16888 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16889 wxPageSetupDialogData *result;
16890 PyObject * obj0 = 0 ;
16891 char *kwnames[] = {
16892 (char *) "self", NULL
16893 };
16894
16895 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
16896 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16897 {
16898 PyThreadState* __tstate = wxPyBeginAllowThreads();
16899 {
16900 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
16901 result = (wxPageSetupDialogData *) &_result_ref;
16902 }
16903
16904 wxPyEndAllowThreads(__tstate);
16905 if (PyErr_Occurred()) SWIG_fail;
16906 }
16907 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
16908 return resultobj;
16909 fail:
16910 return NULL;
16911}
16912
16913
16914static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
16915 PyObject *resultobj;
16916 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16917 int result;
16918 PyObject * obj0 = 0 ;
16919 char *kwnames[] = {
16920 (char *) "self", NULL
16921 };
16922
16923 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
16924 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16925 {
16926 PyThreadState* __tstate = wxPyBeginAllowThreads();
16927 result = (int)(arg1)->ShowModal();
16928
16929 wxPyEndAllowThreads(__tstate);
16930 if (PyErr_Occurred()) SWIG_fail;
16931 }
16932 resultobj = PyInt_FromLong((long)result);
16933 return resultobj;
16934 fail:
16935 return NULL;
16936}
16937
16938
16939static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
16940 PyObject *obj;
16941 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16942 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
16943 Py_INCREF(obj);
16944 return Py_BuildValue((char *)"");
16945}
16946static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16947 PyObject *resultobj;
16948 wxPrintDialogData *result;
16949 char *kwnames[] = {
16950 NULL
16951 };
16952
16953 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
16954 {
16955 PyThreadState* __tstate = wxPyBeginAllowThreads();
16956 result = (wxPrintDialogData *)new wxPrintDialogData();
16957
16958 wxPyEndAllowThreads(__tstate);
16959 if (PyErr_Occurred()) SWIG_fail;
16960 }
16961 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
16962 return resultobj;
16963 fail:
16964 return NULL;
16965}
16966
16967
16968static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16969 PyObject *resultobj;
16970 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16971 PyObject * obj0 = 0 ;
16972 char *kwnames[] = {
16973 (char *) "self", NULL
16974 };
16975
16976 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
16977 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16978 {
16979 PyThreadState* __tstate = wxPyBeginAllowThreads();
16980 delete arg1;
16981
16982 wxPyEndAllowThreads(__tstate);
16983 if (PyErr_Occurred()) SWIG_fail;
16984 }
16985 Py_INCREF(Py_None); resultobj = Py_None;
16986 return resultobj;
16987 fail:
16988 return NULL;
16989}
16990
16991
16992static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16993 PyObject *resultobj;
16994 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16995 int result;
16996 PyObject * obj0 = 0 ;
16997 char *kwnames[] = {
16998 (char *) "self", NULL
16999 };
17000
17001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
17002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17003 {
17004 PyThreadState* __tstate = wxPyBeginAllowThreads();
17005 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
17006
17007 wxPyEndAllowThreads(__tstate);
17008 if (PyErr_Occurred()) SWIG_fail;
17009 }
17010 resultobj = PyInt_FromLong((long)result);
17011 return resultobj;
17012 fail:
17013 return NULL;
17014}
17015
17016
17017static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17018 PyObject *resultobj;
17019 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17020 int result;
17021 PyObject * obj0 = 0 ;
17022 char *kwnames[] = {
17023 (char *) "self", NULL
17024 };
17025
17026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
17027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17028 {
17029 PyThreadState* __tstate = wxPyBeginAllowThreads();
17030 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
17031
17032 wxPyEndAllowThreads(__tstate);
17033 if (PyErr_Occurred()) SWIG_fail;
17034 }
17035 resultobj = PyInt_FromLong((long)result);
17036 return resultobj;
17037 fail:
17038 return NULL;
17039}
17040
17041
17042static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17043 PyObject *resultobj;
17044 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17045 int result;
17046 PyObject * obj0 = 0 ;
17047 char *kwnames[] = {
17048 (char *) "self", NULL
17049 };
17050
17051 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
17052 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17053 {
17054 PyThreadState* __tstate = wxPyBeginAllowThreads();
17055 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
17056
17057 wxPyEndAllowThreads(__tstate);
17058 if (PyErr_Occurred()) SWIG_fail;
17059 }
17060 resultobj = PyInt_FromLong((long)result);
17061 return resultobj;
17062 fail:
17063 return NULL;
17064}
17065
17066
17067static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17068 PyObject *resultobj;
17069 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17070 int result;
17071 PyObject * obj0 = 0 ;
17072 char *kwnames[] = {
17073 (char *) "self", NULL
17074 };
17075
17076 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
17077 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17078 {
17079 PyThreadState* __tstate = wxPyBeginAllowThreads();
17080 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
17081
17082 wxPyEndAllowThreads(__tstate);
17083 if (PyErr_Occurred()) SWIG_fail;
17084 }
17085 resultobj = PyInt_FromLong((long)result);
17086 return resultobj;
17087 fail:
17088 return NULL;
17089}
17090
17091
17092static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17093 PyObject *resultobj;
17094 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17095 int result;
17096 PyObject * obj0 = 0 ;
17097 char *kwnames[] = {
17098 (char *) "self", NULL
17099 };
17100
17101 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17102 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17103 {
17104 PyThreadState* __tstate = wxPyBeginAllowThreads();
17105 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17106
17107 wxPyEndAllowThreads(__tstate);
17108 if (PyErr_Occurred()) SWIG_fail;
17109 }
17110 resultobj = PyInt_FromLong((long)result);
17111 return resultobj;
17112 fail:
17113 return NULL;
17114}
17115
17116
17117static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17118 PyObject *resultobj;
17119 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17120 bool result;
17121 PyObject * obj0 = 0 ;
17122 char *kwnames[] = {
17123 (char *) "self", NULL
17124 };
17125
17126 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17127 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17128 {
17129 PyThreadState* __tstate = wxPyBeginAllowThreads();
17130 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17131
17132 wxPyEndAllowThreads(__tstate);
17133 if (PyErr_Occurred()) SWIG_fail;
17134 }
17135 resultobj = PyInt_FromLong((long)result);
17136 return resultobj;
17137 fail:
17138 return NULL;
17139}
17140
17141
17142static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17143 PyObject *resultobj;
17144 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17145 bool result;
17146 PyObject * obj0 = 0 ;
17147 char *kwnames[] = {
17148 (char *) "self", NULL
17149 };
17150
17151 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17152 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17153 {
17154 PyThreadState* __tstate = wxPyBeginAllowThreads();
17155 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17156
17157 wxPyEndAllowThreads(__tstate);
17158 if (PyErr_Occurred()) SWIG_fail;
17159 }
17160 resultobj = PyInt_FromLong((long)result);
17161 return resultobj;
17162 fail:
17163 return NULL;
17164}
17165
17166
17167static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17168 PyObject *resultobj;
17169 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17170 bool result;
17171 PyObject * obj0 = 0 ;
17172 char *kwnames[] = {
17173 (char *) "self", NULL
17174 };
17175
17176 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17177 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17178 {
17179 PyThreadState* __tstate = wxPyBeginAllowThreads();
17180 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17181
17182 wxPyEndAllowThreads(__tstate);
17183 if (PyErr_Occurred()) SWIG_fail;
17184 }
17185 resultobj = PyInt_FromLong((long)result);
17186 return resultobj;
17187 fail:
17188 return NULL;
17189}
17190
17191
17192static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17193 PyObject *resultobj;
17194 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17195 bool result;
17196 PyObject * obj0 = 0 ;
17197 char *kwnames[] = {
17198 (char *) "self", NULL
17199 };
17200
17201 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17202 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17203 {
17204 PyThreadState* __tstate = wxPyBeginAllowThreads();
17205 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17206
17207 wxPyEndAllowThreads(__tstate);
17208 if (PyErr_Occurred()) SWIG_fail;
17209 }
17210 resultobj = PyInt_FromLong((long)result);
17211 return resultobj;
17212 fail:
17213 return NULL;
17214}
17215
17216
17217static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17218 PyObject *resultobj;
17219 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17220 bool result;
17221 PyObject * obj0 = 0 ;
17222 char *kwnames[] = {
17223 (char *) "self", NULL
17224 };
17225
17226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17227 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17228 {
17229 PyThreadState* __tstate = wxPyBeginAllowThreads();
17230 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17231
17232 wxPyEndAllowThreads(__tstate);
17233 if (PyErr_Occurred()) SWIG_fail;
17234 }
17235 resultobj = PyInt_FromLong((long)result);
17236 return resultobj;
17237 fail:
17238 return NULL;
17239}
17240
17241
17242static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17243 PyObject *resultobj;
17244 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17245 int arg2 ;
17246 PyObject * obj0 = 0 ;
17247 char *kwnames[] = {
17248 (char *) "self",(char *) "v", NULL
17249 };
17250
17251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17253 {
17254 PyThreadState* __tstate = wxPyBeginAllowThreads();
17255 (arg1)->SetFromPage(arg2);
17256
17257 wxPyEndAllowThreads(__tstate);
17258 if (PyErr_Occurred()) SWIG_fail;
17259 }
17260 Py_INCREF(Py_None); resultobj = Py_None;
17261 return resultobj;
17262 fail:
17263 return NULL;
17264}
17265
17266
17267static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17268 PyObject *resultobj;
17269 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17270 int arg2 ;
17271 PyObject * obj0 = 0 ;
17272 char *kwnames[] = {
17273 (char *) "self",(char *) "v", NULL
17274 };
17275
17276 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17277 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17278 {
17279 PyThreadState* __tstate = wxPyBeginAllowThreads();
17280 (arg1)->SetToPage(arg2);
17281
17282 wxPyEndAllowThreads(__tstate);
17283 if (PyErr_Occurred()) SWIG_fail;
17284 }
17285 Py_INCREF(Py_None); resultobj = Py_None;
17286 return resultobj;
17287 fail:
17288 return NULL;
17289}
17290
17291
17292static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17293 PyObject *resultobj;
17294 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17295 int arg2 ;
17296 PyObject * obj0 = 0 ;
17297 char *kwnames[] = {
17298 (char *) "self",(char *) "v", NULL
17299 };
17300
17301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17303 {
17304 PyThreadState* __tstate = wxPyBeginAllowThreads();
17305 (arg1)->SetMinPage(arg2);
17306
17307 wxPyEndAllowThreads(__tstate);
17308 if (PyErr_Occurred()) SWIG_fail;
17309 }
17310 Py_INCREF(Py_None); resultobj = Py_None;
17311 return resultobj;
17312 fail:
17313 return NULL;
17314}
17315
17316
17317static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17318 PyObject *resultobj;
17319 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17320 int arg2 ;
17321 PyObject * obj0 = 0 ;
17322 char *kwnames[] = {
17323 (char *) "self",(char *) "v", NULL
17324 };
17325
17326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17328 {
17329 PyThreadState* __tstate = wxPyBeginAllowThreads();
17330 (arg1)->SetMaxPage(arg2);
17331
17332 wxPyEndAllowThreads(__tstate);
17333 if (PyErr_Occurred()) SWIG_fail;
17334 }
17335 Py_INCREF(Py_None); resultobj = Py_None;
17336 return resultobj;
17337 fail:
17338 return NULL;
17339}
17340
17341
17342static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17343 PyObject *resultobj;
17344 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17345 int arg2 ;
17346 PyObject * obj0 = 0 ;
17347 char *kwnames[] = {
17348 (char *) "self",(char *) "v", NULL
17349 };
17350
17351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17353 {
17354 PyThreadState* __tstate = wxPyBeginAllowThreads();
17355 (arg1)->SetNoCopies(arg2);
17356
17357 wxPyEndAllowThreads(__tstate);
17358 if (PyErr_Occurred()) SWIG_fail;
17359 }
17360 Py_INCREF(Py_None); resultobj = Py_None;
17361 return resultobj;
17362 fail:
17363 return NULL;
17364}
17365
17366
17367static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17368 PyObject *resultobj;
17369 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17370 bool arg2 ;
17371 PyObject * obj0 = 0 ;
17372 PyObject * obj1 = 0 ;
17373 char *kwnames[] = {
17374 (char *) "self",(char *) "flag", NULL
17375 };
17376
17377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17379 arg2 = PyInt_AsLong(obj1) ? true : false;
17380 if (PyErr_Occurred()) SWIG_fail;
17381 {
17382 PyThreadState* __tstate = wxPyBeginAllowThreads();
17383 (arg1)->SetAllPages(arg2);
17384
17385 wxPyEndAllowThreads(__tstate);
17386 if (PyErr_Occurred()) SWIG_fail;
17387 }
17388 Py_INCREF(Py_None); resultobj = Py_None;
17389 return resultobj;
17390 fail:
17391 return NULL;
17392}
17393
17394
17395static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17396 PyObject *resultobj;
17397 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17398 bool arg2 ;
17399 PyObject * obj0 = 0 ;
17400 PyObject * obj1 = 0 ;
17401 char *kwnames[] = {
17402 (char *) "self",(char *) "flag", NULL
17403 };
17404
17405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17407 arg2 = PyInt_AsLong(obj1) ? true : false;
17408 if (PyErr_Occurred()) SWIG_fail;
17409 {
17410 PyThreadState* __tstate = wxPyBeginAllowThreads();
17411 (arg1)->SetSelection(arg2);
17412
17413 wxPyEndAllowThreads(__tstate);
17414 if (PyErr_Occurred()) SWIG_fail;
17415 }
17416 Py_INCREF(Py_None); resultobj = Py_None;
17417 return resultobj;
17418 fail:
17419 return NULL;
17420}
17421
17422
17423static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17424 PyObject *resultobj;
17425 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17426 bool arg2 ;
17427 PyObject * obj0 = 0 ;
17428 PyObject * obj1 = 0 ;
17429 char *kwnames[] = {
17430 (char *) "self",(char *) "flag", NULL
17431 };
17432
17433 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17434 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17435 arg2 = PyInt_AsLong(obj1) ? true : false;
17436 if (PyErr_Occurred()) SWIG_fail;
17437 {
17438 PyThreadState* __tstate = wxPyBeginAllowThreads();
17439 (arg1)->SetCollate(arg2);
17440
17441 wxPyEndAllowThreads(__tstate);
17442 if (PyErr_Occurred()) SWIG_fail;
17443 }
17444 Py_INCREF(Py_None); resultobj = Py_None;
17445 return resultobj;
17446 fail:
17447 return NULL;
17448}
17449
17450
17451static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17452 PyObject *resultobj;
17453 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17454 bool arg2 ;
17455 PyObject * obj0 = 0 ;
17456 PyObject * obj1 = 0 ;
17457 char *kwnames[] = {
17458 (char *) "self",(char *) "flag", NULL
17459 };
17460
17461 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17462 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17463 arg2 = PyInt_AsLong(obj1) ? true : false;
17464 if (PyErr_Occurred()) SWIG_fail;
17465 {
17466 PyThreadState* __tstate = wxPyBeginAllowThreads();
17467 (arg1)->SetPrintToFile(arg2);
17468
17469 wxPyEndAllowThreads(__tstate);
17470 if (PyErr_Occurred()) SWIG_fail;
17471 }
17472 Py_INCREF(Py_None); resultobj = Py_None;
17473 return resultobj;
17474 fail:
17475 return NULL;
17476}
17477
17478
17479static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17480 PyObject *resultobj;
17481 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17482 bool arg2 ;
17483 PyObject * obj0 = 0 ;
17484 PyObject * obj1 = 0 ;
17485 char *kwnames[] = {
17486 (char *) "self",(char *) "flag", NULL
17487 };
17488
17489 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17490 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17491 arg2 = PyInt_AsLong(obj1) ? true : false;
17492 if (PyErr_Occurred()) SWIG_fail;
17493 {
17494 PyThreadState* __tstate = wxPyBeginAllowThreads();
17495 (arg1)->SetSetupDialog(arg2);
17496
17497 wxPyEndAllowThreads(__tstate);
17498 if (PyErr_Occurred()) SWIG_fail;
17499 }
17500 Py_INCREF(Py_None); resultobj = Py_None;
17501 return resultobj;
17502 fail:
17503 return NULL;
17504}
17505
17506
17507static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17508 PyObject *resultobj;
17509 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17510 bool arg2 ;
17511 PyObject * obj0 = 0 ;
17512 PyObject * obj1 = 0 ;
17513 char *kwnames[] = {
17514 (char *) "self",(char *) "flag", NULL
17515 };
17516
17517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17519 arg2 = PyInt_AsLong(obj1) ? true : false;
17520 if (PyErr_Occurred()) SWIG_fail;
17521 {
17522 PyThreadState* __tstate = wxPyBeginAllowThreads();
17523 (arg1)->EnablePrintToFile(arg2);
17524
17525 wxPyEndAllowThreads(__tstate);
17526 if (PyErr_Occurred()) SWIG_fail;
17527 }
17528 Py_INCREF(Py_None); resultobj = Py_None;
17529 return resultobj;
17530 fail:
17531 return NULL;
17532}
17533
17534
17535static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17536 PyObject *resultobj;
17537 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17538 bool arg2 ;
17539 PyObject * obj0 = 0 ;
17540 PyObject * obj1 = 0 ;
17541 char *kwnames[] = {
17542 (char *) "self",(char *) "flag", NULL
17543 };
17544
17545 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17546 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17547 arg2 = PyInt_AsLong(obj1) ? true : false;
17548 if (PyErr_Occurred()) SWIG_fail;
17549 {
17550 PyThreadState* __tstate = wxPyBeginAllowThreads();
17551 (arg1)->EnableSelection(arg2);
17552
17553 wxPyEndAllowThreads(__tstate);
17554 if (PyErr_Occurred()) SWIG_fail;
17555 }
17556 Py_INCREF(Py_None); resultobj = Py_None;
17557 return resultobj;
17558 fail:
17559 return NULL;
17560}
17561
17562
17563static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17564 PyObject *resultobj;
17565 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17566 bool arg2 ;
17567 PyObject * obj0 = 0 ;
17568 PyObject * obj1 = 0 ;
17569 char *kwnames[] = {
17570 (char *) "self",(char *) "flag", NULL
17571 };
17572
17573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17575 arg2 = PyInt_AsLong(obj1) ? true : false;
17576 if (PyErr_Occurred()) SWIG_fail;
17577 {
17578 PyThreadState* __tstate = wxPyBeginAllowThreads();
17579 (arg1)->EnablePageNumbers(arg2);
17580
17581 wxPyEndAllowThreads(__tstate);
17582 if (PyErr_Occurred()) SWIG_fail;
17583 }
17584 Py_INCREF(Py_None); resultobj = Py_None;
17585 return resultobj;
17586 fail:
17587 return NULL;
17588}
17589
17590
17591static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17592 PyObject *resultobj;
17593 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17594 bool arg2 ;
17595 PyObject * obj0 = 0 ;
17596 PyObject * obj1 = 0 ;
17597 char *kwnames[] = {
17598 (char *) "self",(char *) "flag", NULL
17599 };
17600
17601 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17602 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17603 arg2 = PyInt_AsLong(obj1) ? true : false;
17604 if (PyErr_Occurred()) SWIG_fail;
17605 {
17606 PyThreadState* __tstate = wxPyBeginAllowThreads();
17607 (arg1)->EnableHelp(arg2);
17608
17609 wxPyEndAllowThreads(__tstate);
17610 if (PyErr_Occurred()) SWIG_fail;
17611 }
17612 Py_INCREF(Py_None); resultobj = Py_None;
17613 return resultobj;
17614 fail:
17615 return NULL;
17616}
17617
17618
17619static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17620 PyObject *resultobj;
17621 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17622 bool result;
17623 PyObject * obj0 = 0 ;
17624 char *kwnames[] = {
17625 (char *) "self", NULL
17626 };
17627
17628 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17629 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17630 {
17631 PyThreadState* __tstate = wxPyBeginAllowThreads();
17632 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17633
17634 wxPyEndAllowThreads(__tstate);
17635 if (PyErr_Occurred()) SWIG_fail;
17636 }
17637 resultobj = PyInt_FromLong((long)result);
17638 return resultobj;
17639 fail:
17640 return NULL;
17641}
17642
17643
17644static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17645 PyObject *resultobj;
17646 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17647 bool result;
17648 PyObject * obj0 = 0 ;
17649 char *kwnames[] = {
17650 (char *) "self", NULL
17651 };
17652
17653 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17654 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17655 {
17656 PyThreadState* __tstate = wxPyBeginAllowThreads();
17657 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17658
17659 wxPyEndAllowThreads(__tstate);
17660 if (PyErr_Occurred()) SWIG_fail;
17661 }
17662 resultobj = PyInt_FromLong((long)result);
17663 return resultobj;
17664 fail:
17665 return NULL;
17666}
17667
17668
17669static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17670 PyObject *resultobj;
17671 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17672 bool result;
17673 PyObject * obj0 = 0 ;
17674 char *kwnames[] = {
17675 (char *) "self", NULL
17676 };
17677
17678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17680 {
17681 PyThreadState* __tstate = wxPyBeginAllowThreads();
17682 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17683
17684 wxPyEndAllowThreads(__tstate);
17685 if (PyErr_Occurred()) SWIG_fail;
17686 }
17687 resultobj = PyInt_FromLong((long)result);
17688 return resultobj;
17689 fail:
17690 return NULL;
17691}
17692
17693
17694static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17695 PyObject *resultobj;
17696 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17697 bool result;
17698 PyObject * obj0 = 0 ;
17699 char *kwnames[] = {
17700 (char *) "self", NULL
17701 };
17702
17703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17705 {
17706 PyThreadState* __tstate = wxPyBeginAllowThreads();
17707 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17708
17709 wxPyEndAllowThreads(__tstate);
17710 if (PyErr_Occurred()) SWIG_fail;
17711 }
17712 resultobj = PyInt_FromLong((long)result);
17713 return resultobj;
17714 fail:
17715 return NULL;
17716}
17717
17718
17719static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17720 PyObject *resultobj;
17721 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17722 bool result;
17723 PyObject * obj0 = 0 ;
17724 char *kwnames[] = {
17725 (char *) "self", NULL
17726 };
17727
17728 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17729 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17730 {
17731 PyThreadState* __tstate = wxPyBeginAllowThreads();
17732 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17733
17734 wxPyEndAllowThreads(__tstate);
17735 if (PyErr_Occurred()) SWIG_fail;
17736 }
17737 resultobj = PyInt_FromLong((long)result);
17738 return resultobj;
17739 fail:
17740 return NULL;
17741}
17742
17743
17744static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17745 PyObject *resultobj;
17746 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17747 wxPrintData *result;
17748 PyObject * obj0 = 0 ;
17749 char *kwnames[] = {
17750 (char *) "self", NULL
17751 };
17752
17753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17755 {
17756 PyThreadState* __tstate = wxPyBeginAllowThreads();
17757 {
17758 wxPrintData &_result_ref = (arg1)->GetPrintData();
17759 result = (wxPrintData *) &_result_ref;
17760 }
17761
17762 wxPyEndAllowThreads(__tstate);
17763 if (PyErr_Occurred()) SWIG_fail;
17764 }
17765 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17766 return resultobj;
17767 fail:
17768 return NULL;
17769}
17770
17771
17772static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17773 PyObject *resultobj;
17774 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17775 wxPrintData *arg2 = 0 ;
17776 PyObject * obj0 = 0 ;
17777 PyObject * obj1 = 0 ;
17778 char *kwnames[] = {
17779 (char *) "self",(char *) "printData", NULL
17780 };
17781
17782 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17783 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17784 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17785 if (arg2 == NULL) {
17786 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17787 }
17788 {
17789 PyThreadState* __tstate = wxPyBeginAllowThreads();
17790 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17791
17792 wxPyEndAllowThreads(__tstate);
17793 if (PyErr_Occurred()) SWIG_fail;
17794 }
17795 Py_INCREF(Py_None); resultobj = Py_None;
17796 return resultobj;
17797 fail:
17798 return NULL;
17799}
17800
17801
17802static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17803 PyObject *obj;
17804 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17805 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17806 Py_INCREF(obj);
17807 return Py_BuildValue((char *)"");
17808}
17809static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17810 PyObject *resultobj;
17811 wxWindow *arg1 = (wxWindow *) 0 ;
17812 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17813 wxPrintDialog *result;
17814 PyObject * obj0 = 0 ;
17815 PyObject * obj1 = 0 ;
17816 char *kwnames[] = {
17817 (char *) "parent",(char *) "data", NULL
17818 };
17819
17820 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17821 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17822 if (obj1) {
17823 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17824 }
17825 {
17826 PyThreadState* __tstate = wxPyBeginAllowThreads();
17827 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17828
17829 wxPyEndAllowThreads(__tstate);
17830 if (PyErr_Occurred()) SWIG_fail;
17831 }
17832 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17833 return resultobj;
17834 fail:
17835 return NULL;
17836}
17837
17838
17839static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17840 PyObject *resultobj;
17841 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17842 wxPrintDialogData *result;
17843 PyObject * obj0 = 0 ;
17844 char *kwnames[] = {
17845 (char *) "self", NULL
17846 };
17847
17848 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17849 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17850 {
17851 PyThreadState* __tstate = wxPyBeginAllowThreads();
17852 {
17853 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17854 result = (wxPrintDialogData *) &_result_ref;
17855 }
17856
17857 wxPyEndAllowThreads(__tstate);
17858 if (PyErr_Occurred()) SWIG_fail;
17859 }
17860 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17861 return resultobj;
17862 fail:
17863 return NULL;
17864}
17865
17866
17867static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17868 PyObject *resultobj;
17869 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17870 wxDC *result;
17871 PyObject * obj0 = 0 ;
17872 char *kwnames[] = {
17873 (char *) "self", NULL
17874 };
17875
17876 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
17877 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17878 {
17879 PyThreadState* __tstate = wxPyBeginAllowThreads();
17880 result = (wxDC *)(arg1)->GetPrintDC();
17881
17882 wxPyEndAllowThreads(__tstate);
17883 if (PyErr_Occurred()) SWIG_fail;
17884 }
17885 {
17886 resultobj = wxPyMake_wxObject(result);
17887 }
17888 return resultobj;
17889 fail:
17890 return NULL;
17891}
17892
17893
17894static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17895 PyObject *resultobj;
17896 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17897 int result;
17898 PyObject * obj0 = 0 ;
17899 char *kwnames[] = {
17900 (char *) "self", NULL
17901 };
17902
17903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
17904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17905 {
17906 PyThreadState* __tstate = wxPyBeginAllowThreads();
17907 result = (int)(arg1)->ShowModal();
17908
17909 wxPyEndAllowThreads(__tstate);
17910 if (PyErr_Occurred()) SWIG_fail;
17911 }
17912 resultobj = PyInt_FromLong((long)result);
17913 return resultobj;
17914 fail:
17915 return NULL;
17916}
17917
17918
17919static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
17920 PyObject *obj;
17921 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17922 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
17923 Py_INCREF(obj);
17924 return Py_BuildValue((char *)"");
17925}
17926static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17927 PyObject *resultobj;
17928 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
17929 wxPrinter *result;
17930 PyObject * obj0 = 0 ;
17931 char *kwnames[] = {
17932 (char *) "data", NULL
17933 };
17934
17935 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
17936 if (obj0) {
17937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17938 }
17939 {
17940 PyThreadState* __tstate = wxPyBeginAllowThreads();
17941 result = (wxPrinter *)new wxPrinter(arg1);
17942
17943 wxPyEndAllowThreads(__tstate);
17944 if (PyErr_Occurred()) SWIG_fail;
17945 }
17946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
17947 return resultobj;
17948 fail:
17949 return NULL;
17950}
17951
17952
17953static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17954 PyObject *resultobj;
17955 wxPrinter *arg1 = (wxPrinter *) 0 ;
17956 PyObject * obj0 = 0 ;
17957 char *kwnames[] = {
17958 (char *) "self", NULL
17959 };
17960
17961 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
17962 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17963 {
17964 PyThreadState* __tstate = wxPyBeginAllowThreads();
17965 delete arg1;
17966
17967 wxPyEndAllowThreads(__tstate);
17968 if (PyErr_Occurred()) SWIG_fail;
17969 }
17970 Py_INCREF(Py_None); resultobj = Py_None;
17971 return resultobj;
17972 fail:
17973 return NULL;
17974}
17975
17976
17977static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17978 PyObject *resultobj;
17979 wxPrinter *arg1 = (wxPrinter *) 0 ;
17980 wxWindow *arg2 = (wxWindow *) 0 ;
17981 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17982 PyObject * obj0 = 0 ;
17983 PyObject * obj1 = 0 ;
17984 PyObject * obj2 = 0 ;
17985 char *kwnames[] = {
17986 (char *) "self",(char *) "parent",(char *) "printout", NULL
17987 };
17988
17989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
17990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17991 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17992 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17993 {
17994 PyThreadState* __tstate = wxPyBeginAllowThreads();
17995 (arg1)->CreateAbortWindow(arg2,arg3);
17996
17997 wxPyEndAllowThreads(__tstate);
17998 if (PyErr_Occurred()) SWIG_fail;
17999 }
18000 Py_INCREF(Py_None); resultobj = Py_None;
18001 return resultobj;
18002 fail:
18003 return NULL;
18004}
18005
18006
18007static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
18008 PyObject *resultobj;
18009 wxPrinter *arg1 = (wxPrinter *) 0 ;
18010 wxPrintDialogData *result;
18011 PyObject * obj0 = 0 ;
18012 char *kwnames[] = {
18013 (char *) "self", NULL
18014 };
18015
18016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
18017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18018 {
18019 PyThreadState* __tstate = wxPyBeginAllowThreads();
18020 {
18021 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
18022 result = (wxPrintDialogData *) &_result_ref;
18023 }
18024
18025 wxPyEndAllowThreads(__tstate);
18026 if (PyErr_Occurred()) SWIG_fail;
18027 }
18028 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
18029 return resultobj;
18030 fail:
18031 return NULL;
18032}
18033
18034
18035static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
18036 PyObject *resultobj;
18037 wxPrinter *arg1 = (wxPrinter *) 0 ;
18038 wxWindow *arg2 = (wxWindow *) 0 ;
18039 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
423f194a 18040 int arg4 = (int) True ;
d14a1e28
RD
18041 bool result;
18042 PyObject * obj0 = 0 ;
18043 PyObject * obj1 = 0 ;
18044 PyObject * obj2 = 0 ;
18045 char *kwnames[] = {
18046 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
18047 };
18048
18049 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
18050 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18051 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18052 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18053 {
18054 PyThreadState* __tstate = wxPyBeginAllowThreads();
18055 result = (bool)(arg1)->Print(arg2,arg3,arg4);
18056
18057 wxPyEndAllowThreads(__tstate);
18058 if (PyErr_Occurred()) SWIG_fail;
18059 }
18060 resultobj = PyInt_FromLong((long)result);
18061 return resultobj;
18062 fail:
18063 return NULL;
18064}
18065
18066
18067static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
18068 PyObject *resultobj;
18069 wxPrinter *arg1 = (wxPrinter *) 0 ;
18070 wxWindow *arg2 = (wxWindow *) 0 ;
18071 wxDC *result;
18072 PyObject * obj0 = 0 ;
18073 PyObject * obj1 = 0 ;
18074 char *kwnames[] = {
18075 (char *) "self",(char *) "parent", NULL
18076 };
18077
18078 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
18079 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18080 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18081 {
18082 PyThreadState* __tstate = wxPyBeginAllowThreads();
18083 result = (wxDC *)(arg1)->PrintDialog(arg2);
18084
18085 wxPyEndAllowThreads(__tstate);
18086 if (PyErr_Occurred()) SWIG_fail;
18087 }
18088 {
18089 resultobj = wxPyMake_wxObject(result);
18090 }
18091 return resultobj;
18092 fail:
18093 return NULL;
18094}
18095
18096
18097static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18098 PyObject *resultobj;
18099 wxPrinter *arg1 = (wxPrinter *) 0 ;
18100 wxWindow *arg2 = (wxWindow *) 0 ;
18101 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18102 wxString *arg4 = 0 ;
423f194a 18103 bool temp4 = False ;
d14a1e28
RD
18104 PyObject * obj0 = 0 ;
18105 PyObject * obj1 = 0 ;
18106 PyObject * obj2 = 0 ;
18107 PyObject * obj3 = 0 ;
18108 char *kwnames[] = {
18109 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18110 };
18111
18112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18114 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18115 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18116 {
18117 arg4 = wxString_in_helper(obj3);
18118 if (arg4 == NULL) SWIG_fail;
423f194a 18119 temp4 = True;
d14a1e28
RD
18120 }
18121 {
18122 PyThreadState* __tstate = wxPyBeginAllowThreads();
18123 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18124
18125 wxPyEndAllowThreads(__tstate);
18126 if (PyErr_Occurred()) SWIG_fail;
18127 }
18128 Py_INCREF(Py_None); resultobj = Py_None;
18129 {
18130 if (temp4)
18131 delete arg4;
18132 }
18133 return resultobj;
18134 fail:
18135 {
18136 if (temp4)
18137 delete arg4;
18138 }
18139 return NULL;
18140}
18141
18142
18143static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18144 PyObject *resultobj;
18145 wxPrinter *arg1 = (wxPrinter *) 0 ;
18146 wxWindow *arg2 = (wxWindow *) 0 ;
18147 bool result;
18148 PyObject * obj0 = 0 ;
18149 PyObject * obj1 = 0 ;
18150 char *kwnames[] = {
18151 (char *) "self",(char *) "parent", NULL
18152 };
18153
18154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18155 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18156 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18157 {
18158 PyThreadState* __tstate = wxPyBeginAllowThreads();
18159 result = (bool)(arg1)->Setup(arg2);
18160
18161 wxPyEndAllowThreads(__tstate);
18162 if (PyErr_Occurred()) SWIG_fail;
18163 }
18164 resultobj = PyInt_FromLong((long)result);
18165 return resultobj;
18166 fail:
18167 return NULL;
18168}
18169
18170
18171static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18172 PyObject *resultobj;
18173 wxPrinter *arg1 = (wxPrinter *) 0 ;
18174 bool result;
18175 PyObject * obj0 = 0 ;
18176 char *kwnames[] = {
18177 (char *) "self", NULL
18178 };
18179
18180 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18181 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18182 {
18183 PyThreadState* __tstate = wxPyBeginAllowThreads();
18184 result = (bool)(arg1)->GetAbort();
18185
18186 wxPyEndAllowThreads(__tstate);
18187 if (PyErr_Occurred()) SWIG_fail;
18188 }
18189 resultobj = PyInt_FromLong((long)result);
18190 return resultobj;
18191 fail:
18192 return NULL;
18193}
18194
18195
18196static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18197 PyObject *resultobj;
18198 int result;
18199 char *kwnames[] = {
18200 NULL
18201 };
18202
18203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18204 {
18205 PyThreadState* __tstate = wxPyBeginAllowThreads();
18206 result = (int)wxPrinter::GetLastError();
18207
18208 wxPyEndAllowThreads(__tstate);
18209 if (PyErr_Occurred()) SWIG_fail;
18210 }
18211 resultobj = PyInt_FromLong((long)result);
18212 return resultobj;
18213 fail:
18214 return NULL;
18215}
18216
18217
18218static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18219 PyObject *obj;
18220 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18221 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18222 Py_INCREF(obj);
18223 return Py_BuildValue((char *)"");
18224}
18225static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18226 PyObject *resultobj;
18227 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18228 wxString *arg1 = (wxString *) &arg1_defvalue ;
18229 wxPyPrintout *result;
423f194a 18230 bool temp1 = False ;
d14a1e28
RD
18231 PyObject * obj0 = 0 ;
18232 char *kwnames[] = {
18233 (char *) "title", NULL
18234 };
18235
18236 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18237 if (obj0) {
18238 {
18239 arg1 = wxString_in_helper(obj0);
18240 if (arg1 == NULL) SWIG_fail;
423f194a 18241 temp1 = True;
d14a1e28
RD
18242 }
18243 }
18244 {
18245 PyThreadState* __tstate = wxPyBeginAllowThreads();
18246 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18247
18248 wxPyEndAllowThreads(__tstate);
18249 if (PyErr_Occurred()) SWIG_fail;
18250 }
18251 {
18252 resultobj = wxPyMake_wxObject(result);
18253 }
18254 {
18255 if (temp1)
18256 delete arg1;
18257 }
18258 return resultobj;
18259 fail:
18260 {
18261 if (temp1)
18262 delete arg1;
18263 }
18264 return NULL;
18265}
18266
18267
18268static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18269 PyObject *resultobj;
18270 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18271 PyObject *arg2 = (PyObject *) 0 ;
18272 PyObject *arg3 = (PyObject *) 0 ;
18273 PyObject * obj0 = 0 ;
18274 PyObject * obj1 = 0 ;
18275 PyObject * obj2 = 0 ;
18276 char *kwnames[] = {
18277 (char *) "self",(char *) "self",(char *) "_class", NULL
18278 };
18279
18280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18282 arg2 = obj1;
18283 arg3 = obj2;
18284 {
18285 PyThreadState* __tstate = wxPyBeginAllowThreads();
18286 (arg1)->_setCallbackInfo(arg2,arg3);
18287
18288 wxPyEndAllowThreads(__tstate);
18289 if (PyErr_Occurred()) SWIG_fail;
18290 }
18291 Py_INCREF(Py_None); resultobj = Py_None;
18292 return resultobj;
18293 fail:
18294 return NULL;
18295}
18296
18297
18298static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18299 PyObject *resultobj;
18300 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18301 wxString result;
18302 PyObject * obj0 = 0 ;
18303 char *kwnames[] = {
18304 (char *) "self", NULL
18305 };
18306
18307 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18308 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18309 {
18310 PyThreadState* __tstate = wxPyBeginAllowThreads();
18311 result = ((wxPyPrintout const *)arg1)->GetTitle();
18312
18313 wxPyEndAllowThreads(__tstate);
18314 if (PyErr_Occurred()) SWIG_fail;
18315 }
18316 {
18317#if wxUSE_UNICODE
18318 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18319#else
18320 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18321#endif
18322 }
18323 return resultobj;
18324 fail:
18325 return NULL;
18326}
18327
18328
18329static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18330 PyObject *resultobj;
18331 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18332 wxDC *result;
18333 PyObject * obj0 = 0 ;
18334 char *kwnames[] = {
18335 (char *) "self", NULL
18336 };
18337
18338 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18339 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18340 {
18341 PyThreadState* __tstate = wxPyBeginAllowThreads();
18342 result = (wxDC *)(arg1)->GetDC();
18343
18344 wxPyEndAllowThreads(__tstate);
18345 if (PyErr_Occurred()) SWIG_fail;
18346 }
18347 {
18348 resultobj = wxPyMake_wxObject(result);
18349 }
18350 return resultobj;
18351 fail:
18352 return NULL;
18353}
18354
18355
18356static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18357 PyObject *resultobj;
18358 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18359 wxDC *arg2 = (wxDC *) 0 ;
18360 PyObject * obj0 = 0 ;
18361 PyObject * obj1 = 0 ;
18362 char *kwnames[] = {
18363 (char *) "self",(char *) "dc", NULL
18364 };
18365
18366 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18367 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18368 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18369 {
18370 PyThreadState* __tstate = wxPyBeginAllowThreads();
18371 (arg1)->SetDC(arg2);
18372
18373 wxPyEndAllowThreads(__tstate);
18374 if (PyErr_Occurred()) SWIG_fail;
18375 }
18376 Py_INCREF(Py_None); resultobj = Py_None;
18377 return resultobj;
18378 fail:
18379 return NULL;
18380}
18381
18382
44127b65 18383static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18384 PyObject *resultobj;
18385 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
44127b65
RD
18386 int arg2 ;
18387 int arg3 ;
d14a1e28
RD
18388 PyObject * obj0 = 0 ;
18389 char *kwnames[] = {
44127b65 18390 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
18391 };
18392
44127b65 18393 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
d14a1e28
RD
18394 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18395 {
18396 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18397 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
18398
18399 wxPyEndAllowThreads(__tstate);
18400 if (PyErr_Occurred()) SWIG_fail;
18401 }
18402 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
18403 return resultobj;
18404 fail:
18405 return NULL;
18406}
18407
18408
44127b65 18409static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18410 PyObject *resultobj;
18411 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
44127b65
RD
18412 int *arg2 = (int *) 0 ;
18413 int *arg3 = (int *) 0 ;
18414 int temp2 ;
18415 int temp3 ;
d14a1e28
RD
18416 PyObject * obj0 = 0 ;
18417 char *kwnames[] = {
44127b65 18418 (char *) "self", NULL
d14a1e28
RD
18419 };
18420
44127b65
RD
18421 arg2 = &temp2;
18422 arg3 = &temp3;
18423 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
d14a1e28
RD
18424 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18425 {
18426 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18427 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
18428
18429 wxPyEndAllowThreads(__tstate);
18430 if (PyErr_Occurred()) SWIG_fail;
18431 }
18432 Py_INCREF(Py_None); resultobj = Py_None;
44127b65
RD
18433 {
18434 PyObject *o = PyInt_FromLong((long) (*arg2));
18435 resultobj = t_output_helper(resultobj,o);
18436 }
18437 {
18438 PyObject *o = PyInt_FromLong((long) (*arg3));
18439 resultobj = t_output_helper(resultobj,o);
18440 }
d14a1e28
RD
18441 return resultobj;
18442 fail:
18443 return NULL;
18444}
18445
18446
18447static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18448 PyObject *resultobj;
18449 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18450 int arg2 ;
18451 int arg3 ;
18452 PyObject * obj0 = 0 ;
18453 char *kwnames[] = {
18454 (char *) "self",(char *) "w",(char *) "h", NULL
18455 };
18456
18457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18459 {
18460 PyThreadState* __tstate = wxPyBeginAllowThreads();
18461 (arg1)->SetPageSizeMM(arg2,arg3);
18462
18463 wxPyEndAllowThreads(__tstate);
18464 if (PyErr_Occurred()) SWIG_fail;
18465 }
18466 Py_INCREF(Py_None); resultobj = Py_None;
18467 return resultobj;
18468 fail:
18469 return NULL;
18470}
18471
18472
18473static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18474 PyObject *resultobj;
18475 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18476 int *arg2 = (int *) 0 ;
18477 int *arg3 = (int *) 0 ;
18478 int temp2 ;
18479 int temp3 ;
18480 PyObject * obj0 = 0 ;
18481 char *kwnames[] = {
18482 (char *) "self", NULL
18483 };
18484
18485 arg2 = &temp2;
18486 arg3 = &temp3;
18487 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18488 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18489 {
18490 PyThreadState* __tstate = wxPyBeginAllowThreads();
18491 (arg1)->GetPageSizeMM(arg2,arg3);
18492
18493 wxPyEndAllowThreads(__tstate);
18494 if (PyErr_Occurred()) SWIG_fail;
18495 }
18496 Py_INCREF(Py_None); resultobj = Py_None;
18497 {
18498 PyObject *o = PyInt_FromLong((long) (*arg2));
18499 resultobj = t_output_helper(resultobj,o);
18500 }
18501 {
18502 PyObject *o = PyInt_FromLong((long) (*arg3));
18503 resultobj = t_output_helper(resultobj,o);
18504 }
18505 return resultobj;
18506 fail:
18507 return NULL;
18508}
18509
18510
18511static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18512 PyObject *resultobj;
18513 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18514 int arg2 ;
18515 int arg3 ;
18516 PyObject * obj0 = 0 ;
18517 char *kwnames[] = {
18518 (char *) "self",(char *) "x",(char *) "y", NULL
18519 };
18520
18521 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18522 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18523 {
18524 PyThreadState* __tstate = wxPyBeginAllowThreads();
18525 (arg1)->SetPPIScreen(arg2,arg3);
18526
18527 wxPyEndAllowThreads(__tstate);
18528 if (PyErr_Occurred()) SWIG_fail;
18529 }
18530 Py_INCREF(Py_None); resultobj = Py_None;
18531 return resultobj;
18532 fail:
18533 return NULL;
18534}
18535
18536
18537static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18538 PyObject *resultobj;
18539 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18540 int *arg2 = (int *) 0 ;
18541 int *arg3 = (int *) 0 ;
18542 int temp2 ;
18543 int temp3 ;
18544 PyObject * obj0 = 0 ;
18545 char *kwnames[] = {
18546 (char *) "self", NULL
18547 };
18548
18549 arg2 = &temp2;
18550 arg3 = &temp3;
18551 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18552 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18553 {
18554 PyThreadState* __tstate = wxPyBeginAllowThreads();
18555 (arg1)->GetPPIScreen(arg2,arg3);
18556
18557 wxPyEndAllowThreads(__tstate);
18558 if (PyErr_Occurred()) SWIG_fail;
18559 }
18560 Py_INCREF(Py_None); resultobj = Py_None;
18561 {
18562 PyObject *o = PyInt_FromLong((long) (*arg2));
18563 resultobj = t_output_helper(resultobj,o);
18564 }
18565 {
18566 PyObject *o = PyInt_FromLong((long) (*arg3));
18567 resultobj = t_output_helper(resultobj,o);
18568 }
18569 return resultobj;
18570 fail:
18571 return NULL;
18572}
18573
18574
18575static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18576 PyObject *resultobj;
18577 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18578 int arg2 ;
18579 int arg3 ;
18580 PyObject * obj0 = 0 ;
18581 char *kwnames[] = {
18582 (char *) "self",(char *) "x",(char *) "y", NULL
18583 };
18584
18585 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18586 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18587 {
18588 PyThreadState* __tstate = wxPyBeginAllowThreads();
18589 (arg1)->SetPPIPrinter(arg2,arg3);
18590
18591 wxPyEndAllowThreads(__tstate);
18592 if (PyErr_Occurred()) SWIG_fail;
18593 }
18594 Py_INCREF(Py_None); resultobj = Py_None;
18595 return resultobj;
18596 fail:
18597 return NULL;
18598}
18599
18600
18601static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18602 PyObject *resultobj;
18603 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18604 int *arg2 = (int *) 0 ;
18605 int *arg3 = (int *) 0 ;
18606 int temp2 ;
18607 int temp3 ;
18608 PyObject * obj0 = 0 ;
18609 char *kwnames[] = {
18610 (char *) "self", NULL
18611 };
18612
18613 arg2 = &temp2;
18614 arg3 = &temp3;
18615 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18616 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18617 {
18618 PyThreadState* __tstate = wxPyBeginAllowThreads();
18619 (arg1)->GetPPIPrinter(arg2,arg3);
18620
18621 wxPyEndAllowThreads(__tstate);
18622 if (PyErr_Occurred()) SWIG_fail;
18623 }
18624 Py_INCREF(Py_None); resultobj = Py_None;
18625 {
18626 PyObject *o = PyInt_FromLong((long) (*arg2));
18627 resultobj = t_output_helper(resultobj,o);
18628 }
18629 {
18630 PyObject *o = PyInt_FromLong((long) (*arg3));
18631 resultobj = t_output_helper(resultobj,o);
18632 }
18633 return resultobj;
18634 fail:
18635 return NULL;
18636}
18637
18638
18639static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18640 PyObject *resultobj;
18641 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18642 bool result;
18643 PyObject * obj0 = 0 ;
18644 char *kwnames[] = {
18645 (char *) "self", NULL
18646 };
18647
18648 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18650 {
18651 PyThreadState* __tstate = wxPyBeginAllowThreads();
18652 result = (bool)(arg1)->IsPreview();
18653
18654 wxPyEndAllowThreads(__tstate);
18655 if (PyErr_Occurred()) SWIG_fail;
18656 }
18657 resultobj = PyInt_FromLong((long)result);
18658 return resultobj;
18659 fail:
18660 return NULL;
18661}
18662
18663
18664static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18665 PyObject *resultobj;
18666 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18667 bool arg2 ;
18668 PyObject * obj0 = 0 ;
18669 PyObject * obj1 = 0 ;
18670 char *kwnames[] = {
18671 (char *) "self",(char *) "p", NULL
18672 };
18673
18674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18676 arg2 = PyInt_AsLong(obj1) ? true : false;
18677 if (PyErr_Occurred()) SWIG_fail;
18678 {
18679 PyThreadState* __tstate = wxPyBeginAllowThreads();
18680 (arg1)->SetIsPreview(arg2);
18681
18682 wxPyEndAllowThreads(__tstate);
18683 if (PyErr_Occurred()) SWIG_fail;
18684 }
18685 Py_INCREF(Py_None); resultobj = Py_None;
18686 return resultobj;
18687 fail:
18688 return NULL;
18689}
18690
18691
18692static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18693 PyObject *resultobj;
18694 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18695 int arg2 ;
18696 int arg3 ;
18697 bool result;
18698 PyObject * obj0 = 0 ;
18699 char *kwnames[] = {
18700 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18701 };
18702
18703 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18704 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18705 {
18706 PyThreadState* __tstate = wxPyBeginAllowThreads();
18707 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18708
18709 wxPyEndAllowThreads(__tstate);
18710 if (PyErr_Occurred()) SWIG_fail;
18711 }
18712 resultobj = PyInt_FromLong((long)result);
18713 return resultobj;
18714 fail:
18715 return NULL;
18716}
18717
18718
18719static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18720 PyObject *resultobj;
18721 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18722 PyObject * obj0 = 0 ;
18723 char *kwnames[] = {
18724 (char *) "self", NULL
18725 };
18726
18727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18729 {
18730 PyThreadState* __tstate = wxPyBeginAllowThreads();
18731 (arg1)->base_OnEndDocument();
18732
18733 wxPyEndAllowThreads(__tstate);
18734 if (PyErr_Occurred()) SWIG_fail;
18735 }
18736 Py_INCREF(Py_None); resultobj = Py_None;
18737 return resultobj;
18738 fail:
18739 return NULL;
18740}
18741
18742
18743static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18744 PyObject *resultobj;
18745 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18746 PyObject * obj0 = 0 ;
18747 char *kwnames[] = {
18748 (char *) "self", NULL
18749 };
18750
18751 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18752 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18753 {
18754 PyThreadState* __tstate = wxPyBeginAllowThreads();
18755 (arg1)->base_OnBeginPrinting();
18756
18757 wxPyEndAllowThreads(__tstate);
18758 if (PyErr_Occurred()) SWIG_fail;
18759 }
18760 Py_INCREF(Py_None); resultobj = Py_None;
18761 return resultobj;
18762 fail:
18763 return NULL;
18764}
18765
18766
18767static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18768 PyObject *resultobj;
18769 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18770 PyObject * obj0 = 0 ;
18771 char *kwnames[] = {
18772 (char *) "self", NULL
18773 };
18774
18775 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18776 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18777 {
18778 PyThreadState* __tstate = wxPyBeginAllowThreads();
18779 (arg1)->base_OnEndPrinting();
18780
18781 wxPyEndAllowThreads(__tstate);
18782 if (PyErr_Occurred()) SWIG_fail;
18783 }
18784 Py_INCREF(Py_None); resultobj = Py_None;
18785 return resultobj;
18786 fail:
18787 return NULL;
18788}
18789
18790
18791static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18792 PyObject *resultobj;
18793 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18794 PyObject * obj0 = 0 ;
18795 char *kwnames[] = {
18796 (char *) "self", NULL
18797 };
18798
18799 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18800 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18801 {
18802 PyThreadState* __tstate = wxPyBeginAllowThreads();
18803 (arg1)->base_OnPreparePrinting();
18804
18805 wxPyEndAllowThreads(__tstate);
18806 if (PyErr_Occurred()) SWIG_fail;
18807 }
18808 Py_INCREF(Py_None); resultobj = Py_None;
18809 return resultobj;
18810 fail:
18811 return NULL;
18812}
18813
18814
44127b65
RD
18815static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18816 PyObject *resultobj;
18817 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18818 int arg2 ;
18819 bool result;
18820 PyObject * obj0 = 0 ;
18821 char *kwnames[] = {
18822 (char *) "self",(char *) "page", NULL
18823 };
18824
18825 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18826 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18827 {
18828 PyThreadState* __tstate = wxPyBeginAllowThreads();
18829 result = (bool)(arg1)->base_HasPage(arg2);
18830
18831 wxPyEndAllowThreads(__tstate);
18832 if (PyErr_Occurred()) SWIG_fail;
18833 }
18834 resultobj = PyInt_FromLong((long)result);
18835 return resultobj;
18836 fail:
18837 return NULL;
18838}
18839
18840
d14a1e28
RD
18841static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18842 PyObject *resultobj;
18843 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18844 int *arg2 = (int *) 0 ;
18845 int *arg3 = (int *) 0 ;
18846 int *arg4 = (int *) 0 ;
18847 int *arg5 = (int *) 0 ;
18848 int temp2 ;
18849 int temp3 ;
18850 int temp4 ;
18851 int temp5 ;
18852 PyObject * obj0 = 0 ;
18853 char *kwnames[] = {
18854 (char *) "self", NULL
18855 };
18856
18857 arg2 = &temp2;
18858 arg3 = &temp3;
18859 arg4 = &temp4;
18860 arg5 = &temp5;
18861 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
18862 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18863 {
18864 PyThreadState* __tstate = wxPyBeginAllowThreads();
18865 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
18866
18867 wxPyEndAllowThreads(__tstate);
18868 if (PyErr_Occurred()) SWIG_fail;
18869 }
18870 Py_INCREF(Py_None); resultobj = Py_None;
18871 {
18872 PyObject *o = PyInt_FromLong((long) (*arg2));
18873 resultobj = t_output_helper(resultobj,o);
18874 }
18875 {
18876 PyObject *o = PyInt_FromLong((long) (*arg3));
18877 resultobj = t_output_helper(resultobj,o);
18878 }
18879 {
18880 PyObject *o = PyInt_FromLong((long) (*arg4));
18881 resultobj = t_output_helper(resultobj,o);
18882 }
18883 {
18884 PyObject *o = PyInt_FromLong((long) (*arg5));
18885 resultobj = t_output_helper(resultobj,o);
18886 }
18887 return resultobj;
18888 fail:
18889 return NULL;
18890}
18891
18892
d14a1e28
RD
18893static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
18894 PyObject *obj;
18895 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18896 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
18897 Py_INCREF(obj);
18898 return Py_BuildValue((char *)"");
18899}
18900static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18901 PyObject *resultobj;
18902 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18903 wxWindow *arg2 = (wxWindow *) 0 ;
18904 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18905 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18906 wxSize const &arg4_defvalue = wxDefaultSize ;
18907 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18908 long arg5 = (long) 0 ;
18909 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
18910 wxString *arg6 = (wxString *) &arg6_defvalue ;
18911 wxPreviewCanvas *result;
18912 wxPoint temp3 ;
18913 wxSize temp4 ;
423f194a 18914 bool temp6 = False ;
d14a1e28
RD
18915 PyObject * obj0 = 0 ;
18916 PyObject * obj1 = 0 ;
18917 PyObject * obj2 = 0 ;
18918 PyObject * obj3 = 0 ;
18919 PyObject * obj5 = 0 ;
18920 char *kwnames[] = {
18921 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18922 };
18923
18924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
18925 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18926 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18927 if (obj2) {
18928 {
18929 arg3 = &temp3;
18930 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18931 }
18932 }
18933 if (obj3) {
18934 {
18935 arg4 = &temp4;
18936 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18937 }
18938 }
18939 if (obj5) {
18940 {
18941 arg6 = wxString_in_helper(obj5);
18942 if (arg6 == NULL) SWIG_fail;
423f194a 18943 temp6 = True;
d14a1e28
RD
18944 }
18945 }
18946 {
18947 PyThreadState* __tstate = wxPyBeginAllowThreads();
18948 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18949
18950 wxPyEndAllowThreads(__tstate);
18951 if (PyErr_Occurred()) SWIG_fail;
18952 }
18953 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
18954 {
18955 if (temp6)
18956 delete arg6;
18957 }
18958 return resultobj;
18959 fail:
18960 {
18961 if (temp6)
18962 delete arg6;
18963 }
18964 return NULL;
18965}
18966
18967
18968static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
18969 PyObject *obj;
18970 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18971 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
18972 Py_INCREF(obj);
18973 return Py_BuildValue((char *)"");
18974}
18975static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
18976 PyObject *resultobj;
18977 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18978 wxFrame *arg2 = (wxFrame *) 0 ;
18979 wxString *arg3 = 0 ;
18980 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18981 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18982 wxSize const &arg5_defvalue = wxDefaultSize ;
18983 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18984 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
18985 wxString const &arg7_defvalue = wxPyFrameNameStr ;
18986 wxString *arg7 = (wxString *) &arg7_defvalue ;
18987 wxPreviewFrame *result;
423f194a 18988 bool temp3 = False ;
d14a1e28
RD
18989 wxPoint temp4 ;
18990 wxSize temp5 ;
423f194a 18991 bool temp7 = False ;
d14a1e28
RD
18992 PyObject * obj0 = 0 ;
18993 PyObject * obj1 = 0 ;
18994 PyObject * obj2 = 0 ;
18995 PyObject * obj3 = 0 ;
18996 PyObject * obj4 = 0 ;
18997 PyObject * obj6 = 0 ;
18998 char *kwnames[] = {
18999 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19000 };
19001
19002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19004 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19005 {
19006 arg3 = wxString_in_helper(obj2);
19007 if (arg3 == NULL) SWIG_fail;
423f194a 19008 temp3 = True;
d14a1e28
RD
19009 }
19010 if (obj3) {
19011 {
19012 arg4 = &temp4;
19013 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19014 }
19015 }
19016 if (obj4) {
19017 {
19018 arg5 = &temp5;
19019 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19020 }
19021 }
19022 if (obj6) {
19023 {
19024 arg7 = wxString_in_helper(obj6);
19025 if (arg7 == NULL) SWIG_fail;
423f194a 19026 temp7 = True;
d14a1e28
RD
19027 }
19028 }
19029 {
19030 PyThreadState* __tstate = wxPyBeginAllowThreads();
19031 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19032
19033 wxPyEndAllowThreads(__tstate);
19034 if (PyErr_Occurred()) SWIG_fail;
19035 }
19036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
19037 {
19038 if (temp3)
19039 delete arg3;
19040 }
19041 {
19042 if (temp7)
19043 delete arg7;
19044 }
19045 return resultobj;
19046 fail:
19047 {
19048 if (temp3)
19049 delete arg3;
19050 }
19051 {
19052 if (temp7)
19053 delete arg7;
19054 }
19055 return NULL;
19056}
19057
19058
19059static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
19060 PyObject *resultobj;
19061 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19062 PyObject * obj0 = 0 ;
19063 char *kwnames[] = {
19064 (char *) "self", NULL
19065 };
19066
19067 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
19068 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19069 {
19070 PyThreadState* __tstate = wxPyBeginAllowThreads();
19071 (arg1)->Initialize();
19072
19073 wxPyEndAllowThreads(__tstate);
19074 if (PyErr_Occurred()) SWIG_fail;
19075 }
19076 Py_INCREF(Py_None); resultobj = Py_None;
19077 return resultobj;
19078 fail:
19079 return NULL;
19080}
19081
19082
19083static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19084 PyObject *resultobj;
19085 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19086 PyObject * obj0 = 0 ;
19087 char *kwnames[] = {
19088 (char *) "self", NULL
19089 };
19090
19091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19093 {
19094 PyThreadState* __tstate = wxPyBeginAllowThreads();
19095 (arg1)->CreateControlBar();
19096
19097 wxPyEndAllowThreads(__tstate);
19098 if (PyErr_Occurred()) SWIG_fail;
19099 }
19100 Py_INCREF(Py_None); resultobj = Py_None;
19101 return resultobj;
19102 fail:
19103 return NULL;
19104}
19105
19106
19107static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19108 PyObject *resultobj;
19109 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19110 PyObject * obj0 = 0 ;
19111 char *kwnames[] = {
19112 (char *) "self", NULL
19113 };
19114
19115 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19116 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19117 {
19118 PyThreadState* __tstate = wxPyBeginAllowThreads();
19119 (arg1)->CreateCanvas();
19120
19121 wxPyEndAllowThreads(__tstate);
19122 if (PyErr_Occurred()) SWIG_fail;
19123 }
19124 Py_INCREF(Py_None); resultobj = Py_None;
19125 return resultobj;
19126 fail:
19127 return NULL;
19128}
19129
19130
19131static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19132 PyObject *resultobj;
19133 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19134 wxPreviewControlBar *result;
19135 PyObject * obj0 = 0 ;
19136 char *kwnames[] = {
19137 (char *) "self", NULL
19138 };
19139
19140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19142 {
19143 PyThreadState* __tstate = wxPyBeginAllowThreads();
19144 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19145
19146 wxPyEndAllowThreads(__tstate);
19147 if (PyErr_Occurred()) SWIG_fail;
19148 }
19149 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19150 return resultobj;
19151 fail:
19152 return NULL;
19153}
19154
19155
19156static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19157 PyObject *obj;
19158 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19159 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19160 Py_INCREF(obj);
19161 return Py_BuildValue((char *)"");
19162}
19163static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19164 PyObject *resultobj;
19165 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19166 long arg2 ;
19167 wxWindow *arg3 = (wxWindow *) 0 ;
19168 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19169 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19170 wxSize const &arg5_defvalue = wxDefaultSize ;
19171 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19172 long arg6 = (long) wxTAB_TRAVERSAL ;
19173 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19174 wxString *arg7 = (wxString *) &arg7_defvalue ;
19175 wxPreviewControlBar *result;
19176 wxPoint temp4 ;
19177 wxSize temp5 ;
423f194a 19178 bool temp7 = False ;
d14a1e28
RD
19179 PyObject * obj0 = 0 ;
19180 PyObject * obj2 = 0 ;
19181 PyObject * obj3 = 0 ;
19182 PyObject * obj4 = 0 ;
19183 PyObject * obj6 = 0 ;
19184 char *kwnames[] = {
19185 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19186 };
19187
19188 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19189 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19190 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19191 if (obj3) {
19192 {
19193 arg4 = &temp4;
19194 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19195 }
19196 }
19197 if (obj4) {
19198 {
19199 arg5 = &temp5;
19200 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19201 }
19202 }
19203 if (obj6) {
19204 {
19205 arg7 = wxString_in_helper(obj6);
19206 if (arg7 == NULL) SWIG_fail;
423f194a 19207 temp7 = True;
d14a1e28
RD
19208 }
19209 }
19210 {
19211 PyThreadState* __tstate = wxPyBeginAllowThreads();
19212 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19213
19214 wxPyEndAllowThreads(__tstate);
19215 if (PyErr_Occurred()) SWIG_fail;
19216 }
19217 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19218 {
19219 if (temp7)
19220 delete arg7;
19221 }
19222 return resultobj;
19223 fail:
19224 {
19225 if (temp7)
19226 delete arg7;
19227 }
19228 return NULL;
19229}
19230
19231
19232static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19233 PyObject *resultobj;
19234 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19235 int result;
19236 PyObject * obj0 = 0 ;
19237 char *kwnames[] = {
19238 (char *) "self", NULL
19239 };
19240
19241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19243 {
19244 PyThreadState* __tstate = wxPyBeginAllowThreads();
19245 result = (int)(arg1)->GetZoomControl();
19246
19247 wxPyEndAllowThreads(__tstate);
19248 if (PyErr_Occurred()) SWIG_fail;
19249 }
19250 resultobj = PyInt_FromLong((long)result);
19251 return resultobj;
19252 fail:
19253 return NULL;
19254}
19255
19256
19257static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19258 PyObject *resultobj;
19259 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19260 int arg2 ;
19261 PyObject * obj0 = 0 ;
19262 char *kwnames[] = {
19263 (char *) "self",(char *) "zoom", NULL
19264 };
19265
19266 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19267 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19268 {
19269 PyThreadState* __tstate = wxPyBeginAllowThreads();
19270 (arg1)->SetZoomControl(arg2);
19271
19272 wxPyEndAllowThreads(__tstate);
19273 if (PyErr_Occurred()) SWIG_fail;
19274 }
19275 Py_INCREF(Py_None); resultobj = Py_None;
19276 return resultobj;
19277 fail:
19278 return NULL;
19279}
19280
19281
19282static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19283 PyObject *resultobj;
19284 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19285 wxPrintPreview *result;
19286 PyObject * obj0 = 0 ;
19287 char *kwnames[] = {
19288 (char *) "self", NULL
19289 };
19290
19291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19293 {
19294 PyThreadState* __tstate = wxPyBeginAllowThreads();
19295 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19296
19297 wxPyEndAllowThreads(__tstate);
19298 if (PyErr_Occurred()) SWIG_fail;
19299 }
19300 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19301 return resultobj;
19302 fail:
19303 return NULL;
19304}
19305
19306
19307static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19308 PyObject *resultobj;
19309 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19310 PyObject * obj0 = 0 ;
19311 char *kwnames[] = {
19312 (char *) "self", NULL
19313 };
19314
19315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19317 {
19318 PyThreadState* __tstate = wxPyBeginAllowThreads();
19319 (arg1)->OnNext();
19320
19321 wxPyEndAllowThreads(__tstate);
19322 if (PyErr_Occurred()) SWIG_fail;
19323 }
19324 Py_INCREF(Py_None); resultobj = Py_None;
19325 return resultobj;
19326 fail:
19327 return NULL;
19328}
19329
19330
19331static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19332 PyObject *resultobj;
19333 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19334 PyObject * obj0 = 0 ;
19335 char *kwnames[] = {
19336 (char *) "self", NULL
19337 };
19338
19339 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19340 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19341 {
19342 PyThreadState* __tstate = wxPyBeginAllowThreads();
19343 (arg1)->OnPrevious();
19344
19345 wxPyEndAllowThreads(__tstate);
19346 if (PyErr_Occurred()) SWIG_fail;
19347 }
19348 Py_INCREF(Py_None); resultobj = Py_None;
19349 return resultobj;
19350 fail:
19351 return NULL;
19352}
19353
19354
19355static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19356 PyObject *resultobj;
19357 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19358 PyObject * obj0 = 0 ;
19359 char *kwnames[] = {
19360 (char *) "self", NULL
19361 };
19362
19363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19365 {
19366 PyThreadState* __tstate = wxPyBeginAllowThreads();
19367 (arg1)->OnFirst();
19368
19369 wxPyEndAllowThreads(__tstate);
19370 if (PyErr_Occurred()) SWIG_fail;
19371 }
19372 Py_INCREF(Py_None); resultobj = Py_None;
19373 return resultobj;
19374 fail:
19375 return NULL;
19376}
19377
19378
19379static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19380 PyObject *resultobj;
19381 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19382 PyObject * obj0 = 0 ;
19383 char *kwnames[] = {
19384 (char *) "self", NULL
19385 };
19386
19387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19389 {
19390 PyThreadState* __tstate = wxPyBeginAllowThreads();
19391 (arg1)->OnLast();
19392
19393 wxPyEndAllowThreads(__tstate);
19394 if (PyErr_Occurred()) SWIG_fail;
19395 }
19396 Py_INCREF(Py_None); resultobj = Py_None;
19397 return resultobj;
19398 fail:
19399 return NULL;
19400}
19401
19402
19403static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19404 PyObject *resultobj;
19405 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19406 PyObject * obj0 = 0 ;
19407 char *kwnames[] = {
19408 (char *) "self", NULL
19409 };
19410
19411 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19412 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19413 {
19414 PyThreadState* __tstate = wxPyBeginAllowThreads();
19415 (arg1)->OnGoto();
19416
19417 wxPyEndAllowThreads(__tstate);
19418 if (PyErr_Occurred()) SWIG_fail;
19419 }
19420 Py_INCREF(Py_None); resultobj = Py_None;
19421 return resultobj;
19422 fail:
19423 return NULL;
19424}
19425
19426
19427static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19428 PyObject *obj;
19429 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19430 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19431 Py_INCREF(obj);
19432 return Py_BuildValue((char *)"");
19433}
19434static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19435 PyObject *resultobj;
19436 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19437 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19438 wxPrintData *arg3 = (wxPrintData *) NULL ;
19439 wxPrintPreview *result;
19440 PyObject * obj0 = 0 ;
19441 PyObject * obj1 = 0 ;
19442 PyObject * obj2 = 0 ;
19443 char *kwnames[] = {
19444 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19445 };
19446
19447 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19448 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19449 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19450 if (obj2) {
19451 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19452 }
19453 {
19454 PyThreadState* __tstate = wxPyBeginAllowThreads();
19455 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19456
19457 wxPyEndAllowThreads(__tstate);
19458 if (PyErr_Occurred()) SWIG_fail;
19459 }
19460 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19461 return resultobj;
19462 fail:
19463 return NULL;
19464}
19465
19466
19467static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19468 PyObject *resultobj;
19469 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19470 int arg2 ;
19471 bool result;
19472 PyObject * obj0 = 0 ;
19473 char *kwnames[] = {
19474 (char *) "self",(char *) "pageNum", NULL
19475 };
19476
19477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19479 {
19480 PyThreadState* __tstate = wxPyBeginAllowThreads();
19481 result = (bool)(arg1)->SetCurrentPage(arg2);
19482
19483 wxPyEndAllowThreads(__tstate);
19484 if (PyErr_Occurred()) SWIG_fail;
19485 }
19486 resultobj = PyInt_FromLong((long)result);
19487 return resultobj;
19488 fail:
19489 return NULL;
19490}
19491
19492
19493static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19494 PyObject *resultobj;
19495 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19496 int result;
19497 PyObject * obj0 = 0 ;
19498 char *kwnames[] = {
19499 (char *) "self", NULL
19500 };
19501
19502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19504 {
19505 PyThreadState* __tstate = wxPyBeginAllowThreads();
19506 result = (int)(arg1)->GetCurrentPage();
19507
19508 wxPyEndAllowThreads(__tstate);
19509 if (PyErr_Occurred()) SWIG_fail;
19510 }
19511 resultobj = PyInt_FromLong((long)result);
19512 return resultobj;
19513 fail:
19514 return NULL;
19515}
19516
19517
19518static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19519 PyObject *resultobj;
19520 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19521 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19522 PyObject * obj0 = 0 ;
19523 PyObject * obj1 = 0 ;
19524 char *kwnames[] = {
19525 (char *) "self",(char *) "printout", NULL
19526 };
19527
19528 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19529 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19530 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19531 {
19532 PyThreadState* __tstate = wxPyBeginAllowThreads();
19533 (arg1)->SetPrintout(arg2);
19534
19535 wxPyEndAllowThreads(__tstate);
19536 if (PyErr_Occurred()) SWIG_fail;
19537 }
19538 Py_INCREF(Py_None); resultobj = Py_None;
19539 return resultobj;
19540 fail:
19541 return NULL;
19542}
19543
19544
19545static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19546 PyObject *resultobj;
19547 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19548 wxPyPrintout *result;
19549 PyObject * obj0 = 0 ;
19550 char *kwnames[] = {
19551 (char *) "self", NULL
19552 };
19553
19554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19556 {
19557 PyThreadState* __tstate = wxPyBeginAllowThreads();
19558 result = (wxPyPrintout *)(arg1)->GetPrintout();
19559
19560 wxPyEndAllowThreads(__tstate);
19561 if (PyErr_Occurred()) SWIG_fail;
19562 }
19563 {
19564 resultobj = wxPyMake_wxObject(result);
19565 }
19566 return resultobj;
19567 fail:
19568 return NULL;
19569}
19570
19571
19572static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19573 PyObject *resultobj;
19574 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19575 wxPyPrintout *result;
19576 PyObject * obj0 = 0 ;
19577 char *kwnames[] = {
19578 (char *) "self", NULL
19579 };
19580
19581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19583 {
19584 PyThreadState* __tstate = wxPyBeginAllowThreads();
19585 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19586
19587 wxPyEndAllowThreads(__tstate);
19588 if (PyErr_Occurred()) SWIG_fail;
19589 }
19590 {
19591 resultobj = wxPyMake_wxObject(result);
19592 }
19593 return resultobj;
19594 fail:
19595 return NULL;
19596}
19597
19598
19599static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19600 PyObject *resultobj;
19601 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19602 wxFrame *arg2 = (wxFrame *) 0 ;
19603 PyObject * obj0 = 0 ;
19604 PyObject * obj1 = 0 ;
19605 char *kwnames[] = {
19606 (char *) "self",(char *) "frame", NULL
19607 };
19608
19609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19611 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19612 {
19613 PyThreadState* __tstate = wxPyBeginAllowThreads();
19614 (arg1)->SetFrame(arg2);
19615
19616 wxPyEndAllowThreads(__tstate);
19617 if (PyErr_Occurred()) SWIG_fail;
19618 }
19619 Py_INCREF(Py_None); resultobj = Py_None;
19620 return resultobj;
19621 fail:
19622 return NULL;
19623}
19624
19625
19626static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19627 PyObject *resultobj;
19628 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19629 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19630 PyObject * obj0 = 0 ;
19631 PyObject * obj1 = 0 ;
19632 char *kwnames[] = {
19633 (char *) "self",(char *) "canvas", NULL
19634 };
19635
19636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19638 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19639 {
19640 PyThreadState* __tstate = wxPyBeginAllowThreads();
19641 (arg1)->SetCanvas(arg2);
19642
19643 wxPyEndAllowThreads(__tstate);
19644 if (PyErr_Occurred()) SWIG_fail;
19645 }
19646 Py_INCREF(Py_None); resultobj = Py_None;
19647 return resultobj;
19648 fail:
19649 return NULL;
19650}
19651
19652
19653static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19654 PyObject *resultobj;
19655 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19656 wxFrame *result;
19657 PyObject * obj0 = 0 ;
19658 char *kwnames[] = {
19659 (char *) "self", NULL
19660 };
19661
19662 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19663 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19664 {
19665 PyThreadState* __tstate = wxPyBeginAllowThreads();
19666 result = (wxFrame *)(arg1)->GetFrame();
19667
19668 wxPyEndAllowThreads(__tstate);
19669 if (PyErr_Occurred()) SWIG_fail;
19670 }
19671 {
19672 resultobj = wxPyMake_wxObject(result);
19673 }
19674 return resultobj;
19675 fail:
19676 return NULL;
19677}
19678
19679
19680static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19681 PyObject *resultobj;
19682 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19683 wxPreviewCanvas *result;
19684 PyObject * obj0 = 0 ;
19685 char *kwnames[] = {
19686 (char *) "self", NULL
19687 };
19688
19689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19691 {
19692 PyThreadState* __tstate = wxPyBeginAllowThreads();
19693 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19694
19695 wxPyEndAllowThreads(__tstate);
19696 if (PyErr_Occurred()) SWIG_fail;
19697 }
19698 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19699 return resultobj;
19700 fail:
19701 return NULL;
19702}
19703
19704
19705static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19706 PyObject *resultobj;
19707 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19708 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19709 wxDC *arg3 = 0 ;
19710 bool result;
19711 PyObject * obj0 = 0 ;
19712 PyObject * obj1 = 0 ;
19713 PyObject * obj2 = 0 ;
19714 char *kwnames[] = {
19715 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19716 };
19717
19718 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19719 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19720 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19721 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19722 if (arg3 == NULL) {
19723 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19724 }
19725 {
19726 PyThreadState* __tstate = wxPyBeginAllowThreads();
19727 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19728
19729 wxPyEndAllowThreads(__tstate);
19730 if (PyErr_Occurred()) SWIG_fail;
19731 }
19732 resultobj = PyInt_FromLong((long)result);
19733 return resultobj;
19734 fail:
19735 return NULL;
19736}
19737
19738
19739static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19740 PyObject *resultobj;
19741 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19742 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19743 wxDC *arg3 = 0 ;
19744 bool result;
19745 PyObject * obj0 = 0 ;
19746 PyObject * obj1 = 0 ;
19747 PyObject * obj2 = 0 ;
19748 char *kwnames[] = {
19749 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19750 };
19751
19752 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19753 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19754 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19755 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19756 if (arg3 == NULL) {
19757 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19758 }
19759 {
19760 PyThreadState* __tstate = wxPyBeginAllowThreads();
19761 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19762
19763 wxPyEndAllowThreads(__tstate);
19764 if (PyErr_Occurred()) SWIG_fail;
19765 }
19766 resultobj = PyInt_FromLong((long)result);
19767 return resultobj;
19768 fail:
19769 return NULL;
19770}
19771
19772
19773static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19774 PyObject *resultobj;
19775 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19776 int arg2 ;
19777 bool result;
19778 PyObject * obj0 = 0 ;
19779 char *kwnames[] = {
19780 (char *) "self",(char *) "pageNum", NULL
19781 };
19782
19783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19785 {
19786 PyThreadState* __tstate = wxPyBeginAllowThreads();
19787 result = (bool)(arg1)->RenderPage(arg2);
19788
19789 wxPyEndAllowThreads(__tstate);
19790 if (PyErr_Occurred()) SWIG_fail;
19791 }
19792 resultobj = PyInt_FromLong((long)result);
19793 return resultobj;
19794 fail:
19795 return NULL;
19796}
19797
19798
19799static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19800 PyObject *resultobj;
19801 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19802 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19803 PyObject * obj0 = 0 ;
19804 PyObject * obj1 = 0 ;
19805 char *kwnames[] = {
19806 (char *) "self",(char *) "canvas", NULL
19807 };
19808
19809 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19810 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19811 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19812 {
19813 PyThreadState* __tstate = wxPyBeginAllowThreads();
19814 (arg1)->AdjustScrollbars(arg2);
19815
19816 wxPyEndAllowThreads(__tstate);
19817 if (PyErr_Occurred()) SWIG_fail;
19818 }
19819 Py_INCREF(Py_None); resultobj = Py_None;
19820 return resultobj;
19821 fail:
19822 return NULL;
19823}
19824
19825
19826static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19827 PyObject *resultobj;
19828 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19829 wxPrintDialogData *result;
19830 PyObject * obj0 = 0 ;
19831 char *kwnames[] = {
19832 (char *) "self", NULL
19833 };
19834
19835 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19836 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19837 {
19838 PyThreadState* __tstate = wxPyBeginAllowThreads();
19839 {
19840 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19841 result = (wxPrintDialogData *) &_result_ref;
19842 }
19843
19844 wxPyEndAllowThreads(__tstate);
19845 if (PyErr_Occurred()) SWIG_fail;
19846 }
19847 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19848 return resultobj;
19849 fail:
19850 return NULL;
19851}
19852
19853
19854static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19855 PyObject *resultobj;
19856 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19857 int arg2 ;
19858 PyObject * obj0 = 0 ;
19859 char *kwnames[] = {
19860 (char *) "self",(char *) "percent", NULL
19861 };
19862
19863 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19864 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19865 {
19866 PyThreadState* __tstate = wxPyBeginAllowThreads();
19867 (arg1)->SetZoom(arg2);
19868
19869 wxPyEndAllowThreads(__tstate);
19870 if (PyErr_Occurred()) SWIG_fail;
19871 }
19872 Py_INCREF(Py_None); resultobj = Py_None;
19873 return resultobj;
19874 fail:
19875 return NULL;
19876}
19877
19878
19879static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19880 PyObject *resultobj;
19881 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19882 int result;
19883 PyObject * obj0 = 0 ;
19884 char *kwnames[] = {
19885 (char *) "self", NULL
19886 };
19887
19888 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
19889 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19890 {
19891 PyThreadState* __tstate = wxPyBeginAllowThreads();
19892 result = (int)(arg1)->GetZoom();
19893
19894 wxPyEndAllowThreads(__tstate);
19895 if (PyErr_Occurred()) SWIG_fail;
19896 }
19897 resultobj = PyInt_FromLong((long)result);
19898 return resultobj;
19899 fail:
19900 return NULL;
19901}
19902
19903
19904static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19905 PyObject *resultobj;
19906 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19907 int result;
19908 PyObject * obj0 = 0 ;
19909 char *kwnames[] = {
19910 (char *) "self", NULL
19911 };
19912
19913 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
19914 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19915 {
19916 PyThreadState* __tstate = wxPyBeginAllowThreads();
19917 result = (int)(arg1)->GetMaxPage();
19918
19919 wxPyEndAllowThreads(__tstate);
19920 if (PyErr_Occurred()) SWIG_fail;
19921 }
19922 resultobj = PyInt_FromLong((long)result);
19923 return resultobj;
19924 fail:
19925 return NULL;
19926}
19927
19928
19929static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19930 PyObject *resultobj;
19931 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19932 int result;
19933 PyObject * obj0 = 0 ;
19934 char *kwnames[] = {
19935 (char *) "self", NULL
19936 };
19937
19938 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
19939 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19940 {
19941 PyThreadState* __tstate = wxPyBeginAllowThreads();
19942 result = (int)(arg1)->GetMinPage();
19943
19944 wxPyEndAllowThreads(__tstate);
19945 if (PyErr_Occurred()) SWIG_fail;
19946 }
19947 resultobj = PyInt_FromLong((long)result);
19948 return resultobj;
19949 fail:
19950 return NULL;
19951}
19952
19953
19954static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19955 PyObject *resultobj;
19956 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19957 bool result;
19958 PyObject * obj0 = 0 ;
19959 char *kwnames[] = {
19960 (char *) "self", NULL
19961 };
19962
19963 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
19964 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19965 {
19966 PyThreadState* __tstate = wxPyBeginAllowThreads();
19967 result = (bool)(arg1)->Ok();
19968
19969 wxPyEndAllowThreads(__tstate);
19970 if (PyErr_Occurred()) SWIG_fail;
19971 }
19972 resultobj = PyInt_FromLong((long)result);
19973 return resultobj;
19974 fail:
19975 return NULL;
19976}
19977
19978
19979static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19980 PyObject *resultobj;
19981 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19982 bool arg2 ;
19983 PyObject * obj0 = 0 ;
19984 PyObject * obj1 = 0 ;
19985 char *kwnames[] = {
19986 (char *) "self",(char *) "ok", NULL
19987 };
19988
19989 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
19990 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19991 arg2 = PyInt_AsLong(obj1) ? true : false;
19992 if (PyErr_Occurred()) SWIG_fail;
19993 {
19994 PyThreadState* __tstate = wxPyBeginAllowThreads();
19995 (arg1)->SetOk(arg2);
19996
19997 wxPyEndAllowThreads(__tstate);
19998 if (PyErr_Occurred()) SWIG_fail;
19999 }
20000 Py_INCREF(Py_None); resultobj = Py_None;
20001 return resultobj;
20002 fail:
20003 return NULL;
20004}
20005
20006
20007static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20008 PyObject *resultobj;
20009 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20010 bool arg2 ;
20011 bool result;
20012 PyObject * obj0 = 0 ;
20013 PyObject * obj1 = 0 ;
20014 char *kwnames[] = {
20015 (char *) "self",(char *) "interactive", NULL
20016 };
20017
20018 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
20019 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20020 arg2 = PyInt_AsLong(obj1) ? true : false;
20021 if (PyErr_Occurred()) SWIG_fail;
20022 {
20023 PyThreadState* __tstate = wxPyBeginAllowThreads();
20024 result = (bool)(arg1)->Print(arg2);
20025
20026 wxPyEndAllowThreads(__tstate);
20027 if (PyErr_Occurred()) SWIG_fail;
20028 }
20029 resultobj = PyInt_FromLong((long)result);
20030 return resultobj;
20031 fail:
20032 return NULL;
20033}
20034
20035
20036static PyObject *_wrap_PrintPreview_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20037 PyObject *resultobj;
20038 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20039 PyObject * obj0 = 0 ;
20040 char *kwnames[] = {
20041 (char *) "self", NULL
20042 };
20043
20044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
20045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20046 {
20047 PyThreadState* __tstate = wxPyBeginAllowThreads();
20048 (arg1)->DetermineScaling();
20049
20050 wxPyEndAllowThreads(__tstate);
20051 if (PyErr_Occurred()) SWIG_fail;
20052 }
20053 Py_INCREF(Py_None); resultobj = Py_None;
20054 return resultobj;
20055 fail:
20056 return NULL;
20057}
20058
20059
20060static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
20061 PyObject *obj;
20062 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20063 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
20064 Py_INCREF(obj);
20065 return Py_BuildValue((char *)"");
20066}
20067static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20068 PyObject *resultobj;
20069 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
20070 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
20071 wxPrintData *arg3 = (wxPrintData *) NULL ;
20072 wxPyPrintPreview *result;
20073 PyObject * obj0 = 0 ;
20074 PyObject * obj1 = 0 ;
20075 PyObject * obj2 = 0 ;
20076 char *kwnames[] = {
20077 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
20078 };
20079
20080 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
20081 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20082 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20083 if (obj2) {
20084 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20085 }
20086 {
20087 PyThreadState* __tstate = wxPyBeginAllowThreads();
20088 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20089
20090 wxPyEndAllowThreads(__tstate);
20091 if (PyErr_Occurred()) SWIG_fail;
20092 }
20093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20094 return resultobj;
20095 fail:
20096 return NULL;
20097}
20098
20099
20100static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20101 PyObject *resultobj;
20102 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20103 PyObject *arg2 = (PyObject *) 0 ;
20104 PyObject *arg3 = (PyObject *) 0 ;
20105 PyObject * obj0 = 0 ;
20106 PyObject * obj1 = 0 ;
20107 PyObject * obj2 = 0 ;
20108 char *kwnames[] = {
20109 (char *) "self",(char *) "self",(char *) "_class", NULL
20110 };
20111
20112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20114 arg2 = obj1;
20115 arg3 = obj2;
20116 {
20117 PyThreadState* __tstate = wxPyBeginAllowThreads();
20118 (arg1)->_setCallbackInfo(arg2,arg3);
20119
20120 wxPyEndAllowThreads(__tstate);
20121 if (PyErr_Occurred()) SWIG_fail;
20122 }
20123 Py_INCREF(Py_None); resultobj = Py_None;
20124 return resultobj;
20125 fail:
20126 return NULL;
20127}
20128
20129
20130static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20131 PyObject *resultobj;
20132 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20133 int arg2 ;
20134 bool result;
20135 PyObject * obj0 = 0 ;
20136 char *kwnames[] = {
20137 (char *) "self",(char *) "pageNum", NULL
20138 };
20139
20140 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20141 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20142 {
20143 PyThreadState* __tstate = wxPyBeginAllowThreads();
20144 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20145
20146 wxPyEndAllowThreads(__tstate);
20147 if (PyErr_Occurred()) SWIG_fail;
20148 }
20149 resultobj = PyInt_FromLong((long)result);
20150 return resultobj;
20151 fail:
20152 return NULL;
20153}
20154
20155
20156static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20157 PyObject *resultobj;
20158 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20159 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20160 wxDC *arg3 = 0 ;
20161 bool result;
20162 PyObject * obj0 = 0 ;
20163 PyObject * obj1 = 0 ;
20164 PyObject * obj2 = 0 ;
20165 char *kwnames[] = {
20166 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20167 };
20168
20169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20171 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20172 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20173 if (arg3 == NULL) {
20174 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20175 }
20176 {
20177 PyThreadState* __tstate = wxPyBeginAllowThreads();
20178 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20179
20180 wxPyEndAllowThreads(__tstate);
20181 if (PyErr_Occurred()) SWIG_fail;
20182 }
20183 resultobj = PyInt_FromLong((long)result);
20184 return resultobj;
20185 fail:
20186 return NULL;
20187}
20188
20189
20190static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20191 PyObject *resultobj;
20192 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20193 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20194 wxDC *arg3 = 0 ;
20195 bool result;
20196 PyObject * obj0 = 0 ;
20197 PyObject * obj1 = 0 ;
20198 PyObject * obj2 = 0 ;
20199 char *kwnames[] = {
20200 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20201 };
20202
20203 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20204 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20205 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20206 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20207 if (arg3 == NULL) {
20208 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20209 }
20210 {
20211 PyThreadState* __tstate = wxPyBeginAllowThreads();
20212 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20213
20214 wxPyEndAllowThreads(__tstate);
20215 if (PyErr_Occurred()) SWIG_fail;
20216 }
20217 resultobj = PyInt_FromLong((long)result);
20218 return resultobj;
20219 fail:
20220 return NULL;
20221}
20222
20223
20224static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20225 PyObject *resultobj;
20226 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20227 int arg2 ;
20228 bool result;
20229 PyObject * obj0 = 0 ;
20230 char *kwnames[] = {
20231 (char *) "self",(char *) "pageNum", NULL
20232 };
20233
20234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20236 {
20237 PyThreadState* __tstate = wxPyBeginAllowThreads();
20238 result = (bool)(arg1)->base_RenderPage(arg2);
20239
20240 wxPyEndAllowThreads(__tstate);
20241 if (PyErr_Occurred()) SWIG_fail;
20242 }
20243 resultobj = PyInt_FromLong((long)result);
20244 return resultobj;
20245 fail:
20246 return NULL;
20247}
20248
20249
20250static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20251 PyObject *resultobj;
20252 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20253 int arg2 ;
20254 PyObject * obj0 = 0 ;
20255 char *kwnames[] = {
20256 (char *) "self",(char *) "percent", NULL
20257 };
20258
20259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20261 {
20262 PyThreadState* __tstate = wxPyBeginAllowThreads();
20263 (arg1)->base_SetZoom(arg2);
20264
20265 wxPyEndAllowThreads(__tstate);
20266 if (PyErr_Occurred()) SWIG_fail;
20267 }
20268 Py_INCREF(Py_None); resultobj = Py_None;
20269 return resultobj;
20270 fail:
20271 return NULL;
20272}
20273
20274
20275static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20276 PyObject *resultobj;
20277 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20278 bool arg2 ;
20279 bool result;
20280 PyObject * obj0 = 0 ;
20281 PyObject * obj1 = 0 ;
20282 char *kwnames[] = {
20283 (char *) "self",(char *) "interactive", NULL
20284 };
20285
20286 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20287 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20288 arg2 = PyInt_AsLong(obj1) ? true : false;
20289 if (PyErr_Occurred()) SWIG_fail;
20290 {
20291 PyThreadState* __tstate = wxPyBeginAllowThreads();
20292 result = (bool)(arg1)->base_Print(arg2);
20293
20294 wxPyEndAllowThreads(__tstate);
20295 if (PyErr_Occurred()) SWIG_fail;
20296 }
20297 resultobj = PyInt_FromLong((long)result);
20298 return resultobj;
20299 fail:
20300 return NULL;
20301}
20302
20303
20304static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20305 PyObject *resultobj;
20306 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20307 PyObject * obj0 = 0 ;
20308 char *kwnames[] = {
20309 (char *) "self", NULL
20310 };
20311
20312 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20313 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20314 {
20315 PyThreadState* __tstate = wxPyBeginAllowThreads();
20316 (arg1)->base_DetermineScaling();
20317
20318 wxPyEndAllowThreads(__tstate);
20319 if (PyErr_Occurred()) SWIG_fail;
20320 }
20321 Py_INCREF(Py_None); resultobj = Py_None;
20322 return resultobj;
20323 fail:
20324 return NULL;
20325}
20326
20327
20328static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20329 PyObject *obj;
20330 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20331 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20332 Py_INCREF(obj);
20333 return Py_BuildValue((char *)"");
20334}
20335static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20336 PyObject *resultobj;
20337 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20338 wxFrame *arg2 = (wxFrame *) 0 ;
20339 wxString *arg3 = 0 ;
20340 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20341 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20342 wxSize const &arg5_defvalue = wxDefaultSize ;
20343 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20344 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20345 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20346 wxString *arg7 = (wxString *) &arg7_defvalue ;
20347 wxPyPreviewFrame *result;
423f194a 20348 bool temp3 = False ;
d14a1e28
RD
20349 wxPoint temp4 ;
20350 wxSize temp5 ;
423f194a 20351 bool temp7 = False ;
d14a1e28
RD
20352 PyObject * obj0 = 0 ;
20353 PyObject * obj1 = 0 ;
20354 PyObject * obj2 = 0 ;
20355 PyObject * obj3 = 0 ;
20356 PyObject * obj4 = 0 ;
20357 PyObject * obj6 = 0 ;
20358 char *kwnames[] = {
20359 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20360 };
20361
20362 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20363 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20364 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20365 {
20366 arg3 = wxString_in_helper(obj2);
20367 if (arg3 == NULL) SWIG_fail;
423f194a 20368 temp3 = True;
d14a1e28
RD
20369 }
20370 if (obj3) {
20371 {
20372 arg4 = &temp4;
20373 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20374 }
20375 }
20376 if (obj4) {
20377 {
20378 arg5 = &temp5;
20379 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20380 }
20381 }
20382 if (obj6) {
20383 {
20384 arg7 = wxString_in_helper(obj6);
20385 if (arg7 == NULL) SWIG_fail;
423f194a 20386 temp7 = True;
d14a1e28
RD
20387 }
20388 }
20389 {
20390 PyThreadState* __tstate = wxPyBeginAllowThreads();
20391 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20392
20393 wxPyEndAllowThreads(__tstate);
20394 if (PyErr_Occurred()) SWIG_fail;
20395 }
20396 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20397 {
20398 if (temp3)
20399 delete arg3;
20400 }
20401 {
20402 if (temp7)
20403 delete arg7;
20404 }
20405 return resultobj;
20406 fail:
20407 {
20408 if (temp3)
20409 delete arg3;
20410 }
20411 {
20412 if (temp7)
20413 delete arg7;
20414 }
20415 return NULL;
20416}
20417
20418
20419static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20420 PyObject *resultobj;
20421 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20422 PyObject *arg2 = (PyObject *) 0 ;
20423 PyObject *arg3 = (PyObject *) 0 ;
20424 PyObject * obj0 = 0 ;
20425 PyObject * obj1 = 0 ;
20426 PyObject * obj2 = 0 ;
20427 char *kwnames[] = {
20428 (char *) "self",(char *) "self",(char *) "_class", NULL
20429 };
20430
20431 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20432 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20433 arg2 = obj1;
20434 arg3 = obj2;
20435 {
20436 PyThreadState* __tstate = wxPyBeginAllowThreads();
20437 (arg1)->_setCallbackInfo(arg2,arg3);
20438
20439 wxPyEndAllowThreads(__tstate);
20440 if (PyErr_Occurred()) SWIG_fail;
20441 }
20442 Py_INCREF(Py_None); resultobj = Py_None;
20443 return resultobj;
20444 fail:
20445 return NULL;
20446}
20447
20448
20449static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20450 PyObject *resultobj;
20451 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20452 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20453 PyObject * obj0 = 0 ;
20454 PyObject * obj1 = 0 ;
20455 char *kwnames[] = {
20456 (char *) "self",(char *) "canvas", NULL
20457 };
20458
20459 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20460 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20461 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20462 {
20463 PyThreadState* __tstate = wxPyBeginAllowThreads();
20464 (arg1)->SetPreviewCanvas(arg2);
20465
20466 wxPyEndAllowThreads(__tstate);
20467 if (PyErr_Occurred()) SWIG_fail;
20468 }
20469 Py_INCREF(Py_None); resultobj = Py_None;
20470 return resultobj;
20471 fail:
20472 return NULL;
20473}
20474
20475
20476static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20477 PyObject *resultobj;
20478 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20479 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20480 PyObject * obj0 = 0 ;
20481 PyObject * obj1 = 0 ;
20482 char *kwnames[] = {
20483 (char *) "self",(char *) "bar", NULL
20484 };
20485
20486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20488 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20489 {
20490 PyThreadState* __tstate = wxPyBeginAllowThreads();
20491 (arg1)->SetControlBar(arg2);
20492
20493 wxPyEndAllowThreads(__tstate);
20494 if (PyErr_Occurred()) SWIG_fail;
20495 }
20496 Py_INCREF(Py_None); resultobj = Py_None;
20497 return resultobj;
20498 fail:
20499 return NULL;
20500}
20501
20502
20503static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20504 PyObject *resultobj;
20505 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20506 PyObject * obj0 = 0 ;
20507 char *kwnames[] = {
20508 (char *) "self", NULL
20509 };
20510
20511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20513 {
20514 PyThreadState* __tstate = wxPyBeginAllowThreads();
20515 (arg1)->base_Initialize();
20516
20517 wxPyEndAllowThreads(__tstate);
20518 if (PyErr_Occurred()) SWIG_fail;
20519 }
20520 Py_INCREF(Py_None); resultobj = Py_None;
20521 return resultobj;
20522 fail:
20523 return NULL;
20524}
20525
20526
20527static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20528 PyObject *resultobj;
20529 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20530 PyObject * obj0 = 0 ;
20531 char *kwnames[] = {
20532 (char *) "self", NULL
20533 };
20534
20535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20537 {
20538 PyThreadState* __tstate = wxPyBeginAllowThreads();
20539 (arg1)->base_CreateCanvas();
20540
20541 wxPyEndAllowThreads(__tstate);
20542 if (PyErr_Occurred()) SWIG_fail;
20543 }
20544 Py_INCREF(Py_None); resultobj = Py_None;
20545 return resultobj;
20546 fail:
20547 return NULL;
20548}
20549
20550
20551static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20552 PyObject *resultobj;
20553 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20554 PyObject * obj0 = 0 ;
20555 char *kwnames[] = {
20556 (char *) "self", NULL
20557 };
20558
20559 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20560 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20561 {
20562 PyThreadState* __tstate = wxPyBeginAllowThreads();
20563 (arg1)->base_CreateControlBar();
20564
20565 wxPyEndAllowThreads(__tstate);
20566 if (PyErr_Occurred()) SWIG_fail;
20567 }
20568 Py_INCREF(Py_None); resultobj = Py_None;
20569 return resultobj;
20570 fail:
20571 return NULL;
20572}
20573
20574
20575static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20576 PyObject *obj;
20577 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20578 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20579 Py_INCREF(obj);
20580 return Py_BuildValue((char *)"");
20581}
20582static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20583 PyObject *resultobj;
20584 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20585 long arg2 ;
20586 wxWindow *arg3 = (wxWindow *) 0 ;
20587 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20588 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20589 wxSize const &arg5_defvalue = wxDefaultSize ;
20590 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20591 long arg6 = (long) 0 ;
20592 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20593 wxString *arg7 = (wxString *) &arg7_defvalue ;
20594 wxPyPreviewControlBar *result;
20595 wxPoint temp4 ;
20596 wxSize temp5 ;
423f194a 20597 bool temp7 = False ;
d14a1e28
RD
20598 PyObject * obj0 = 0 ;
20599 PyObject * obj2 = 0 ;
20600 PyObject * obj3 = 0 ;
20601 PyObject * obj4 = 0 ;
20602 PyObject * obj6 = 0 ;
20603 char *kwnames[] = {
20604 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20605 };
20606
20607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20609 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20610 if (obj3) {
20611 {
20612 arg4 = &temp4;
20613 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20614 }
20615 }
20616 if (obj4) {
20617 {
20618 arg5 = &temp5;
20619 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20620 }
20621 }
20622 if (obj6) {
20623 {
20624 arg7 = wxString_in_helper(obj6);
20625 if (arg7 == NULL) SWIG_fail;
423f194a 20626 temp7 = True;
d14a1e28
RD
20627 }
20628 }
20629 {
20630 PyThreadState* __tstate = wxPyBeginAllowThreads();
20631 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20632
20633 wxPyEndAllowThreads(__tstate);
20634 if (PyErr_Occurred()) SWIG_fail;
20635 }
20636 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20637 {
20638 if (temp7)
20639 delete arg7;
20640 }
20641 return resultobj;
20642 fail:
20643 {
20644 if (temp7)
20645 delete arg7;
20646 }
20647 return NULL;
20648}
20649
20650
20651static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20652 PyObject *resultobj;
20653 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20654 PyObject *arg2 = (PyObject *) 0 ;
20655 PyObject *arg3 = (PyObject *) 0 ;
20656 PyObject * obj0 = 0 ;
20657 PyObject * obj1 = 0 ;
20658 PyObject * obj2 = 0 ;
20659 char *kwnames[] = {
20660 (char *) "self",(char *) "self",(char *) "_class", NULL
20661 };
20662
20663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20665 arg2 = obj1;
20666 arg3 = obj2;
20667 {
20668 PyThreadState* __tstate = wxPyBeginAllowThreads();
20669 (arg1)->_setCallbackInfo(arg2,arg3);
20670
20671 wxPyEndAllowThreads(__tstate);
20672 if (PyErr_Occurred()) SWIG_fail;
20673 }
20674 Py_INCREF(Py_None); resultobj = Py_None;
20675 return resultobj;
20676 fail:
20677 return NULL;
20678}
20679
20680
20681static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20682 PyObject *resultobj;
20683 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20684 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20685 PyObject * obj0 = 0 ;
20686 PyObject * obj1 = 0 ;
20687 char *kwnames[] = {
20688 (char *) "self",(char *) "preview", NULL
20689 };
20690
20691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20693 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20694 {
20695 PyThreadState* __tstate = wxPyBeginAllowThreads();
20696 (arg1)->SetPrintPreview(arg2);
20697
20698 wxPyEndAllowThreads(__tstate);
20699 if (PyErr_Occurred()) SWIG_fail;
20700 }
20701 Py_INCREF(Py_None); resultobj = Py_None;
20702 return resultobj;
20703 fail:
20704 return NULL;
20705}
20706
20707
20708static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20709 PyObject *resultobj;
20710 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20711 PyObject * obj0 = 0 ;
20712 char *kwnames[] = {
20713 (char *) "self", NULL
20714 };
20715
20716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20718 {
20719 PyThreadState* __tstate = wxPyBeginAllowThreads();
20720 (arg1)->base_CreateButtons();
20721
20722 wxPyEndAllowThreads(__tstate);
20723 if (PyErr_Occurred()) SWIG_fail;
20724 }
20725 Py_INCREF(Py_None); resultobj = Py_None;
20726 return resultobj;
20727 fail:
20728 return NULL;
20729}
20730
20731
20732static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20733 PyObject *resultobj;
20734 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20735 int arg2 ;
20736 PyObject * obj0 = 0 ;
20737 char *kwnames[] = {
20738 (char *) "self",(char *) "zoom", NULL
20739 };
20740
20741 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20742 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20743 {
20744 PyThreadState* __tstate = wxPyBeginAllowThreads();
20745 (arg1)->base_SetZoomControl(arg2);
20746
20747 wxPyEndAllowThreads(__tstate);
20748 if (PyErr_Occurred()) SWIG_fail;
20749 }
20750 Py_INCREF(Py_None); resultobj = Py_None;
20751 return resultobj;
20752 fail:
20753 return NULL;
20754}
20755
20756
20757static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20758 PyObject *obj;
20759 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20760 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20761 Py_INCREF(obj);
20762 return Py_BuildValue((char *)"");
20763}
20764static PyMethodDef SwigMethods[] = {
20765 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20766 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20767 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20768 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20769 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20770 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20771 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20772 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20773 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20774 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20775 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20776 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20777 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20778 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20779 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20780 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20781 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20782 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20783 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20784 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20785 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20786 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20787 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20788 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20789 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20790 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
20791 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
20792 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
d14a1e28
RD
20793 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20794 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20795 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20796 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20797 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20798 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20799 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20800 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20801 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20802 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20803 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20804 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20805 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20806 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20807 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20808 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20809 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20810 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20811 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20812 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20813 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20814 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20815 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20816 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20817 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20818 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20819 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20820 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20821 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20822 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20823 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20824 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20825 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20826 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20827 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20828 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20829 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20830 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20831 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20832 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20833 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20834 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20835 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20836 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20837 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
20838 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20839 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20840 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20841 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20842 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20843 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20844 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20845 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20846 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20847 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20848 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20849 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20850 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20851 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20852 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20853 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20854 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20855 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20856 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20857 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20858 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20859 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20860 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20861 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20862 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20863 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20864 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20865 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20866 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
20867 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
20868 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
20869 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
20870 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
20871 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
20872 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
20873 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
20874 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
20875 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
20876 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
20877 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
20878 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
20879 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
20880 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
20881 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
20882 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
20883 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
20884 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
20885 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
20886 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
20887 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
20888 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20889 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20890 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20891 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20892 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20893 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20894 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20895 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20896 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
20897 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
20898 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20899 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20900 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
20901 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
20902 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
20903 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
20904 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
20905 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
20906 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
20907 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
20908 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
20910 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
20911 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
20912 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20914 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20915 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20918 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20921 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20922 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20923 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20924 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
20927 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
20928 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
20929 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
20935 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
20936 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20940 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
20947 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20950 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
20952 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
20953 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20961 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
20962 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
20965 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
20968 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"PopupWindow_Create", (PyCFunction) _wrap_PopupWindow_Create, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"PopupWindow_Position", (PyCFunction) _wrap_PopupWindow_Position, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
20973 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction) _wrap_PopupTransientWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"PopupTransientWindow_Popup", (PyCFunction) _wrap_PopupTransientWindow_Popup, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction) _wrap_PopupTransientWindow_Dismiss, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
20979 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
20983 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
20991 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
20995 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
21001 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
21006 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
21020 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
21022 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
21026 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
21027 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
21029 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
21033 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
21034 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"TaskBarIcon_IsOk", (PyCFunction) _wrap_TaskBarIcon_IsOk, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction) _wrap_TaskBarIcon_IsIconInstalled, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"TaskBarIcon_SetIcon", (PyCFunction) _wrap_TaskBarIcon_SetIcon, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction) _wrap_TaskBarIcon_RemoveIcon, METH_VARARGS | METH_KEYWORDS },
21040 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction) _wrap_TaskBarIcon_PopupMenu, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
21042 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
21043 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
21044 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
21047 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
21051 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
21053 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
21057 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
21065 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
21069 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
21076 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
21080 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
21083 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
21087 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21093 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21098 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21101 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21114 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21118 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21121 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21122 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21125 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21134 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21143 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21149 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_GetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction) _wrap_MDIParentFrame_SetWindowMenu, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"MDIParentFrame_SetToolBar", (PyCFunction) _wrap_MDIParentFrame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21164 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21166 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21171 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21175 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21196 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21198 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21202 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21217 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21236 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21241 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21252 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21257 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21258 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21259 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21261 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21272 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21273 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21274 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21275 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21277 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21283 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21293 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21297 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21317 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21327 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21331 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21335 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21336 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21341 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21342 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21343 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21344 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21345 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21346 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21347 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21348 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21349 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21350 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21351 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
d14a1e28 21352 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
44127b65 21353 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
21354 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21355 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21356 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21357 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21358 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21359 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21360 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21361 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21362 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21363 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21364 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21365 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21366 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
d14a1e28 21367 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
44127b65 21368 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
21369 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21370 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21371 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21372 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21373 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21374 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21375 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21376 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21377 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21378 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21379 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21380 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21381 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21382 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21383 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21384 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21385 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21386 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21387 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21388 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21389 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21390 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21391 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21392 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21393 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21394 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21395 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21396 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21397 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21398 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21399 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21400 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21401 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21402 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21403 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21404 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21405 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21406 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21407 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21408 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21409 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21410 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21411 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21412 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21413 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21414 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21415 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21416 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21417 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21418 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21419 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21420 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21421 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21422 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21423 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21424 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21425 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21426 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21427 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21428 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21429 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21430 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21431 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21432 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21433 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21434 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21435 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21436 { NULL, NULL }
21437};
21438
21439
21440/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21441
21442static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21443 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21444}
21445static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21446 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21447}
21448static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21449 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21450}
21451static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21452 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21453}
21454static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21455 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21456}
21457static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21458 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21459}
21460static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21461 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21462}
21463static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21464 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21465}
21466static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21467 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21468}
21469static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21470 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21471}
21472static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21473 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21474}
21475static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21476 return (void *)((wxEvent *) ((wxPyEvent *) x));
21477}
21478static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21479 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21480}
21481static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21482 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21483}
21484static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21485 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21486}
21487static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21488 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21489}
21490static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21491 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21492}
21493static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21494 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21495}
21496static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21497 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21498}
21499static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21500 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21501}
21502static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21503 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21504}
21505static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21506 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21507}
21508static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21509 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21510}
21511static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21512 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21513}
21514static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21515 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21516}
21517static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21518 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21519}
21520static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21521 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21522}
21523static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21524 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21525}
21526static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21527 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21528}
21529static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21530 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21531}
21532static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21533 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21534}
21535static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21536 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21537}
21538static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21539 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21540}
21541static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21542 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21543}
21544static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21545 return (void *)((wxEvent *) ((wxShowEvent *) x));
21546}
21547static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21548 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21549}
21550static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21551 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21552}
21553static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21554 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21555}
21556static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21557 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21558}
21559static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21560 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21561}
21562static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21563 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21564}
21565static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21566 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21567}
21568static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21569 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21570}
21571static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21572 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21573}
21574static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21575 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21576}
21577static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21578 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21579}
21580static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21581 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21582}
21583static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21584 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21585}
21586static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21587 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21588}
21589static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21590 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21591}
21592static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21593 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21594}
21595static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21596 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21597}
21598static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21599 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21600}
21601static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21602 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21603}
21604static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21605 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21606}
21607static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21608 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21609}
21610static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21611 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21612}
21613static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21614 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21615}
21616static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21617 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21618}
21619static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21620 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21621}
21622static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21623 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
21624}
21625static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21626 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21627}
21628static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21629 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21630}
21631static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21632 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21633}
21634static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21635 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21636}
21637static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21638 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21639}
21640static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21641 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21642}
21643static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21644 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21645}
21646static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21647 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21648}
21649static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21650 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21651}
21652static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21653 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21654}
21655static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21656 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21657}
21658static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21659 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21660}
21661static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21662 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21663}
21664static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21665 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21666}
21667static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21668 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21669}
21670static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21671 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21672}
21673static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21674 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21675}
21676static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21677 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21678}
21679static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21680 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21681}
21682static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21683 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21684}
21685static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21686 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21687}
21688static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21689 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21690}
21691static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21692 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21693}
21694static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21695 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21696}
21697static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21698 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21699}
21700static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21701 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21702}
21703static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21704 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21705}
21706static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21707 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21708}
21709static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21710 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21711}
21712static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21713 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21714}
21715static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21716 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21717}
21718static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21719 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21720}
21721static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21722 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21723}
21724static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21725 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21726}
21727static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21728 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21729}
21730static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21731 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21732}
21733static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21734 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21735}
21736static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21737 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21738}
21739static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21740 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21741}
21742static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21743 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21744}
21745static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21746 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21747}
21748static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21749 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21750}
21751static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21752 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21753}
21754static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21755 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21756}
21757static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21758 return (void *)((wxObject *) ((wxSizerItem *) x));
21759}
21760static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21761 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21762}
21763static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21764 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21765}
21766static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21767 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21768}
21769static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21770 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21771}
21772static void *_p_wxSizerTo_p_wxObject(void *x) {
21773 return (void *)((wxObject *) ((wxSizer *) x));
21774}
21775static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21776 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21777}
21778static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21779 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21780}
21781static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21782 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21783}
21784static void *_p_wxEventTo_p_wxObject(void *x) {
21785 return (void *)((wxObject *) ((wxEvent *) x));
21786}
21787static void *_p_wxFontDataTo_p_wxObject(void *x) {
21788 return (void *)((wxObject *) ((wxFontData *) x));
21789}
21790static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21791 return (void *)((wxObject *) ((wxPrintData *) x));
21792}
21793static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21794 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21795}
21796static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21797 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21798}
21799static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21800 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21801}
21802static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21803 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21804}
21805static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21806 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21807}
21808static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21809 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21810}
21811static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21812 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21813}
21814static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21815 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21816}
21817static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21818 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21819}
21820static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21821 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21822}
21823static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21824 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21825}
21826static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21827 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21828}
21829static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21830 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21831}
21832static void *_p_wxControlTo_p_wxObject(void *x) {
21833 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21834}
21835static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21836 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21837}
21838static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21839 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21840}
21841static void *_p_wxFSFileTo_p_wxObject(void *x) {
21842 return (void *)((wxObject *) ((wxFSFile *) x));
21843}
21844static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21845 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21846}
21847static void *_p_wxPySizerTo_p_wxObject(void *x) {
21848 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21849}
21850static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21851 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21852}
21853static void *_p_wxColourDataTo_p_wxObject(void *x) {
21854 return (void *)((wxObject *) ((wxColourData *) x));
21855}
21856static void *_p_wxPyEventTo_p_wxObject(void *x) {
21857 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21858}
21859static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21860 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21861}
21862static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21863 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21864}
21865static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21866 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21867}
21868static void *_p_wxFileDialogTo_p_wxObject(void *x) {
21869 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21870}
21871static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
21872 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21873}
21874static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
21875 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21876}
21877static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
21878 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21879}
21880static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
21881 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21882}
21883static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
21884 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21885}
21886static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
21887 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21888}
21889static void *_p_wxShowEventTo_p_wxObject(void *x) {
21890 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21891}
21892static void *_p_wxPrinterTo_p_wxObject(void *x) {
21893 return (void *)((wxObject *) ((wxPrinter *) x));
21894}
21895static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21896 return (void *)((wxObject *) ((wxMenuItem *) x));
21897}
21898static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21899 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21900}
21901static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21902 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21903}
21904static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21905 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21906}
21907static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21908 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21909}
21910static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21911 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21912}
21913static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21914 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21915}
21916static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21917 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21918}
21919static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21920 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21921}
21922static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21923 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21924}
21925static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21926 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21927}
21928static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21929 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21930}
21931static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21932 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21933}
21934static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21935 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21936}
21937static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21938 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21939}
21940static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21941 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21942}
21943static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21944 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21945}
21946static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21947 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21948}
21949static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21950 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21951}
21952static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21953 return (void *)((wxObject *) ((wxImageHandler *) x));
21954}
21955static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21956 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21957}
21958static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21959 return (void *)((wxObject *) ((wxEvtHandler *) x));
21960}
21961static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
21962 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
21963}
21964static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
21965 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21966}
21967static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
21968 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21969}
21970static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21971 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21972}
21973static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
21974 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21975}
21976static void *_p_wxImageTo_p_wxObject(void *x) {
21977 return (void *)((wxObject *) ((wxImage *) x));
21978}
21979static void *_p_wxFrameTo_p_wxObject(void *x) {
21980 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21981}
21982static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
21983 return (void *)((wxObject *) ((wxPyPrintout *) x));
21984}
21985static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21986 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21987}
21988static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
21989 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
21990}
21991static void *_p_wxStatusBarTo_p_wxObject(void *x) {
21992 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
21993}
21994static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
21995 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21996}
21997static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21998 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21999}
22000static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
22001 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
22002}
22003static void *_p_wxKeyEventTo_p_wxObject(void *x) {
22004 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
22005}
d14a1e28
RD
22006static void *_p_wxWindowTo_p_wxObject(void *x) {
22007 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
22008}
22009static void *_p_wxMenuTo_p_wxObject(void *x) {
22010 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
22011}
22012static void *_p_wxMenuBarTo_p_wxObject(void *x) {
22013 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
22014}
41f1cec7
RD
22015static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
22016 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
22017}
d14a1e28
RD
22018static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
22019 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
22020}
22021static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
22022 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
22023}
22024static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
22025 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
22026}
22027static void *_p_wxSashWindowTo_p_wxObject(void *x) {
22028 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
22029}
22030static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
22031 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
22032}
22033static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
22034 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
22035}
22036static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
22037 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22038}
22039static void *_p_wxTipWindowTo_p_wxObject(void *x) {
22040 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22041}
22042static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
22043 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
22044}
22045static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
22046 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
22047}
22048static void *_p_wxSashEventTo_p_wxObject(void *x) {
22049 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
22050}
22051static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
22052 return (void *)((wxObject *) ((wxPrintPreview *) x));
22053}
22054static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
22055 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
22056}
22057static void *_p_wxPanelTo_p_wxObject(void *x) {
22058 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
22059}
22060static void *_p_wxDialogTo_p_wxObject(void *x) {
22061 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
22062}
22063static void *_p_wxColourDialogTo_p_wxObject(void *x) {
22064 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22065}
22066static void *_p_wxDirDialogTo_p_wxObject(void *x) {
22067 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22068}
22069static void *_p_wxFontDialogTo_p_wxObject(void *x) {
22070 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22071}
22072static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
22073 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22074}
22075static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
22076 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22077}
22078static void *_p_wxFileSystemTo_p_wxObject(void *x) {
22079 return (void *)((wxObject *) ((wxFileSystem *) x));
22080}
22081static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
22082 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
22083}
22084static void *_p_wxMenuEventTo_p_wxObject(void *x) {
22085 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
22086}
22087static void *_p_wxPyAppTo_p_wxObject(void *x) {
22088 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
22089}
22090static void *_p_wxCloseEventTo_p_wxObject(void *x) {
22091 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22092}
22093static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22094 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22095}
22096static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22097 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22098}
22099static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22100 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22101}
22102static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22103 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22104}
22105static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22106 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22107}
22108static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22109 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22110}
22111static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22112 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22113}
22114static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22115 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22116}
22117static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22118 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22119}
22120static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22121 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22122}
22123static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22124 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22125}
22126static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22127 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22128}
22129static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22130 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22131}
22132static void *_p_wxValidatorTo_p_wxObject(void *x) {
22133 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22134}
22135static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22136 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22137}
22138static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22139 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22140}
22141static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x) {
22142 return (void *)((wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22143}
22144static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22145 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22146}
22147static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x) {
22148 return (void *)((wxPopupWindow *) (wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22149}
22150static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22151 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22152}
22153static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22154 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22155}
22156static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22157 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22158}
22159static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22160 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22161}
22162static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22163 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22164}
22165static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22166 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22167}
22168static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22169 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22170}
22171static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22172 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22173}
22174static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22175 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22176}
22177static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22178 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22179}
22180static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22181 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22182}
22183static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22184 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22185}
22186static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22187 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22188}
22189static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22190 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22191}
22192static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22193 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22194}
22195static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22196 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22197}
22198static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22199 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22200}
22201static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22202 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22203}
22204static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22205 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22206}
22207static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22208 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22209}
22210static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22211 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22212}
22213static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22214 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22215}
22216static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22217 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22218}
22219static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22220 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22221}
22222static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22223 return (void *)((wxWindow *) ((wxMenuBar *) x));
22224}
22225static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22226 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22227}
22228static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22229 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22230}
22231static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22232 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22233}
22234static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22235 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22236}
22237static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22238 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22239}
22240static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22241 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22242}
22243static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22244 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22245}
22246static void *_p_wxPanelTo_p_wxWindow(void *x) {
22247 return (void *)((wxWindow *) ((wxPanel *) x));
22248}
22249static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22250 return (void *)((wxWindow *) ((wxStatusBar *) x));
22251}
22252static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22253 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22254}
22255static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22256 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22257}
22258static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22259 return (void *)((wxWindow *) (wxPopupWindow *)(wxPyPopupTransientWindow *) ((wxTipWindow *) x));
22260}
22261static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22262 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22263}
22264static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22265 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22266}
22267static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22268 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22269}
22270static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22271 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22272}
22273static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22274 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22275}
22276static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22277 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22278}
22279static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22280 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22281}
22282static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22283 return (void *)((wxWindow *) ((wxSashWindow *) x));
22284}
22285static void *_p_wxControlTo_p_wxWindow(void *x) {
22286 return (void *)((wxWindow *) ((wxControl *) x));
22287}
22288static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22289 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22290}
22291static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22292 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22293}
22294static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22295 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22296}
22297static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22298 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22299}
22300static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22301 return (void *)((wxWindow *) ((wxPyWindow *) x));
22302}
22303static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22304 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22305}
22306static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22307 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22308}
22309static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22310 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22311}
22312static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22313 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22314}
22315static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22316 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22317}
22318static void *_p_wxFrameTo_p_wxWindow(void *x) {
22319 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22320}
22321static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22322 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22323}
22324static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22325 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22326}
22327static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22328 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22329}
22330static void *_p_wxDialogTo_p_wxWindow(void *x) {
22331 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22332}
22333static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22334 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22335}
22336static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22337 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22338}
22339static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22340 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22341}
22342static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22343 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22344}
22345static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22346 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22347}
22348static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22349 return (void *)((wxDialog *) ((wxColourDialog *) x));
22350}
22351static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22352 return (void *)((wxDialog *) ((wxDirDialog *) x));
22353}
22354static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22355 return (void *)((wxDialog *) ((wxFontDialog *) x));
22356}
22357static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22358 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22359}
22360static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22361 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22362}
22363static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22364 return (void *)((wxDialog *) ((wxFileDialog *) x));
22365}
22366static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22367 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22368}
22369static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22370 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22371}
22372static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22373 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22374}
22375static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22376 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22377}
22378static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22379 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22380}
22381static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22382 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22383}
22384static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22385 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22386}
22387static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22388 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22389}
22390static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22391 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22392}
22393static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22394 return (void *)((wxPanel *) ((wxPyPanel *) x));
22395}
22396static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22397 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22398}
22399static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22400 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22401}
22402static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22403 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22404}
22405static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22406 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22407}
22408static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22409 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22410}
22411static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22412 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22413}
22414static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22415 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22416}
22417static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22418 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22419}
22420static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22421 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22422}
22423static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22424 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22425}
22426static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22427 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22428}
22429static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22430 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22431}
22432static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22433 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22434}
22435static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22436 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22437}
22438static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22439 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22440}
22441static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22442static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22443static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
d14a1e28
RD
22444static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22445static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22446static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22447static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22448static 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}};
22449static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22450static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22451static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22452static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22453static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22454static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22455static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22456static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22457static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22458static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22459static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22460static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22461static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22462static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22463static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22464static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22465static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22466static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22467static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22468static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22469static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22470static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22471static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22472static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22473static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22474static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
d14a1e28
RD
22475static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22476static 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}};
22477static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22478static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22479static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22480static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
d14a1e28
RD
22481static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22482static 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}};
22483static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22484static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22485static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22486static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22487static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22488static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22489static 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}};
22490static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22491static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22492static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22493static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22494static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
d14a1e28
RD
22495static 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}};
22496static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{"_p_wxTipWindow", _p_wxTipWindowTo_p_wxPyPopupTransientWindow},{0}};
22497static 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}};
22498static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22499static 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}};
22500static 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}};
22501static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
41f1cec7 22502static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
d14a1e28
RD
22503static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22504static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22505static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22506static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22507static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
41f1cec7 22508static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
d14a1e28
RD
22509static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22510static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22511static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22512static 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}};
22513static 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
22514static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22515static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22516static 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}};
22517static swig_type_info _swigt__p_wxPrintQuality[] = {{"_p_wxPrintQuality", 0, "wxPrintQuality *", 0},{"_p_wxPrintQuality"},{0}};
22518static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22519static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22520static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22521static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
22522static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
22523static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
22524
22525static swig_type_info *swig_types_initial[] = {
22526_swigt__p_wxQueryLayoutInfoEvent,
22527_swigt__p_wxPreviewFrame,
22528_swigt__p_wxPyPreviewFrame,
d14a1e28
RD
22529_swigt__p_wxPyPanel,
22530_swigt__p_wxMenu,
22531_swigt__p_wxPrintData,
22532_swigt__p_wxFontData,
22533_swigt__p_wxEvent,
22534_swigt__p_wxTaskBarIcon,
22535_swigt__p_wxIconBundle,
22536_swigt__p_wxLayoutAlgorithm,
22537_swigt__p_wxFindDialogEvent,
22538_swigt__p_wxPreviewCanvas,
22539_swigt__p_wxFont,
22540_swigt__p_wxSplitterEvent,
22541_swigt__p_wxRegion,
22542_swigt__p_wxFindReplaceData,
22543_swigt__p_int,
22544_swigt__p_wxSize,
22545_swigt__p_wxDC,
22546_swigt__p_wxIcon,
22547_swigt__p_wxMDIChildFrame,
22548_swigt__p_wxColourData,
22549_swigt__p_wxNotifyEvent,
22550_swigt__p_wxPyWindow,
22551_swigt__p_wxSplashScreen,
22552_swigt__p_wxFindReplaceDialog,
22553_swigt__p_wxProgressDialog,
22554_swigt__p_wxMessageDialog,
22555_swigt__p_wxTextEntryDialog,
22556_swigt__p_wxSingleChoiceDialog,
22557_swigt__p_wxMultiChoiceDialog,
22558_swigt__p_wxFileDialog,
22559_swigt__p_wxPrinter,
d14a1e28
RD
22560_swigt__p_wxArrayInt,
22561_swigt__p_wxEvtHandler,
22562_swigt__p_wxCalculateLayoutEvent,
22563_swigt__p_wxPyHtmlListBox,
22564_swigt__p_wxPyVListBox,
22565_swigt__p_wxRect,
d14a1e28
RD
22566_swigt__p_wxMiniFrame,
22567_swigt__p_wxFrame,
22568_swigt__p_wxPyPrintout,
22569_swigt__p_wxTaskBarIconEvent,
22570_swigt__p_wxScrollWinEvent,
22571_swigt__p_wxStatusBar,
22572_swigt__p_wxMDIParentFrame,
22573_swigt__p_wxPoint,
22574_swigt__p_wxObject,
22575_swigt__p_unsigned_long,
22576_swigt__p_wxMDIClientWindow,
22577_swigt__p_wxTipWindow,
22578_swigt__p_wxSashLayoutWindow,
22579_swigt__p_wxSplitterWindow,
d14a1e28
RD
22580_swigt__p_wxPyVScrolledWindow,
22581_swigt__p_wxPyPopupTransientWindow,
22582_swigt__p_wxPopupWindow,
22583_swigt__p_wxSashWindow,
22584_swigt__p_wxTopLevelWindow,
22585_swigt__p_wxWindow,
22586_swigt__p_wxScrolledWindow,
41f1cec7 22587_swigt__p_wxSplashScreenWindow,
d14a1e28
RD
22588_swigt__p_wxMenuBar,
22589_swigt__p_wxPrintPreview,
22590_swigt__p_wxSashEvent,
22591_swigt__p_wxString,
22592_swigt__p_wxPyPrintPreview,
41f1cec7 22593_swigt__p_wxPageSetupDialog,
d14a1e28
RD
22594_swigt__p_wxFontDialog,
22595_swigt__p_wxDirDialog,
22596_swigt__p_wxColourDialog,
22597_swigt__p_wxDialog,
22598_swigt__p_wxPanel,
d14a1e28
RD
22599_swigt__p_wxPrintDialog,
22600_swigt__p_wxBitmap,
22601_swigt__p_wxCommandEvent,
22602_swigt__p_wxPrintQuality,
22603_swigt__p_wxPreviewControlBar,
22604_swigt__p_wxPyPreviewControlBar,
22605_swigt__p_wxColour,
22606_swigt__p_wxToolBar,
22607_swigt__p_wxPageSetupDialogData,
22608_swigt__p_wxPrintDialogData,
226090
22610};
22611
22612
22613/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22614
22615static swig_const_info swig_const_table[] = {
22616{ SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22617{ SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22618{ SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22619{ SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22620{ SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22621{ SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22622{ SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22623{ SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22624{ SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22625{ SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22626{ SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22627{ SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22628{ SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22629{ SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22630{ SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22631{ SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22632{ SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22633{ SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22634{ SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22635{ SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22636{ SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22637{ SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22638{ SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22639{ SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22640{ SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22641{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22642{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22643{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22644{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22645{ SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22646{ SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22647{ SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22648{ SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22649{ SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22650{ SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22651{ SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22652{ SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22653{ SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22654{ SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22655{ SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22656{ SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22657{ SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22658{ SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22659{ SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22660{ SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22661{ SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22662{ SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22663{ SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22664{ SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22665{ SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22666{ SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22667{ SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22668{ SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22669{ SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22670{ SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22671{ SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22672{ SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22673{ SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22674{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22675{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22676{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22677{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22678{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22679{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22680{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22681{ SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22682{ SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22683{ SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22684{ SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22685{ SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22686{ SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22687{ SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22688{ SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22689{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22690{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22691{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22692{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22693{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22694{ SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22695{ SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22696{ SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22697{ SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22698{ SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22699{ SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22700{ SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22701{ SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22702{ SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22703{ SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22704{ SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22705{ SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22706{ SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22707{ SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22708{ SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22709{ SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22710{ SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22711{ SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22712{ SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22713{ SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22714{ SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22715{ SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22716{ SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22717{ SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22718{ SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22719{ SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22720{ SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22721{ SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22722{ SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22723{ SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22724{ SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22725{0}};
22726
22727#ifdef __cplusplus
22728}
22729#endif
22730
22731#ifdef __cplusplus
22732extern "C"
22733#endif
22734SWIGEXPORT(void) SWIG_init(void) {
22735 static PyObject *SWIG_globals = 0;
22736 static int typeinit = 0;
22737 PyObject *m, *d;
22738 int i;
22739 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22740 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22741 d = PyModule_GetDict(m);
22742
22743 if (!typeinit) {
22744 for (i = 0; swig_types_initial[i]; i++) {
22745 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22746 }
22747 typeinit = 1;
22748 }
22749 SWIG_InstallConstants(d,swig_const_table);
22750
d14a1e28
RD
22751 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22752 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22753 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22754 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
22755 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22756 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22757 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
22758
22759 // Map renamed classes back to their common name for OOR
22760 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22761 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22762 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22763
22764 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22765 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22766 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22767 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22768 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22769 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22770 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
22771 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22772 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22773 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22774 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22775 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
22776
22777 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22778
22779}
22780