]> git.saurik.com Git - wxWidgets.git/blame - wxPython/src/mac/windows_wrap.cpp
reSWIGged
[wxWidgets.git] / wxPython / src / mac / windows_wrap.cpp
CommitLineData
d14a1e28
RD
1/* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
3 * Version 1.3.20
4 *
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
10
11#define SWIGPYTHON
12#define SWIG_NOINCLUDE
13
14#ifdef __cplusplus
15template<class T> class SwigValueWrapper {
16 T *tt;
17public:
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper<T>& rhs) : tt(new T(*rhs.tt)) { }
20 SwigValueWrapper(const T& t) : tt(new T(t)) { }
21 ~SwigValueWrapper() { delete tt; }
22 SwigValueWrapper& operator=(const T& t) { delete tt; tt = new T(t); return *this; }
23 operator T&() const { return *tt; }
24 T *operator&() { return tt; }
25private:
26 SwigValueWrapper& operator=(const SwigValueWrapper<T>& rhs);
27};
28#endif
29
30
31#include "Python.h"
32
33/*************************************************************** -*- c -*-
34 * python/precommon.swg
35 *
36 * Rename all exported symbols from common.swg, to avoid symbol
37 * clashes if multiple interpreters are included
38 *
39 ************************************************************************/
40
41#define SWIG_TypeRegister SWIG_Python_TypeRegister
42#define SWIG_TypeCheck SWIG_Python_TypeCheck
43#define SWIG_TypeCast SWIG_Python_TypeCast
44#define SWIG_TypeDynamicCast SWIG_Python_TypeDynamicCast
45#define SWIG_TypeName SWIG_Python_TypeName
46#define SWIG_TypeQuery SWIG_Python_TypeQuery
47#define SWIG_TypeClientData SWIG_Python_TypeClientData
9fd4be55
RD
48#define SWIG_PackData SWIG_Python_PackData
49#define SWIG_UnpackData SWIG_Python_UnpackData
50
d14a1e28
RD
51
52/***********************************************************************
53 * common.swg for wxPython
54 *
55 * Include only the function prototypes and such from SWIG's common.swg,
56 * but not the runtime functions themselves. This helps keep the
57 * wrapper files clean of unnecessary stuff that is in the libpy.c file
58 * anyway.
59 *
60 ************************************************************************/
61
62#include <string.h>
63
0f774bef
RD
64#if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
65# if defined(_MSC_VER) || defined(__GNUC__)
66# if defined(STATIC_LINKED)
67# define SWIGEXPORT(a) a
68# define SWIGIMPORT(a) extern a
69# else
70# define SWIGEXPORT(a) __declspec(dllexport) a
71# define SWIGIMPORT(a) extern a
72# endif
73# else
74# if defined(__BORLANDC__)
75# define SWIGEXPORT(a) a _export
76# define SWIGIMPORT(a) a _export
77# else
78# define SWIGEXPORT(a) a
79# define SWIGIMPORT(a) a
80# endif
81# endif
d14a1e28 82#else
0f774bef
RD
83# define SWIGEXPORT(a) a
84# define SWIGIMPORT(a) a
d14a1e28
RD
85#endif
86
87#ifdef SWIG_GLOBAL
0f774bef 88# define SWIGRUNTIME(a) SWIGEXPORT(a)
d14a1e28 89#else
0f774bef 90# define SWIGRUNTIME(a) static a
d14a1e28
RD
91#endif
92
d14a1e28
RD
93#ifdef __cplusplus
94extern "C" {
95#endif
96
97typedef void *(*swig_converter_func)(void *);
98typedef struct swig_type_info *(*swig_dycast_func)(void **);
99
100typedef struct swig_type_info {
0f774bef 101 const char *name;
d14a1e28
RD
102 swig_converter_func converter;
103 const char *str;
0f774bef 104 void *clientdata;
d14a1e28
RD
105 swig_dycast_func dcast;
106 struct swig_type_info *next;
107 struct swig_type_info *prev;
108} swig_type_info;
109
110
111SWIGIMPORT(swig_type_info *) SWIG_TypeRegister(swig_type_info *);
112SWIGIMPORT(swig_type_info *) SWIG_TypeCheck(char *c, swig_type_info *);
113SWIGIMPORT(void *) SWIG_TypeCast(swig_type_info *, void *);
114SWIGIMPORT(swig_type_info *) SWIG_TypeDynamicCast(swig_type_info *, void **);
115SWIGIMPORT(const char *) SWIG_TypeName(const swig_type_info *);
116SWIGIMPORT(swig_type_info *) SWIG_TypeQuery(const char *);
117SWIGIMPORT(void) SWIG_TypeClientData(swig_type_info *, void *);
0f774bef
RD
118SWIGIMPORT(char *) SWIG_PackData(char *, void *, int);
119SWIGIMPORT(char *) SWIG_UnpackData(char *, void *, int);
d14a1e28
RD
120
121
122#ifdef __cplusplus
123}
423f194a 124
d14a1e28
RD
125#endif
126
0f774bef 127
d14a1e28
RD
128/***********************************************************************
129 * pyrun.swg for wxPython
130 *
131 * Include only the function prototypes and such from SWIG's pyrun.swg,
132 * but not the runtime functions themselves. This helps keep the
133 * wrapper files clean of unnecessary stuff that is in the libpy.c file
134 * anyway.
135 *
136 ************************************************************************/
137
d14a1e28
RD
138#include "Python.h"
139
140#ifdef __cplusplus
141extern "C" {
142#endif
143
144#define SWIG_PY_INT 1
145#define SWIG_PY_FLOAT 2
146#define SWIG_PY_STRING 3
147#define SWIG_PY_POINTER 4
148#define SWIG_PY_BINARY 5
149
150/* Flags for pointer conversion */
151
152#define SWIG_POINTER_EXCEPTION 0x1
153#define SWIG_POINTER_DISOWN 0x2
154
155/* Exception handling in wrappers */
156#define SWIG_fail goto fail
157
158/* Constant information structure */
159typedef struct swig_const_info {
160 int type;
161 char *name;
162 long lvalue;
163 double dvalue;
164 void *pvalue;
165 swig_type_info **ptype;
166} swig_const_info;
167
d14a1e28
RD
168/* Common SWIG API */
169#define SWIG_ConvertPtr(obj, pp, type, flags) \
170 SWIG_Python_ConvertPtr(obj, pp, type, flags)
171#define SWIG_NewPointerObj(p, type, flags) \
172 SWIG_Python_NewPointerObj(p, type, flags)
173#define SWIG_MustGetPtr(p, type, argnum, flags) \
174 SWIG_Python_MustGetPtr(p, type, argnum, flags)
175
176/* Python-specific SWIG API */
177#define SWIG_newvarlink() \
178 SWIG_Python_newvarlink()
179#define SWIG_addvarlink(p, name, get_attr, set_attr) \
180 SWIG_Python_addvarlink(p, name, get_attr, set_attr)
181#define SWIG_ConvertPacked(obj, ptr, sz, ty, flags) \
182 SWIG_Python_ConvertPacked(obj, ptr, sz, ty, flags)
d14a1e28
RD
183#define SWIG_NewPackedObj(ptr, sz, type) \
184 SWIG_Python_NewPackedObj(ptr, sz, type)
185#define SWIG_InstallConstants(d, constants) \
186 SWIG_Python_InstallConstants(d, constants)
187
188
0f774bef
RD
189SWIGIMPORT(int) SWIG_Python_ConvertPtr(PyObject *, void **, swig_type_info *, int);
190SWIGIMPORT(PyObject *) SWIG_Python_NewPointerObj(void *, swig_type_info *,int own);
191SWIGIMPORT(void *) SWIG_Python_MustGetPtr(PyObject *, swig_type_info *, int, int);
192SWIGIMPORT(PyObject *) SWIG_Python_newvarlink(void);
193SWIGIMPORT(void) SWIG_Python_addvarlink(PyObject *, char *, PyObject *(*)(void), int (*)(PyObject *));
194SWIGIMPORT(int) SWIG_Python_ConvertPacked(PyObject *, void *, int sz, swig_type_info *, int);
195SWIGIMPORT(PyObject *) SWIG_Python_NewPackedObj(void *, int sz, swig_type_info *);
196SWIGIMPORT(void) SWIG_Python_InstallConstants(PyObject *d, swig_const_info constants[]);
d14a1e28 197
d14a1e28
RD
198
199
200/* Contract support */
201
423f194a 202#define SWIG_contract_assert(expr, msg) if (!(expr)) { PyErr_SetString(PyExc_RuntimeError, (char *) msg ); goto fail; } else
d14a1e28 203
d14a1e28
RD
204#ifdef __cplusplus
205}
206#endif
207
208
209
210/* -------- TYPES TABLE (BEGIN) -------- */
211
212#define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[0]
213#define SWIGTYPE_p_wxPreviewFrame swig_types[1]
214#define SWIGTYPE_p_wxPyPreviewFrame swig_types[2]
41f1cec7
RD
215#define SWIGTYPE_p_wxPyPanel swig_types[3]
216#define SWIGTYPE_p_wxMenu swig_types[4]
217#define SWIGTYPE_p_wxPrintData swig_types[5]
218#define SWIGTYPE_p_wxFontData swig_types[6]
219#define SWIGTYPE_p_wxEvent swig_types[7]
220#define SWIGTYPE_p_wxTaskBarIcon swig_types[8]
221#define SWIGTYPE_p_wxIconBundle swig_types[9]
222#define SWIGTYPE_p_wxLayoutAlgorithm swig_types[10]
223#define SWIGTYPE_p_wxFindDialogEvent swig_types[11]
224#define SWIGTYPE_p_wxPreviewCanvas swig_types[12]
225#define SWIGTYPE_p_wxFont swig_types[13]
226#define SWIGTYPE_p_wxSplitterEvent swig_types[14]
227#define SWIGTYPE_p_wxRegion swig_types[15]
228#define SWIGTYPE_p_wxFindReplaceData swig_types[16]
229#define SWIGTYPE_p_int swig_types[17]
230#define SWIGTYPE_p_wxSize swig_types[18]
231#define SWIGTYPE_p_wxDC swig_types[19]
232#define SWIGTYPE_p_wxIcon swig_types[20]
233#define SWIGTYPE_p_wxMDIChildFrame swig_types[21]
234#define SWIGTYPE_p_wxColourData swig_types[22]
235#define SWIGTYPE_p_wxNotifyEvent swig_types[23]
236#define SWIGTYPE_p_wxPyWindow swig_types[24]
237#define SWIGTYPE_p_wxSplashScreen swig_types[25]
238#define SWIGTYPE_p_wxFindReplaceDialog swig_types[26]
239#define SWIGTYPE_p_wxProgressDialog swig_types[27]
240#define SWIGTYPE_p_wxMessageDialog swig_types[28]
241#define SWIGTYPE_p_wxTextEntryDialog swig_types[29]
242#define SWIGTYPE_p_wxSingleChoiceDialog swig_types[30]
243#define SWIGTYPE_p_wxMultiChoiceDialog swig_types[31]
244#define SWIGTYPE_p_wxFileDialog swig_types[32]
245#define SWIGTYPE_p_wxPrinter swig_types[33]
246#define SWIGTYPE_p_wxArrayInt swig_types[34]
247#define SWIGTYPE_p_wxEvtHandler swig_types[35]
248#define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[36]
249#define SWIGTYPE_p_wxPyHtmlListBox swig_types[37]
250#define SWIGTYPE_p_wxPyVListBox swig_types[38]
251#define SWIGTYPE_p_wxRect swig_types[39]
252#define SWIGTYPE_p_wxMiniFrame swig_types[40]
253#define SWIGTYPE_p_wxFrame swig_types[41]
254#define SWIGTYPE_p_wxPyPrintout swig_types[42]
255#define SWIGTYPE_p_wxTaskBarIconEvent swig_types[43]
256#define SWIGTYPE_p_wxScrollWinEvent swig_types[44]
257#define SWIGTYPE_p_wxStatusBar swig_types[45]
258#define SWIGTYPE_p_wxMDIParentFrame swig_types[46]
259#define SWIGTYPE_p_wxPoint swig_types[47]
260#define SWIGTYPE_p_wxObject swig_types[48]
261#define SWIGTYPE_p_unsigned_long swig_types[49]
262#define SWIGTYPE_p_wxMDIClientWindow swig_types[50]
263#define SWIGTYPE_p_wxTipWindow swig_types[51]
264#define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[52]
265#define SWIGTYPE_p_wxSashLayoutWindow swig_types[53]
266#define SWIGTYPE_p_wxSplitterWindow swig_types[54]
267#define SWIGTYPE_p_wxPyVScrolledWindow swig_types[55]
268#define SWIGTYPE_p_wxPopupWindow swig_types[56]
269#define SWIGTYPE_p_wxSashWindow swig_types[57]
270#define SWIGTYPE_p_wxTopLevelWindow swig_types[58]
271#define SWIGTYPE_p_wxWindow swig_types[59]
272#define SWIGTYPE_p_wxScrolledWindow swig_types[60]
273#define SWIGTYPE_p_wxSplashScreenWindow swig_types[61]
274#define SWIGTYPE_p_wxMenuBar swig_types[62]
275#define SWIGTYPE_p_wxPrintPreview swig_types[63]
276#define SWIGTYPE_p_wxSashEvent swig_types[64]
277#define SWIGTYPE_p_wxString swig_types[65]
278#define SWIGTYPE_p_wxPyPrintPreview swig_types[66]
279#define SWIGTYPE_p_wxPageSetupDialog swig_types[67]
280#define SWIGTYPE_p_wxFontDialog swig_types[68]
281#define SWIGTYPE_p_wxDirDialog swig_types[69]
282#define SWIGTYPE_p_wxColourDialog swig_types[70]
283#define SWIGTYPE_p_wxDialog swig_types[71]
284#define SWIGTYPE_p_wxPanel swig_types[72]
285#define SWIGTYPE_p_wxPrintDialog swig_types[73]
286#define SWIGTYPE_p_wxBitmap swig_types[74]
287#define SWIGTYPE_p_wxCommandEvent swig_types[75]
cbd72d4f
RD
288#define SWIGTYPE_p_wxPreviewControlBar swig_types[76]
289#define SWIGTYPE_p_wxPyPreviewControlBar swig_types[77]
290#define SWIGTYPE_p_wxColour swig_types[78]
291#define SWIGTYPE_p_wxToolBar swig_types[79]
292#define SWIGTYPE_p_wxPrintDialogData swig_types[80]
41f1cec7 293#define SWIGTYPE_p_wxPageSetupDialogData swig_types[81]
cbd72d4f 294static swig_type_info *swig_types[83];
d14a1e28
RD
295
296/* -------- TYPES TABLE (END) -------- */
297
298
299/*-----------------------------------------------
300 @(target):= _windows.so
301 ------------------------------------------------*/
302#define SWIG_init init_windows
303
304#define SWIG_name "_windows"
305
306#include "wx/wxPython/wxPython.h"
307#include "wx/wxPython/pyclasses.h"
308
d14a1e28 309
cbd72d4f
RD
310 static const wxString wxPyEmptyString(wxEmptyString);
311 static const wxString wxPyPanelNameStr(wxPanelNameStr);
d14a1e28
RD
312
313
314
315static PyObject* t_output_helper(PyObject* target, PyObject* o) {
316 PyObject* o2;
317 PyObject* o3;
318
319 if (!target) {
320 target = o;
321 } else if (target == Py_None) {
322 Py_DECREF(Py_None);
323 target = o;
324 } else {
325 if (!PyTuple_Check(target)) {
326 o2 = target;
327 target = PyTuple_New(1);
328 PyTuple_SetItem(target, 0, o2);
329 }
330 o3 = PyTuple_New(1);
331 PyTuple_SetItem(o3, 0, o);
332
333 o2 = target;
334 target = PySequence_Concat(o2, o3);
335 Py_DECREF(o2);
336 Py_DECREF(o3);
337 }
338 return target;
339}
340
cbd72d4f
RD
341 static const wxString wxPyFrameNameStr(wxFrameNameStr);
342 static const wxString wxPyDialogNameStr(wxDialogNameStr);
343 static const wxString wxPyStatusLineNameStr(wxStatusLineNameStr);
344 static const wxString wxPyToolBarNameStr(wxToolBarNameStr);
d14a1e28
RD
345bool wxDialog_IsModalShowing(wxDialog *self){
346
347
348
349 return self->IsModalShowing();
350
351 }
352
353
44127b65
RD
354wxRect wxStatusBar_GetFieldRect(wxStatusBar *self,int i){
355 wxRect r;
356 self->GetFieldRect(i, r);
357 return r;
358 }
cbd72d4f
RD
359 static const wxString wxPySplitterNameStr(wxT(wxT("splitter")));
360 static const wxString wxPySashNameStr(wxT(wxT("sashWindow")));
361 static const wxString wxPySashLayoutNameStr(wxT(wxT("layoutWindow")));
d14a1e28
RD
362
363#include <wx/popupwin.h>
364
365
366class wxPopupWindow : public wxWindow {
367public:
cbd72d4f
RD
368 wxPopupWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
369 wxPopupWindow() { wxPyRaiseNotImplemented(); }
d14a1e28
RD
370};
371
372class wxPyPopupTransientWindow : public wxPopupWindow
373{
374public:
cbd72d4f
RD
375 wxPyPopupTransientWindow(wxWindow *, int) { wxPyRaiseNotImplemented(); }
376 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
d14a1e28
RD
377};
378
379
380#include <wx/tipwin.h>
381
100c4552
RD
382wxTipWindow *new_wxTipWindow(wxWindow *parent,wxString const &text,int maxLength,wxRect *rectBound){
383 return new wxTipWindow(parent, text, maxLength, NULL, rectBound);
d14a1e28
RD
384 }
385
386#include <wx/tipwin.h>
387
388
389#include <wx/vscroll.h>
390
391
392class wxPyVScrolledWindow : public wxVScrolledWindow
393{
394 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow);
395public:
396 wxPyVScrolledWindow() : wxVScrolledWindow() {}
397
398 wxPyVScrolledWindow(wxWindow *parent,
399 wxWindowID id = wxID_ANY,
400 const wxPoint& pos = wxDefaultPosition,
401 const wxSize& size = wxDefaultSize,
402 long style = 0,
403 const wxString& name = wxPyPanelNameStr)
404 : wxVScrolledWindow(parent, id, pos, size, style, name)
405 {}
406
407 // Overridable virtuals
408
409 // this function must be overridden in the derived class and it should
410 // return the height of the given line in pixels
411 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight);
412
413
414 // this function doesn't have to be overridden but it may be useful to do
415 // it if calculating the lines heights is a relatively expensive operation
416 // as it gives the user code a possibility to calculate several of them at
417 // once
418 //
419 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
420 // shouldn't rely on the latter being called for all lines in the interval
421 // specified here. It is also possible that OnGetLineHeight() will be
422 // called for the lines outside of this interval, so this is really just a
423 // hint, not a promise.
424 //
425 // finally note that lineMin is inclusive, while lineMax is exclusive, as
426 // usual
427 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint);
428
429
430 // when the number of lines changes, we try to estimate the total height
431 // of all lines which is a rather expensive operation in terms of lines
432 // access, so if the user code may estimate the average height
433 // better/faster than we do, it should override this function to implement
434 // its own logic
435 //
436 // this function should return the best guess for the total height it may
437 // make
438 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight);
439
440
441 // Also expose some other interesting protected methods
442
443
444 // find the index of the line we need to show at the top of the window such
445 // that the last (fully or partially) visible line is the given one
423f194a 446 size_t FindFirstFromBottom(size_t lineLast, bool fullyVisible = False)
d14a1e28
RD
447 { return wxVScrolledWindow::FindFirstFromBottom(lineLast, fullyVisible); }
448
449 // get the total height of the lines between lineMin (inclusive) and
450 // lineMax (exclusive)
451 wxCoord GetLinesHeight(size_t lineMin, size_t lineMax) const
452 { return wxVScrolledWindow::GetLinesHeight(lineMin, lineMax); }
453
454
455 PYPRIVATE;
456};
457
458IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow, wxVScrolledWindow);
459
460IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLineHeight);
461IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow, wxVScrolledWindow, OnGetLinesHint);
462IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow, wxVScrolledWindow, EstimateTotalHeight);
463
464
465#include <wx/vlbox.h>
d14a1e28 466
cbd72d4f 467 static const wxString wxPyVListBoxNameStr(wxVListBoxNameStr);
d14a1e28
RD
468
469class wxPyVListBox : public wxVListBox
470{
471 DECLARE_ABSTRACT_CLASS(wxPyVListBox);
472public:
473 wxPyVListBox() : wxVListBox() {}
474
475 wxPyVListBox(wxWindow *parent,
476 wxWindowID id = wxID_ANY,
477 const wxPoint& pos = wxDefaultPosition,
478 const wxSize& size = wxDefaultSize,
479 long style = 0,
480 const wxString& name = wxPyVListBoxNameStr)
481 : wxVListBox(parent, id, pos, size, style, name)
482 {}
483
484 // Overridable virtuals
485
486 // the derived class must implement this function to actually draw the item
487 // with the given index on the provided DC
488 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
489 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem);
490
491
492 // the derived class must implement this method to return the height of the
493 // specified item
494 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
495 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem);
496
497
498 // this method may be used to draw separators between the lines; note that
499 // the rectangle may be modified, typically to deflate it a bit before
500 // passing to OnDrawItem()
501 //
502 // the base class version doesn't do anything
503 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
504 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator);
505
506
507 // this method is used to draw the items background and, maybe, a border
508 // around it
509 //
510 // the base class version implements a reasonable default behaviour which
511 // consists in drawing the selected item with the standard background
512 // colour and drawing a border around the item if it is either selected or
513 // current
514 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
515 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground);
516
517
518 PYPRIVATE;
519};
520
521IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox, wxVListBox);
522
523IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawItem);
524IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox, wxVListBox, OnMeasureItem);
525IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox, wxVListBox, OnDrawSeparator);
526IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox, wxVListBox, OnDrawBackground);
527
528
529
530#include <wx/htmllbox.h>
531
532
533class wxPyHtmlListBox : public wxHtmlListBox
534{
535 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox);
536public:
537 wxPyHtmlListBox() : wxHtmlListBox() {}
538
539 wxPyHtmlListBox(wxWindow *parent,
540 wxWindowID id = wxID_ANY,
541 const wxPoint& pos = wxDefaultPosition,
542 const wxSize& size = wxDefaultSize,
543 long style = 0,
544 const wxString& name = wxPyVListBoxNameStr)
545 : wxHtmlListBox(parent, id, pos, size, style, name)
546 {}
547
548 // Overridable virtuals
549
550 // this method must be implemented in the derived class and should return
551 // the body (i.e. without <html>) of the HTML for the given item
552 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem);
553
554 // this function may be overridden to decorate HTML returned by OnGetItem()
555 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup);
556
557// TODO:
558// // this method allows to customize the selection appearance: it may be used
559// // to specify the colour of the text which normally has the given colour
560// // colFg when it is inside the selection
561// //
562// // by default, the original colour is not used at all and all text has the
563// // same (default for this system) colour inside selection
564// virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
565
566// // this is the same as GetSelectedTextColour() but allows to customize the
567// // background colour -- this is even more rarely used as you can change it
568// // globally using SetSelectionBackground()
569// virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
570
571
572 PYPRIVATE;
573};
574
575
576IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox, wxHtmlListBox)
577
578IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox, wxHtmlListBox, OnGetItem);
579IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox, wxHtmlListBox, OnGetItemMarkup);
580
581
582
583
584
585#ifdef __WXMAC__
586// implement dummy classes and such for wxMac
587
588class wxTaskBarIcon : public wxEvtHandler
589{
590public:
cbd72d4f 591 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
d14a1e28
RD
592};
593
594
595class wxTaskBarIconEvent : public wxEvent
596{
597public:
598 wxTaskBarIconEvent(wxEventType, wxTaskBarIcon *)
cbd72d4f 599 { wxPyRaiseNotImplemented(); }
d14a1e28
RD
600 virtual wxEvent* Clone() const { return NULL; }
601};
602
603enum {
604 wxEVT_TASKBAR_MOVE = 0,
605 wxEVT_TASKBAR_LEFT_DOWN = 0,
606 wxEVT_TASKBAR_LEFT_UP = 0,
607 wxEVT_TASKBAR_RIGHT_DOWN = 0,
608 wxEVT_TASKBAR_RIGHT_UP = 0,
609 wxEVT_TASKBAR_LEFT_DCLICK = 0,
610 wxEVT_TASKBAR_RIGHT_DCLICK = 0,
611};
612#endif
613
cbd72d4f
RD
614 static const wxString wxPyFileSelectorPromptStr(wxFileSelectorPromptStr);
615 static const wxString wxPyDirSelectorPromptStr(wxDirSelectorPromptStr);
616 static const wxString wxPyDirDialogNameStr(wxDirDialogNameStr);
617 static const wxString wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr);
618 static const wxString wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr);
619 static const wxString wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr);
d14a1e28
RD
620PyObject *wxFileDialog_GetFilenames(wxFileDialog *self){
621 wxArrayString arr;
622 self->GetFilenames(arr);
623 return wxArrayString2PyList_helper(arr);
624 }
625PyObject *wxFileDialog_GetPaths(wxFileDialog *self){
626 wxArrayString arr;
627 self->GetPaths(arr);
628 return wxArrayString2PyList_helper(arr);
629 }
630PyObject *wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog *self){
631 return wxArrayInt2PyList_helper(self->GetSelections());
632 }
633wxSingleChoiceDialog *new_wxSingleChoiceDialog(wxWindow *parent,wxString const &message,wxString const &caption,int choices,wxString *choices_array,long style,wxPoint const &pos){
634 return new wxSingleChoiceDialog(parent, message, caption,
635 choices, choices_array, NULL, style, pos);
636 }
637
638#include <wx/mdi.h>
639
640 // C++ version of Python aware wxWindow
641class wxPyWindow : public wxWindow
642{
643 DECLARE_DYNAMIC_CLASS(wxPyWindow)
644public:
645 wxPyWindow() : wxWindow() {}
646 wxPyWindow(wxWindow* parent, const wxWindowID id,
647 const wxPoint& pos = wxDefaultPosition,
648 const wxSize& size = wxDefaultSize,
649 long style = 0,
650 const wxString& name = wxPyPanelNameStr)
651 : wxWindow(parent, id, pos, size, style, name) {}
652
653
654 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
655 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
656 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
657 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
658
659 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
660 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
661 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
662
663 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
664 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
665
666 DEC_PYCALLBACK__(InitDialog);
667 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
668 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
669 DEC_PYCALLBACK_BOOL_(Validate);
670
671 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
672 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
673 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
674
675 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
676 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
677
678 PYPRIVATE;
679};
680
681IMPLEMENT_DYNAMIC_CLASS(wxPyWindow, wxWindow);
682
683IMP_PYCALLBACK_VOID_INT4(wxPyWindow, wxWindow, DoMoveWindow);
684IMP_PYCALLBACK_VOID_INT5(wxPyWindow, wxWindow, DoSetSize);
685IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetClientSize);
686IMP_PYCALLBACK_VOID_INTINT(wxPyWindow, wxWindow, DoSetVirtualSize);
687
688IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetSize);
689IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetClientSize);
690IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow, wxWindow, DoGetPosition);
691
692IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetVirtualSize);
693IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, DoGetBestSize);
694
695IMP_PYCALLBACK__(wxPyWindow, wxWindow, InitDialog);
696IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataFromWindow);
697IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, TransferDataToWindow);
698IMP_PYCALLBACK_BOOL_(wxPyWindow, wxWindow, Validate);
699
700IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocus);
701IMP_PYCALLBACK_BOOL_const(wxPyWindow, wxWindow, AcceptsFocusFromKeyboard);
702IMP_PYCALLBACK_SIZE_const(wxPyWindow, wxWindow, GetMaxSize);
703
704IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, AddChild);
705IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow, wxWindow, RemoveChild);
706
707
708 // C++ version of Python aware wxPanel
709class wxPyPanel : public wxPanel
710{
711 DECLARE_DYNAMIC_CLASS(wxPyPanel)
712public:
713 wxPyPanel() : wxPanel() {}
714 wxPyPanel(wxWindow* parent, const wxWindowID id,
715 const wxPoint& pos = wxDefaultPosition,
716 const wxSize& size = wxDefaultSize,
717 long style = 0,
718 const wxString& name = wxPyPanelNameStr)
719 : wxPanel(parent, id, pos, size, style, name) {}
720
721
722 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow);
723 DEC_PYCALLBACK_VOID_INT5(DoSetSize);
724 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize);
725 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize);
726
727 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize);
728 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize);
729 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition);
730
731 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize);
732 DEC_PYCALLBACK_SIZE_const(DoGetBestSize);
733
734 DEC_PYCALLBACK__(InitDialog);
735 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow);
736 DEC_PYCALLBACK_BOOL_(TransferDataToWindow);
737 DEC_PYCALLBACK_BOOL_(Validate);
738
739 DEC_PYCALLBACK_BOOL_const(AcceptsFocus);
740 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard);
741 DEC_PYCALLBACK_SIZE_const(GetMaxSize);
742
743 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild);
744 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild);
745
746 PYPRIVATE;
747};
748
749IMPLEMENT_DYNAMIC_CLASS(wxPyPanel, wxPanel);
750
751IMP_PYCALLBACK_VOID_INT4(wxPyPanel, wxPanel, DoMoveWindow);
752IMP_PYCALLBACK_VOID_INT5(wxPyPanel, wxPanel, DoSetSize);
753IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetClientSize);
754IMP_PYCALLBACK_VOID_INTINT(wxPyPanel, wxPanel, DoSetVirtualSize);
755
756IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetSize);
757IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetClientSize);
758IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel, wxPanel, DoGetPosition);
759
760IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetVirtualSize);
761IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, DoGetBestSize);
762
763IMP_PYCALLBACK__(wxPyPanel, wxPanel, InitDialog);
764IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataFromWindow);
765IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, TransferDataToWindow);
766IMP_PYCALLBACK_BOOL_(wxPyPanel, wxPanel, Validate);
767
768IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocus);
769IMP_PYCALLBACK_BOOL_const(wxPyPanel, wxPanel, AcceptsFocusFromKeyboard);
770IMP_PYCALLBACK_SIZE_const(wxPyPanel, wxPanel, GetMaxSize);
771
772IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, AddChild);
773IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel, wxPanel, RemoveChild);
774
775
776
777#include "wx/wxPython/printfw.h"
778
d14a1e28 779
cbd72d4f
RD
780 static const wxString wxPyPrintoutTitleStr(wxT(wxT("Printout")));
781 static const wxString wxPyPreviewCanvasNameStr(wxT(wxT("previewcanvas")));
d14a1e28
RD
782
783
784
785// Since this one would be tough and ugly to do with the Macros...
786void wxPyPrintout::GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
423f194a 787 bool hadErr = False;
d14a1e28
RD
788 bool found;
789
790 wxPyBeginBlockThreads();
791 if ((found = wxPyCBH_findCallback(m_myInst, "GetPageInfo"))) {
792 PyObject* result = wxPyCBH_callCallbackObj(m_myInst, Py_BuildValue("()"));
793 if (result && PyTuple_Check(result) && PyTuple_Size(result) == 4) {
794 PyObject* val;
795
796 val = PyTuple_GetItem(result, 0);
797 if (PyInt_Check(val)) *minPage = PyInt_AsLong(val);
423f194a 798 else hadErr = True;
d14a1e28
RD
799
800 val = PyTuple_GetItem(result, 1);
801 if (PyInt_Check(val)) *maxPage = PyInt_AsLong(val);
423f194a 802 else hadErr = True;
d14a1e28
RD
803
804 val = PyTuple_GetItem(result, 2);
805 if (PyInt_Check(val)) *pageFrom = PyInt_AsLong(val);
423f194a 806 else hadErr = True;
d14a1e28
RD
807
808 val = PyTuple_GetItem(result, 3);
809 if (PyInt_Check(val)) *pageTo = PyInt_AsLong(val);
423f194a 810 else hadErr = True;
d14a1e28
RD
811 }
812 else
423f194a 813 hadErr = True;
d14a1e28
RD
814
815 if (hadErr) {
816 PyErr_SetString(PyExc_TypeError, "GetPageInfo should return a tuple of 4 integers.");
817 PyErr_Print();
818 }
819 Py_DECREF(result);
820 }
821 wxPyEndBlockThreads();
822 if (! found)
823 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
824}
825
826void wxPyPrintout::base_GetPageInfo(int *minPage, int *maxPage, int *pageFrom, int *pageTo) {
827 wxPrintout::GetPageInfo(minPage, maxPage, pageFrom, pageTo);
828}
829
830
831IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout, wxPrintout, OnBeginDocument);
832IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndDocument);
833IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnBeginPrinting);
834IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnEndPrinting);
835IMP_PYCALLBACK__(wxPyPrintout, wxPrintout, OnPreparePrinting);
836IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout, wxPrintout, OnPrintPage);
837IMP_PYCALLBACK_BOOL_INT(wxPyPrintout, wxPrintout, HasPage);
838
839
840
841
842
843#define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
844 bool CBNAME(wxPreviewCanvas* a, wxDC& b); \
845 bool base_##CBNAME(wxPreviewCanvas* a, wxDC& b)
846
847
848#define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
849 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
423f194a 850 bool rval=False; \
d14a1e28
RD
851 bool found; \
852 wxPyBeginBlockThreads(); \
853 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
854 PyObject* win = wxPyMake_wxObject(a); \
855 PyObject* dc = wxPyMake_wxObject(&b); \
856 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc));\
857 Py_DECREF(win); \
858 Py_DECREF(dc); \
859 } \
860 wxPyEndBlockThreads(); \
861 if (! found) \
862 rval = PCLASS::CBNAME(a, b); \
863 return rval; \
864 } \
865 bool CLASS::base_##CBNAME(wxPreviewCanvas* a, wxDC& b) { \
866 return PCLASS::CBNAME(a, b); \
867 }
868
869
870
871
872class wxPyPrintPreview : public wxPrintPreview
873{
874 DECLARE_CLASS(wxPyPrintPreview)
875public:
876 wxPyPrintPreview(wxPyPrintout* printout,
877 wxPyPrintout* printoutForPrinting,
878 wxPrintData* data=NULL)
879 : wxPrintPreview(printout, printoutForPrinting, data)
880 {}
881
882 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage);
883 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage);
884 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage);
885 DEC_PYCALLBACK_BOOL_INT(RenderPage);
886 DEC_PYCALLBACK_VOID_INT(SetZoom);
887 DEC_PYCALLBACK_BOOL_BOOL(Print);
888 DEC_PYCALLBACK_VOID_(DetermineScaling);
889
890 PYPRIVATE;
891};
892
893// Stupid renamed classes... Fix this in 2.5...
894#if defined(__WXMSW__)
895IMPLEMENT_CLASS( wxPyPrintPreview, wxWindowsPrintPreview );
896#elif defined(__WXMAC__)
897IMPLEMENT_CLASS( wxPyPrintPreview, wxMacPrintPreview );
898#else
899IMPLEMENT_CLASS( wxPyPrintPreview, wxPostScriptPrintPreview );
900#endif
901
902IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, SetCurrentPage);
903IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, PaintPage);
904IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview, wxPrintPreview, DrawBlankPage);
905IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview, wxPrintPreview, RenderPage);
906IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview, wxPrintPreview, SetZoom);
907IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview, wxPrintPreview, Print);
908IMP_PYCALLBACK_VOID_ (wxPyPrintPreview, wxPrintPreview, DetermineScaling);
909
910
911class wxPyPreviewFrame : public wxPreviewFrame
912{
913 DECLARE_CLASS(wxPyPreviewFrame);
914public:
915 wxPyPreviewFrame(wxPrintPreview* preview, wxFrame* parent,
916 const wxString& title,
917 const wxPoint& pos = wxDefaultPosition,
918 const wxSize& size = wxDefaultSize,
919 long style = wxDEFAULT_FRAME_STYLE,
920 const wxString& name = wxPyFrameNameStr)
921 : wxPreviewFrame(preview, parent, title, pos, size, style, name)
922 {}
923
924 void SetPreviewCanvas(wxPreviewCanvas* canvas) { m_previewCanvas = canvas; }
925 void SetControlBar(wxPreviewControlBar* bar) { m_controlBar = bar; }
926
927 DEC_PYCALLBACK_VOID_(Initialize);
928 DEC_PYCALLBACK_VOID_(CreateCanvas);
929 DEC_PYCALLBACK_VOID_(CreateControlBar);
930
931 PYPRIVATE;
932};
933
934IMPLEMENT_CLASS(wxPyPreviewFrame, wxPreviewFrame);
935
936IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, Initialize);
937IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateCanvas);
938IMP_PYCALLBACK_VOID_(wxPyPreviewFrame, wxPreviewFrame, CreateControlBar);
939
940
941class wxPyPreviewControlBar : public wxPreviewControlBar
942{
943 DECLARE_CLASS(wxPyPreviewControlBar);
944public:
945 wxPyPreviewControlBar(wxPrintPreview *preview,
946 long buttons,
947 wxWindow *parent,
948 const wxPoint& pos = wxDefaultPosition,
949 const wxSize& size = wxDefaultSize,
950 long style = 0,
951 const wxString& name = wxPyPanelNameStr)
952 : wxPreviewControlBar(preview, buttons, parent, pos, size, style, name)
953 {}
954
955 void SetPrintPreview(wxPrintPreview* preview) { m_printPreview = preview; }
956
957 DEC_PYCALLBACK_VOID_(CreateButtons);
958 DEC_PYCALLBACK_VOID_INT(SetZoomControl);
959
960 PYPRIVATE;
961};
962
963IMPLEMENT_CLASS(wxPyPreviewControlBar, wxPreviewControlBar);
964IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar, wxPreviewControlBar, CreateButtons);
965IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar, wxPreviewControlBar, SetZoomControl);
966
967#ifdef __cplusplus
968extern "C" {
969#endif
970static PyObject *_wrap_new_Panel(PyObject *self, PyObject *args, PyObject *kwargs) {
971 PyObject *resultobj;
972 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 973 int arg2 = (int) (int)-1 ;
d14a1e28
RD
974 wxPoint const &arg3_defvalue = wxDefaultPosition ;
975 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
976 wxSize const &arg4_defvalue = wxDefaultSize ;
977 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
978 long arg5 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
979 wxString const &arg6_defvalue = wxPyPanelNameStr ;
980 wxString *arg6 = (wxString *) &arg6_defvalue ;
981 wxPanel *result;
982 wxPoint temp3 ;
983 wxSize temp4 ;
423f194a 984 bool temp6 = False ;
d14a1e28
RD
985 PyObject * obj0 = 0 ;
986 PyObject * obj2 = 0 ;
987 PyObject * obj3 = 0 ;
988 PyObject * obj5 = 0 ;
989 char *kwnames[] = {
990 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
991 };
992
423f194a 993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_Panel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
d14a1e28
RD
994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
995 if (obj2) {
996 {
997 arg3 = &temp3;
998 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
999 }
1000 }
1001 if (obj3) {
1002 {
1003 arg4 = &temp4;
1004 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1005 }
1006 }
1007 if (obj5) {
1008 {
1009 arg6 = wxString_in_helper(obj5);
1010 if (arg6 == NULL) SWIG_fail;
423f194a 1011 temp6 = True;
d14a1e28
RD
1012 }
1013 }
1014 {
1015 PyThreadState* __tstate = wxPyBeginAllowThreads();
1016 result = (wxPanel *)new wxPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1017
1018 wxPyEndAllowThreads(__tstate);
1019 if (PyErr_Occurred()) SWIG_fail;
1020 }
1021 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1022 {
1023 if (temp6)
1024 delete arg6;
1025 }
1026 return resultobj;
1027 fail:
1028 {
1029 if (temp6)
1030 delete arg6;
1031 }
1032 return NULL;
1033}
1034
1035
1036static PyObject *_wrap_new_PrePanel(PyObject *self, PyObject *args, PyObject *kwargs) {
1037 PyObject *resultobj;
1038 wxPanel *result;
1039 char *kwnames[] = {
1040 NULL
1041 };
1042
1043 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePanel",kwnames)) goto fail;
1044 {
1045 PyThreadState* __tstate = wxPyBeginAllowThreads();
1046 result = (wxPanel *)new wxPanel();
1047
1048 wxPyEndAllowThreads(__tstate);
1049 if (PyErr_Occurred()) SWIG_fail;
1050 }
1051 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPanel, 1);
1052 return resultobj;
1053 fail:
1054 return NULL;
1055}
1056
1057
1058static PyObject *_wrap_Panel_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1059 PyObject *resultobj;
1060 wxPanel *arg1 = (wxPanel *) 0 ;
1061 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1062 int arg3 ;
d14a1e28
RD
1063 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1064 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1065 wxSize const &arg5_defvalue = wxDefaultSize ;
1066 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1067 long arg6 = (long) wxTAB_TRAVERSAL|wxNO_BORDER ;
1068 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1069 wxString *arg7 = (wxString *) &arg7_defvalue ;
1070 bool result;
1071 wxPoint temp4 ;
1072 wxSize temp5 ;
423f194a 1073 bool temp7 = False ;
d14a1e28
RD
1074 PyObject * obj0 = 0 ;
1075 PyObject * obj1 = 0 ;
1076 PyObject * obj3 = 0 ;
1077 PyObject * obj4 = 0 ;
1078 PyObject * obj6 = 0 ;
1079 char *kwnames[] = {
1080 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1081 };
1082
1083 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:Panel_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1084 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1085 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1086 if (obj3) {
1087 {
1088 arg4 = &temp4;
1089 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1090 }
1091 }
1092 if (obj4) {
1093 {
1094 arg5 = &temp5;
1095 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1096 }
1097 }
1098 if (obj6) {
1099 {
1100 arg7 = wxString_in_helper(obj6);
1101 if (arg7 == NULL) SWIG_fail;
423f194a 1102 temp7 = True;
d14a1e28
RD
1103 }
1104 }
1105 {
1106 PyThreadState* __tstate = wxPyBeginAllowThreads();
1107 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1108
1109 wxPyEndAllowThreads(__tstate);
1110 if (PyErr_Occurred()) SWIG_fail;
1111 }
1112 resultobj = PyInt_FromLong((long)result);
1113 {
1114 if (temp7)
1115 delete arg7;
1116 }
1117 return resultobj;
1118 fail:
1119 {
1120 if (temp7)
1121 delete arg7;
1122 }
1123 return NULL;
1124}
1125
1126
1127static PyObject *_wrap_Panel_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
1128 PyObject *resultobj;
1129 wxPanel *arg1 = (wxPanel *) 0 ;
1130 PyObject * obj0 = 0 ;
1131 char *kwnames[] = {
1132 (char *) "self", NULL
1133 };
1134
1135 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Panel_InitDialog",kwnames,&obj0)) goto fail;
1136 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1137 {
1138 PyThreadState* __tstate = wxPyBeginAllowThreads();
1139 (arg1)->InitDialog();
1140
1141 wxPyEndAllowThreads(__tstate);
1142 if (PyErr_Occurred()) SWIG_fail;
1143 }
1144 Py_INCREF(Py_None); resultobj = Py_None;
1145 return resultobj;
1146 fail:
1147 return NULL;
1148}
1149
1150
1151static PyObject * Panel_swigregister(PyObject *self, PyObject *args) {
1152 PyObject *obj;
1153 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
1154 SWIG_TypeClientData(SWIGTYPE_p_wxPanel, obj);
1155 Py_INCREF(obj);
1156 return Py_BuildValue((char *)"");
1157}
1158static PyObject *_wrap_new_ScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1159 PyObject *resultobj;
1160 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 1161 int arg2 = (int) (int)-1 ;
d14a1e28
RD
1162 wxPoint const &arg3_defvalue = wxDefaultPosition ;
1163 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
1164 wxSize const &arg4_defvalue = wxDefaultSize ;
1165 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
1166 long arg5 = (long) wxHSCROLL|wxVSCROLL ;
1167 wxString const &arg6_defvalue = wxPyPanelNameStr ;
1168 wxString *arg6 = (wxString *) &arg6_defvalue ;
1169 wxScrolledWindow *result;
1170 wxPoint temp3 ;
1171 wxSize temp4 ;
423f194a 1172 bool temp6 = False ;
d14a1e28
RD
1173 PyObject * obj0 = 0 ;
1174 PyObject * obj2 = 0 ;
1175 PyObject * obj3 = 0 ;
1176 PyObject * obj5 = 0 ;
1177 char *kwnames[] = {
1178 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1179 };
1180
1181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_ScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
1182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1183 if (obj2) {
1184 {
1185 arg3 = &temp3;
1186 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
1187 }
1188 }
1189 if (obj3) {
1190 {
1191 arg4 = &temp4;
1192 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
1193 }
1194 }
1195 if (obj5) {
1196 {
1197 arg6 = wxString_in_helper(obj5);
1198 if (arg6 == NULL) SWIG_fail;
423f194a 1199 temp6 = True;
d14a1e28
RD
1200 }
1201 }
1202 {
1203 PyThreadState* __tstate = wxPyBeginAllowThreads();
1204 result = (wxScrolledWindow *)new wxScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
1205
1206 wxPyEndAllowThreads(__tstate);
1207 if (PyErr_Occurred()) SWIG_fail;
1208 }
1209 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1210 {
1211 if (temp6)
1212 delete arg6;
1213 }
1214 return resultobj;
1215 fail:
1216 {
1217 if (temp6)
1218 delete arg6;
1219 }
1220 return NULL;
1221}
1222
1223
1224static PyObject *_wrap_new_PreScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1225 PyObject *resultobj;
1226 wxScrolledWindow *result;
1227 char *kwnames[] = {
1228 NULL
1229 };
1230
1231 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreScrolledWindow",kwnames)) goto fail;
1232 {
1233 PyThreadState* __tstate = wxPyBeginAllowThreads();
1234 result = (wxScrolledWindow *)new wxScrolledWindow();
1235
1236 wxPyEndAllowThreads(__tstate);
1237 if (PyErr_Occurred()) SWIG_fail;
1238 }
1239 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxScrolledWindow, 1);
1240 return resultobj;
1241 fail:
1242 return NULL;
1243}
1244
1245
1246static PyObject *_wrap_ScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
1247 PyObject *resultobj;
1248 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1249 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 1250 int arg3 = (int) (int)-1 ;
d14a1e28
RD
1251 wxPoint const &arg4_defvalue = wxDefaultPosition ;
1252 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
1253 wxSize const &arg5_defvalue = wxDefaultSize ;
1254 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
1255 long arg6 = (long) wxHSCROLL|wxVSCROLL ;
1256 wxString const &arg7_defvalue = wxPyPanelNameStr ;
1257 wxString *arg7 = (wxString *) &arg7_defvalue ;
1258 bool result;
1259 wxPoint temp4 ;
1260 wxSize temp5 ;
423f194a 1261 bool temp7 = False ;
d14a1e28
RD
1262 PyObject * obj0 = 0 ;
1263 PyObject * obj1 = 0 ;
1264 PyObject * obj3 = 0 ;
1265 PyObject * obj4 = 0 ;
1266 PyObject * obj6 = 0 ;
1267 char *kwnames[] = {
1268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
1269 };
1270
1271 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:ScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
1272 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1273 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1274 if (obj3) {
1275 {
1276 arg4 = &temp4;
1277 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
1278 }
1279 }
1280 if (obj4) {
1281 {
1282 arg5 = &temp5;
1283 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
1284 }
1285 }
1286 if (obj6) {
1287 {
1288 arg7 = wxString_in_helper(obj6);
1289 if (arg7 == NULL) SWIG_fail;
423f194a 1290 temp7 = True;
d14a1e28
RD
1291 }
1292 }
1293 {
1294 PyThreadState* __tstate = wxPyBeginAllowThreads();
1295 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
1296
1297 wxPyEndAllowThreads(__tstate);
1298 if (PyErr_Occurred()) SWIG_fail;
1299 }
1300 resultobj = PyInt_FromLong((long)result);
1301 {
1302 if (temp7)
1303 delete arg7;
1304 }
1305 return resultobj;
1306 fail:
1307 {
1308 if (temp7)
1309 delete arg7;
1310 }
1311 return NULL;
1312}
1313
1314
1315static PyObject *_wrap_ScrolledWindow_SetScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1316 PyObject *resultobj;
1317 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1318 int arg2 ;
1319 int arg3 ;
1320 int arg4 ;
1321 int arg5 ;
1322 int arg6 = (int) 0 ;
1323 int arg7 = (int) 0 ;
423f194a 1324 bool arg8 = (bool) False ;
d14a1e28
RD
1325 PyObject * obj0 = 0 ;
1326 PyObject * obj7 = 0 ;
1327 char *kwnames[] = {
1328 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
1329 };
1330
1331 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|iiO:ScrolledWindow_SetScrollbars",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6,&arg7,&obj7)) goto fail;
1332 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1333 if (obj7) {
1334 arg8 = PyInt_AsLong(obj7) ? true : false;
1335 if (PyErr_Occurred()) SWIG_fail;
1336 }
1337 {
1338 PyThreadState* __tstate = wxPyBeginAllowThreads();
1339 (arg1)->SetScrollbars(arg2,arg3,arg4,arg5,arg6,arg7,arg8);
1340
1341 wxPyEndAllowThreads(__tstate);
1342 if (PyErr_Occurred()) SWIG_fail;
1343 }
1344 Py_INCREF(Py_None); resultobj = Py_None;
1345 return resultobj;
1346 fail:
1347 return NULL;
1348}
1349
1350
1351static PyObject *_wrap_ScrolledWindow_Scroll(PyObject *self, PyObject *args, PyObject *kwargs) {
1352 PyObject *resultobj;
1353 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1354 int arg2 ;
1355 int arg3 ;
1356 PyObject * obj0 = 0 ;
1357 char *kwnames[] = {
1358 (char *) "self",(char *) "x",(char *) "y", NULL
1359 };
1360
1361 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_Scroll",kwnames,&obj0,&arg2,&arg3)) goto fail;
1362 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1363 {
1364 PyThreadState* __tstate = wxPyBeginAllowThreads();
1365 (arg1)->Scroll(arg2,arg3);
1366
1367 wxPyEndAllowThreads(__tstate);
1368 if (PyErr_Occurred()) SWIG_fail;
1369 }
1370 Py_INCREF(Py_None); resultobj = Py_None;
1371 return resultobj;
1372 fail:
1373 return NULL;
1374}
1375
1376
1377static PyObject *_wrap_ScrolledWindow_GetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1378 PyObject *resultobj;
1379 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1380 int arg2 ;
1381 int result;
1382 PyObject * obj0 = 0 ;
1383 char *kwnames[] = {
1384 (char *) "self",(char *) "orient", NULL
1385 };
1386
1387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ScrolledWindow_GetScrollPageSize",kwnames,&obj0,&arg2)) goto fail;
1388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1389 {
1390 PyThreadState* __tstate = wxPyBeginAllowThreads();
1391 result = (int)((wxScrolledWindow const *)arg1)->GetScrollPageSize(arg2);
1392
1393 wxPyEndAllowThreads(__tstate);
1394 if (PyErr_Occurred()) SWIG_fail;
1395 }
1396 resultobj = PyInt_FromLong((long)result);
1397 return resultobj;
1398 fail:
1399 return NULL;
1400}
1401
1402
1403static PyObject *_wrap_ScrolledWindow_SetScrollPageSize(PyObject *self, PyObject *args, PyObject *kwargs) {
1404 PyObject *resultobj;
1405 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1406 int arg2 ;
1407 int arg3 ;
1408 PyObject * obj0 = 0 ;
1409 char *kwnames[] = {
1410 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
1411 };
1412
1413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollPageSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
1414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1415 {
1416 PyThreadState* __tstate = wxPyBeginAllowThreads();
1417 (arg1)->SetScrollPageSize(arg2,arg3);
1418
1419 wxPyEndAllowThreads(__tstate);
1420 if (PyErr_Occurred()) SWIG_fail;
1421 }
1422 Py_INCREF(Py_None); resultobj = Py_None;
1423 return resultobj;
1424 fail:
1425 return NULL;
1426}
1427
1428
1429static PyObject *_wrap_ScrolledWindow_SetScrollRate(PyObject *self, PyObject *args, PyObject *kwargs) {
1430 PyObject *resultobj;
1431 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1432 int arg2 ;
1433 int arg3 ;
1434 PyObject * obj0 = 0 ;
1435 char *kwnames[] = {
1436 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
1437 };
1438
1439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:ScrolledWindow_SetScrollRate",kwnames,&obj0,&arg2,&arg3)) goto fail;
1440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1441 {
1442 PyThreadState* __tstate = wxPyBeginAllowThreads();
1443 (arg1)->SetScrollRate(arg2,arg3);
1444
1445 wxPyEndAllowThreads(__tstate);
1446 if (PyErr_Occurred()) SWIG_fail;
1447 }
1448 Py_INCREF(Py_None); resultobj = Py_None;
1449 return resultobj;
1450 fail:
1451 return NULL;
1452}
1453
1454
1455static PyObject *_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject *self, PyObject *args, PyObject *kwargs) {
1456 PyObject *resultobj;
1457 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1458 int *arg2 = (int *) 0 ;
1459 int *arg3 = (int *) 0 ;
1460 int temp2 ;
1461 int temp3 ;
1462 PyObject * obj0 = 0 ;
1463 char *kwnames[] = {
1464 (char *) "self", NULL
1465 };
1466
1467 arg2 = &temp2;
1468 arg3 = &temp3;
1469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScrollPixelsPerUnit",kwnames,&obj0)) goto fail;
1470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1471 {
1472 PyThreadState* __tstate = wxPyBeginAllowThreads();
1473 ((wxScrolledWindow const *)arg1)->GetScrollPixelsPerUnit(arg2,arg3);
1474
1475 wxPyEndAllowThreads(__tstate);
1476 if (PyErr_Occurred()) SWIG_fail;
1477 }
1478 Py_INCREF(Py_None); resultobj = Py_None;
1479 {
1480 PyObject *o = PyInt_FromLong((long) (*arg2));
1481 resultobj = t_output_helper(resultobj,o);
1482 }
1483 {
1484 PyObject *o = PyInt_FromLong((long) (*arg3));
1485 resultobj = t_output_helper(resultobj,o);
1486 }
1487 return resultobj;
1488 fail:
1489 return NULL;
1490}
1491
1492
1493static PyObject *_wrap_ScrolledWindow_EnableScrolling(PyObject *self, PyObject *args, PyObject *kwargs) {
1494 PyObject *resultobj;
1495 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1496 bool arg2 ;
1497 bool arg3 ;
1498 PyObject * obj0 = 0 ;
1499 PyObject * obj1 = 0 ;
1500 PyObject * obj2 = 0 ;
1501 char *kwnames[] = {
1502 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
1503 };
1504
1505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames,&obj0,&obj1,&obj2)) goto fail;
1506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1507 arg2 = PyInt_AsLong(obj1) ? true : false;
1508 if (PyErr_Occurred()) SWIG_fail;
1509 arg3 = PyInt_AsLong(obj2) ? true : false;
1510 if (PyErr_Occurred()) SWIG_fail;
1511 {
1512 PyThreadState* __tstate = wxPyBeginAllowThreads();
1513 (arg1)->EnableScrolling(arg2,arg3);
1514
1515 wxPyEndAllowThreads(__tstate);
1516 if (PyErr_Occurred()) SWIG_fail;
1517 }
1518 Py_INCREF(Py_None); resultobj = Py_None;
1519 return resultobj;
1520 fail:
1521 return NULL;
1522}
1523
1524
1525static PyObject *_wrap_ScrolledWindow_GetViewStart(PyObject *self, PyObject *args, PyObject *kwargs) {
1526 PyObject *resultobj;
1527 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1528 int *arg2 = (int *) 0 ;
1529 int *arg3 = (int *) 0 ;
1530 int temp2 ;
1531 int temp3 ;
1532 PyObject * obj0 = 0 ;
1533 char *kwnames[] = {
1534 (char *) "self", NULL
1535 };
1536
1537 arg2 = &temp2;
1538 arg3 = &temp3;
1539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetViewStart",kwnames,&obj0)) goto fail;
1540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1541 {
1542 PyThreadState* __tstate = wxPyBeginAllowThreads();
1543 ((wxScrolledWindow const *)arg1)->GetViewStart(arg2,arg3);
1544
1545 wxPyEndAllowThreads(__tstate);
1546 if (PyErr_Occurred()) SWIG_fail;
1547 }
1548 Py_INCREF(Py_None); resultobj = Py_None;
1549 {
1550 PyObject *o = PyInt_FromLong((long) (*arg2));
1551 resultobj = t_output_helper(resultobj,o);
1552 }
1553 {
1554 PyObject *o = PyInt_FromLong((long) (*arg3));
1555 resultobj = t_output_helper(resultobj,o);
1556 }
1557 return resultobj;
1558 fail:
1559 return NULL;
1560}
1561
1562
1563static PyObject *_wrap_ScrolledWindow_SetScale(PyObject *self, PyObject *args, PyObject *kwargs) {
1564 PyObject *resultobj;
1565 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1566 double arg2 ;
1567 double arg3 ;
1568 PyObject * obj0 = 0 ;
1569 char *kwnames[] = {
1570 (char *) "self",(char *) "xs",(char *) "ys", NULL
1571 };
1572
1573 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:ScrolledWindow_SetScale",kwnames,&obj0,&arg2,&arg3)) goto fail;
1574 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1575 {
1576 PyThreadState* __tstate = wxPyBeginAllowThreads();
1577 (arg1)->SetScale(arg2,arg3);
1578
1579 wxPyEndAllowThreads(__tstate);
1580 if (PyErr_Occurred()) SWIG_fail;
1581 }
1582 Py_INCREF(Py_None); resultobj = Py_None;
1583 return resultobj;
1584 fail:
1585 return NULL;
1586}
1587
1588
1589static PyObject *_wrap_ScrolledWindow_GetScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
1590 PyObject *resultobj;
1591 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1592 double result;
1593 PyObject * obj0 = 0 ;
1594 char *kwnames[] = {
1595 (char *) "self", NULL
1596 };
1597
1598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleX",kwnames,&obj0)) goto fail;
1599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1600 {
1601 PyThreadState* __tstate = wxPyBeginAllowThreads();
1602 result = (double)((wxScrolledWindow const *)arg1)->GetScaleX();
1603
1604 wxPyEndAllowThreads(__tstate);
1605 if (PyErr_Occurred()) SWIG_fail;
1606 }
1607 resultobj = PyFloat_FromDouble(result);
1608 return resultobj;
1609 fail:
1610 return NULL;
1611}
1612
1613
1614static PyObject *_wrap_ScrolledWindow_GetScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
1615 PyObject *resultobj;
1616 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1617 double result;
1618 PyObject * obj0 = 0 ;
1619 char *kwnames[] = {
1620 (char *) "self", NULL
1621 };
1622
1623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetScaleY",kwnames,&obj0)) goto fail;
1624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1625 {
1626 PyThreadState* __tstate = wxPyBeginAllowThreads();
1627 result = (double)((wxScrolledWindow const *)arg1)->GetScaleY();
1628
1629 wxPyEndAllowThreads(__tstate);
1630 if (PyErr_Occurred()) SWIG_fail;
1631 }
1632 resultobj = PyFloat_FromDouble(result);
1633 return resultobj;
1634 fail:
1635 return NULL;
1636}
1637
1638
1639static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1640 PyObject *resultobj;
1641 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1642 wxPoint *arg2 = 0 ;
1643 wxPoint result;
1644 wxPoint temp2 ;
d14a1e28 1645 PyObject * obj0 = 0 ;
44127b65 1646 PyObject * obj1 = 0 ;
d14a1e28 1647
44127b65 1648 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcScrolledPosition",&obj0,&obj1)) goto fail;
d14a1e28 1649 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
44127b65
RD
1650 {
1651 arg2 = &temp2;
1652 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1653 }
d14a1e28
RD
1654 {
1655 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1656 result = ((wxScrolledWindow const *)arg1)->CalcScrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
1657
1658 wxPyEndAllowThreads(__tstate);
1659 if (PyErr_Occurred()) SWIG_fail;
1660 }
d14a1e28 1661 {
44127b65
RD
1662 wxPoint * resultptr;
1663 resultptr = new wxPoint((wxPoint &) result);
1664 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
1665 }
1666 return resultobj;
1667 fail:
1668 return NULL;
1669}
1670
1671
1672static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1673 PyObject *resultobj;
1674 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1675 int arg2 ;
1676 int arg3 ;
1677 int *arg4 = (int *) 0 ;
1678 int *arg5 = (int *) 0 ;
1679 int temp4 ;
1680 int temp5 ;
d14a1e28 1681 PyObject * obj0 = 0 ;
d14a1e28 1682
44127b65
RD
1683 arg4 = &temp4;
1684 arg5 = &temp5;
1685 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcScrolledPosition",&obj0,&arg2,&arg3)) goto fail;
d14a1e28 1686 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
1687 {
1688 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1689 ((wxScrolledWindow const *)arg1)->CalcScrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
1690
1691 wxPyEndAllowThreads(__tstate);
1692 if (PyErr_Occurred()) SWIG_fail;
1693 }
44127b65 1694 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28 1695 {
44127b65
RD
1696 PyObject *o = PyInt_FromLong((long) (*arg4));
1697 resultobj = t_output_helper(resultobj,o);
1698 }
1699 {
1700 PyObject *o = PyInt_FromLong((long) (*arg5));
1701 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
1702 }
1703 return resultobj;
1704 fail:
1705 return NULL;
1706}
1707
1708
1709static PyObject *_wrap_ScrolledWindow_CalcScrolledPosition(PyObject *self, PyObject *args) {
1710 int argc;
1711 PyObject *argv[4];
1712 int ii;
1713
1714 argc = PyObject_Length(args);
1715 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1716 argv[ii] = PyTuple_GetItem(args,ii);
1717 }
1718 if (argc == 2) {
1719 int _v;
1720 {
1721 void *ptr;
1722 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1723 _v = 0;
1724 PyErr_Clear();
1725 } else {
1726 _v = 1;
1727 }
1728 }
1729 if (_v) {
1730 {
1731 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1732 }
1733 if (_v) {
44127b65 1734 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self,args);
d14a1e28
RD
1735 }
1736 }
1737 }
1738 if (argc == 3) {
1739 int _v;
1740 {
1741 void *ptr;
1742 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1743 _v = 0;
1744 PyErr_Clear();
1745 } else {
1746 _v = 1;
1747 }
1748 }
1749 if (_v) {
1750 {
1751 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1752 }
1753 if (_v) {
1754 {
1755 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1756 }
1757 if (_v) {
44127b65 1758 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self,args);
d14a1e28
RD
1759 }
1760 }
1761 }
1762 }
1763
1764 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
1765 return NULL;
1766}
1767
1768
1769static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject *self, PyObject *args) {
1770 PyObject *resultobj;
1771 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1772 wxPoint *arg2 = 0 ;
1773 wxPoint result;
1774 wxPoint temp2 ;
d14a1e28 1775 PyObject * obj0 = 0 ;
44127b65 1776 PyObject * obj1 = 0 ;
d14a1e28 1777
44127b65 1778 if(!PyArg_ParseTuple(args,(char *)"OO:ScrolledWindow_CalcUnscrolledPosition",&obj0,&obj1)) goto fail;
d14a1e28 1779 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
44127b65
RD
1780 {
1781 arg2 = &temp2;
1782 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
1783 }
d14a1e28
RD
1784 {
1785 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1786 result = ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition((wxPoint const &)*arg2);
d14a1e28
RD
1787
1788 wxPyEndAllowThreads(__tstate);
1789 if (PyErr_Occurred()) SWIG_fail;
1790 }
d14a1e28 1791 {
44127b65
RD
1792 wxPoint * resultptr;
1793 resultptr = new wxPoint((wxPoint &) result);
1794 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
d14a1e28
RD
1795 }
1796 return resultobj;
1797 fail:
1798 return NULL;
1799}
1800
1801
1802static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject *self, PyObject *args) {
1803 PyObject *resultobj;
1804 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
44127b65
RD
1805 int arg2 ;
1806 int arg3 ;
1807 int *arg4 = (int *) 0 ;
1808 int *arg5 = (int *) 0 ;
1809 int temp4 ;
1810 int temp5 ;
d14a1e28 1811 PyObject * obj0 = 0 ;
d14a1e28 1812
44127b65
RD
1813 arg4 = &temp4;
1814 arg5 = &temp5;
1815 if(!PyArg_ParseTuple(args,(char *)"Oii:ScrolledWindow_CalcUnscrolledPosition",&obj0,&arg2,&arg3)) goto fail;
d14a1e28 1816 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
1817 {
1818 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 1819 ((wxScrolledWindow const *)arg1)->CalcUnscrolledPosition(arg2,arg3,arg4,arg5);
d14a1e28
RD
1820
1821 wxPyEndAllowThreads(__tstate);
1822 if (PyErr_Occurred()) SWIG_fail;
1823 }
44127b65
RD
1824 Py_INCREF(Py_None); resultobj = Py_None;
1825 {
1826 PyObject *o = PyInt_FromLong((long) (*arg4));
1827 resultobj = t_output_helper(resultobj,o);
1828 }
d14a1e28 1829 {
44127b65
RD
1830 PyObject *o = PyInt_FromLong((long) (*arg5));
1831 resultobj = t_output_helper(resultobj,o);
d14a1e28
RD
1832 }
1833 return resultobj;
1834 fail:
1835 return NULL;
1836}
1837
1838
1839static PyObject *_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject *self, PyObject *args) {
1840 int argc;
1841 PyObject *argv[4];
1842 int ii;
1843
1844 argc = PyObject_Length(args);
1845 for (ii = 0; (ii < argc) && (ii < 3); ii++) {
1846 argv[ii] = PyTuple_GetItem(args,ii);
1847 }
1848 if (argc == 2) {
1849 int _v;
1850 {
1851 void *ptr;
1852 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1853 _v = 0;
1854 PyErr_Clear();
1855 } else {
1856 _v = 1;
1857 }
1858 }
1859 if (_v) {
1860 {
1861 _v = wxPySimple_typecheck(argv[1], wxT("wxPoint"), 2);
1862 }
1863 if (_v) {
44127b65 1864 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self,args);
d14a1e28
RD
1865 }
1866 }
1867 }
1868 if (argc == 3) {
1869 int _v;
1870 {
1871 void *ptr;
1872 if (SWIG_ConvertPtr(argv[0], (void **) &ptr, SWIGTYPE_p_wxScrolledWindow, 0) == -1) {
1873 _v = 0;
1874 PyErr_Clear();
1875 } else {
1876 _v = 1;
1877 }
1878 }
1879 if (_v) {
1880 {
1881 _v = (PyInt_Check(argv[1]) || PyLong_Check(argv[1])) ? 1 : 0;
1882 }
1883 if (_v) {
1884 {
1885 _v = (PyInt_Check(argv[2]) || PyLong_Check(argv[2])) ? 1 : 0;
1886 }
1887 if (_v) {
44127b65 1888 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self,args);
d14a1e28
RD
1889 }
1890 }
1891 }
1892 }
1893
1894 PyErr_SetString(PyExc_TypeError,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
1895 return NULL;
1896}
1897
1898
1899static PyObject *_wrap_ScrolledWindow_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
1900 PyObject *resultobj;
1901 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1902 PyObject * obj0 = 0 ;
1903 char *kwnames[] = {
1904 (char *) "self", NULL
1905 };
1906
1907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_AdjustScrollbars",kwnames,&obj0)) goto fail;
1908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1909 {
1910 PyThreadState* __tstate = wxPyBeginAllowThreads();
1911 (arg1)->AdjustScrollbars();
1912
1913 wxPyEndAllowThreads(__tstate);
1914 if (PyErr_Occurred()) SWIG_fail;
1915 }
1916 Py_INCREF(Py_None); resultobj = Py_None;
1917 return resultobj;
1918 fail:
1919 return NULL;
1920}
1921
1922
1923static PyObject *_wrap_ScrolledWindow_CalcScrollInc(PyObject *self, PyObject *args, PyObject *kwargs) {
1924 PyObject *resultobj;
1925 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1926 wxScrollWinEvent *arg2 = 0 ;
1927 int result;
1928 PyObject * obj0 = 0 ;
1929 PyObject * obj1 = 0 ;
1930 char *kwnames[] = {
1931 (char *) "self",(char *) "event", NULL
1932 };
1933
1934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames,&obj0,&obj1)) goto fail;
1935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1936 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxScrollWinEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1937 if (arg2 == NULL) {
1938 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
1939 }
1940 {
1941 PyThreadState* __tstate = wxPyBeginAllowThreads();
1942 result = (int)(arg1)->CalcScrollInc(*arg2);
1943
1944 wxPyEndAllowThreads(__tstate);
1945 if (PyErr_Occurred()) SWIG_fail;
1946 }
1947 resultobj = PyInt_FromLong((long)result);
1948 return resultobj;
1949 fail:
1950 return NULL;
1951}
1952
1953
1954static PyObject *_wrap_ScrolledWindow_SetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1955 PyObject *resultobj;
1956 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1957 wxWindow *arg2 = (wxWindow *) 0 ;
1958 PyObject * obj0 = 0 ;
1959 PyObject * obj1 = 0 ;
1960 char *kwnames[] = {
1961 (char *) "self",(char *) "target", NULL
1962 };
1963
1964 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames,&obj0,&obj1)) goto fail;
1965 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1966 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1967 {
1968 PyThreadState* __tstate = wxPyBeginAllowThreads();
1969 (arg1)->SetTargetWindow(arg2);
1970
1971 wxPyEndAllowThreads(__tstate);
1972 if (PyErr_Occurred()) SWIG_fail;
1973 }
1974 Py_INCREF(Py_None); resultobj = Py_None;
1975 return resultobj;
1976 fail:
1977 return NULL;
1978}
1979
1980
1981static PyObject *_wrap_ScrolledWindow_GetTargetWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
1982 PyObject *resultobj;
1983 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
1984 wxWindow *result;
1985 PyObject * obj0 = 0 ;
1986 char *kwnames[] = {
1987 (char *) "self", NULL
1988 };
1989
1990 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetWindow",kwnames,&obj0)) goto fail;
1991 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
1992 {
1993 PyThreadState* __tstate = wxPyBeginAllowThreads();
1994 result = (wxWindow *)((wxScrolledWindow const *)arg1)->GetTargetWindow();
1995
1996 wxPyEndAllowThreads(__tstate);
1997 if (PyErr_Occurred()) SWIG_fail;
1998 }
1999 {
2000 resultobj = wxPyMake_wxObject(result);
2001 }
2002 return resultobj;
2003 fail:
2004 return NULL;
2005}
2006
2007
2008static PyObject *_wrap_ScrolledWindow_SetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2009 PyObject *resultobj;
2010 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2011 wxRect *arg2 = 0 ;
2012 wxRect temp2 ;
2013 PyObject * obj0 = 0 ;
2014 PyObject * obj1 = 0 ;
2015 char *kwnames[] = {
2016 (char *) "self",(char *) "rect", NULL
2017 };
2018
2019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames,&obj0,&obj1)) goto fail;
2020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2021 {
2022 arg2 = &temp2;
2023 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
2024 }
2025 {
2026 PyThreadState* __tstate = wxPyBeginAllowThreads();
2027 (arg1)->SetTargetRect((wxRect const &)*arg2);
2028
2029 wxPyEndAllowThreads(__tstate);
2030 if (PyErr_Occurred()) SWIG_fail;
2031 }
2032 Py_INCREF(Py_None); resultobj = Py_None;
2033 return resultobj;
2034 fail:
2035 return NULL;
2036}
2037
2038
2039static PyObject *_wrap_ScrolledWindow_GetTargetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
2040 PyObject *resultobj;
2041 wxScrolledWindow *arg1 = (wxScrolledWindow *) 0 ;
2042 wxRect result;
2043 PyObject * obj0 = 0 ;
2044 char *kwnames[] = {
2045 (char *) "self", NULL
2046 };
2047
2048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ScrolledWindow_GetTargetRect",kwnames,&obj0)) goto fail;
2049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2050 {
2051 PyThreadState* __tstate = wxPyBeginAllowThreads();
2052 result = ((wxScrolledWindow const *)arg1)->GetTargetRect();
2053
2054 wxPyEndAllowThreads(__tstate);
2055 if (PyErr_Occurred()) SWIG_fail;
2056 }
2057 {
2058 wxRect * resultptr;
2059 resultptr = new wxRect((wxRect &) result);
2060 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
2061 }
2062 return resultobj;
2063 fail:
2064 return NULL;
2065}
2066
2067
2068static PyObject * ScrolledWindow_swigregister(PyObject *self, PyObject *args) {
2069 PyObject *obj;
2070 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2071 SWIG_TypeClientData(SWIGTYPE_p_wxScrolledWindow, obj);
2072 Py_INCREF(obj);
2073 return Py_BuildValue((char *)"");
2074}
cbd72d4f
RD
2075static int _wrap_FrameNameStr_set(PyObject *_val) {
2076 PyErr_SetString(PyExc_TypeError,"Variable FrameNameStr is read-only.");
2077 return 1;
2078}
2079
2080
2081static PyObject *_wrap_FrameNameStr_get() {
2082 PyObject *pyobj;
2083
2084 {
2085#if wxUSE_UNICODE
2086 pyobj = PyUnicode_FromWideChar((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2087#else
2088 pyobj = PyString_FromStringAndSize((&wxPyFrameNameStr)->c_str(), (&wxPyFrameNameStr)->Len());
2089#endif
2090 }
2091 return pyobj;
2092}
2093
2094
2095static int _wrap_DialogNameStr_set(PyObject *_val) {
2096 PyErr_SetString(PyExc_TypeError,"Variable DialogNameStr is read-only.");
2097 return 1;
2098}
2099
2100
2101static PyObject *_wrap_DialogNameStr_get() {
2102 PyObject *pyobj;
2103
2104 {
2105#if wxUSE_UNICODE
2106 pyobj = PyUnicode_FromWideChar((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2107#else
2108 pyobj = PyString_FromStringAndSize((&wxPyDialogNameStr)->c_str(), (&wxPyDialogNameStr)->Len());
2109#endif
2110 }
2111 return pyobj;
2112}
2113
2114
2115static int _wrap_StatusLineNameStr_set(PyObject *_val) {
2116 PyErr_SetString(PyExc_TypeError,"Variable StatusLineNameStr is read-only.");
2117 return 1;
2118}
2119
2120
2121static PyObject *_wrap_StatusLineNameStr_get() {
2122 PyObject *pyobj;
2123
2124 {
2125#if wxUSE_UNICODE
2126 pyobj = PyUnicode_FromWideChar((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2127#else
2128 pyobj = PyString_FromStringAndSize((&wxPyStatusLineNameStr)->c_str(), (&wxPyStatusLineNameStr)->Len());
2129#endif
2130 }
2131 return pyobj;
2132}
2133
2134
2135static int _wrap_ToolBarNameStr_set(PyObject *_val) {
2136 PyErr_SetString(PyExc_TypeError,"Variable ToolBarNameStr is read-only.");
2137 return 1;
2138}
2139
2140
2141static PyObject *_wrap_ToolBarNameStr_get() {
2142 PyObject *pyobj;
2143
2144 {
2145#if wxUSE_UNICODE
2146 pyobj = PyUnicode_FromWideChar((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2147#else
2148 pyobj = PyString_FromStringAndSize((&wxPyToolBarNameStr)->c_str(), (&wxPyToolBarNameStr)->Len());
2149#endif
2150 }
2151 return pyobj;
2152}
2153
2154
d14a1e28
RD
2155static PyObject *_wrap_TopLevelWindow_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
2156 PyObject *resultobj;
2157 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
423f194a 2158 bool arg2 = (bool) True ;
d14a1e28
RD
2159 PyObject * obj0 = 0 ;
2160 PyObject * obj1 = 0 ;
2161 char *kwnames[] = {
2162 (char *) "self",(char *) "maximize", NULL
2163 };
2164
2165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Maximize",kwnames,&obj0,&obj1)) goto fail;
2166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2167 if (obj1) {
2168 arg2 = PyInt_AsLong(obj1) ? true : false;
2169 if (PyErr_Occurred()) SWIG_fail;
2170 }
2171 {
2172 PyThreadState* __tstate = wxPyBeginAllowThreads();
2173 (arg1)->Maximize(arg2);
2174
2175 wxPyEndAllowThreads(__tstate);
2176 if (PyErr_Occurred()) SWIG_fail;
2177 }
2178 Py_INCREF(Py_None); resultobj = Py_None;
2179 return resultobj;
2180 fail:
2181 return NULL;
2182}
2183
2184
2185static PyObject *_wrap_TopLevelWindow_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
2186 PyObject *resultobj;
2187 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2188 PyObject * obj0 = 0 ;
2189 char *kwnames[] = {
2190 (char *) "self", NULL
2191 };
2192
2193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_Restore",kwnames,&obj0)) goto fail;
2194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2195 {
2196 PyThreadState* __tstate = wxPyBeginAllowThreads();
2197 (arg1)->Restore();
2198
2199 wxPyEndAllowThreads(__tstate);
2200 if (PyErr_Occurred()) SWIG_fail;
2201 }
2202 Py_INCREF(Py_None); resultobj = Py_None;
2203 return resultobj;
2204 fail:
2205 return NULL;
2206}
2207
2208
2209static PyObject *_wrap_TopLevelWindow_Iconize(PyObject *self, PyObject *args, PyObject *kwargs) {
2210 PyObject *resultobj;
2211 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
423f194a 2212 bool arg2 = (bool) True ;
d14a1e28
RD
2213 PyObject * obj0 = 0 ;
2214 PyObject * obj1 = 0 ;
2215 char *kwnames[] = {
2216 (char *) "self",(char *) "iconize", NULL
2217 };
2218
2219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:TopLevelWindow_Iconize",kwnames,&obj0,&obj1)) goto fail;
2220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2221 if (obj1) {
2222 arg2 = PyInt_AsLong(obj1) ? true : false;
2223 if (PyErr_Occurred()) SWIG_fail;
2224 }
2225 {
2226 PyThreadState* __tstate = wxPyBeginAllowThreads();
2227 (arg1)->Iconize(arg2);
2228
2229 wxPyEndAllowThreads(__tstate);
2230 if (PyErr_Occurred()) SWIG_fail;
2231 }
2232 Py_INCREF(Py_None); resultobj = Py_None;
2233 return resultobj;
2234 fail:
2235 return NULL;
2236}
2237
2238
2239static PyObject *_wrap_TopLevelWindow_IsMaximized(PyObject *self, PyObject *args, PyObject *kwargs) {
2240 PyObject *resultobj;
2241 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2242 bool result;
2243 PyObject * obj0 = 0 ;
2244 char *kwnames[] = {
2245 (char *) "self", NULL
2246 };
2247
2248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsMaximized",kwnames,&obj0)) goto fail;
2249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2250 {
2251 PyThreadState* __tstate = wxPyBeginAllowThreads();
2252 result = (bool)((wxTopLevelWindow const *)arg1)->IsMaximized();
2253
2254 wxPyEndAllowThreads(__tstate);
2255 if (PyErr_Occurred()) SWIG_fail;
2256 }
2257 resultobj = PyInt_FromLong((long)result);
2258 return resultobj;
2259 fail:
2260 return NULL;
2261}
2262
2263
2264static PyObject *_wrap_TopLevelWindow_IsIconized(PyObject *self, PyObject *args, PyObject *kwargs) {
2265 PyObject *resultobj;
2266 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2267 bool result;
2268 PyObject * obj0 = 0 ;
2269 char *kwnames[] = {
2270 (char *) "self", NULL
2271 };
2272
2273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsIconized",kwnames,&obj0)) goto fail;
2274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2275 {
2276 PyThreadState* __tstate = wxPyBeginAllowThreads();
2277 result = (bool)((wxTopLevelWindow const *)arg1)->IsIconized();
2278
2279 wxPyEndAllowThreads(__tstate);
2280 if (PyErr_Occurred()) SWIG_fail;
2281 }
2282 resultobj = PyInt_FromLong((long)result);
2283 return resultobj;
2284 fail:
2285 return NULL;
2286}
2287
2288
2289static PyObject *_wrap_TopLevelWindow_GetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2290 PyObject *resultobj;
2291 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2292 wxIcon result;
2293 PyObject * obj0 = 0 ;
2294 char *kwnames[] = {
2295 (char *) "self", NULL
2296 };
2297
2298 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetIcon",kwnames,&obj0)) goto fail;
2299 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2300 {
2301 PyThreadState* __tstate = wxPyBeginAllowThreads();
2302 result = ((wxTopLevelWindow const *)arg1)->GetIcon();
2303
2304 wxPyEndAllowThreads(__tstate);
2305 if (PyErr_Occurred()) SWIG_fail;
2306 }
2307 {
2308 wxIcon * resultptr;
2309 resultptr = new wxIcon((wxIcon &) result);
2310 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxIcon, 1);
2311 }
2312 return resultobj;
2313 fail:
2314 return NULL;
2315}
2316
2317
2318static PyObject *_wrap_TopLevelWindow_SetIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
2319 PyObject *resultobj;
2320 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2321 wxIcon *arg2 = 0 ;
2322 PyObject * obj0 = 0 ;
2323 PyObject * obj1 = 0 ;
2324 char *kwnames[] = {
2325 (char *) "self",(char *) "icon", NULL
2326 };
2327
2328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcon",kwnames,&obj0,&obj1)) goto fail;
2329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2330 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2331 if (arg2 == NULL) {
2332 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2333 }
2334 {
2335 PyThreadState* __tstate = wxPyBeginAllowThreads();
2336 (arg1)->SetIcon((wxIcon const &)*arg2);
2337
2338 wxPyEndAllowThreads(__tstate);
2339 if (PyErr_Occurred()) SWIG_fail;
2340 }
2341 Py_INCREF(Py_None); resultobj = Py_None;
2342 return resultobj;
2343 fail:
2344 return NULL;
2345}
2346
2347
2348static PyObject *_wrap_TopLevelWindow_SetIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
2349 PyObject *resultobj;
2350 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2351 wxIconBundle *arg2 = 0 ;
2352 PyObject * obj0 = 0 ;
2353 PyObject * obj1 = 0 ;
2354 char *kwnames[] = {
2355 (char *) "self",(char *) "icons", NULL
2356 };
2357
2358 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetIcons",kwnames,&obj0,&obj1)) goto fail;
2359 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2360 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxIconBundle,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2361 if (arg2 == NULL) {
2362 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2363 }
2364 {
2365 PyThreadState* __tstate = wxPyBeginAllowThreads();
2366 (arg1)->SetIcons((wxIconBundle const &)*arg2);
2367
2368 wxPyEndAllowThreads(__tstate);
2369 if (PyErr_Occurred()) SWIG_fail;
2370 }
2371 Py_INCREF(Py_None); resultobj = Py_None;
2372 return resultobj;
2373 fail:
2374 return NULL;
2375}
2376
2377
2378static PyObject *_wrap_TopLevelWindow_ShowFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2379 PyObject *resultobj;
2380 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2381 bool arg2 ;
2382 long arg3 = (long) wxFULLSCREEN_ALL ;
2383 bool result;
2384 PyObject * obj0 = 0 ;
2385 PyObject * obj1 = 0 ;
2386 char *kwnames[] = {
2387 (char *) "self",(char *) "show",(char *) "style", NULL
2388 };
2389
2390 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:TopLevelWindow_ShowFullScreen",kwnames,&obj0,&obj1,&arg3)) goto fail;
2391 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2392 arg2 = PyInt_AsLong(obj1) ? true : false;
2393 if (PyErr_Occurred()) SWIG_fail;
2394 {
2395 PyThreadState* __tstate = wxPyBeginAllowThreads();
2396 result = (bool)(arg1)->ShowFullScreen(arg2,arg3);
2397
2398 wxPyEndAllowThreads(__tstate);
2399 if (PyErr_Occurred()) SWIG_fail;
2400 }
2401 resultobj = PyInt_FromLong((long)result);
2402 return resultobj;
2403 fail:
2404 return NULL;
2405}
2406
2407
2408static PyObject *_wrap_TopLevelWindow_IsFullScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
2409 PyObject *resultobj;
2410 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2411 bool result;
2412 PyObject * obj0 = 0 ;
2413 char *kwnames[] = {
2414 (char *) "self", NULL
2415 };
2416
2417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_IsFullScreen",kwnames,&obj0)) goto fail;
2418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2419 {
2420 PyThreadState* __tstate = wxPyBeginAllowThreads();
2421 result = (bool)((wxTopLevelWindow const *)arg1)->IsFullScreen();
2422
2423 wxPyEndAllowThreads(__tstate);
2424 if (PyErr_Occurred()) SWIG_fail;
2425 }
2426 resultobj = PyInt_FromLong((long)result);
2427 return resultobj;
2428 fail:
2429 return NULL;
2430}
2431
2432
2433static PyObject *_wrap_TopLevelWindow_SetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2434 PyObject *resultobj;
2435 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2436 wxString *arg2 = 0 ;
423f194a 2437 bool temp2 = False ;
d14a1e28
RD
2438 PyObject * obj0 = 0 ;
2439 PyObject * obj1 = 0 ;
2440 char *kwnames[] = {
2441 (char *) "self",(char *) "title", NULL
2442 };
2443
2444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetTitle",kwnames,&obj0,&obj1)) goto fail;
2445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2446 {
2447 arg2 = wxString_in_helper(obj1);
2448 if (arg2 == NULL) SWIG_fail;
423f194a 2449 temp2 = True;
d14a1e28
RD
2450 }
2451 {
2452 PyThreadState* __tstate = wxPyBeginAllowThreads();
2453 (arg1)->SetTitle((wxString const &)*arg2);
2454
2455 wxPyEndAllowThreads(__tstate);
2456 if (PyErr_Occurred()) SWIG_fail;
2457 }
2458 Py_INCREF(Py_None); resultobj = Py_None;
2459 {
2460 if (temp2)
2461 delete arg2;
2462 }
2463 return resultobj;
2464 fail:
2465 {
2466 if (temp2)
2467 delete arg2;
2468 }
2469 return NULL;
2470}
2471
2472
2473static PyObject *_wrap_TopLevelWindow_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
2474 PyObject *resultobj;
2475 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2476 wxString result;
2477 PyObject * obj0 = 0 ;
2478 char *kwnames[] = {
2479 (char *) "self", NULL
2480 };
2481
2482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TopLevelWindow_GetTitle",kwnames,&obj0)) goto fail;
2483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2484 {
2485 PyThreadState* __tstate = wxPyBeginAllowThreads();
2486 result = ((wxTopLevelWindow const *)arg1)->GetTitle();
2487
2488 wxPyEndAllowThreads(__tstate);
2489 if (PyErr_Occurred()) SWIG_fail;
2490 }
2491 {
2492#if wxUSE_UNICODE
2493 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
2494#else
2495 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
2496#endif
2497 }
2498 return resultobj;
2499 fail:
2500 return NULL;
2501}
2502
2503
2504static PyObject *_wrap_TopLevelWindow_SetShape(PyObject *self, PyObject *args, PyObject *kwargs) {
2505 PyObject *resultobj;
2506 wxTopLevelWindow *arg1 = (wxTopLevelWindow *) 0 ;
2507 wxRegion *arg2 = 0 ;
2508 bool result;
2509 PyObject * obj0 = 0 ;
2510 PyObject * obj1 = 0 ;
2511 char *kwnames[] = {
2512 (char *) "self",(char *) "region", NULL
2513 };
2514
2515 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TopLevelWindow_SetShape",kwnames,&obj0,&obj1)) goto fail;
2516 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTopLevelWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2517 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxRegion,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2518 if (arg2 == NULL) {
2519 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
2520 }
2521 {
2522 PyThreadState* __tstate = wxPyBeginAllowThreads();
2523 result = (bool)(arg1)->SetShape((wxRegion const &)*arg2);
2524
2525 wxPyEndAllowThreads(__tstate);
2526 if (PyErr_Occurred()) SWIG_fail;
2527 }
2528 resultobj = PyInt_FromLong((long)result);
2529 return resultobj;
2530 fail:
2531 return NULL;
2532}
2533
2534
2535static PyObject * TopLevelWindow_swigregister(PyObject *self, PyObject *args) {
2536 PyObject *obj;
2537 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
2538 SWIG_TypeClientData(SWIGTYPE_p_wxTopLevelWindow, obj);
2539 Py_INCREF(obj);
2540 return Py_BuildValue((char *)"");
2541}
2542static PyObject *_wrap_new_Frame(PyObject *self, PyObject *args, PyObject *kwargs) {
2543 PyObject *resultobj;
2544 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 2545 int arg2 ;
d14a1e28
RD
2546 wxString *arg3 = 0 ;
2547 wxPoint const &arg4_defvalue = wxDefaultPosition ;
2548 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
2549 wxSize const &arg5_defvalue = wxDefaultSize ;
2550 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
2551 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
2552 wxString const &arg7_defvalue = wxPyFrameNameStr ;
2553 wxString *arg7 = (wxString *) &arg7_defvalue ;
2554 wxFrame *result;
423f194a 2555 bool temp3 = False ;
d14a1e28
RD
2556 wxPoint temp4 ;
2557 wxSize temp5 ;
423f194a 2558 bool temp7 = False ;
d14a1e28
RD
2559 PyObject * obj0 = 0 ;
2560 PyObject * obj2 = 0 ;
2561 PyObject * obj3 = 0 ;
2562 PyObject * obj4 = 0 ;
2563 PyObject * obj6 = 0 ;
2564 char *kwnames[] = {
2565 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2566 };
2567
2568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Frame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
2569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2570 {
2571 arg3 = wxString_in_helper(obj2);
2572 if (arg3 == NULL) SWIG_fail;
423f194a 2573 temp3 = True;
d14a1e28
RD
2574 }
2575 if (obj3) {
2576 {
2577 arg4 = &temp4;
2578 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
2579 }
2580 }
2581 if (obj4) {
2582 {
2583 arg5 = &temp5;
2584 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
2585 }
2586 }
2587 if (obj6) {
2588 {
2589 arg7 = wxString_in_helper(obj6);
2590 if (arg7 == NULL) SWIG_fail;
423f194a 2591 temp7 = True;
d14a1e28
RD
2592 }
2593 }
2594 {
2595 PyThreadState* __tstate = wxPyBeginAllowThreads();
2596 result = (wxFrame *)new wxFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
2597
2598 wxPyEndAllowThreads(__tstate);
2599 if (PyErr_Occurred()) SWIG_fail;
2600 }
2601 {
2602 resultobj = wxPyMake_wxObject(result);
2603 }
2604 {
2605 if (temp3)
2606 delete arg3;
2607 }
2608 {
2609 if (temp7)
2610 delete arg7;
2611 }
2612 return resultobj;
2613 fail:
2614 {
2615 if (temp3)
2616 delete arg3;
2617 }
2618 {
2619 if (temp7)
2620 delete arg7;
2621 }
2622 return NULL;
2623}
2624
2625
2626static PyObject *_wrap_new_PreFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
2627 PyObject *resultobj;
2628 wxFrame *result;
2629 char *kwnames[] = {
2630 NULL
2631 };
2632
2633 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFrame",kwnames)) goto fail;
2634 {
2635 PyThreadState* __tstate = wxPyBeginAllowThreads();
2636 result = (wxFrame *)new wxFrame();
2637
2638 wxPyEndAllowThreads(__tstate);
2639 if (PyErr_Occurred()) SWIG_fail;
2640 }
2641 {
2642 resultobj = wxPyMake_wxObject(result);
2643 }
2644 return resultobj;
2645 fail:
2646 return NULL;
2647}
2648
2649
2650static PyObject *_wrap_Frame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
2651 PyObject *resultobj;
2652 wxFrame *arg1 = (wxFrame *) 0 ;
2653 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 2654 int arg3 ;
d14a1e28
RD
2655 wxString *arg4 = 0 ;
2656 wxPoint const &arg5_defvalue = wxDefaultPosition ;
2657 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
2658 wxSize const &arg6_defvalue = wxDefaultSize ;
2659 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
2660 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
2661 wxString const &arg8_defvalue = wxPyFrameNameStr ;
2662 wxString *arg8 = (wxString *) &arg8_defvalue ;
2663 bool result;
423f194a 2664 bool temp4 = False ;
d14a1e28
RD
2665 wxPoint temp5 ;
2666 wxSize temp6 ;
423f194a 2667 bool temp8 = False ;
d14a1e28
RD
2668 PyObject * obj0 = 0 ;
2669 PyObject * obj1 = 0 ;
2670 PyObject * obj3 = 0 ;
2671 PyObject * obj4 = 0 ;
2672 PyObject * obj5 = 0 ;
2673 PyObject * obj7 = 0 ;
2674 char *kwnames[] = {
2675 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
2676 };
2677
2678 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Frame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
2679 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2680 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2681 {
2682 arg4 = wxString_in_helper(obj3);
2683 if (arg4 == NULL) SWIG_fail;
423f194a 2684 temp4 = True;
d14a1e28
RD
2685 }
2686 if (obj4) {
2687 {
2688 arg5 = &temp5;
2689 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
2690 }
2691 }
2692 if (obj5) {
2693 {
2694 arg6 = &temp6;
2695 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
2696 }
2697 }
2698 if (obj7) {
2699 {
2700 arg8 = wxString_in_helper(obj7);
2701 if (arg8 == NULL) SWIG_fail;
423f194a 2702 temp8 = True;
d14a1e28
RD
2703 }
2704 }
2705 {
2706 PyThreadState* __tstate = wxPyBeginAllowThreads();
2707 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
2708
2709 wxPyEndAllowThreads(__tstate);
2710 if (PyErr_Occurred()) SWIG_fail;
2711 }
2712 resultobj = PyInt_FromLong((long)result);
2713 {
2714 if (temp4)
2715 delete arg4;
2716 }
2717 {
2718 if (temp8)
2719 delete arg8;
2720 }
2721 return resultobj;
2722 fail:
2723 {
2724 if (temp4)
2725 delete arg4;
2726 }
2727 {
2728 if (temp8)
2729 delete arg8;
2730 }
2731 return NULL;
2732}
2733
2734
2735static PyObject *_wrap_Frame_GetClientAreaOrigin(PyObject *self, PyObject *args, PyObject *kwargs) {
2736 PyObject *resultobj;
2737 wxFrame *arg1 = (wxFrame *) 0 ;
2738 wxPoint result;
2739 PyObject * obj0 = 0 ;
2740 char *kwnames[] = {
2741 (char *) "self", NULL
2742 };
2743
2744 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetClientAreaOrigin",kwnames,&obj0)) goto fail;
2745 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2746 {
2747 PyThreadState* __tstate = wxPyBeginAllowThreads();
2748 result = ((wxFrame const *)arg1)->GetClientAreaOrigin();
2749
2750 wxPyEndAllowThreads(__tstate);
2751 if (PyErr_Occurred()) SWIG_fail;
2752 }
2753 {
2754 wxPoint * resultptr;
2755 resultptr = new wxPoint((wxPoint &) result);
2756 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
2757 }
2758 return resultobj;
2759 fail:
2760 return NULL;
2761}
2762
2763
2764static PyObject *_wrap_Frame_SendSizeEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
2765 PyObject *resultobj;
2766 wxFrame *arg1 = (wxFrame *) 0 ;
2767 PyObject * obj0 = 0 ;
2768 char *kwnames[] = {
2769 (char *) "self", NULL
2770 };
2771
2772 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_SendSizeEvent",kwnames,&obj0)) goto fail;
2773 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2774 {
2775 PyThreadState* __tstate = wxPyBeginAllowThreads();
2776 (arg1)->SendSizeEvent();
2777
2778 wxPyEndAllowThreads(__tstate);
2779 if (PyErr_Occurred()) SWIG_fail;
2780 }
2781 Py_INCREF(Py_None); resultobj = Py_None;
2782 return resultobj;
2783 fail:
2784 return NULL;
2785}
2786
2787
2788static PyObject *_wrap_Frame_SetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2789 PyObject *resultobj;
2790 wxFrame *arg1 = (wxFrame *) 0 ;
2791 wxMenuBar *arg2 = (wxMenuBar *) 0 ;
2792 PyObject * obj0 = 0 ;
2793 PyObject * obj1 = 0 ;
2794 char *kwnames[] = {
2795 (char *) "self",(char *) "menubar", NULL
2796 };
2797
2798 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetMenuBar",kwnames,&obj0,&obj1)) goto fail;
2799 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2800 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenuBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2801 {
2802 PyThreadState* __tstate = wxPyBeginAllowThreads();
2803 (arg1)->SetMenuBar(arg2);
2804
2805 wxPyEndAllowThreads(__tstate);
2806 if (PyErr_Occurred()) SWIG_fail;
2807 }
2808 Py_INCREF(Py_None); resultobj = Py_None;
2809 return resultobj;
2810 fail:
2811 return NULL;
2812}
2813
2814
2815static PyObject *_wrap_Frame_GetMenuBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2816 PyObject *resultobj;
2817 wxFrame *arg1 = (wxFrame *) 0 ;
2818 wxMenuBar *result;
2819 PyObject * obj0 = 0 ;
2820 char *kwnames[] = {
2821 (char *) "self", NULL
2822 };
2823
2824 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetMenuBar",kwnames,&obj0)) goto fail;
2825 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2826 {
2827 PyThreadState* __tstate = wxPyBeginAllowThreads();
2828 result = (wxMenuBar *)((wxFrame const *)arg1)->GetMenuBar();
2829
2830 wxPyEndAllowThreads(__tstate);
2831 if (PyErr_Occurred()) SWIG_fail;
2832 }
2833 {
2834 resultobj = wxPyMake_wxObject(result);
2835 }
2836 return resultobj;
2837 fail:
2838 return NULL;
2839}
2840
2841
2842static PyObject *_wrap_Frame_ProcessCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
2843 PyObject *resultobj;
2844 wxFrame *arg1 = (wxFrame *) 0 ;
2845 int arg2 ;
2846 bool result;
2847 PyObject * obj0 = 0 ;
2848 char *kwnames[] = {
2849 (char *) "self",(char *) "winid", NULL
2850 };
2851
2852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_ProcessCommand",kwnames,&obj0,&arg2)) goto fail;
2853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2854 {
2855 PyThreadState* __tstate = wxPyBeginAllowThreads();
2856 result = (bool)(arg1)->ProcessCommand(arg2);
2857
2858 wxPyEndAllowThreads(__tstate);
2859 if (PyErr_Occurred()) SWIG_fail;
2860 }
2861 resultobj = PyInt_FromLong((long)result);
2862 return resultobj;
2863 fail:
2864 return NULL;
2865}
2866
2867
2868static PyObject *_wrap_Frame_CreateStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2869 PyObject *resultobj;
2870 wxFrame *arg1 = (wxFrame *) 0 ;
2871 int arg2 = (int) 1 ;
2872 long arg3 = (long) wxST_SIZEGRIP ;
423f194a 2873 int arg4 = (int) 0 ;
d14a1e28
RD
2874 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
2875 wxString *arg5 = (wxString *) &arg5_defvalue ;
2876 wxStatusBar *result;
423f194a 2877 bool temp5 = False ;
d14a1e28
RD
2878 PyObject * obj0 = 0 ;
2879 PyObject * obj4 = 0 ;
2880 char *kwnames[] = {
2881 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
2882 };
2883
2884 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iliO:Frame_CreateStatusBar",kwnames,&obj0,&arg2,&arg3,&arg4,&obj4)) goto fail;
2885 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2886 if (obj4) {
2887 {
2888 arg5 = wxString_in_helper(obj4);
2889 if (arg5 == NULL) SWIG_fail;
423f194a 2890 temp5 = True;
d14a1e28
RD
2891 }
2892 }
2893 {
2894 PyThreadState* __tstate = wxPyBeginAllowThreads();
2895 result = (wxStatusBar *)(arg1)->CreateStatusBar(arg2,arg3,arg4,(wxString const &)*arg5);
2896
2897 wxPyEndAllowThreads(__tstate);
2898 if (PyErr_Occurred()) SWIG_fail;
2899 }
2900 {
2901 resultobj = wxPyMake_wxObject(result);
2902 }
2903 {
2904 if (temp5)
2905 delete arg5;
2906 }
2907 return resultobj;
2908 fail:
2909 {
2910 if (temp5)
2911 delete arg5;
2912 }
2913 return NULL;
2914}
2915
2916
2917static PyObject *_wrap_Frame_GetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2918 PyObject *resultobj;
2919 wxFrame *arg1 = (wxFrame *) 0 ;
2920 wxStatusBar *result;
2921 PyObject * obj0 = 0 ;
2922 char *kwnames[] = {
2923 (char *) "self", NULL
2924 };
2925
2926 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBar",kwnames,&obj0)) goto fail;
2927 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2928 {
2929 PyThreadState* __tstate = wxPyBeginAllowThreads();
2930 result = (wxStatusBar *)((wxFrame const *)arg1)->GetStatusBar();
2931
2932 wxPyEndAllowThreads(__tstate);
2933 if (PyErr_Occurred()) SWIG_fail;
2934 }
2935 {
2936 resultobj = wxPyMake_wxObject(result);
2937 }
2938 return resultobj;
2939 fail:
2940 return NULL;
2941}
2942
2943
2944static PyObject *_wrap_Frame_SetStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
2945 PyObject *resultobj;
2946 wxFrame *arg1 = (wxFrame *) 0 ;
2947 wxStatusBar *arg2 = (wxStatusBar *) 0 ;
2948 PyObject * obj0 = 0 ;
2949 PyObject * obj1 = 0 ;
2950 char *kwnames[] = {
2951 (char *) "self",(char *) "statBar", NULL
2952 };
2953
2954 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusBar",kwnames,&obj0,&obj1)) goto fail;
2955 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2956 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2957 {
2958 PyThreadState* __tstate = wxPyBeginAllowThreads();
2959 (arg1)->SetStatusBar(arg2);
2960
2961 wxPyEndAllowThreads(__tstate);
2962 if (PyErr_Occurred()) SWIG_fail;
2963 }
2964 Py_INCREF(Py_None); resultobj = Py_None;
2965 return resultobj;
2966 fail:
2967 return NULL;
2968}
2969
2970
2971static PyObject *_wrap_Frame_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
2972 PyObject *resultobj;
2973 wxFrame *arg1 = (wxFrame *) 0 ;
2974 wxString *arg2 = 0 ;
2975 int arg3 = (int) 0 ;
423f194a 2976 bool temp2 = False ;
d14a1e28
RD
2977 PyObject * obj0 = 0 ;
2978 PyObject * obj1 = 0 ;
2979 char *kwnames[] = {
2980 (char *) "self",(char *) "text",(char *) "number", NULL
2981 };
2982
2983 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
2984 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
2985 {
2986 arg2 = wxString_in_helper(obj1);
2987 if (arg2 == NULL) SWIG_fail;
423f194a 2988 temp2 = True;
d14a1e28
RD
2989 }
2990 {
2991 PyThreadState* __tstate = wxPyBeginAllowThreads();
2992 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
2993
2994 wxPyEndAllowThreads(__tstate);
2995 if (PyErr_Occurred()) SWIG_fail;
2996 }
2997 Py_INCREF(Py_None); resultobj = Py_None;
2998 {
2999 if (temp2)
3000 delete arg2;
3001 }
3002 return resultobj;
3003 fail:
3004 {
3005 if (temp2)
3006 delete arg2;
3007 }
3008 return NULL;
3009}
3010
3011
3012static PyObject *_wrap_Frame_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
3013 PyObject *resultobj;
3014 wxFrame *arg1 = (wxFrame *) 0 ;
3015 int arg2 ;
3016 int *arg3 = (int *) 0 ;
3017 PyObject * obj0 = 0 ;
3018 PyObject * obj1 = 0 ;
3019 char *kwnames[] = {
3020 (char *) "self",(char *) "widths", NULL
3021 };
3022
3023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
3024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3025 {
3026 arg2 = PyList_Size(obj1);
3027 arg3 = int_LIST_helper(obj1);
3028 if (arg3 == NULL) SWIG_fail;
3029 }
3030 {
3031 PyThreadState* __tstate = wxPyBeginAllowThreads();
3032 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
3033
3034 wxPyEndAllowThreads(__tstate);
3035 if (PyErr_Occurred()) SWIG_fail;
3036 }
3037 Py_INCREF(Py_None); resultobj = Py_None;
3038 {
3039 if (arg3) delete [] arg3;
3040 }
3041 return resultobj;
3042 fail:
3043 {
3044 if (arg3) delete [] arg3;
3045 }
3046 return NULL;
3047}
3048
3049
3050static PyObject *_wrap_Frame_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3051 PyObject *resultobj;
3052 wxFrame *arg1 = (wxFrame *) 0 ;
3053 wxString *arg2 = 0 ;
3054 int arg3 = (int) 0 ;
423f194a 3055 bool temp2 = False ;
d14a1e28
RD
3056 PyObject * obj0 = 0 ;
3057 PyObject * obj1 = 0 ;
3058 char *kwnames[] = {
3059 (char *) "self",(char *) "text",(char *) "number", NULL
3060 };
3061
3062 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:Frame_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
3063 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3064 {
3065 arg2 = wxString_in_helper(obj1);
3066 if (arg2 == NULL) SWIG_fail;
423f194a 3067 temp2 = True;
d14a1e28
RD
3068 }
3069 {
3070 PyThreadState* __tstate = wxPyBeginAllowThreads();
3071 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
3072
3073 wxPyEndAllowThreads(__tstate);
3074 if (PyErr_Occurred()) SWIG_fail;
3075 }
3076 Py_INCREF(Py_None); resultobj = Py_None;
3077 {
3078 if (temp2)
3079 delete arg2;
3080 }
3081 return resultobj;
3082 fail:
3083 {
3084 if (temp2)
3085 delete arg2;
3086 }
3087 return NULL;
3088}
3089
3090
3091static PyObject *_wrap_Frame_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
3092 PyObject *resultobj;
3093 wxFrame *arg1 = (wxFrame *) 0 ;
3094 int arg2 = (int) 0 ;
3095 PyObject * obj0 = 0 ;
3096 char *kwnames[] = {
3097 (char *) "self",(char *) "number", NULL
3098 };
3099
3100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:Frame_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
3101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3102 {
3103 PyThreadState* __tstate = wxPyBeginAllowThreads();
3104 (arg1)->PopStatusText(arg2);
3105
3106 wxPyEndAllowThreads(__tstate);
3107 if (PyErr_Occurred()) SWIG_fail;
3108 }
3109 Py_INCREF(Py_None); resultobj = Py_None;
3110 return resultobj;
3111 fail:
3112 return NULL;
3113}
3114
3115
3116static PyObject *_wrap_Frame_SetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3117 PyObject *resultobj;
3118 wxFrame *arg1 = (wxFrame *) 0 ;
3119 int arg2 ;
3120 PyObject * obj0 = 0 ;
3121 char *kwnames[] = {
3122 (char *) "self",(char *) "n", NULL
3123 };
3124
3125 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Frame_SetStatusBarPane",kwnames,&obj0,&arg2)) goto fail;
3126 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3127 {
3128 PyThreadState* __tstate = wxPyBeginAllowThreads();
3129 (arg1)->SetStatusBarPane(arg2);
3130
3131 wxPyEndAllowThreads(__tstate);
3132 if (PyErr_Occurred()) SWIG_fail;
3133 }
3134 Py_INCREF(Py_None); resultobj = Py_None;
3135 return resultobj;
3136 fail:
3137 return NULL;
3138}
3139
3140
3141static PyObject *_wrap_Frame_GetStatusBarPane(PyObject *self, PyObject *args, PyObject *kwargs) {
3142 PyObject *resultobj;
3143 wxFrame *arg1 = (wxFrame *) 0 ;
3144 int result;
3145 PyObject * obj0 = 0 ;
3146 char *kwnames[] = {
3147 (char *) "self", NULL
3148 };
3149
3150 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetStatusBarPane",kwnames,&obj0)) goto fail;
3151 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3152 {
3153 PyThreadState* __tstate = wxPyBeginAllowThreads();
3154 result = (int)((wxFrame const *)arg1)->GetStatusBarPane();
3155
3156 wxPyEndAllowThreads(__tstate);
3157 if (PyErr_Occurred()) SWIG_fail;
3158 }
3159 resultobj = PyInt_FromLong((long)result);
3160 return resultobj;
3161 fail:
3162 return NULL;
3163}
3164
3165
3166static PyObject *_wrap_Frame_CreateToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3167 PyObject *resultobj;
3168 wxFrame *arg1 = (wxFrame *) 0 ;
3169 long arg2 = (long) -1 ;
423f194a 3170 int arg3 = (int) -1 ;
d14a1e28
RD
3171 wxString const &arg4_defvalue = wxPyToolBarNameStr ;
3172 wxString *arg4 = (wxString *) &arg4_defvalue ;
3173 wxToolBar *result;
423f194a 3174 bool temp4 = False ;
d14a1e28
RD
3175 PyObject * obj0 = 0 ;
3176 PyObject * obj3 = 0 ;
3177 char *kwnames[] = {
3178 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
3179 };
3180
3181 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|liO:Frame_CreateToolBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
3182 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3183 if (obj3) {
3184 {
3185 arg4 = wxString_in_helper(obj3);
3186 if (arg4 == NULL) SWIG_fail;
423f194a 3187 temp4 = True;
d14a1e28
RD
3188 }
3189 }
3190 {
3191 PyThreadState* __tstate = wxPyBeginAllowThreads();
3192 result = (wxToolBar *)(arg1)->CreateToolBar(arg2,arg3,(wxString const &)*arg4);
3193
3194 wxPyEndAllowThreads(__tstate);
3195 if (PyErr_Occurred()) SWIG_fail;
3196 }
3197 {
3198 resultobj = wxPyMake_wxObject(result);
3199 }
3200 {
3201 if (temp4)
3202 delete arg4;
3203 }
3204 return resultobj;
3205 fail:
3206 {
3207 if (temp4)
3208 delete arg4;
3209 }
3210 return NULL;
3211}
3212
3213
3214static PyObject *_wrap_Frame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3215 PyObject *resultobj;
3216 wxFrame *arg1 = (wxFrame *) 0 ;
3217 wxToolBar *result;
3218 PyObject * obj0 = 0 ;
3219 char *kwnames[] = {
3220 (char *) "self", NULL
3221 };
3222
3223 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Frame_GetToolBar",kwnames,&obj0)) goto fail;
3224 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3225 {
3226 PyThreadState* __tstate = wxPyBeginAllowThreads();
3227 result = (wxToolBar *)((wxFrame const *)arg1)->GetToolBar();
3228
3229 wxPyEndAllowThreads(__tstate);
3230 if (PyErr_Occurred()) SWIG_fail;
3231 }
3232 {
3233 resultobj = wxPyMake_wxObject(result);
3234 }
3235 return resultobj;
3236 fail:
3237 return NULL;
3238}
3239
3240
3241static PyObject *_wrap_Frame_SetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
3242 PyObject *resultobj;
3243 wxFrame *arg1 = (wxFrame *) 0 ;
3244 wxToolBar *arg2 = (wxToolBar *) 0 ;
3245 PyObject * obj0 = 0 ;
3246 PyObject * obj1 = 0 ;
3247 char *kwnames[] = {
3248 (char *) "self",(char *) "toolbar", NULL
3249 };
3250
3251 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Frame_SetToolBar",kwnames,&obj0,&obj1)) goto fail;
3252 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3253 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxToolBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3254 {
3255 PyThreadState* __tstate = wxPyBeginAllowThreads();
3256 (arg1)->SetToolBar(arg2);
3257
3258 wxPyEndAllowThreads(__tstate);
3259 if (PyErr_Occurred()) SWIG_fail;
3260 }
3261 Py_INCREF(Py_None); resultobj = Py_None;
3262 return resultobj;
3263 fail:
3264 return NULL;
3265}
3266
3267
3268static PyObject *_wrap_Frame_DoGiveHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
3269 PyObject *resultobj;
3270 wxFrame *arg1 = (wxFrame *) 0 ;
3271 wxString *arg2 = 0 ;
3272 bool arg3 ;
423f194a 3273 bool temp2 = False ;
d14a1e28
RD
3274 PyObject * obj0 = 0 ;
3275 PyObject * obj1 = 0 ;
3276 PyObject * obj2 = 0 ;
3277 char *kwnames[] = {
3278 (char *) "self",(char *) "text",(char *) "show", NULL
3279 };
3280
3281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Frame_DoGiveHelp",kwnames,&obj0,&obj1,&obj2)) goto fail;
3282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3283 {
3284 arg2 = wxString_in_helper(obj1);
3285 if (arg2 == NULL) SWIG_fail;
423f194a 3286 temp2 = True;
d14a1e28
RD
3287 }
3288 arg3 = PyInt_AsLong(obj2) ? true : false;
3289 if (PyErr_Occurred()) SWIG_fail;
3290 {
3291 PyThreadState* __tstate = wxPyBeginAllowThreads();
3292 (arg1)->DoGiveHelp((wxString const &)*arg2,arg3);
3293
3294 wxPyEndAllowThreads(__tstate);
3295 if (PyErr_Occurred()) SWIG_fail;
3296 }
3297 Py_INCREF(Py_None); resultobj = Py_None;
3298 {
3299 if (temp2)
3300 delete arg2;
3301 }
3302 return resultobj;
3303 fail:
3304 {
3305 if (temp2)
3306 delete arg2;
3307 }
3308 return NULL;
3309}
3310
3311
3312static PyObject *_wrap_Frame_DoMenuUpdates(PyObject *self, PyObject *args, PyObject *kwargs) {
3313 PyObject *resultobj;
3314 wxFrame *arg1 = (wxFrame *) 0 ;
3315 wxMenu *arg2 = (wxMenu *) NULL ;
3316 PyObject * obj0 = 0 ;
3317 PyObject * obj1 = 0 ;
3318 char *kwnames[] = {
3319 (char *) "self",(char *) "menu", NULL
3320 };
3321
3322 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:Frame_DoMenuUpdates",kwnames,&obj0,&obj1)) goto fail;
3323 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3324 if (obj1) {
3325 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMenu,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3326 }
3327 {
3328 PyThreadState* __tstate = wxPyBeginAllowThreads();
3329 (arg1)->DoMenuUpdates(arg2);
3330
3331 wxPyEndAllowThreads(__tstate);
3332 if (PyErr_Occurred()) SWIG_fail;
3333 }
3334 Py_INCREF(Py_None); resultobj = Py_None;
3335 return resultobj;
3336 fail:
3337 return NULL;
3338}
3339
3340
3341static PyObject * Frame_swigregister(PyObject *self, PyObject *args) {
3342 PyObject *obj;
3343 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3344 SWIG_TypeClientData(SWIGTYPE_p_wxFrame, obj);
3345 Py_INCREF(obj);
3346 return Py_BuildValue((char *)"");
3347}
3348static PyObject *_wrap_new_Dialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3349 PyObject *resultobj;
3350 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3351 int arg2 ;
d14a1e28
RD
3352 wxString *arg3 = 0 ;
3353 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3354 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3355 wxSize const &arg5_defvalue = wxDefaultSize ;
3356 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3357 long arg6 = (long) wxDEFAULT_DIALOG_STYLE ;
3358 wxString const &arg7_defvalue = wxPyDialogNameStr ;
3359 wxString *arg7 = (wxString *) &arg7_defvalue ;
3360 wxDialog *result;
423f194a 3361 bool temp3 = False ;
d14a1e28
RD
3362 wxPoint temp4 ;
3363 wxSize temp5 ;
423f194a 3364 bool temp7 = False ;
d14a1e28
RD
3365 PyObject * obj0 = 0 ;
3366 PyObject * obj2 = 0 ;
3367 PyObject * obj3 = 0 ;
3368 PyObject * obj4 = 0 ;
3369 PyObject * obj6 = 0 ;
3370 char *kwnames[] = {
3371 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3372 };
3373
3374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_Dialog",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3376 {
3377 arg3 = wxString_in_helper(obj2);
3378 if (arg3 == NULL) SWIG_fail;
423f194a 3379 temp3 = True;
d14a1e28
RD
3380 }
3381 if (obj3) {
3382 {
3383 arg4 = &temp4;
3384 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3385 }
3386 }
3387 if (obj4) {
3388 {
3389 arg5 = &temp5;
3390 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3391 }
3392 }
3393 if (obj6) {
3394 {
3395 arg7 = wxString_in_helper(obj6);
3396 if (arg7 == NULL) SWIG_fail;
423f194a 3397 temp7 = True;
d14a1e28
RD
3398 }
3399 }
3400 {
3401 PyThreadState* __tstate = wxPyBeginAllowThreads();
3402 result = (wxDialog *)new wxDialog(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3403
3404 wxPyEndAllowThreads(__tstate);
3405 if (PyErr_Occurred()) SWIG_fail;
3406 }
3407 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3408 {
3409 if (temp3)
3410 delete arg3;
3411 }
3412 {
3413 if (temp7)
3414 delete arg7;
3415 }
3416 return resultobj;
3417 fail:
3418 {
3419 if (temp3)
3420 delete arg3;
3421 }
3422 {
3423 if (temp7)
3424 delete arg7;
3425 }
3426 return NULL;
3427}
3428
3429
3430static PyObject *_wrap_new_PreDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
3431 PyObject *resultobj;
3432 wxDialog *result;
3433 char *kwnames[] = {
3434 NULL
3435 };
3436
3437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreDialog",kwnames)) goto fail;
3438 {
3439 PyThreadState* __tstate = wxPyBeginAllowThreads();
3440 result = (wxDialog *)new wxDialog();
3441
3442 wxPyEndAllowThreads(__tstate);
3443 if (PyErr_Occurred()) SWIG_fail;
3444 }
3445 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDialog, 1);
3446 return resultobj;
3447 fail:
3448 return NULL;
3449}
3450
3451
3452static PyObject *_wrap_Dialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3453 PyObject *resultobj;
3454 wxDialog *arg1 = (wxDialog *) 0 ;
3455 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3456 int arg3 ;
d14a1e28
RD
3457 wxString *arg4 = 0 ;
3458 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3459 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3460 wxSize const &arg6_defvalue = wxDefaultSize ;
3461 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3462 long arg7 = (long) wxDEFAULT_DIALOG_STYLE ;
3463 wxString const &arg8_defvalue = wxPyDialogNameStr ;
3464 wxString *arg8 = (wxString *) &arg8_defvalue ;
3465 bool result;
423f194a 3466 bool temp4 = False ;
d14a1e28
RD
3467 wxPoint temp5 ;
3468 wxSize temp6 ;
423f194a 3469 bool temp8 = False ;
d14a1e28
RD
3470 PyObject * obj0 = 0 ;
3471 PyObject * obj1 = 0 ;
3472 PyObject * obj3 = 0 ;
3473 PyObject * obj4 = 0 ;
3474 PyObject * obj5 = 0 ;
3475 PyObject * obj7 = 0 ;
3476 char *kwnames[] = {
3477 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3478 };
3479
3480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:Dialog_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3482 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3483 {
3484 arg4 = wxString_in_helper(obj3);
3485 if (arg4 == NULL) SWIG_fail;
423f194a 3486 temp4 = True;
d14a1e28
RD
3487 }
3488 if (obj4) {
3489 {
3490 arg5 = &temp5;
3491 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3492 }
3493 }
3494 if (obj5) {
3495 {
3496 arg6 = &temp6;
3497 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3498 }
3499 }
3500 if (obj7) {
3501 {
3502 arg8 = wxString_in_helper(obj7);
3503 if (arg8 == NULL) SWIG_fail;
423f194a 3504 temp8 = True;
d14a1e28
RD
3505 }
3506 }
3507 {
3508 PyThreadState* __tstate = wxPyBeginAllowThreads();
3509 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3510
3511 wxPyEndAllowThreads(__tstate);
3512 if (PyErr_Occurred()) SWIG_fail;
3513 }
3514 resultobj = PyInt_FromLong((long)result);
3515 {
3516 if (temp4)
3517 delete arg4;
3518 }
3519 {
3520 if (temp8)
3521 delete arg8;
3522 }
3523 return resultobj;
3524 fail:
3525 {
3526 if (temp4)
3527 delete arg4;
3528 }
3529 {
3530 if (temp8)
3531 delete arg8;
3532 }
3533 return NULL;
3534}
3535
3536
3537static PyObject *_wrap_Dialog_SetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3538 PyObject *resultobj;
3539 wxDialog *arg1 = (wxDialog *) 0 ;
3540 int arg2 ;
3541 PyObject * obj0 = 0 ;
3542 char *kwnames[] = {
3543 (char *) "self",(char *) "returnCode", NULL
3544 };
3545
3546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_SetReturnCode",kwnames,&obj0,&arg2)) goto fail;
3547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3548 {
3549 PyThreadState* __tstate = wxPyBeginAllowThreads();
3550 (arg1)->SetReturnCode(arg2);
3551
3552 wxPyEndAllowThreads(__tstate);
3553 if (PyErr_Occurred()) SWIG_fail;
3554 }
3555 Py_INCREF(Py_None); resultobj = Py_None;
3556 return resultobj;
3557 fail:
3558 return NULL;
3559}
3560
3561
3562static PyObject *_wrap_Dialog_GetReturnCode(PyObject *self, PyObject *args, PyObject *kwargs) {
3563 PyObject *resultobj;
3564 wxDialog *arg1 = (wxDialog *) 0 ;
3565 int result;
3566 PyObject * obj0 = 0 ;
3567 char *kwnames[] = {
3568 (char *) "self", NULL
3569 };
3570
3571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_GetReturnCode",kwnames,&obj0)) goto fail;
3572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3573 {
3574 PyThreadState* __tstate = wxPyBeginAllowThreads();
3575 result = (int)((wxDialog const *)arg1)->GetReturnCode();
3576
3577 wxPyEndAllowThreads(__tstate);
3578 if (PyErr_Occurred()) SWIG_fail;
3579 }
3580 resultobj = PyInt_FromLong((long)result);
3581 return resultobj;
3582 fail:
3583 return NULL;
3584}
3585
3586
3587static PyObject *_wrap_Dialog_CreateTextSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3588 PyObject *resultobj;
3589 wxDialog *arg1 = (wxDialog *) 0 ;
3590 wxString *arg2 = 0 ;
3591 wxSizer *result;
423f194a 3592 bool temp2 = False ;
d14a1e28
RD
3593 PyObject * obj0 = 0 ;
3594 PyObject * obj1 = 0 ;
3595 char *kwnames[] = {
3596 (char *) "self",(char *) "message", NULL
3597 };
3598
3599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_CreateTextSizer",kwnames,&obj0,&obj1)) goto fail;
3600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3601 {
3602 arg2 = wxString_in_helper(obj1);
3603 if (arg2 == NULL) SWIG_fail;
423f194a 3604 temp2 = True;
d14a1e28
RD
3605 }
3606 {
3607 PyThreadState* __tstate = wxPyBeginAllowThreads();
3608 result = (wxSizer *)(arg1)->CreateTextSizer((wxString const &)*arg2);
3609
3610 wxPyEndAllowThreads(__tstate);
3611 if (PyErr_Occurred()) SWIG_fail;
3612 }
3613 {
3614 resultobj = wxPyMake_wxSizer(result);
3615 }
3616 {
3617 if (temp2)
3618 delete arg2;
3619 }
3620 return resultobj;
3621 fail:
3622 {
3623 if (temp2)
3624 delete arg2;
3625 }
3626 return NULL;
3627}
3628
3629
3630static PyObject *_wrap_Dialog_CreateButtonSizer(PyObject *self, PyObject *args, PyObject *kwargs) {
3631 PyObject *resultobj;
3632 wxDialog *arg1 = (wxDialog *) 0 ;
3633 long arg2 ;
3634 wxSizer *result;
3635 PyObject * obj0 = 0 ;
3636 char *kwnames[] = {
3637 (char *) "self",(char *) "flags", NULL
3638 };
3639
3640 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:Dialog_CreateButtonSizer",kwnames,&obj0,&arg2)) goto fail;
3641 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3642 {
3643 PyThreadState* __tstate = wxPyBeginAllowThreads();
3644 result = (wxSizer *)(arg1)->CreateButtonSizer(arg2);
3645
3646 wxPyEndAllowThreads(__tstate);
3647 if (PyErr_Occurred()) SWIG_fail;
3648 }
3649 {
3650 resultobj = wxPyMake_wxSizer(result);
3651 }
3652 return resultobj;
3653 fail:
3654 return NULL;
3655}
3656
3657
3658static PyObject *_wrap_Dialog_SetModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3659 PyObject *resultobj;
3660 wxDialog *arg1 = (wxDialog *) 0 ;
3661 bool arg2 ;
3662 PyObject * obj0 = 0 ;
3663 PyObject * obj1 = 0 ;
3664 char *kwnames[] = {
3665 (char *) "self",(char *) "flag", NULL
3666 };
3667
3668 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Dialog_SetModal",kwnames,&obj0,&obj1)) goto fail;
3669 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3670 arg2 = PyInt_AsLong(obj1) ? true : false;
3671 if (PyErr_Occurred()) SWIG_fail;
3672 {
3673 PyThreadState* __tstate = wxPyBeginAllowThreads();
3674 (arg1)->SetModal(arg2);
3675
3676 wxPyEndAllowThreads(__tstate);
3677 if (PyErr_Occurred()) SWIG_fail;
3678 }
3679 Py_INCREF(Py_None); resultobj = Py_None;
3680 return resultobj;
3681 fail:
3682 return NULL;
3683}
3684
3685
3686static PyObject *_wrap_Dialog_IsModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3687 PyObject *resultobj;
3688 wxDialog *arg1 = (wxDialog *) 0 ;
3689 bool result;
3690 PyObject * obj0 = 0 ;
3691 char *kwnames[] = {
3692 (char *) "self", NULL
3693 };
3694
3695 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModal",kwnames,&obj0)) goto fail;
3696 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3697 {
3698 PyThreadState* __tstate = wxPyBeginAllowThreads();
3699 result = (bool)((wxDialog const *)arg1)->IsModal();
3700
3701 wxPyEndAllowThreads(__tstate);
3702 if (PyErr_Occurred()) SWIG_fail;
3703 }
3704 resultobj = PyInt_FromLong((long)result);
3705 return resultobj;
3706 fail:
3707 return NULL;
3708}
3709
3710
3711static PyObject *_wrap_Dialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3712 PyObject *resultobj;
3713 wxDialog *arg1 = (wxDialog *) 0 ;
3714 int result;
3715 PyObject * obj0 = 0 ;
3716 char *kwnames[] = {
3717 (char *) "self", NULL
3718 };
3719
3720 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_ShowModal",kwnames,&obj0)) goto fail;
3721 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3722 {
3723 PyThreadState* __tstate = wxPyBeginAllowThreads();
3724 result = (int)(arg1)->ShowModal();
3725
3726 wxPyEndAllowThreads(__tstate);
3727 if (PyErr_Occurred()) SWIG_fail;
3728 }
3729 resultobj = PyInt_FromLong((long)result);
3730 return resultobj;
3731 fail:
3732 return NULL;
3733}
3734
3735
3736static PyObject *_wrap_Dialog_EndModal(PyObject *self, PyObject *args, PyObject *kwargs) {
3737 PyObject *resultobj;
3738 wxDialog *arg1 = (wxDialog *) 0 ;
3739 int arg2 ;
3740 PyObject * obj0 = 0 ;
3741 char *kwnames[] = {
3742 (char *) "self",(char *) "retCode", NULL
3743 };
3744
3745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Dialog_EndModal",kwnames,&obj0,&arg2)) goto fail;
3746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3747 {
3748 PyThreadState* __tstate = wxPyBeginAllowThreads();
3749 (arg1)->EndModal(arg2);
3750
3751 wxPyEndAllowThreads(__tstate);
3752 if (PyErr_Occurred()) SWIG_fail;
3753 }
3754 Py_INCREF(Py_None); resultobj = Py_None;
3755 return resultobj;
3756 fail:
3757 return NULL;
3758}
3759
3760
3761static PyObject *_wrap_Dialog_IsModalShowing(PyObject *self, PyObject *args, PyObject *kwargs) {
3762 PyObject *resultobj;
3763 wxDialog *arg1 = (wxDialog *) 0 ;
3764 bool result;
3765 PyObject * obj0 = 0 ;
3766 char *kwnames[] = {
3767 (char *) "self", NULL
3768 };
3769
3770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Dialog_IsModalShowing",kwnames,&obj0)) goto fail;
3771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3772 {
3773 PyThreadState* __tstate = wxPyBeginAllowThreads();
3774 result = (bool)wxDialog_IsModalShowing(arg1);
3775
3776 wxPyEndAllowThreads(__tstate);
3777 if (PyErr_Occurred()) SWIG_fail;
3778 }
3779 resultobj = PyInt_FromLong((long)result);
3780 return resultobj;
3781 fail:
3782 return NULL;
3783}
3784
3785
3786static PyObject * Dialog_swigregister(PyObject *self, PyObject *args) {
3787 PyObject *obj;
3788 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3789 SWIG_TypeClientData(SWIGTYPE_p_wxDialog, obj);
3790 Py_INCREF(obj);
3791 return Py_BuildValue((char *)"");
3792}
3793static PyObject *_wrap_new_MiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3794 PyObject *resultobj;
3795 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 3796 int arg2 ;
d14a1e28
RD
3797 wxString *arg3 = 0 ;
3798 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3799 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3800 wxSize const &arg5_defvalue = wxDefaultSize ;
3801 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3802 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
3803 wxString const &arg7_defvalue = wxPyFrameNameStr ;
3804 wxString *arg7 = (wxString *) &arg7_defvalue ;
3805 wxMiniFrame *result;
423f194a 3806 bool temp3 = False ;
d14a1e28
RD
3807 wxPoint temp4 ;
3808 wxSize temp5 ;
423f194a 3809 bool temp7 = False ;
d14a1e28
RD
3810 PyObject * obj0 = 0 ;
3811 PyObject * obj2 = 0 ;
3812 PyObject * obj3 = 0 ;
3813 PyObject * obj4 = 0 ;
3814 PyObject * obj6 = 0 ;
3815 char *kwnames[] = {
3816 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3817 };
3818
3819 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MiniFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
3820 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3821 {
3822 arg3 = wxString_in_helper(obj2);
3823 if (arg3 == NULL) SWIG_fail;
423f194a 3824 temp3 = True;
d14a1e28
RD
3825 }
3826 if (obj3) {
3827 {
3828 arg4 = &temp4;
3829 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
3830 }
3831 }
3832 if (obj4) {
3833 {
3834 arg5 = &temp5;
3835 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
3836 }
3837 }
3838 if (obj6) {
3839 {
3840 arg7 = wxString_in_helper(obj6);
3841 if (arg7 == NULL) SWIG_fail;
423f194a 3842 temp7 = True;
d14a1e28
RD
3843 }
3844 }
3845 {
3846 PyThreadState* __tstate = wxPyBeginAllowThreads();
3847 result = (wxMiniFrame *)new wxMiniFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
3848
3849 wxPyEndAllowThreads(__tstate);
3850 if (PyErr_Occurred()) SWIG_fail;
3851 }
3852 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3853 {
3854 if (temp3)
3855 delete arg3;
3856 }
3857 {
3858 if (temp7)
3859 delete arg7;
3860 }
3861 return resultobj;
3862 fail:
3863 {
3864 if (temp3)
3865 delete arg3;
3866 }
3867 {
3868 if (temp7)
3869 delete arg7;
3870 }
3871 return NULL;
3872}
3873
3874
3875static PyObject *_wrap_new_PreMiniFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
3876 PyObject *resultobj;
3877 wxMiniFrame *result;
3878 char *kwnames[] = {
3879 NULL
3880 };
3881
3882 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMiniFrame",kwnames)) goto fail;
3883 {
3884 PyThreadState* __tstate = wxPyBeginAllowThreads();
3885 result = (wxMiniFrame *)new wxMiniFrame();
3886
3887 wxPyEndAllowThreads(__tstate);
3888 if (PyErr_Occurred()) SWIG_fail;
3889 }
3890 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMiniFrame, 1);
3891 return resultobj;
3892 fail:
3893 return NULL;
3894}
3895
3896
3897static PyObject *_wrap_MiniFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
3898 PyObject *resultobj;
3899 wxMiniFrame *arg1 = (wxMiniFrame *) 0 ;
3900 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3901 int arg3 ;
d14a1e28
RD
3902 wxString *arg4 = 0 ;
3903 wxPoint const &arg5_defvalue = wxDefaultPosition ;
3904 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
3905 wxSize const &arg6_defvalue = wxDefaultSize ;
3906 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
3907 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
3908 wxString const &arg8_defvalue = wxPyFrameNameStr ;
3909 wxString *arg8 = (wxString *) &arg8_defvalue ;
3910 bool result;
423f194a 3911 bool temp4 = False ;
d14a1e28
RD
3912 wxPoint temp5 ;
3913 wxSize temp6 ;
423f194a 3914 bool temp8 = False ;
d14a1e28
RD
3915 PyObject * obj0 = 0 ;
3916 PyObject * obj1 = 0 ;
3917 PyObject * obj3 = 0 ;
3918 PyObject * obj4 = 0 ;
3919 PyObject * obj5 = 0 ;
3920 PyObject * obj7 = 0 ;
3921 char *kwnames[] = {
3922 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3923 };
3924
3925 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MiniFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
3926 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMiniFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3927 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
3928 {
3929 arg4 = wxString_in_helper(obj3);
3930 if (arg4 == NULL) SWIG_fail;
423f194a 3931 temp4 = True;
d14a1e28
RD
3932 }
3933 if (obj4) {
3934 {
3935 arg5 = &temp5;
3936 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
3937 }
3938 }
3939 if (obj5) {
3940 {
3941 arg6 = &temp6;
3942 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
3943 }
3944 }
3945 if (obj7) {
3946 {
3947 arg8 = wxString_in_helper(obj7);
3948 if (arg8 == NULL) SWIG_fail;
423f194a 3949 temp8 = True;
d14a1e28
RD
3950 }
3951 }
3952 {
3953 PyThreadState* __tstate = wxPyBeginAllowThreads();
3954 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
3955
3956 wxPyEndAllowThreads(__tstate);
3957 if (PyErr_Occurred()) SWIG_fail;
3958 }
3959 resultobj = PyInt_FromLong((long)result);
3960 {
3961 if (temp4)
3962 delete arg4;
3963 }
3964 {
3965 if (temp8)
3966 delete arg8;
3967 }
3968 return resultobj;
3969 fail:
3970 {
3971 if (temp4)
3972 delete arg4;
3973 }
3974 {
3975 if (temp8)
3976 delete arg8;
3977 }
3978 return NULL;
3979}
3980
3981
3982static PyObject * MiniFrame_swigregister(PyObject *self, PyObject *args) {
3983 PyObject *obj;
3984 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
3985 SWIG_TypeClientData(SWIGTYPE_p_wxMiniFrame, obj);
3986 Py_INCREF(obj);
3987 return Py_BuildValue((char *)"");
3988}
3989static PyObject *_wrap_new_SplashScreenWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
3990 PyObject *resultobj;
3991 wxBitmap *arg1 = 0 ;
3992 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 3993 int arg3 ;
d14a1e28
RD
3994 wxPoint const &arg4_defvalue = wxDefaultPosition ;
3995 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
3996 wxSize const &arg5_defvalue = wxDefaultSize ;
3997 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
3998 long arg6 = (long) wxNO_BORDER ;
3999 wxSplashScreenWindow *result;
4000 wxPoint temp4 ;
4001 wxSize temp5 ;
4002 PyObject * obj0 = 0 ;
4003 PyObject * obj1 = 0 ;
4004 PyObject * obj3 = 0 ;
4005 PyObject * obj4 = 0 ;
4006 char *kwnames[] = {
4007 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4008 };
4009
4010 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOl:new_SplashScreenWindow",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6)) goto fail;
4011 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4012 if (arg1 == NULL) {
4013 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4014 }
4015 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4016 if (obj3) {
4017 {
4018 arg4 = &temp4;
4019 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4020 }
4021 }
4022 if (obj4) {
4023 {
4024 arg5 = &temp5;
4025 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4026 }
4027 }
4028 {
4029 PyThreadState* __tstate = wxPyBeginAllowThreads();
4030 result = (wxSplashScreenWindow *)new wxSplashScreenWindow((wxBitmap const &)*arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6);
4031
4032 wxPyEndAllowThreads(__tstate);
4033 if (PyErr_Occurred()) SWIG_fail;
4034 }
4035 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 1);
4036 return resultobj;
4037 fail:
4038 return NULL;
4039}
4040
4041
4042static PyObject *_wrap_SplashScreenWindow_SetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4043 PyObject *resultobj;
4044 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4045 wxBitmap *arg2 = 0 ;
4046 PyObject * obj0 = 0 ;
4047 PyObject * obj1 = 0 ;
4048 char *kwnames[] = {
4049 (char *) "self",(char *) "bitmap", NULL
4050 };
4051
4052 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames,&obj0,&obj1)) goto fail;
4053 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4054 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4055 if (arg2 == NULL) {
4056 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4057 }
4058 {
4059 PyThreadState* __tstate = wxPyBeginAllowThreads();
4060 (arg1)->SetBitmap((wxBitmap const &)*arg2);
4061
4062 wxPyEndAllowThreads(__tstate);
4063 if (PyErr_Occurred()) SWIG_fail;
4064 }
4065 Py_INCREF(Py_None); resultobj = Py_None;
4066 return resultobj;
4067 fail:
4068 return NULL;
4069}
4070
4071
4072static PyObject *_wrap_SplashScreenWindow_GetBitmap(PyObject *self, PyObject *args, PyObject *kwargs) {
4073 PyObject *resultobj;
4074 wxSplashScreenWindow *arg1 = (wxSplashScreenWindow *) 0 ;
4075 wxBitmap *result;
4076 PyObject * obj0 = 0 ;
4077 char *kwnames[] = {
4078 (char *) "self", NULL
4079 };
4080
4081 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreenWindow_GetBitmap",kwnames,&obj0)) goto fail;
4082 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreenWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4083 {
4084 PyThreadState* __tstate = wxPyBeginAllowThreads();
4085 {
4086 wxBitmap &_result_ref = (arg1)->GetBitmap();
4087 result = (wxBitmap *) &_result_ref;
4088 }
4089
4090 wxPyEndAllowThreads(__tstate);
4091 if (PyErr_Occurred()) SWIG_fail;
4092 }
4093 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxBitmap, 0);
4094 return resultobj;
4095 fail:
4096 return NULL;
4097}
4098
4099
4100static PyObject * SplashScreenWindow_swigregister(PyObject *self, PyObject *args) {
4101 PyObject *obj;
4102 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4103 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreenWindow, obj);
4104 Py_INCREF(obj);
4105 return Py_BuildValue((char *)"");
4106}
4107static PyObject *_wrap_new_SplashScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
4108 PyObject *resultobj;
4109 wxBitmap *arg1 = 0 ;
4110 long arg2 ;
4111 int arg3 ;
4112 wxWindow *arg4 = (wxWindow *) 0 ;
423f194a 4113 int arg5 ;
d14a1e28
RD
4114 wxPoint const &arg6_defvalue = wxDefaultPosition ;
4115 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
4116 wxSize const &arg7_defvalue = wxDefaultSize ;
4117 wxSize *arg7 = (wxSize *) &arg7_defvalue ;
4118 long arg8 = (long) wxSIMPLE_BORDER|wxFRAME_NO_TASKBAR|wxSTAY_ON_TOP ;
4119 wxSplashScreen *result;
4120 wxPoint temp6 ;
4121 wxSize temp7 ;
4122 PyObject * obj0 = 0 ;
4123 PyObject * obj3 = 0 ;
4124 PyObject * obj5 = 0 ;
4125 PyObject * obj6 = 0 ;
4126 char *kwnames[] = {
4127 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
4128 };
4129
4130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OliOi|OOl:new_SplashScreen",kwnames,&obj0,&arg2,&arg3,&obj3,&arg5,&obj5,&obj6,&arg8)) goto fail;
4131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxBitmap,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4132 if (arg1 == NULL) {
4133 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
4134 }
4135 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4136 if (obj5) {
4137 {
4138 arg6 = &temp6;
4139 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
4140 }
4141 }
4142 if (obj6) {
4143 {
4144 arg7 = &temp7;
4145 if ( ! wxSize_helper(obj6, &arg7)) SWIG_fail;
4146 }
4147 }
4148 {
4149 PyThreadState* __tstate = wxPyBeginAllowThreads();
4150 result = (wxSplashScreen *)new wxSplashScreen((wxBitmap const &)*arg1,arg2,arg3,arg4,arg5,(wxPoint const &)*arg6,(wxSize const &)*arg7,arg8);
4151
4152 wxPyEndAllowThreads(__tstate);
4153 if (PyErr_Occurred()) SWIG_fail;
4154 }
4155 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreen, 1);
4156 return resultobj;
4157 fail:
4158 return NULL;
4159}
4160
4161
4162static PyObject *_wrap_SplashScreen_GetSplashStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
4163 PyObject *resultobj;
4164 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4165 long result;
4166 PyObject * obj0 = 0 ;
4167 char *kwnames[] = {
4168 (char *) "self", NULL
4169 };
4170
4171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashStyle",kwnames,&obj0)) goto fail;
4172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4173 {
4174 PyThreadState* __tstate = wxPyBeginAllowThreads();
4175 result = (long)((wxSplashScreen const *)arg1)->GetSplashStyle();
4176
4177 wxPyEndAllowThreads(__tstate);
4178 if (PyErr_Occurred()) SWIG_fail;
4179 }
4180 resultobj = PyInt_FromLong((long)result);
4181 return resultobj;
4182 fail:
4183 return NULL;
4184}
4185
4186
4187static PyObject *_wrap_SplashScreen_GetSplashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4188 PyObject *resultobj;
4189 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4190 wxSplashScreenWindow *result;
4191 PyObject * obj0 = 0 ;
4192 char *kwnames[] = {
4193 (char *) "self", NULL
4194 };
4195
4196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetSplashWindow",kwnames,&obj0)) goto fail;
4197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4198 {
4199 PyThreadState* __tstate = wxPyBeginAllowThreads();
4200 result = (wxSplashScreenWindow *)((wxSplashScreen const *)arg1)->GetSplashWindow();
4201
4202 wxPyEndAllowThreads(__tstate);
4203 if (PyErr_Occurred()) SWIG_fail;
4204 }
4205 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplashScreenWindow, 0);
4206 return resultobj;
4207 fail:
4208 return NULL;
4209}
4210
4211
4212static PyObject *_wrap_SplashScreen_GetTimeout(PyObject *self, PyObject *args, PyObject *kwargs) {
4213 PyObject *resultobj;
4214 wxSplashScreen *arg1 = (wxSplashScreen *) 0 ;
4215 int result;
4216 PyObject * obj0 = 0 ;
4217 char *kwnames[] = {
4218 (char *) "self", NULL
4219 };
4220
4221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplashScreen_GetTimeout",kwnames,&obj0)) goto fail;
4222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplashScreen,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4223 {
4224 PyThreadState* __tstate = wxPyBeginAllowThreads();
4225 result = (int)((wxSplashScreen const *)arg1)->GetTimeout();
4226
4227 wxPyEndAllowThreads(__tstate);
4228 if (PyErr_Occurred()) SWIG_fail;
4229 }
4230 resultobj = PyInt_FromLong((long)result);
4231 return resultobj;
4232 fail:
4233 return NULL;
4234}
4235
4236
4237static PyObject * SplashScreen_swigregister(PyObject *self, PyObject *args) {
4238 PyObject *obj;
4239 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4240 SWIG_TypeClientData(SWIGTYPE_p_wxSplashScreen, obj);
4241 Py_INCREF(obj);
4242 return Py_BuildValue((char *)"");
4243}
4244static PyObject *_wrap_new_StatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4245 PyObject *resultobj;
4246 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4247 int arg2 = (int) -1 ;
d14a1e28
RD
4248 long arg3 = (long) wxST_SIZEGRIP ;
4249 wxString const &arg4_defvalue = wxPyStatusLineNameStr ;
4250 wxString *arg4 = (wxString *) &arg4_defvalue ;
4251 wxStatusBar *result;
423f194a 4252 bool temp4 = False ;
d14a1e28
RD
4253 PyObject * obj0 = 0 ;
4254 PyObject * obj3 = 0 ;
4255 char *kwnames[] = {
4256 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4257 };
4258
4259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|ilO:new_StatusBar",kwnames,&obj0,&arg2,&arg3,&obj3)) goto fail;
4260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4261 if (obj3) {
4262 {
4263 arg4 = wxString_in_helper(obj3);
4264 if (arg4 == NULL) SWIG_fail;
423f194a 4265 temp4 = True;
d14a1e28
RD
4266 }
4267 }
4268 {
4269 PyThreadState* __tstate = wxPyBeginAllowThreads();
4270 result = (wxStatusBar *)new wxStatusBar(arg1,arg2,arg3,(wxString const &)*arg4);
4271
4272 wxPyEndAllowThreads(__tstate);
4273 if (PyErr_Occurred()) SWIG_fail;
4274 }
4275 {
4276 resultobj = wxPyMake_wxObject(result);
4277 }
4278 {
4279 if (temp4)
4280 delete arg4;
4281 }
4282 return resultobj;
4283 fail:
4284 {
4285 if (temp4)
4286 delete arg4;
4287 }
4288 return NULL;
4289}
4290
4291
4292static PyObject *_wrap_new_PreStatusBar(PyObject *self, PyObject *args, PyObject *kwargs) {
4293 PyObject *resultobj;
4294 wxStatusBar *result;
4295 char *kwnames[] = {
4296 NULL
4297 };
4298
4299 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreStatusBar",kwnames)) goto fail;
4300 {
4301 PyThreadState* __tstate = wxPyBeginAllowThreads();
4302 result = (wxStatusBar *)new wxStatusBar();
4303
4304 wxPyEndAllowThreads(__tstate);
4305 if (PyErr_Occurred()) SWIG_fail;
4306 }
4307 {
4308 resultobj = wxPyMake_wxObject(result);
4309 }
4310 return resultobj;
4311 fail:
4312 return NULL;
4313}
4314
4315
4316static PyObject *_wrap_StatusBar_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4317 PyObject *resultobj;
4318 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4319 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4320 int arg3 ;
d14a1e28
RD
4321 long arg4 = (long) wxST_SIZEGRIP ;
4322 wxString const &arg5_defvalue = wxPyStatusLineNameStr ;
4323 wxString *arg5 = (wxString *) &arg5_defvalue ;
4324 bool result;
423f194a 4325 bool temp5 = False ;
d14a1e28
RD
4326 PyObject * obj0 = 0 ;
4327 PyObject * obj1 = 0 ;
4328 PyObject * obj4 = 0 ;
4329 char *kwnames[] = {
4330 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
4331 };
4332
4333 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|lO:StatusBar_Create",kwnames,&obj0,&obj1,&arg3,&arg4,&obj4)) goto fail;
4334 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4335 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4336 if (obj4) {
4337 {
4338 arg5 = wxString_in_helper(obj4);
4339 if (arg5 == NULL) SWIG_fail;
423f194a 4340 temp5 = True;
d14a1e28
RD
4341 }
4342 }
4343 {
4344 PyThreadState* __tstate = wxPyBeginAllowThreads();
4345 result = (bool)(arg1)->Create(arg2,arg3,arg4,(wxString const &)*arg5);
4346
4347 wxPyEndAllowThreads(__tstate);
4348 if (PyErr_Occurred()) SWIG_fail;
4349 }
4350 resultobj = PyInt_FromLong((long)result);
4351 {
4352 if (temp5)
4353 delete arg5;
4354 }
4355 return resultobj;
4356 fail:
4357 {
4358 if (temp5)
4359 delete arg5;
4360 }
4361 return NULL;
4362}
4363
4364
4365static PyObject *_wrap_StatusBar_SetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4366 PyObject *resultobj;
4367 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4368 int arg2 = (int) 1 ;
4369 PyObject * obj0 = 0 ;
4370 char *kwnames[] = {
4371 (char *) "self",(char *) "number", NULL
4372 };
4373
4374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_SetFieldsCount",kwnames,&obj0,&arg2)) goto fail;
4375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4376 {
4377 PyThreadState* __tstate = wxPyBeginAllowThreads();
4378 (arg1)->SetFieldsCount(arg2);
4379
4380 wxPyEndAllowThreads(__tstate);
4381 if (PyErr_Occurred()) SWIG_fail;
4382 }
4383 Py_INCREF(Py_None); resultobj = Py_None;
4384 return resultobj;
4385 fail:
4386 return NULL;
4387}
4388
4389
4390static PyObject *_wrap_StatusBar_GetFieldsCount(PyObject *self, PyObject *args, PyObject *kwargs) {
4391 PyObject *resultobj;
4392 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4393 int result;
4394 PyObject * obj0 = 0 ;
4395 char *kwnames[] = {
4396 (char *) "self", NULL
4397 };
4398
4399 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetFieldsCount",kwnames,&obj0)) goto fail;
4400 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4401 {
4402 PyThreadState* __tstate = wxPyBeginAllowThreads();
4403 result = (int)((wxStatusBar const *)arg1)->GetFieldsCount();
4404
4405 wxPyEndAllowThreads(__tstate);
4406 if (PyErr_Occurred()) SWIG_fail;
4407 }
4408 resultobj = PyInt_FromLong((long)result);
4409 return resultobj;
4410 fail:
4411 return NULL;
4412}
4413
4414
4415static PyObject *_wrap_StatusBar_SetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4416 PyObject *resultobj;
4417 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4418 wxString *arg2 = 0 ;
4419 int arg3 = (int) 0 ;
423f194a 4420 bool temp2 = False ;
d14a1e28
RD
4421 PyObject * obj0 = 0 ;
4422 PyObject * obj1 = 0 ;
4423 char *kwnames[] = {
4424 (char *) "self",(char *) "text",(char *) "number", NULL
4425 };
4426
4427 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_SetStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4428 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4429 {
4430 arg2 = wxString_in_helper(obj1);
4431 if (arg2 == NULL) SWIG_fail;
423f194a 4432 temp2 = True;
d14a1e28
RD
4433 }
4434 {
4435 PyThreadState* __tstate = wxPyBeginAllowThreads();
4436 (arg1)->SetStatusText((wxString const &)*arg2,arg3);
4437
4438 wxPyEndAllowThreads(__tstate);
4439 if (PyErr_Occurred()) SWIG_fail;
4440 }
4441 Py_INCREF(Py_None); resultobj = Py_None;
4442 {
4443 if (temp2)
4444 delete arg2;
4445 }
4446 return resultobj;
4447 fail:
4448 {
4449 if (temp2)
4450 delete arg2;
4451 }
4452 return NULL;
4453}
4454
4455
4456static PyObject *_wrap_StatusBar_GetStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4457 PyObject *resultobj;
4458 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4459 int arg2 = (int) 0 ;
4460 wxString result;
4461 PyObject * obj0 = 0 ;
4462 char *kwnames[] = {
4463 (char *) "self",(char *) "number", NULL
4464 };
4465
4466 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_GetStatusText",kwnames,&obj0,&arg2)) goto fail;
4467 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4468 {
4469 PyThreadState* __tstate = wxPyBeginAllowThreads();
4470 result = ((wxStatusBar const *)arg1)->GetStatusText(arg2);
4471
4472 wxPyEndAllowThreads(__tstate);
4473 if (PyErr_Occurred()) SWIG_fail;
4474 }
4475 {
4476#if wxUSE_UNICODE
4477 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
4478#else
4479 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
4480#endif
4481 }
4482 return resultobj;
4483 fail:
4484 return NULL;
4485}
4486
4487
4488static PyObject *_wrap_StatusBar_PushStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4489 PyObject *resultobj;
4490 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4491 wxString *arg2 = 0 ;
4492 int arg3 = (int) 0 ;
423f194a 4493 bool temp2 = False ;
d14a1e28
RD
4494 PyObject * obj0 = 0 ;
4495 PyObject * obj1 = 0 ;
4496 char *kwnames[] = {
4497 (char *) "self",(char *) "text",(char *) "number", NULL
4498 };
4499
4500 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|i:StatusBar_PushStatusText",kwnames,&obj0,&obj1,&arg3)) goto fail;
4501 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4502 {
4503 arg2 = wxString_in_helper(obj1);
4504 if (arg2 == NULL) SWIG_fail;
423f194a 4505 temp2 = True;
d14a1e28
RD
4506 }
4507 {
4508 PyThreadState* __tstate = wxPyBeginAllowThreads();
4509 (arg1)->PushStatusText((wxString const &)*arg2,arg3);
4510
4511 wxPyEndAllowThreads(__tstate);
4512 if (PyErr_Occurred()) SWIG_fail;
4513 }
4514 Py_INCREF(Py_None); resultobj = Py_None;
4515 {
4516 if (temp2)
4517 delete arg2;
4518 }
4519 return resultobj;
4520 fail:
4521 {
4522 if (temp2)
4523 delete arg2;
4524 }
4525 return NULL;
4526}
4527
4528
4529static PyObject *_wrap_StatusBar_PopStatusText(PyObject *self, PyObject *args, PyObject *kwargs) {
4530 PyObject *resultobj;
4531 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4532 int arg2 = (int) 0 ;
4533 PyObject * obj0 = 0 ;
4534 char *kwnames[] = {
4535 (char *) "self",(char *) "number", NULL
4536 };
4537
4538 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:StatusBar_PopStatusText",kwnames,&obj0,&arg2)) goto fail;
4539 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4540 {
4541 PyThreadState* __tstate = wxPyBeginAllowThreads();
4542 (arg1)->PopStatusText(arg2);
4543
4544 wxPyEndAllowThreads(__tstate);
4545 if (PyErr_Occurred()) SWIG_fail;
4546 }
4547 Py_INCREF(Py_None); resultobj = Py_None;
4548 return resultobj;
4549 fail:
4550 return NULL;
4551}
4552
4553
4554static PyObject *_wrap_StatusBar_SetStatusWidths(PyObject *self, PyObject *args, PyObject *kwargs) {
4555 PyObject *resultobj;
4556 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4557 int arg2 ;
4558 int *arg3 = (int *) 0 ;
4559 PyObject * obj0 = 0 ;
4560 PyObject * obj1 = 0 ;
4561 char *kwnames[] = {
4562 (char *) "self",(char *) "widths", NULL
4563 };
4564
4565 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:StatusBar_SetStatusWidths",kwnames,&obj0,&obj1)) goto fail;
4566 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4567 {
4568 arg2 = PyList_Size(obj1);
4569 arg3 = int_LIST_helper(obj1);
4570 if (arg3 == NULL) SWIG_fail;
4571 }
4572 {
4573 PyThreadState* __tstate = wxPyBeginAllowThreads();
4574 (arg1)->SetStatusWidths(arg2,(int const *)arg3);
4575
4576 wxPyEndAllowThreads(__tstate);
4577 if (PyErr_Occurred()) SWIG_fail;
4578 }
4579 Py_INCREF(Py_None); resultobj = Py_None;
4580 {
4581 if (arg3) delete [] arg3;
4582 }
4583 return resultobj;
4584 fail:
4585 {
4586 if (arg3) delete [] arg3;
4587 }
4588 return NULL;
4589}
4590
4591
4592static PyObject *_wrap_StatusBar_GetFieldRect(PyObject *self, PyObject *args, PyObject *kwargs) {
4593 PyObject *resultobj;
4594 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4595 int arg2 ;
44127b65 4596 wxRect result;
d14a1e28 4597 PyObject * obj0 = 0 ;
d14a1e28 4598 char *kwnames[] = {
44127b65 4599 (char *) "self",(char *) "i", NULL
d14a1e28
RD
4600 };
4601
44127b65 4602 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_GetFieldRect",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 4603 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
4604 {
4605 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 4606 result = wxStatusBar_GetFieldRect(arg1,arg2);
d14a1e28
RD
4607
4608 wxPyEndAllowThreads(__tstate);
4609 if (PyErr_Occurred()) SWIG_fail;
4610 }
44127b65
RD
4611 {
4612 wxRect * resultptr;
4613 resultptr = new wxRect((wxRect &) result);
4614 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
4615 }
d14a1e28
RD
4616 return resultobj;
4617 fail:
4618 return NULL;
4619}
4620
4621
4622static PyObject *_wrap_StatusBar_SetMinHeight(PyObject *self, PyObject *args, PyObject *kwargs) {
4623 PyObject *resultobj;
4624 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4625 int arg2 ;
4626 PyObject * obj0 = 0 ;
4627 char *kwnames[] = {
4628 (char *) "self",(char *) "height", NULL
4629 };
4630
4631 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:StatusBar_SetMinHeight",kwnames,&obj0,&arg2)) goto fail;
4632 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4633 {
4634 PyThreadState* __tstate = wxPyBeginAllowThreads();
4635 (arg1)->SetMinHeight(arg2);
4636
4637 wxPyEndAllowThreads(__tstate);
4638 if (PyErr_Occurred()) SWIG_fail;
4639 }
4640 Py_INCREF(Py_None); resultobj = Py_None;
4641 return resultobj;
4642 fail:
4643 return NULL;
4644}
4645
4646
4647static PyObject *_wrap_StatusBar_GetBorderX(PyObject *self, PyObject *args, PyObject *kwargs) {
4648 PyObject *resultobj;
4649 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4650 int result;
4651 PyObject * obj0 = 0 ;
4652 char *kwnames[] = {
4653 (char *) "self", NULL
4654 };
4655
4656 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderX",kwnames,&obj0)) goto fail;
4657 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4658 {
4659 PyThreadState* __tstate = wxPyBeginAllowThreads();
4660 result = (int)((wxStatusBar const *)arg1)->GetBorderX();
4661
4662 wxPyEndAllowThreads(__tstate);
4663 if (PyErr_Occurred()) SWIG_fail;
4664 }
4665 resultobj = PyInt_FromLong((long)result);
4666 return resultobj;
4667 fail:
4668 return NULL;
4669}
4670
4671
4672static PyObject *_wrap_StatusBar_GetBorderY(PyObject *self, PyObject *args, PyObject *kwargs) {
4673 PyObject *resultobj;
4674 wxStatusBar *arg1 = (wxStatusBar *) 0 ;
4675 int result;
4676 PyObject * obj0 = 0 ;
4677 char *kwnames[] = {
4678 (char *) "self", NULL
4679 };
4680
4681 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:StatusBar_GetBorderY",kwnames,&obj0)) goto fail;
4682 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxStatusBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4683 {
4684 PyThreadState* __tstate = wxPyBeginAllowThreads();
4685 result = (int)((wxStatusBar const *)arg1)->GetBorderY();
4686
4687 wxPyEndAllowThreads(__tstate);
4688 if (PyErr_Occurred()) SWIG_fail;
4689 }
4690 resultobj = PyInt_FromLong((long)result);
4691 return resultobj;
4692 fail:
4693 return NULL;
4694}
4695
4696
4697static PyObject * StatusBar_swigregister(PyObject *self, PyObject *args) {
4698 PyObject *obj;
4699 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
4700 SWIG_TypeClientData(SWIGTYPE_p_wxStatusBar, obj);
4701 Py_INCREF(obj);
4702 return Py_BuildValue((char *)"");
4703}
cbd72d4f
RD
4704static int _wrap_SplitterNameStr_set(PyObject *_val) {
4705 PyErr_SetString(PyExc_TypeError,"Variable SplitterNameStr is read-only.");
4706 return 1;
4707}
4708
4709
4710static PyObject *_wrap_SplitterNameStr_get() {
4711 PyObject *pyobj;
4712
4713 {
4714#if wxUSE_UNICODE
4715 pyobj = PyUnicode_FromWideChar((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4716#else
4717 pyobj = PyString_FromStringAndSize((&wxPySplitterNameStr)->c_str(), (&wxPySplitterNameStr)->Len());
4718#endif
4719 }
4720 return pyobj;
4721}
4722
4723
d14a1e28
RD
4724static PyObject *_wrap_new_SplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4725 PyObject *resultobj;
4726 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 4727 int arg2 ;
d14a1e28
RD
4728 wxPoint const &arg3_defvalue = wxDefaultPosition ;
4729 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
4730 wxSize const &arg4_defvalue = wxDefaultSize ;
4731 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
4732 long arg5 = (long) wxSP_3D ;
4733 wxString const &arg6_defvalue = wxPySplitterNameStr ;
4734 wxString *arg6 = (wxString *) &arg6_defvalue ;
4735 wxSplitterWindow *result;
4736 wxPoint temp3 ;
4737 wxSize temp4 ;
423f194a 4738 bool temp6 = False ;
d14a1e28
RD
4739 PyObject * obj0 = 0 ;
4740 PyObject * obj2 = 0 ;
4741 PyObject * obj3 = 0 ;
4742 PyObject * obj5 = 0 ;
4743 char *kwnames[] = {
4744 (char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4745 };
4746
4747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SplitterWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
4748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4749 if (obj2) {
4750 {
4751 arg3 = &temp3;
4752 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
4753 }
4754 }
4755 if (obj3) {
4756 {
4757 arg4 = &temp4;
4758 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
4759 }
4760 }
4761 if (obj5) {
4762 {
4763 arg6 = wxString_in_helper(obj5);
4764 if (arg6 == NULL) SWIG_fail;
423f194a 4765 temp6 = True;
d14a1e28
RD
4766 }
4767 }
4768 {
4769 PyThreadState* __tstate = wxPyBeginAllowThreads();
4770 result = (wxSplitterWindow *)new wxSplitterWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
4771
4772 wxPyEndAllowThreads(__tstate);
4773 if (PyErr_Occurred()) SWIG_fail;
4774 }
4775 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4776 {
4777 if (temp6)
4778 delete arg6;
4779 }
4780 return resultobj;
4781 fail:
4782 {
4783 if (temp6)
4784 delete arg6;
4785 }
4786 return NULL;
4787}
4788
4789
4790static PyObject *_wrap_new_PreSplitterWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
4791 PyObject *resultobj;
4792 wxSplitterWindow *result;
4793 char *kwnames[] = {
4794 NULL
4795 };
4796
4797 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSplitterWindow",kwnames)) goto fail;
4798 {
4799 PyThreadState* __tstate = wxPyBeginAllowThreads();
4800 result = (wxSplitterWindow *)new wxSplitterWindow();
4801
4802 wxPyEndAllowThreads(__tstate);
4803 if (PyErr_Occurred()) SWIG_fail;
4804 }
4805 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterWindow, 1);
4806 return resultobj;
4807 fail:
4808 return NULL;
4809}
4810
4811
4812static PyObject *_wrap_SplitterWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
4813 PyObject *resultobj;
4814 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4815 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 4816 int arg3 ;
d14a1e28
RD
4817 wxPoint const &arg4_defvalue = wxDefaultPosition ;
4818 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
4819 wxSize const &arg5_defvalue = wxDefaultSize ;
4820 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
4821 long arg6 = (long) wxSP_3D ;
4822 wxString const &arg7_defvalue = wxPySplitterNameStr ;
4823 wxString *arg7 = (wxString *) &arg7_defvalue ;
4824 bool result;
4825 wxPoint temp4 ;
4826 wxSize temp5 ;
423f194a 4827 bool temp7 = False ;
d14a1e28
RD
4828 PyObject * obj0 = 0 ;
4829 PyObject * obj1 = 0 ;
4830 PyObject * obj3 = 0 ;
4831 PyObject * obj4 = 0 ;
4832 PyObject * obj6 = 0 ;
4833 char *kwnames[] = {
4834 (char *) "self",(char *) "parent",(char *) "id",(char *) "point",(char *) "size",(char *) "style",(char *) "name", NULL
4835 };
4836
4837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SplitterWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
4838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4839 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4840 if (obj3) {
4841 {
4842 arg4 = &temp4;
4843 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
4844 }
4845 }
4846 if (obj4) {
4847 {
4848 arg5 = &temp5;
4849 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
4850 }
4851 }
4852 if (obj6) {
4853 {
4854 arg7 = wxString_in_helper(obj6);
4855 if (arg7 == NULL) SWIG_fail;
423f194a 4856 temp7 = True;
d14a1e28
RD
4857 }
4858 }
4859 {
4860 PyThreadState* __tstate = wxPyBeginAllowThreads();
4861 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
4862
4863 wxPyEndAllowThreads(__tstate);
4864 if (PyErr_Occurred()) SWIG_fail;
4865 }
4866 resultobj = PyInt_FromLong((long)result);
4867 {
4868 if (temp7)
4869 delete arg7;
4870 }
4871 return resultobj;
4872 fail:
4873 {
4874 if (temp7)
4875 delete arg7;
4876 }
4877 return NULL;
4878}
4879
4880
4881static PyObject *_wrap_SplitterWindow_GetWindow1(PyObject *self, PyObject *args, PyObject *kwargs) {
4882 PyObject *resultobj;
4883 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4884 wxWindow *result;
4885 PyObject * obj0 = 0 ;
4886 char *kwnames[] = {
4887 (char *) "self", NULL
4888 };
4889
4890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow1",kwnames,&obj0)) goto fail;
4891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4892 {
4893 PyThreadState* __tstate = wxPyBeginAllowThreads();
4894 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow1();
4895
4896 wxPyEndAllowThreads(__tstate);
4897 if (PyErr_Occurred()) SWIG_fail;
4898 }
4899 {
4900 resultobj = wxPyMake_wxObject(result);
4901 }
4902 return resultobj;
4903 fail:
4904 return NULL;
4905}
4906
4907
4908static PyObject *_wrap_SplitterWindow_GetWindow2(PyObject *self, PyObject *args, PyObject *kwargs) {
4909 PyObject *resultobj;
4910 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4911 wxWindow *result;
4912 PyObject * obj0 = 0 ;
4913 char *kwnames[] = {
4914 (char *) "self", NULL
4915 };
4916
4917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetWindow2",kwnames,&obj0)) goto fail;
4918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4919 {
4920 PyThreadState* __tstate = wxPyBeginAllowThreads();
4921 result = (wxWindow *)((wxSplitterWindow const *)arg1)->GetWindow2();
4922
4923 wxPyEndAllowThreads(__tstate);
4924 if (PyErr_Occurred()) SWIG_fail;
4925 }
4926 {
4927 resultobj = wxPyMake_wxObject(result);
4928 }
4929 return resultobj;
4930 fail:
4931 return NULL;
4932}
4933
4934
4935static PyObject *_wrap_SplitterWindow_SetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4936 PyObject *resultobj;
4937 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4938 int arg2 ;
4939 PyObject * obj0 = 0 ;
4940 char *kwnames[] = {
4941 (char *) "self",(char *) "mode", NULL
4942 };
4943
4944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSplitMode",kwnames,&obj0,&arg2)) goto fail;
4945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4946 {
4947 PyThreadState* __tstate = wxPyBeginAllowThreads();
4948 (arg1)->SetSplitMode(arg2);
4949
4950 wxPyEndAllowThreads(__tstate);
4951 if (PyErr_Occurred()) SWIG_fail;
4952 }
4953 Py_INCREF(Py_None); resultobj = Py_None;
4954 return resultobj;
4955 fail:
4956 return NULL;
4957}
4958
4959
4960static PyObject *_wrap_SplitterWindow_GetSplitMode(PyObject *self, PyObject *args, PyObject *kwargs) {
4961 PyObject *resultobj;
4962 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4963 int result;
4964 PyObject * obj0 = 0 ;
4965 char *kwnames[] = {
4966 (char *) "self", NULL
4967 };
4968
4969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSplitMode",kwnames,&obj0)) goto fail;
4970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4971 {
4972 PyThreadState* __tstate = wxPyBeginAllowThreads();
4973 result = (int)((wxSplitterWindow const *)arg1)->GetSplitMode();
4974
4975 wxPyEndAllowThreads(__tstate);
4976 if (PyErr_Occurred()) SWIG_fail;
4977 }
4978 resultobj = PyInt_FromLong((long)result);
4979 return resultobj;
4980 fail:
4981 return NULL;
4982}
4983
4984
4985static PyObject *_wrap_SplitterWindow_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
4986 PyObject *resultobj;
4987 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
4988 wxWindow *arg2 = (wxWindow *) 0 ;
4989 PyObject * obj0 = 0 ;
4990 PyObject * obj1 = 0 ;
4991 char *kwnames[] = {
4992 (char *) "self",(char *) "window", NULL
4993 };
4994
4995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_Initialize",kwnames,&obj0,&obj1)) goto fail;
4996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4997 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
4998 {
4999 PyThreadState* __tstate = wxPyBeginAllowThreads();
5000 (arg1)->Initialize(arg2);
5001
5002 wxPyEndAllowThreads(__tstate);
5003 if (PyErr_Occurred()) SWIG_fail;
5004 }
5005 Py_INCREF(Py_None); resultobj = Py_None;
5006 return resultobj;
5007 fail:
5008 return NULL;
5009}
5010
5011
5012static PyObject *_wrap_SplitterWindow_SplitVertically(PyObject *self, PyObject *args, PyObject *kwargs) {
5013 PyObject *resultobj;
5014 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5015 wxWindow *arg2 = (wxWindow *) 0 ;
5016 wxWindow *arg3 = (wxWindow *) 0 ;
5017 int arg4 = (int) 0 ;
5018 bool result;
5019 PyObject * obj0 = 0 ;
5020 PyObject * obj1 = 0 ;
5021 PyObject * obj2 = 0 ;
5022 char *kwnames[] = {
5023 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5024 };
5025
5026 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitVertically",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5027 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5028 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5029 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5030 {
5031 PyThreadState* __tstate = wxPyBeginAllowThreads();
5032 result = (bool)(arg1)->SplitVertically(arg2,arg3,arg4);
5033
5034 wxPyEndAllowThreads(__tstate);
5035 if (PyErr_Occurred()) SWIG_fail;
5036 }
5037 resultobj = PyInt_FromLong((long)result);
5038 return resultobj;
5039 fail:
5040 return NULL;
5041}
5042
5043
5044static PyObject *_wrap_SplitterWindow_SplitHorizontally(PyObject *self, PyObject *args, PyObject *kwargs) {
5045 PyObject *resultobj;
5046 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5047 wxWindow *arg2 = (wxWindow *) 0 ;
5048 wxWindow *arg3 = (wxWindow *) 0 ;
5049 int arg4 = (int) 0 ;
5050 bool result;
5051 PyObject * obj0 = 0 ;
5052 PyObject * obj1 = 0 ;
5053 PyObject * obj2 = 0 ;
5054 char *kwnames[] = {
5055 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
5056 };
5057
5058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:SplitterWindow_SplitHorizontally",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
5059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5060 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5061 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5062 {
5063 PyThreadState* __tstate = wxPyBeginAllowThreads();
5064 result = (bool)(arg1)->SplitHorizontally(arg2,arg3,arg4);
5065
5066 wxPyEndAllowThreads(__tstate);
5067 if (PyErr_Occurred()) SWIG_fail;
5068 }
5069 resultobj = PyInt_FromLong((long)result);
5070 return resultobj;
5071 fail:
5072 return NULL;
5073}
5074
5075
5076static PyObject *_wrap_SplitterWindow_Unsplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5077 PyObject *resultobj;
5078 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5079 wxWindow *arg2 = (wxWindow *) NULL ;
5080 bool result;
5081 PyObject * obj0 = 0 ;
5082 PyObject * obj1 = 0 ;
5083 char *kwnames[] = {
5084 (char *) "self",(char *) "toRemove", NULL
5085 };
5086
5087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:SplitterWindow_Unsplit",kwnames,&obj0,&obj1)) goto fail;
5088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5089 if (obj1) {
5090 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5091 }
5092 {
5093 PyThreadState* __tstate = wxPyBeginAllowThreads();
5094 result = (bool)(arg1)->Unsplit(arg2);
5095
5096 wxPyEndAllowThreads(__tstate);
5097 if (PyErr_Occurred()) SWIG_fail;
5098 }
5099 resultobj = PyInt_FromLong((long)result);
5100 return resultobj;
5101 fail:
5102 return NULL;
5103}
5104
5105
5106static PyObject *_wrap_SplitterWindow_ReplaceWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5107 PyObject *resultobj;
5108 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5109 wxWindow *arg2 = (wxWindow *) 0 ;
5110 wxWindow *arg3 = (wxWindow *) 0 ;
5111 bool result;
5112 PyObject * obj0 = 0 ;
5113 PyObject * obj1 = 0 ;
5114 PyObject * obj2 = 0 ;
5115 char *kwnames[] = {
5116 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
5117 };
5118
5119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
5120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5121 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5122 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5123 {
5124 PyThreadState* __tstate = wxPyBeginAllowThreads();
5125 result = (bool)(arg1)->ReplaceWindow(arg2,arg3);
5126
5127 wxPyEndAllowThreads(__tstate);
5128 if (PyErr_Occurred()) SWIG_fail;
5129 }
5130 resultobj = PyInt_FromLong((long)result);
5131 return resultobj;
5132 fail:
5133 return NULL;
5134}
5135
5136
5137static PyObject *_wrap_SplitterWindow_IsSplit(PyObject *self, PyObject *args, PyObject *kwargs) {
5138 PyObject *resultobj;
5139 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5140 bool result;
5141 PyObject * obj0 = 0 ;
5142 char *kwnames[] = {
5143 (char *) "self", NULL
5144 };
5145
5146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_IsSplit",kwnames,&obj0)) goto fail;
5147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5148 {
5149 PyThreadState* __tstate = wxPyBeginAllowThreads();
5150 result = (bool)((wxSplitterWindow const *)arg1)->IsSplit();
5151
5152 wxPyEndAllowThreads(__tstate);
5153 if (PyErr_Occurred()) SWIG_fail;
5154 }
5155 resultobj = PyInt_FromLong((long)result);
5156 return resultobj;
5157 fail:
5158 return NULL;
5159}
5160
5161
5162static PyObject *_wrap_SplitterWindow_SetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5163 PyObject *resultobj;
5164 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5165 int arg2 ;
5166 PyObject * obj0 = 0 ;
5167 char *kwnames[] = {
5168 (char *) "self",(char *) "width", NULL
5169 };
5170
5171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetSashSize",kwnames,&obj0,&arg2)) goto fail;
5172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5173 {
5174 PyThreadState* __tstate = wxPyBeginAllowThreads();
5175 (arg1)->SetSashSize(arg2);
5176
5177 wxPyEndAllowThreads(__tstate);
5178 if (PyErr_Occurred()) SWIG_fail;
5179 }
5180 Py_INCREF(Py_None); resultobj = Py_None;
5181 return resultobj;
5182 fail:
5183 return NULL;
5184}
5185
5186
5187static PyObject *_wrap_SplitterWindow_SetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5188 PyObject *resultobj;
5189 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5190 int arg2 ;
5191 PyObject * obj0 = 0 ;
5192 char *kwnames[] = {
5193 (char *) "self",(char *) "width", NULL
5194 };
5195
5196 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetBorderSize",kwnames,&obj0,&arg2)) goto fail;
5197 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5198 {
5199 PyThreadState* __tstate = wxPyBeginAllowThreads();
5200 (arg1)->SetBorderSize(arg2);
5201
5202 wxPyEndAllowThreads(__tstate);
5203 if (PyErr_Occurred()) SWIG_fail;
5204 }
5205 Py_INCREF(Py_None); resultobj = Py_None;
5206 return resultobj;
5207 fail:
5208 return NULL;
5209}
5210
5211
5212static PyObject *_wrap_SplitterWindow_GetSashSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5213 PyObject *resultobj;
5214 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5215 int result;
5216 PyObject * obj0 = 0 ;
5217 char *kwnames[] = {
5218 (char *) "self", NULL
5219 };
5220
5221 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashSize",kwnames,&obj0)) goto fail;
5222 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5223 {
5224 PyThreadState* __tstate = wxPyBeginAllowThreads();
5225 result = (int)((wxSplitterWindow const *)arg1)->GetSashSize();
5226
5227 wxPyEndAllowThreads(__tstate);
5228 if (PyErr_Occurred()) SWIG_fail;
5229 }
5230 resultobj = PyInt_FromLong((long)result);
5231 return resultobj;
5232 fail:
5233 return NULL;
5234}
5235
5236
5237static PyObject *_wrap_SplitterWindow_GetBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5238 PyObject *resultobj;
5239 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5240 int result;
5241 PyObject * obj0 = 0 ;
5242 char *kwnames[] = {
5243 (char *) "self", NULL
5244 };
5245
5246 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetBorderSize",kwnames,&obj0)) goto fail;
5247 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5248 {
5249 PyThreadState* __tstate = wxPyBeginAllowThreads();
5250 result = (int)((wxSplitterWindow const *)arg1)->GetBorderSize();
5251
5252 wxPyEndAllowThreads(__tstate);
5253 if (PyErr_Occurred()) SWIG_fail;
5254 }
5255 resultobj = PyInt_FromLong((long)result);
5256 return resultobj;
5257 fail:
5258 return NULL;
5259}
5260
5261
5262static PyObject *_wrap_SplitterWindow_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5263 PyObject *resultobj;
5264 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5265 int arg2 ;
423f194a 5266 bool arg3 = (bool) True ;
d14a1e28
RD
5267 PyObject * obj0 = 0 ;
5268 PyObject * obj2 = 0 ;
5269 char *kwnames[] = {
5270 (char *) "self",(char *) "position",(char *) "redraw", NULL
5271 };
5272
5273 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:SplitterWindow_SetSashPosition",kwnames,&obj0,&arg2,&obj2)) goto fail;
5274 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5275 if (obj2) {
5276 arg3 = PyInt_AsLong(obj2) ? true : false;
5277 if (PyErr_Occurred()) SWIG_fail;
5278 }
5279 {
5280 PyThreadState* __tstate = wxPyBeginAllowThreads();
5281 (arg1)->SetSashPosition(arg2,arg3);
5282
5283 wxPyEndAllowThreads(__tstate);
5284 if (PyErr_Occurred()) SWIG_fail;
5285 }
5286 Py_INCREF(Py_None); resultobj = Py_None;
5287 return resultobj;
5288 fail:
5289 return NULL;
5290}
5291
5292
5293static PyObject *_wrap_SplitterWindow_GetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5294 PyObject *resultobj;
5295 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5296 int result;
5297 PyObject * obj0 = 0 ;
5298 char *kwnames[] = {
5299 (char *) "self", NULL
5300 };
5301
5302 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetSashPosition",kwnames,&obj0)) goto fail;
5303 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5304 {
5305 PyThreadState* __tstate = wxPyBeginAllowThreads();
5306 result = (int)((wxSplitterWindow const *)arg1)->GetSashPosition();
5307
5308 wxPyEndAllowThreads(__tstate);
5309 if (PyErr_Occurred()) SWIG_fail;
5310 }
5311 resultobj = PyInt_FromLong((long)result);
5312 return resultobj;
5313 fail:
5314 return NULL;
5315}
5316
5317
5318static PyObject *_wrap_SplitterWindow_SetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5319 PyObject *resultobj;
5320 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5321 int arg2 ;
5322 PyObject * obj0 = 0 ;
5323 char *kwnames[] = {
5324 (char *) "self",(char *) "min", NULL
5325 };
5326
5327 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterWindow_SetMinimumPaneSize",kwnames,&obj0,&arg2)) 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)->SetMinimumPaneSize(arg2);
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_GetMinimumPaneSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5344 PyObject *resultobj;
5345 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5346 int result;
5347 PyObject * obj0 = 0 ;
5348 char *kwnames[] = {
5349 (char *) "self", NULL
5350 };
5351
5352 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetMinimumPaneSize",kwnames,&obj0)) goto fail;
5353 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5354 {
5355 PyThreadState* __tstate = wxPyBeginAllowThreads();
5356 result = (int)((wxSplitterWindow const *)arg1)->GetMinimumPaneSize();
5357
5358 wxPyEndAllowThreads(__tstate);
5359 if (PyErr_Occurred()) SWIG_fail;
5360 }
5361 resultobj = PyInt_FromLong((long)result);
5362 return resultobj;
5363 fail:
5364 return NULL;
5365}
5366
5367
5368static PyObject *_wrap_SplitterWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
5369 PyObject *resultobj;
5370 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5371 int arg2 ;
5372 int arg3 ;
5373 int arg4 = (int) 5 ;
5374 bool result;
5375 PyObject * obj0 = 0 ;
5376 char *kwnames[] = {
5377 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
5378 };
5379
5380 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SplitterWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) 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)(arg1)->SashHitTest(arg2,arg3,arg4);
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 *_wrap_SplitterWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
5397 PyObject *resultobj;
5398 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5399 PyObject * obj0 = 0 ;
5400 char *kwnames[] = {
5401 (char *) "self", NULL
5402 };
5403
5404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_SizeWindows",kwnames,&obj0)) goto fail;
5405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5406 {
5407 PyThreadState* __tstate = wxPyBeginAllowThreads();
5408 (arg1)->SizeWindows();
5409
5410 wxPyEndAllowThreads(__tstate);
5411 if (PyErr_Occurred()) SWIG_fail;
5412 }
5413 Py_INCREF(Py_None); resultobj = Py_None;
5414 return resultobj;
5415 fail:
5416 return NULL;
5417}
5418
5419
5420static PyObject *_wrap_SplitterWindow_SetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5421 PyObject *resultobj;
5422 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5423 bool arg2 ;
5424 PyObject * obj0 = 0 ;
5425 PyObject * obj1 = 0 ;
5426 char *kwnames[] = {
5427 (char *) "self",(char *) "needUpdating", NULL
5428 };
5429
5430 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames,&obj0,&obj1)) goto fail;
5431 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5432 arg2 = PyInt_AsLong(obj1) ? true : false;
5433 if (PyErr_Occurred()) SWIG_fail;
5434 {
5435 PyThreadState* __tstate = wxPyBeginAllowThreads();
5436 (arg1)->SetNeedUpdating(arg2);
5437
5438 wxPyEndAllowThreads(__tstate);
5439 if (PyErr_Occurred()) SWIG_fail;
5440 }
5441 Py_INCREF(Py_None); resultobj = Py_None;
5442 return resultobj;
5443 fail:
5444 return NULL;
5445}
5446
5447
5448static PyObject *_wrap_SplitterWindow_GetNeedUpdating(PyObject *self, PyObject *args, PyObject *kwargs) {
5449 PyObject *resultobj;
5450 wxSplitterWindow *arg1 = (wxSplitterWindow *) 0 ;
5451 bool result;
5452 PyObject * obj0 = 0 ;
5453 char *kwnames[] = {
5454 (char *) "self", NULL
5455 };
5456
5457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterWindow_GetNeedUpdating",kwnames,&obj0)) goto fail;
5458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5459 {
5460 PyThreadState* __tstate = wxPyBeginAllowThreads();
5461 result = (bool)((wxSplitterWindow const *)arg1)->GetNeedUpdating();
5462
5463 wxPyEndAllowThreads(__tstate);
5464 if (PyErr_Occurred()) SWIG_fail;
5465 }
5466 resultobj = PyInt_FromLong((long)result);
5467 return resultobj;
5468 fail:
5469 return NULL;
5470}
5471
5472
5473static PyObject * SplitterWindow_swigregister(PyObject *self, PyObject *args) {
5474 PyObject *obj;
5475 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5476 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterWindow, obj);
5477 Py_INCREF(obj);
5478 return Py_BuildValue((char *)"");
5479}
5480static PyObject *_wrap_new_SplitterEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
5481 PyObject *resultobj;
5482 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
5483 wxSplitterWindow *arg2 = (wxSplitterWindow *) (wxSplitterWindow *) NULL ;
5484 wxSplitterEvent *result;
5485 PyObject * obj1 = 0 ;
5486 char *kwnames[] = {
5487 (char *) "type",(char *) "splitter", NULL
5488 };
5489
5490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|iO:new_SplitterEvent",kwnames,&arg1,&obj1)) goto fail;
5491 if (obj1) {
5492 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxSplitterWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5493 }
5494 {
5495 PyThreadState* __tstate = wxPyBeginAllowThreads();
5496 result = (wxSplitterEvent *)new wxSplitterEvent(arg1,arg2);
5497
5498 wxPyEndAllowThreads(__tstate);
5499 if (PyErr_Occurred()) SWIG_fail;
5500 }
5501 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSplitterEvent, 1);
5502 return resultobj;
5503 fail:
5504 return NULL;
5505}
5506
5507
5508static PyObject *_wrap_SplitterEvent_SetSashPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
5509 PyObject *resultobj;
5510 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5511 int arg2 ;
5512 PyObject * obj0 = 0 ;
5513 char *kwnames[] = {
5514 (char *) "self",(char *) "pos", NULL
5515 };
5516
5517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SplitterEvent_SetSashPosition",kwnames,&obj0,&arg2)) 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 (arg1)->SetSashPosition(arg2);
5522
5523 wxPyEndAllowThreads(__tstate);
5524 if (PyErr_Occurred()) SWIG_fail;
5525 }
5526 Py_INCREF(Py_None); resultobj = Py_None;
5527 return resultobj;
5528 fail:
5529 return NULL;
5530}
5531
5532
5533static PyObject *_wrap_SplitterEvent_GetSashPosition(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_GetSashPosition",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)->GetSashPosition();
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 *_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject *self, PyObject *args, PyObject *kwargs) {
5559 PyObject *resultobj;
5560 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5561 wxWindow *result;
5562 PyObject * obj0 = 0 ;
5563 char *kwnames[] = {
5564 (char *) "self", NULL
5565 };
5566
5567 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetWindowBeingRemoved",kwnames,&obj0)) goto fail;
5568 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5569 {
5570 PyThreadState* __tstate = wxPyBeginAllowThreads();
5571 result = (wxWindow *)((wxSplitterEvent const *)arg1)->GetWindowBeingRemoved();
5572
5573 wxPyEndAllowThreads(__tstate);
5574 if (PyErr_Occurred()) SWIG_fail;
5575 }
5576 {
5577 resultobj = wxPyMake_wxObject(result);
5578 }
5579 return resultobj;
5580 fail:
5581 return NULL;
5582}
5583
5584
5585static PyObject *_wrap_SplitterEvent_GetX(PyObject *self, PyObject *args, PyObject *kwargs) {
5586 PyObject *resultobj;
5587 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5588 int result;
5589 PyObject * obj0 = 0 ;
5590 char *kwnames[] = {
5591 (char *) "self", NULL
5592 };
5593
5594 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetX",kwnames,&obj0)) goto fail;
5595 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5596 {
5597 PyThreadState* __tstate = wxPyBeginAllowThreads();
5598 result = (int)((wxSplitterEvent const *)arg1)->GetX();
5599
5600 wxPyEndAllowThreads(__tstate);
5601 if (PyErr_Occurred()) SWIG_fail;
5602 }
5603 resultobj = PyInt_FromLong((long)result);
5604 return resultobj;
5605 fail:
5606 return NULL;
5607}
5608
5609
5610static PyObject *_wrap_SplitterEvent_GetY(PyObject *self, PyObject *args, PyObject *kwargs) {
5611 PyObject *resultobj;
5612 wxSplitterEvent *arg1 = (wxSplitterEvent *) 0 ;
5613 int result;
5614 PyObject * obj0 = 0 ;
5615 char *kwnames[] = {
5616 (char *) "self", NULL
5617 };
5618
5619 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SplitterEvent_GetY",kwnames,&obj0)) goto fail;
5620 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSplitterEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5621 {
5622 PyThreadState* __tstate = wxPyBeginAllowThreads();
5623 result = (int)((wxSplitterEvent const *)arg1)->GetY();
5624
5625 wxPyEndAllowThreads(__tstate);
5626 if (PyErr_Occurred()) SWIG_fail;
5627 }
5628 resultobj = PyInt_FromLong((long)result);
5629 return resultobj;
5630 fail:
5631 return NULL;
5632}
5633
5634
5635static PyObject * SplitterEvent_swigregister(PyObject *self, PyObject *args) {
5636 PyObject *obj;
5637 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
5638 SWIG_TypeClientData(SWIGTYPE_p_wxSplitterEvent, obj);
5639 Py_INCREF(obj);
5640 return Py_BuildValue((char *)"");
5641}
cbd72d4f
RD
5642static int _wrap_SashNameStr_set(PyObject *_val) {
5643 PyErr_SetString(PyExc_TypeError,"Variable SashNameStr is read-only.");
5644 return 1;
5645}
5646
5647
5648static PyObject *_wrap_SashNameStr_get() {
5649 PyObject *pyobj;
5650
5651 {
5652#if wxUSE_UNICODE
5653 pyobj = PyUnicode_FromWideChar((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5654#else
5655 pyobj = PyString_FromStringAndSize((&wxPySashNameStr)->c_str(), (&wxPySashNameStr)->Len());
5656#endif
5657 }
5658 return pyobj;
5659}
5660
5661
5662static int _wrap_SashLayoutNameStr_set(PyObject *_val) {
5663 PyErr_SetString(PyExc_TypeError,"Variable SashLayoutNameStr is read-only.");
5664 return 1;
5665}
5666
5667
5668static PyObject *_wrap_SashLayoutNameStr_get() {
5669 PyObject *pyobj;
5670
5671 {
5672#if wxUSE_UNICODE
5673 pyobj = PyUnicode_FromWideChar((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5674#else
5675 pyobj = PyString_FromStringAndSize((&wxPySashLayoutNameStr)->c_str(), (&wxPySashLayoutNameStr)->Len());
5676#endif
5677 }
5678 return pyobj;
5679}
5680
5681
d14a1e28
RD
5682static PyObject *_wrap_new_SashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5683 PyObject *resultobj;
5684 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 5685 int arg2 ;
d14a1e28
RD
5686 wxPoint const &arg3_defvalue = wxDefaultPosition ;
5687 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
5688 wxSize const &arg4_defvalue = wxDefaultSize ;
5689 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
5690 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5691 wxString const &arg6_defvalue = wxPySashNameStr ;
5692 wxString *arg6 = (wxString *) &arg6_defvalue ;
5693 wxSashWindow *result;
5694 wxPoint temp3 ;
5695 wxSize temp4 ;
423f194a 5696 bool temp6 = False ;
d14a1e28
RD
5697 PyObject * obj0 = 0 ;
5698 PyObject * obj2 = 0 ;
5699 PyObject * obj3 = 0 ;
5700 PyObject * obj5 = 0 ;
5701 char *kwnames[] = {
5702 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5703 };
5704
5705 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
5706 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5707 if (obj2) {
5708 {
5709 arg3 = &temp3;
5710 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
5711 }
5712 }
5713 if (obj3) {
5714 {
5715 arg4 = &temp4;
5716 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
5717 }
5718 }
5719 if (obj5) {
5720 {
5721 arg6 = wxString_in_helper(obj5);
5722 if (arg6 == NULL) SWIG_fail;
423f194a 5723 temp6 = True;
d14a1e28
RD
5724 }
5725 }
5726 {
5727 PyThreadState* __tstate = wxPyBeginAllowThreads();
5728 result = (wxSashWindow *)new wxSashWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
5729
5730 wxPyEndAllowThreads(__tstate);
5731 if (PyErr_Occurred()) SWIG_fail;
5732 }
5733 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5734 {
5735 if (temp6)
5736 delete arg6;
5737 }
5738 return resultobj;
5739 fail:
5740 {
5741 if (temp6)
5742 delete arg6;
5743 }
5744 return NULL;
5745}
5746
5747
5748static PyObject *_wrap_new_PreSashWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
5749 PyObject *resultobj;
5750 wxSashWindow *result;
5751 char *kwnames[] = {
5752 NULL
5753 };
5754
5755 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashWindow",kwnames)) goto fail;
5756 {
5757 PyThreadState* __tstate = wxPyBeginAllowThreads();
5758 result = (wxSashWindow *)new wxSashWindow();
5759
5760 wxPyEndAllowThreads(__tstate);
5761 if (PyErr_Occurred()) SWIG_fail;
5762 }
5763 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashWindow, 1);
5764 return resultobj;
5765 fail:
5766 return NULL;
5767}
5768
5769
5770static PyObject *_wrap_SashWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
5771 PyObject *resultobj;
5772 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5773 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 5774 int arg3 ;
d14a1e28
RD
5775 wxPoint const &arg4_defvalue = wxDefaultPosition ;
5776 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
5777 wxSize const &arg5_defvalue = wxDefaultSize ;
5778 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
5779 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
5780 wxString const &arg7_defvalue = wxPySashNameStr ;
5781 wxString *arg7 = (wxString *) &arg7_defvalue ;
5782 bool result;
5783 wxPoint temp4 ;
5784 wxSize temp5 ;
423f194a 5785 bool temp7 = False ;
d14a1e28
RD
5786 PyObject * obj0 = 0 ;
5787 PyObject * obj1 = 0 ;
5788 PyObject * obj3 = 0 ;
5789 PyObject * obj4 = 0 ;
5790 PyObject * obj6 = 0 ;
5791 char *kwnames[] = {
5792 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
5793 };
5794
5795 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
5796 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5797 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5798 if (obj3) {
5799 {
5800 arg4 = &temp4;
5801 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
5802 }
5803 }
5804 if (obj4) {
5805 {
5806 arg5 = &temp5;
5807 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
5808 }
5809 }
5810 if (obj6) {
5811 {
5812 arg7 = wxString_in_helper(obj6);
5813 if (arg7 == NULL) SWIG_fail;
423f194a 5814 temp7 = True;
d14a1e28
RD
5815 }
5816 }
5817 {
5818 PyThreadState* __tstate = wxPyBeginAllowThreads();
5819 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
5820
5821 wxPyEndAllowThreads(__tstate);
5822 if (PyErr_Occurred()) SWIG_fail;
5823 }
5824 resultobj = PyInt_FromLong((long)result);
5825 {
5826 if (temp7)
5827 delete arg7;
5828 }
5829 return resultobj;
5830 fail:
5831 {
5832 if (temp7)
5833 delete arg7;
5834 }
5835 return NULL;
5836}
5837
5838
5839static PyObject *_wrap_SashWindow_SetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5840 PyObject *resultobj;
5841 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5842 int arg2 ;
5843 bool arg3 ;
5844 PyObject * obj0 = 0 ;
5845 PyObject * obj2 = 0 ;
5846 char *kwnames[] = {
5847 (char *) "self",(char *) "edge",(char *) "sash", NULL
5848 };
5849
5850 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashVisible",kwnames,&obj0,&arg2,&obj2)) goto fail;
5851 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5852 arg3 = PyInt_AsLong(obj2) ? true : false;
5853 if (PyErr_Occurred()) SWIG_fail;
5854 {
5855 PyThreadState* __tstate = wxPyBeginAllowThreads();
5856 (arg1)->SetSashVisible((wxSashEdgePosition )arg2,arg3);
5857
5858 wxPyEndAllowThreads(__tstate);
5859 if (PyErr_Occurred()) SWIG_fail;
5860 }
5861 Py_INCREF(Py_None); resultobj = Py_None;
5862 return resultobj;
5863 fail:
5864 return NULL;
5865}
5866
5867
5868static PyObject *_wrap_SashWindow_GetSashVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
5869 PyObject *resultobj;
5870 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5871 int arg2 ;
5872 bool result;
5873 PyObject * obj0 = 0 ;
5874 char *kwnames[] = {
5875 (char *) "self",(char *) "edge", NULL
5876 };
5877
5878 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetSashVisible",kwnames,&obj0,&arg2)) goto fail;
5879 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5880 {
5881 PyThreadState* __tstate = wxPyBeginAllowThreads();
5882 result = (bool)((wxSashWindow const *)arg1)->GetSashVisible((wxSashEdgePosition )arg2);
5883
5884 wxPyEndAllowThreads(__tstate);
5885 if (PyErr_Occurred()) SWIG_fail;
5886 }
5887 resultobj = PyInt_FromLong((long)result);
5888 return resultobj;
5889 fail:
5890 return NULL;
5891}
5892
5893
5894static PyObject *_wrap_SashWindow_SetSashBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5895 PyObject *resultobj;
5896 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5897 int arg2 ;
5898 bool arg3 ;
5899 PyObject * obj0 = 0 ;
5900 PyObject * obj2 = 0 ;
5901 char *kwnames[] = {
5902 (char *) "self",(char *) "edge",(char *) "border", NULL
5903 };
5904
5905 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:SashWindow_SetSashBorder",kwnames,&obj0,&arg2,&obj2)) goto fail;
5906 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5907 arg3 = PyInt_AsLong(obj2) ? true : false;
5908 if (PyErr_Occurred()) SWIG_fail;
5909 {
5910 PyThreadState* __tstate = wxPyBeginAllowThreads();
5911 (arg1)->SetSashBorder((wxSashEdgePosition )arg2,arg3);
5912
5913 wxPyEndAllowThreads(__tstate);
5914 if (PyErr_Occurred()) SWIG_fail;
5915 }
5916 Py_INCREF(Py_None); resultobj = Py_None;
5917 return resultobj;
5918 fail:
5919 return NULL;
5920}
5921
5922
5923static PyObject *_wrap_SashWindow_HasBorder(PyObject *self, PyObject *args, PyObject *kwargs) {
5924 PyObject *resultobj;
5925 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5926 int arg2 ;
5927 bool result;
5928 PyObject * obj0 = 0 ;
5929 char *kwnames[] = {
5930 (char *) "self",(char *) "edge", NULL
5931 };
5932
5933 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_HasBorder",kwnames,&obj0,&arg2)) goto fail;
5934 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5935 {
5936 PyThreadState* __tstate = wxPyBeginAllowThreads();
5937 result = (bool)((wxSashWindow const *)arg1)->HasBorder((wxSashEdgePosition )arg2);
5938
5939 wxPyEndAllowThreads(__tstate);
5940 if (PyErr_Occurred()) SWIG_fail;
5941 }
5942 resultobj = PyInt_FromLong((long)result);
5943 return resultobj;
5944 fail:
5945 return NULL;
5946}
5947
5948
5949static PyObject *_wrap_SashWindow_GetEdgeMargin(PyObject *self, PyObject *args, PyObject *kwargs) {
5950 PyObject *resultobj;
5951 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5952 int arg2 ;
5953 int result;
5954 PyObject * obj0 = 0 ;
5955 char *kwnames[] = {
5956 (char *) "self",(char *) "edge", NULL
5957 };
5958
5959 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_GetEdgeMargin",kwnames,&obj0,&arg2)) goto fail;
5960 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5961 {
5962 PyThreadState* __tstate = wxPyBeginAllowThreads();
5963 result = (int)((wxSashWindow const *)arg1)->GetEdgeMargin((wxSashEdgePosition )arg2);
5964
5965 wxPyEndAllowThreads(__tstate);
5966 if (PyErr_Occurred()) SWIG_fail;
5967 }
5968 resultobj = PyInt_FromLong((long)result);
5969 return resultobj;
5970 fail:
5971 return NULL;
5972}
5973
5974
5975static PyObject *_wrap_SashWindow_SetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
5976 PyObject *resultobj;
5977 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
5978 int arg2 ;
5979 PyObject * obj0 = 0 ;
5980 char *kwnames[] = {
5981 (char *) "self",(char *) "width", NULL
5982 };
5983
5984 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetDefaultBorderSize",kwnames,&obj0,&arg2)) goto fail;
5985 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
5986 {
5987 PyThreadState* __tstate = wxPyBeginAllowThreads();
5988 (arg1)->SetDefaultBorderSize(arg2);
5989
5990 wxPyEndAllowThreads(__tstate);
5991 if (PyErr_Occurred()) SWIG_fail;
5992 }
5993 Py_INCREF(Py_None); resultobj = Py_None;
5994 return resultobj;
5995 fail:
5996 return NULL;
5997}
5998
5999
6000static PyObject *_wrap_SashWindow_GetDefaultBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6001 PyObject *resultobj;
6002 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6003 int result;
6004 PyObject * obj0 = 0 ;
6005 char *kwnames[] = {
6006 (char *) "self", NULL
6007 };
6008
6009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetDefaultBorderSize",kwnames,&obj0)) goto fail;
6010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6011 {
6012 PyThreadState* __tstate = wxPyBeginAllowThreads();
6013 result = (int)((wxSashWindow const *)arg1)->GetDefaultBorderSize();
6014
6015 wxPyEndAllowThreads(__tstate);
6016 if (PyErr_Occurred()) SWIG_fail;
6017 }
6018 resultobj = PyInt_FromLong((long)result);
6019 return resultobj;
6020 fail:
6021 return NULL;
6022}
6023
6024
6025static PyObject *_wrap_SashWindow_SetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6026 PyObject *resultobj;
6027 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6028 int arg2 ;
6029 PyObject * obj0 = 0 ;
6030 char *kwnames[] = {
6031 (char *) "self",(char *) "width", NULL
6032 };
6033
6034 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetExtraBorderSize",kwnames,&obj0,&arg2)) goto fail;
6035 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6036 {
6037 PyThreadState* __tstate = wxPyBeginAllowThreads();
6038 (arg1)->SetExtraBorderSize(arg2);
6039
6040 wxPyEndAllowThreads(__tstate);
6041 if (PyErr_Occurred()) SWIG_fail;
6042 }
6043 Py_INCREF(Py_None); resultobj = Py_None;
6044 return resultobj;
6045 fail:
6046 return NULL;
6047}
6048
6049
6050static PyObject *_wrap_SashWindow_GetExtraBorderSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6051 PyObject *resultobj;
6052 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6053 int result;
6054 PyObject * obj0 = 0 ;
6055 char *kwnames[] = {
6056 (char *) "self", NULL
6057 };
6058
6059 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetExtraBorderSize",kwnames,&obj0)) goto fail;
6060 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6061 {
6062 PyThreadState* __tstate = wxPyBeginAllowThreads();
6063 result = (int)((wxSashWindow const *)arg1)->GetExtraBorderSize();
6064
6065 wxPyEndAllowThreads(__tstate);
6066 if (PyErr_Occurred()) SWIG_fail;
6067 }
6068 resultobj = PyInt_FromLong((long)result);
6069 return resultobj;
6070 fail:
6071 return NULL;
6072}
6073
6074
6075static PyObject *_wrap_SashWindow_SetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6076 PyObject *resultobj;
6077 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6078 int arg2 ;
6079 PyObject * obj0 = 0 ;
6080 char *kwnames[] = {
6081 (char *) "self",(char *) "min", NULL
6082 };
6083
6084 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeX",kwnames,&obj0,&arg2)) goto fail;
6085 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6086 {
6087 PyThreadState* __tstate = wxPyBeginAllowThreads();
6088 (arg1)->SetMinimumSizeX(arg2);
6089
6090 wxPyEndAllowThreads(__tstate);
6091 if (PyErr_Occurred()) SWIG_fail;
6092 }
6093 Py_INCREF(Py_None); resultobj = Py_None;
6094 return resultobj;
6095 fail:
6096 return NULL;
6097}
6098
6099
6100static PyObject *_wrap_SashWindow_SetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6101 PyObject *resultobj;
6102 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6103 int arg2 ;
6104 PyObject * obj0 = 0 ;
6105 char *kwnames[] = {
6106 (char *) "self",(char *) "min", NULL
6107 };
6108
6109 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMinimumSizeY",kwnames,&obj0,&arg2)) goto fail;
6110 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6111 {
6112 PyThreadState* __tstate = wxPyBeginAllowThreads();
6113 (arg1)->SetMinimumSizeY(arg2);
6114
6115 wxPyEndAllowThreads(__tstate);
6116 if (PyErr_Occurred()) SWIG_fail;
6117 }
6118 Py_INCREF(Py_None); resultobj = Py_None;
6119 return resultobj;
6120 fail:
6121 return NULL;
6122}
6123
6124
6125static PyObject *_wrap_SashWindow_GetMinimumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6126 PyObject *resultobj;
6127 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6128 int result;
6129 PyObject * obj0 = 0 ;
6130 char *kwnames[] = {
6131 (char *) "self", NULL
6132 };
6133
6134 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeX",kwnames,&obj0)) goto fail;
6135 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6136 {
6137 PyThreadState* __tstate = wxPyBeginAllowThreads();
6138 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeX();
6139
6140 wxPyEndAllowThreads(__tstate);
6141 if (PyErr_Occurred()) SWIG_fail;
6142 }
6143 resultobj = PyInt_FromLong((long)result);
6144 return resultobj;
6145 fail:
6146 return NULL;
6147}
6148
6149
6150static PyObject *_wrap_SashWindow_GetMinimumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6151 PyObject *resultobj;
6152 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6153 int result;
6154 PyObject * obj0 = 0 ;
6155 char *kwnames[] = {
6156 (char *) "self", NULL
6157 };
6158
6159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMinimumSizeY",kwnames,&obj0)) goto fail;
6160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6161 {
6162 PyThreadState* __tstate = wxPyBeginAllowThreads();
6163 result = (int)((wxSashWindow const *)arg1)->GetMinimumSizeY();
6164
6165 wxPyEndAllowThreads(__tstate);
6166 if (PyErr_Occurred()) SWIG_fail;
6167 }
6168 resultobj = PyInt_FromLong((long)result);
6169 return resultobj;
6170 fail:
6171 return NULL;
6172}
6173
6174
6175static PyObject *_wrap_SashWindow_SetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6176 PyObject *resultobj;
6177 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6178 int arg2 ;
6179 PyObject * obj0 = 0 ;
6180 char *kwnames[] = {
6181 (char *) "self",(char *) "max", NULL
6182 };
6183
6184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeX",kwnames,&obj0,&arg2)) goto fail;
6185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6186 {
6187 PyThreadState* __tstate = wxPyBeginAllowThreads();
6188 (arg1)->SetMaximumSizeX(arg2);
6189
6190 wxPyEndAllowThreads(__tstate);
6191 if (PyErr_Occurred()) SWIG_fail;
6192 }
6193 Py_INCREF(Py_None); resultobj = Py_None;
6194 return resultobj;
6195 fail:
6196 return NULL;
6197}
6198
6199
6200static PyObject *_wrap_SashWindow_SetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6201 PyObject *resultobj;
6202 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6203 int arg2 ;
6204 PyObject * obj0 = 0 ;
6205 char *kwnames[] = {
6206 (char *) "self",(char *) "max", NULL
6207 };
6208
6209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashWindow_SetMaximumSizeY",kwnames,&obj0,&arg2)) goto fail;
6210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6211 {
6212 PyThreadState* __tstate = wxPyBeginAllowThreads();
6213 (arg1)->SetMaximumSizeY(arg2);
6214
6215 wxPyEndAllowThreads(__tstate);
6216 if (PyErr_Occurred()) SWIG_fail;
6217 }
6218 Py_INCREF(Py_None); resultobj = Py_None;
6219 return resultobj;
6220 fail:
6221 return NULL;
6222}
6223
6224
6225static PyObject *_wrap_SashWindow_GetMaximumSizeX(PyObject *self, PyObject *args, PyObject *kwargs) {
6226 PyObject *resultobj;
6227 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6228 int result;
6229 PyObject * obj0 = 0 ;
6230 char *kwnames[] = {
6231 (char *) "self", NULL
6232 };
6233
6234 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeX",kwnames,&obj0)) goto fail;
6235 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6236 {
6237 PyThreadState* __tstate = wxPyBeginAllowThreads();
6238 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeX();
6239
6240 wxPyEndAllowThreads(__tstate);
6241 if (PyErr_Occurred()) SWIG_fail;
6242 }
6243 resultobj = PyInt_FromLong((long)result);
6244 return resultobj;
6245 fail:
6246 return NULL;
6247}
6248
6249
6250static PyObject *_wrap_SashWindow_GetMaximumSizeY(PyObject *self, PyObject *args, PyObject *kwargs) {
6251 PyObject *resultobj;
6252 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6253 int result;
6254 PyObject * obj0 = 0 ;
6255 char *kwnames[] = {
6256 (char *) "self", NULL
6257 };
6258
6259 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_GetMaximumSizeY",kwnames,&obj0)) goto fail;
6260 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6261 {
6262 PyThreadState* __tstate = wxPyBeginAllowThreads();
6263 result = (int)((wxSashWindow const *)arg1)->GetMaximumSizeY();
6264
6265 wxPyEndAllowThreads(__tstate);
6266 if (PyErr_Occurred()) SWIG_fail;
6267 }
6268 resultobj = PyInt_FromLong((long)result);
6269 return resultobj;
6270 fail:
6271 return NULL;
6272}
6273
6274
6275static PyObject *_wrap_SashWindow_SashHitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
6276 PyObject *resultobj;
6277 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6278 int arg2 ;
6279 int arg3 ;
6280 int arg4 = (int) 2 ;
6281 int result;
6282 PyObject * obj0 = 0 ;
6283 char *kwnames[] = {
6284 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
6285 };
6286
6287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii|i:SashWindow_SashHitTest",kwnames,&obj0,&arg2,&arg3,&arg4)) goto fail;
6288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6289 {
6290 PyThreadState* __tstate = wxPyBeginAllowThreads();
6291 result = (int)(arg1)->SashHitTest(arg2,arg3,arg4);
6292
6293 wxPyEndAllowThreads(__tstate);
6294 if (PyErr_Occurred()) SWIG_fail;
6295 }
6296 resultobj = PyInt_FromLong((long)result);
6297 return resultobj;
6298 fail:
6299 return NULL;
6300}
6301
6302
6303static PyObject *_wrap_SashWindow_SizeWindows(PyObject *self, PyObject *args, PyObject *kwargs) {
6304 PyObject *resultobj;
6305 wxSashWindow *arg1 = (wxSashWindow *) 0 ;
6306 PyObject * obj0 = 0 ;
6307 char *kwnames[] = {
6308 (char *) "self", NULL
6309 };
6310
6311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashWindow_SizeWindows",kwnames,&obj0)) goto fail;
6312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6313 {
6314 PyThreadState* __tstate = wxPyBeginAllowThreads();
6315 (arg1)->SizeWindows();
6316
6317 wxPyEndAllowThreads(__tstate);
6318 if (PyErr_Occurred()) SWIG_fail;
6319 }
6320 Py_INCREF(Py_None); resultobj = Py_None;
6321 return resultobj;
6322 fail:
6323 return NULL;
6324}
6325
6326
6327static PyObject * SashWindow_swigregister(PyObject *self, PyObject *args) {
6328 PyObject *obj;
6329 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6330 SWIG_TypeClientData(SWIGTYPE_p_wxSashWindow, obj);
6331 Py_INCREF(obj);
6332 return Py_BuildValue((char *)"");
6333}
6334static PyObject *_wrap_new_SashEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6335 PyObject *resultobj;
6336 int arg1 = (int) 0 ;
6337 int arg2 = (int) wxSASH_NONE ;
6338 wxSashEvent *result;
6339 char *kwnames[] = {
6340 (char *) "id",(char *) "edge", NULL
6341 };
6342
6343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_SashEvent",kwnames,&arg1,&arg2)) goto fail;
6344 {
6345 PyThreadState* __tstate = wxPyBeginAllowThreads();
6346 result = (wxSashEvent *)new wxSashEvent(arg1,(wxSashEdgePosition )arg2);
6347
6348 wxPyEndAllowThreads(__tstate);
6349 if (PyErr_Occurred()) SWIG_fail;
6350 }
6351 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashEvent, 1);
6352 return resultobj;
6353 fail:
6354 return NULL;
6355}
6356
6357
6358static PyObject *_wrap_SashEvent_SetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6359 PyObject *resultobj;
6360 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6361 int arg2 ;
6362 PyObject * obj0 = 0 ;
6363 char *kwnames[] = {
6364 (char *) "self",(char *) "edge", NULL
6365 };
6366
6367 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetEdge",kwnames,&obj0,&arg2)) goto fail;
6368 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6369 {
6370 PyThreadState* __tstate = wxPyBeginAllowThreads();
6371 (arg1)->SetEdge((wxSashEdgePosition )arg2);
6372
6373 wxPyEndAllowThreads(__tstate);
6374 if (PyErr_Occurred()) SWIG_fail;
6375 }
6376 Py_INCREF(Py_None); resultobj = Py_None;
6377 return resultobj;
6378 fail:
6379 return NULL;
6380}
6381
6382
6383static PyObject *_wrap_SashEvent_GetEdge(PyObject *self, PyObject *args, PyObject *kwargs) {
6384 PyObject *resultobj;
6385 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6386 int result;
6387 PyObject * obj0 = 0 ;
6388 char *kwnames[] = {
6389 (char *) "self", NULL
6390 };
6391
6392 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetEdge",kwnames,&obj0)) goto fail;
6393 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6394 {
6395 PyThreadState* __tstate = wxPyBeginAllowThreads();
6396 result = (int)((wxSashEvent const *)arg1)->GetEdge();
6397
6398 wxPyEndAllowThreads(__tstate);
6399 if (PyErr_Occurred()) SWIG_fail;
6400 }
6401 resultobj = PyInt_FromLong((long)result);
6402 return resultobj;
6403 fail:
6404 return NULL;
6405}
6406
6407
6408static PyObject *_wrap_SashEvent_SetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6409 PyObject *resultobj;
6410 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6411 wxRect *arg2 = 0 ;
6412 wxRect temp2 ;
6413 PyObject * obj0 = 0 ;
6414 PyObject * obj1 = 0 ;
6415 char *kwnames[] = {
6416 (char *) "self",(char *) "rect", NULL
6417 };
6418
6419 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashEvent_SetDragRect",kwnames,&obj0,&obj1)) goto fail;
6420 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6421 {
6422 arg2 = &temp2;
6423 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6424 }
6425 {
6426 PyThreadState* __tstate = wxPyBeginAllowThreads();
6427 (arg1)->SetDragRect((wxRect const &)*arg2);
6428
6429 wxPyEndAllowThreads(__tstate);
6430 if (PyErr_Occurred()) SWIG_fail;
6431 }
6432 Py_INCREF(Py_None); resultobj = Py_None;
6433 return resultobj;
6434 fail:
6435 return NULL;
6436}
6437
6438
6439static PyObject *_wrap_SashEvent_GetDragRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6440 PyObject *resultobj;
6441 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6442 wxRect result;
6443 PyObject * obj0 = 0 ;
6444 char *kwnames[] = {
6445 (char *) "self", NULL
6446 };
6447
6448 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragRect",kwnames,&obj0)) goto fail;
6449 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6450 {
6451 PyThreadState* __tstate = wxPyBeginAllowThreads();
6452 result = ((wxSashEvent const *)arg1)->GetDragRect();
6453
6454 wxPyEndAllowThreads(__tstate);
6455 if (PyErr_Occurred()) SWIG_fail;
6456 }
6457 {
6458 wxRect * resultptr;
6459 resultptr = new wxRect((wxRect &) result);
6460 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6461 }
6462 return resultobj;
6463 fail:
6464 return NULL;
6465}
6466
6467
6468static PyObject *_wrap_SashEvent_SetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6469 PyObject *resultobj;
6470 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6471 int arg2 ;
6472 PyObject * obj0 = 0 ;
6473 char *kwnames[] = {
6474 (char *) "self",(char *) "status", NULL
6475 };
6476
6477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashEvent_SetDragStatus",kwnames,&obj0,&arg2)) goto fail;
6478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6479 {
6480 PyThreadState* __tstate = wxPyBeginAllowThreads();
6481 (arg1)->SetDragStatus((wxSashDragStatus )arg2);
6482
6483 wxPyEndAllowThreads(__tstate);
6484 if (PyErr_Occurred()) SWIG_fail;
6485 }
6486 Py_INCREF(Py_None); resultobj = Py_None;
6487 return resultobj;
6488 fail:
6489 return NULL;
6490}
6491
6492
6493static PyObject *_wrap_SashEvent_GetDragStatus(PyObject *self, PyObject *args, PyObject *kwargs) {
6494 PyObject *resultobj;
6495 wxSashEvent *arg1 = (wxSashEvent *) 0 ;
6496 int result;
6497 PyObject * obj0 = 0 ;
6498 char *kwnames[] = {
6499 (char *) "self", NULL
6500 };
6501
6502 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashEvent_GetDragStatus",kwnames,&obj0)) goto fail;
6503 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6504 {
6505 PyThreadState* __tstate = wxPyBeginAllowThreads();
6506 result = (int)((wxSashEvent const *)arg1)->GetDragStatus();
6507
6508 wxPyEndAllowThreads(__tstate);
6509 if (PyErr_Occurred()) SWIG_fail;
6510 }
6511 resultobj = PyInt_FromLong((long)result);
6512 return resultobj;
6513 fail:
6514 return NULL;
6515}
6516
6517
6518static PyObject * SashEvent_swigregister(PyObject *self, PyObject *args) {
6519 PyObject *obj;
6520 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6521 SWIG_TypeClientData(SWIGTYPE_p_wxSashEvent, obj);
6522 Py_INCREF(obj);
6523 return Py_BuildValue((char *)"");
6524}
6525static PyObject *_wrap_new_QueryLayoutInfoEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6526 PyObject *resultobj;
423f194a 6527 int arg1 = (int) 0 ;
d14a1e28
RD
6528 wxQueryLayoutInfoEvent *result;
6529 char *kwnames[] = {
6530 (char *) "id", NULL
6531 };
6532
6533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_QueryLayoutInfoEvent",kwnames,&arg1)) goto fail;
6534 {
6535 PyThreadState* __tstate = wxPyBeginAllowThreads();
6536 result = (wxQueryLayoutInfoEvent *)new wxQueryLayoutInfoEvent(arg1);
6537
6538 wxPyEndAllowThreads(__tstate);
6539 if (PyErr_Occurred()) SWIG_fail;
6540 }
6541 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxQueryLayoutInfoEvent, 1);
6542 return resultobj;
6543 fail:
6544 return NULL;
6545}
6546
6547
6548static PyObject *_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6549 PyObject *resultobj;
6550 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6551 int arg2 ;
6552 PyObject * obj0 = 0 ;
6553 char *kwnames[] = {
6554 (char *) "self",(char *) "length", NULL
6555 };
6556
6557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetRequestedLength",kwnames,&obj0,&arg2)) goto fail;
6558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6559 {
6560 PyThreadState* __tstate = wxPyBeginAllowThreads();
6561 (arg1)->SetRequestedLength(arg2);
6562
6563 wxPyEndAllowThreads(__tstate);
6564 if (PyErr_Occurred()) SWIG_fail;
6565 }
6566 Py_INCREF(Py_None); resultobj = Py_None;
6567 return resultobj;
6568 fail:
6569 return NULL;
6570}
6571
6572
6573static PyObject *_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject *self, PyObject *args, PyObject *kwargs) {
6574 PyObject *resultobj;
6575 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6576 int result;
6577 PyObject * obj0 = 0 ;
6578 char *kwnames[] = {
6579 (char *) "self", NULL
6580 };
6581
6582 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetRequestedLength",kwnames,&obj0)) goto fail;
6583 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6584 {
6585 PyThreadState* __tstate = wxPyBeginAllowThreads();
6586 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetRequestedLength();
6587
6588 wxPyEndAllowThreads(__tstate);
6589 if (PyErr_Occurred()) SWIG_fail;
6590 }
6591 resultobj = PyInt_FromLong((long)result);
6592 return resultobj;
6593 fail:
6594 return NULL;
6595}
6596
6597
6598static PyObject *_wrap_QueryLayoutInfoEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6599 PyObject *resultobj;
6600 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6601 int arg2 ;
6602 PyObject * obj0 = 0 ;
6603 char *kwnames[] = {
6604 (char *) "self",(char *) "flags", NULL
6605 };
6606
6607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6609 {
6610 PyThreadState* __tstate = wxPyBeginAllowThreads();
6611 (arg1)->SetFlags(arg2);
6612
6613 wxPyEndAllowThreads(__tstate);
6614 if (PyErr_Occurred()) SWIG_fail;
6615 }
6616 Py_INCREF(Py_None); resultobj = Py_None;
6617 return resultobj;
6618 fail:
6619 return NULL;
6620}
6621
6622
6623static PyObject *_wrap_QueryLayoutInfoEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6624 PyObject *resultobj;
6625 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6626 int result;
6627 PyObject * obj0 = 0 ;
6628 char *kwnames[] = {
6629 (char *) "self", NULL
6630 };
6631
6632 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetFlags",kwnames,&obj0)) goto fail;
6633 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6634 {
6635 PyThreadState* __tstate = wxPyBeginAllowThreads();
6636 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetFlags();
6637
6638 wxPyEndAllowThreads(__tstate);
6639 if (PyErr_Occurred()) SWIG_fail;
6640 }
6641 resultobj = PyInt_FromLong((long)result);
6642 return resultobj;
6643 fail:
6644 return NULL;
6645}
6646
6647
6648static PyObject *_wrap_QueryLayoutInfoEvent_SetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6649 PyObject *resultobj;
6650 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6651 wxSize *arg2 = 0 ;
6652 wxSize temp2 ;
6653 PyObject * obj0 = 0 ;
6654 PyObject * obj1 = 0 ;
6655 char *kwnames[] = {
6656 (char *) "self",(char *) "size", NULL
6657 };
6658
6659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames,&obj0,&obj1)) goto fail;
6660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6661 {
6662 arg2 = &temp2;
6663 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
6664 }
6665 {
6666 PyThreadState* __tstate = wxPyBeginAllowThreads();
6667 (arg1)->SetSize((wxSize const &)*arg2);
6668
6669 wxPyEndAllowThreads(__tstate);
6670 if (PyErr_Occurred()) SWIG_fail;
6671 }
6672 Py_INCREF(Py_None); resultobj = Py_None;
6673 return resultobj;
6674 fail:
6675 return NULL;
6676}
6677
6678
6679static PyObject *_wrap_QueryLayoutInfoEvent_GetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
6680 PyObject *resultobj;
6681 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6682 wxSize result;
6683 PyObject * obj0 = 0 ;
6684 char *kwnames[] = {
6685 (char *) "self", NULL
6686 };
6687
6688 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetSize",kwnames,&obj0)) goto fail;
6689 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6690 {
6691 PyThreadState* __tstate = wxPyBeginAllowThreads();
6692 result = ((wxQueryLayoutInfoEvent const *)arg1)->GetSize();
6693
6694 wxPyEndAllowThreads(__tstate);
6695 if (PyErr_Occurred()) SWIG_fail;
6696 }
6697 {
6698 wxSize * resultptr;
6699 resultptr = new wxSize((wxSize &) result);
6700 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
6701 }
6702 return resultobj;
6703 fail:
6704 return NULL;
6705}
6706
6707
6708static PyObject *_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6709 PyObject *resultobj;
6710 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6711 int arg2 ;
6712 PyObject * obj0 = 0 ;
6713 char *kwnames[] = {
6714 (char *) "self",(char *) "orient", NULL
6715 };
6716
6717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
6718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6719 {
6720 PyThreadState* __tstate = wxPyBeginAllowThreads();
6721 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
6722
6723 wxPyEndAllowThreads(__tstate);
6724 if (PyErr_Occurred()) SWIG_fail;
6725 }
6726 Py_INCREF(Py_None); resultobj = Py_None;
6727 return resultobj;
6728 fail:
6729 return NULL;
6730}
6731
6732
6733static PyObject *_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
6734 PyObject *resultobj;
6735 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6736 int result;
6737 PyObject * obj0 = 0 ;
6738 char *kwnames[] = {
6739 (char *) "self", NULL
6740 };
6741
6742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetOrientation",kwnames,&obj0)) goto fail;
6743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6744 {
6745 PyThreadState* __tstate = wxPyBeginAllowThreads();
6746 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetOrientation();
6747
6748 wxPyEndAllowThreads(__tstate);
6749 if (PyErr_Occurred()) SWIG_fail;
6750 }
6751 resultobj = PyInt_FromLong((long)result);
6752 return resultobj;
6753 fail:
6754 return NULL;
6755}
6756
6757
6758static PyObject *_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6759 PyObject *resultobj;
6760 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6761 int arg2 ;
6762 PyObject * obj0 = 0 ;
6763 char *kwnames[] = {
6764 (char *) "self",(char *) "align", NULL
6765 };
6766
6767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:QueryLayoutInfoEvent_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
6768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6769 {
6770 PyThreadState* __tstate = wxPyBeginAllowThreads();
6771 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
6772
6773 wxPyEndAllowThreads(__tstate);
6774 if (PyErr_Occurred()) SWIG_fail;
6775 }
6776 Py_INCREF(Py_None); resultobj = Py_None;
6777 return resultobj;
6778 fail:
6779 return NULL;
6780}
6781
6782
6783static PyObject *_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
6784 PyObject *resultobj;
6785 wxQueryLayoutInfoEvent *arg1 = (wxQueryLayoutInfoEvent *) 0 ;
6786 int result;
6787 PyObject * obj0 = 0 ;
6788 char *kwnames[] = {
6789 (char *) "self", NULL
6790 };
6791
6792 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:QueryLayoutInfoEvent_GetAlignment",kwnames,&obj0)) goto fail;
6793 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxQueryLayoutInfoEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6794 {
6795 PyThreadState* __tstate = wxPyBeginAllowThreads();
6796 result = (int)((wxQueryLayoutInfoEvent const *)arg1)->GetAlignment();
6797
6798 wxPyEndAllowThreads(__tstate);
6799 if (PyErr_Occurred()) SWIG_fail;
6800 }
6801 resultobj = PyInt_FromLong((long)result);
6802 return resultobj;
6803 fail:
6804 return NULL;
6805}
6806
6807
6808static PyObject * QueryLayoutInfoEvent_swigregister(PyObject *self, PyObject *args) {
6809 PyObject *obj;
6810 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6811 SWIG_TypeClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent, obj);
6812 Py_INCREF(obj);
6813 return Py_BuildValue((char *)"");
6814}
6815static PyObject *_wrap_new_CalculateLayoutEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
6816 PyObject *resultobj;
423f194a 6817 int arg1 = (int) 0 ;
d14a1e28
RD
6818 wxCalculateLayoutEvent *result;
6819 char *kwnames[] = {
6820 (char *) "id", NULL
6821 };
6822
6823 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_CalculateLayoutEvent",kwnames,&arg1)) goto fail;
6824 {
6825 PyThreadState* __tstate = wxPyBeginAllowThreads();
6826 result = (wxCalculateLayoutEvent *)new wxCalculateLayoutEvent(arg1);
6827
6828 wxPyEndAllowThreads(__tstate);
6829 if (PyErr_Occurred()) SWIG_fail;
6830 }
6831 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxCalculateLayoutEvent, 1);
6832 return resultobj;
6833 fail:
6834 return NULL;
6835}
6836
6837
6838static PyObject *_wrap_CalculateLayoutEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6839 PyObject *resultobj;
6840 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6841 int arg2 ;
6842 PyObject * obj0 = 0 ;
6843 char *kwnames[] = {
6844 (char *) "self",(char *) "flags", NULL
6845 };
6846
6847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:CalculateLayoutEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
6848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6849 {
6850 PyThreadState* __tstate = wxPyBeginAllowThreads();
6851 (arg1)->SetFlags(arg2);
6852
6853 wxPyEndAllowThreads(__tstate);
6854 if (PyErr_Occurred()) SWIG_fail;
6855 }
6856 Py_INCREF(Py_None); resultobj = Py_None;
6857 return resultobj;
6858 fail:
6859 return NULL;
6860}
6861
6862
6863static PyObject *_wrap_CalculateLayoutEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
6864 PyObject *resultobj;
6865 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6866 int result;
6867 PyObject * obj0 = 0 ;
6868 char *kwnames[] = {
6869 (char *) "self", NULL
6870 };
6871
6872 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetFlags",kwnames,&obj0)) goto fail;
6873 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6874 {
6875 PyThreadState* __tstate = wxPyBeginAllowThreads();
6876 result = (int)((wxCalculateLayoutEvent const *)arg1)->GetFlags();
6877
6878 wxPyEndAllowThreads(__tstate);
6879 if (PyErr_Occurred()) SWIG_fail;
6880 }
6881 resultobj = PyInt_FromLong((long)result);
6882 return resultobj;
6883 fail:
6884 return NULL;
6885}
6886
6887
6888static PyObject *_wrap_CalculateLayoutEvent_SetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6889 PyObject *resultobj;
6890 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6891 wxRect *arg2 = 0 ;
6892 wxRect temp2 ;
6893 PyObject * obj0 = 0 ;
6894 PyObject * obj1 = 0 ;
6895 char *kwnames[] = {
6896 (char *) "self",(char *) "rect", NULL
6897 };
6898
6899 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames,&obj0,&obj1)) goto fail;
6900 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6901 {
6902 arg2 = &temp2;
6903 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
6904 }
6905 {
6906 PyThreadState* __tstate = wxPyBeginAllowThreads();
6907 (arg1)->SetRect((wxRect const &)*arg2);
6908
6909 wxPyEndAllowThreads(__tstate);
6910 if (PyErr_Occurred()) SWIG_fail;
6911 }
6912 Py_INCREF(Py_None); resultobj = Py_None;
6913 return resultobj;
6914 fail:
6915 return NULL;
6916}
6917
6918
6919static PyObject *_wrap_CalculateLayoutEvent_GetRect(PyObject *self, PyObject *args, PyObject *kwargs) {
6920 PyObject *resultobj;
6921 wxCalculateLayoutEvent *arg1 = (wxCalculateLayoutEvent *) 0 ;
6922 wxRect result;
6923 PyObject * obj0 = 0 ;
6924 char *kwnames[] = {
6925 (char *) "self", NULL
6926 };
6927
6928 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:CalculateLayoutEvent_GetRect",kwnames,&obj0)) goto fail;
6929 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxCalculateLayoutEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6930 {
6931 PyThreadState* __tstate = wxPyBeginAllowThreads();
6932 result = ((wxCalculateLayoutEvent const *)arg1)->GetRect();
6933
6934 wxPyEndAllowThreads(__tstate);
6935 if (PyErr_Occurred()) SWIG_fail;
6936 }
6937 {
6938 wxRect * resultptr;
6939 resultptr = new wxRect((wxRect &) result);
6940 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxRect, 1);
6941 }
6942 return resultobj;
6943 fail:
6944 return NULL;
6945}
6946
6947
6948static PyObject * CalculateLayoutEvent_swigregister(PyObject *self, PyObject *args) {
6949 PyObject *obj;
6950 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
6951 SWIG_TypeClientData(SWIGTYPE_p_wxCalculateLayoutEvent, obj);
6952 Py_INCREF(obj);
6953 return Py_BuildValue((char *)"");
6954}
6955static PyObject *_wrap_new_SashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
6956 PyObject *resultobj;
6957 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 6958 int arg2 ;
d14a1e28
RD
6959 wxPoint const &arg3_defvalue = wxDefaultPosition ;
6960 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
6961 wxSize const &arg4_defvalue = wxDefaultSize ;
6962 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
6963 long arg5 = (long) wxCLIP_CHILDREN|wxSW_3D ;
6964 wxString const &arg6_defvalue = wxPySashLayoutNameStr ;
6965 wxString *arg6 = (wxString *) &arg6_defvalue ;
6966 wxSashLayoutWindow *result;
6967 wxPoint temp3 ;
6968 wxSize temp4 ;
423f194a 6969 bool temp6 = False ;
d14a1e28
RD
6970 PyObject * obj0 = 0 ;
6971 PyObject * obj2 = 0 ;
6972 PyObject * obj3 = 0 ;
6973 PyObject * obj5 = 0 ;
6974 char *kwnames[] = {
6975 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6976 };
6977
6978 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_SashLayoutWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
6979 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
6980 if (obj2) {
6981 {
6982 arg3 = &temp3;
6983 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
6984 }
6985 }
6986 if (obj3) {
6987 {
6988 arg4 = &temp4;
6989 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
6990 }
6991 }
6992 if (obj5) {
6993 {
6994 arg6 = wxString_in_helper(obj5);
6995 if (arg6 == NULL) SWIG_fail;
423f194a 6996 temp6 = True;
d14a1e28
RD
6997 }
6998 }
6999 {
7000 PyThreadState* __tstate = wxPyBeginAllowThreads();
7001 result = (wxSashLayoutWindow *)new wxSashLayoutWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7002
7003 wxPyEndAllowThreads(__tstate);
7004 if (PyErr_Occurred()) SWIG_fail;
7005 }
7006 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7007 {
7008 if (temp6)
7009 delete arg6;
7010 }
7011 return resultobj;
7012 fail:
7013 {
7014 if (temp6)
7015 delete arg6;
7016 }
7017 return NULL;
7018}
7019
7020
7021static PyObject *_wrap_new_PreSashLayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7022 PyObject *resultobj;
7023 wxSashLayoutWindow *result;
7024 char *kwnames[] = {
7025 NULL
7026 };
7027
7028 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreSashLayoutWindow",kwnames)) goto fail;
7029 {
7030 PyThreadState* __tstate = wxPyBeginAllowThreads();
7031 result = (wxSashLayoutWindow *)new wxSashLayoutWindow();
7032
7033 wxPyEndAllowThreads(__tstate);
7034 if (PyErr_Occurred()) SWIG_fail;
7035 }
7036 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSashLayoutWindow, 1);
7037 return resultobj;
7038 fail:
7039 return NULL;
7040}
7041
7042
7043static PyObject *_wrap_SashLayoutWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7044 PyObject *resultobj;
7045 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7046 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 7047 int arg3 ;
d14a1e28
RD
7048 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7049 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7050 wxSize const &arg5_defvalue = wxDefaultSize ;
7051 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7052 long arg6 = (long) wxCLIP_CHILDREN|wxSW_3D ;
7053 wxString const &arg7_defvalue = wxPySashLayoutNameStr ;
7054 wxString *arg7 = (wxString *) &arg7_defvalue ;
7055 bool result;
7056 wxPoint temp4 ;
7057 wxSize temp5 ;
423f194a 7058 bool temp7 = False ;
d14a1e28
RD
7059 PyObject * obj0 = 0 ;
7060 PyObject * obj1 = 0 ;
7061 PyObject * obj3 = 0 ;
7062 PyObject * obj4 = 0 ;
7063 PyObject * obj6 = 0 ;
7064 char *kwnames[] = {
7065 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7066 };
7067
7068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOi|OOlO:SashLayoutWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7070 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7071 if (obj3) {
7072 {
7073 arg4 = &temp4;
7074 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7075 }
7076 }
7077 if (obj4) {
7078 {
7079 arg5 = &temp5;
7080 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7081 }
7082 }
7083 if (obj6) {
7084 {
7085 arg7 = wxString_in_helper(obj6);
7086 if (arg7 == NULL) SWIG_fail;
423f194a 7087 temp7 = True;
d14a1e28
RD
7088 }
7089 }
7090 {
7091 PyThreadState* __tstate = wxPyBeginAllowThreads();
7092 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7093
7094 wxPyEndAllowThreads(__tstate);
7095 if (PyErr_Occurred()) SWIG_fail;
7096 }
7097 resultobj = PyInt_FromLong((long)result);
7098 {
7099 if (temp7)
7100 delete arg7;
7101 }
7102 return resultobj;
7103 fail:
7104 {
7105 if (temp7)
7106 delete arg7;
7107 }
7108 return NULL;
7109}
7110
7111
7112static PyObject *_wrap_SashLayoutWindow_GetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7113 PyObject *resultobj;
7114 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7115 int result;
7116 PyObject * obj0 = 0 ;
7117 char *kwnames[] = {
7118 (char *) "self", NULL
7119 };
7120
7121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetAlignment",kwnames,&obj0)) goto fail;
7122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7123 {
7124 PyThreadState* __tstate = wxPyBeginAllowThreads();
7125 result = (int)(arg1)->GetAlignment();
7126
7127 wxPyEndAllowThreads(__tstate);
7128 if (PyErr_Occurred()) SWIG_fail;
7129 }
7130 resultobj = PyInt_FromLong((long)result);
7131 return resultobj;
7132 fail:
7133 return NULL;
7134}
7135
7136
7137static PyObject *_wrap_SashLayoutWindow_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7138 PyObject *resultobj;
7139 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7140 int result;
7141 PyObject * obj0 = 0 ;
7142 char *kwnames[] = {
7143 (char *) "self", NULL
7144 };
7145
7146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SashLayoutWindow_GetOrientation",kwnames,&obj0)) goto fail;
7147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7148 {
7149 PyThreadState* __tstate = wxPyBeginAllowThreads();
7150 result = (int)(arg1)->GetOrientation();
7151
7152 wxPyEndAllowThreads(__tstate);
7153 if (PyErr_Occurred()) SWIG_fail;
7154 }
7155 resultobj = PyInt_FromLong((long)result);
7156 return resultobj;
7157 fail:
7158 return NULL;
7159}
7160
7161
7162static PyObject *_wrap_SashLayoutWindow_SetAlignment(PyObject *self, PyObject *args, PyObject *kwargs) {
7163 PyObject *resultobj;
7164 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7165 int arg2 ;
7166 PyObject * obj0 = 0 ;
7167 char *kwnames[] = {
7168 (char *) "self",(char *) "alignment", NULL
7169 };
7170
7171 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetAlignment",kwnames,&obj0,&arg2)) goto fail;
7172 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7173 {
7174 PyThreadState* __tstate = wxPyBeginAllowThreads();
7175 (arg1)->SetAlignment((wxLayoutAlignment )arg2);
7176
7177 wxPyEndAllowThreads(__tstate);
7178 if (PyErr_Occurred()) SWIG_fail;
7179 }
7180 Py_INCREF(Py_None); resultobj = Py_None;
7181 return resultobj;
7182 fail:
7183 return NULL;
7184}
7185
7186
7187static PyObject *_wrap_SashLayoutWindow_SetDefaultSize(PyObject *self, PyObject *args, PyObject *kwargs) {
7188 PyObject *resultobj;
7189 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7190 wxSize *arg2 = 0 ;
7191 wxSize temp2 ;
7192 PyObject * obj0 = 0 ;
7193 PyObject * obj1 = 0 ;
7194 char *kwnames[] = {
7195 (char *) "self",(char *) "size", NULL
7196 };
7197
7198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames,&obj0,&obj1)) goto fail;
7199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7200 {
7201 arg2 = &temp2;
7202 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
7203 }
7204 {
7205 PyThreadState* __tstate = wxPyBeginAllowThreads();
7206 (arg1)->SetDefaultSize((wxSize const &)*arg2);
7207
7208 wxPyEndAllowThreads(__tstate);
7209 if (PyErr_Occurred()) SWIG_fail;
7210 }
7211 Py_INCREF(Py_None); resultobj = Py_None;
7212 return resultobj;
7213 fail:
7214 return NULL;
7215}
7216
7217
7218static PyObject *_wrap_SashLayoutWindow_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
7219 PyObject *resultobj;
7220 wxSashLayoutWindow *arg1 = (wxSashLayoutWindow *) 0 ;
7221 int arg2 ;
7222 PyObject * obj0 = 0 ;
7223 char *kwnames[] = {
7224 (char *) "self",(char *) "orientation", NULL
7225 };
7226
7227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SashLayoutWindow_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
7228 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSashLayoutWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7229 {
7230 PyThreadState* __tstate = wxPyBeginAllowThreads();
7231 (arg1)->SetOrientation((wxLayoutOrientation )arg2);
7232
7233 wxPyEndAllowThreads(__tstate);
7234 if (PyErr_Occurred()) SWIG_fail;
7235 }
7236 Py_INCREF(Py_None); resultobj = Py_None;
7237 return resultobj;
7238 fail:
7239 return NULL;
7240}
7241
7242
7243static PyObject * SashLayoutWindow_swigregister(PyObject *self, PyObject *args) {
7244 PyObject *obj;
7245 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7246 SWIG_TypeClientData(SWIGTYPE_p_wxSashLayoutWindow, obj);
7247 Py_INCREF(obj);
7248 return Py_BuildValue((char *)"");
7249}
7250static PyObject *_wrap_new_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7251 PyObject *resultobj;
7252 wxLayoutAlgorithm *result;
7253 char *kwnames[] = {
7254 NULL
7255 };
7256
7257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_LayoutAlgorithm",kwnames)) goto fail;
7258 {
7259 PyThreadState* __tstate = wxPyBeginAllowThreads();
7260 result = (wxLayoutAlgorithm *)new wxLayoutAlgorithm();
7261
7262 wxPyEndAllowThreads(__tstate);
7263 if (PyErr_Occurred()) SWIG_fail;
7264 }
7265 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxLayoutAlgorithm, 1);
7266 return resultobj;
7267 fail:
7268 return NULL;
7269}
7270
7271
7272static PyObject *_wrap_delete_LayoutAlgorithm(PyObject *self, PyObject *args, PyObject *kwargs) {
7273 PyObject *resultobj;
7274 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7275 PyObject * obj0 = 0 ;
7276 char *kwnames[] = {
7277 (char *) "self", NULL
7278 };
7279
7280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_LayoutAlgorithm",kwnames,&obj0)) goto fail;
7281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7282 {
7283 PyThreadState* __tstate = wxPyBeginAllowThreads();
7284 delete arg1;
7285
7286 wxPyEndAllowThreads(__tstate);
7287 if (PyErr_Occurred()) SWIG_fail;
7288 }
7289 Py_INCREF(Py_None); resultobj = Py_None;
7290 return resultobj;
7291 fail:
7292 return NULL;
7293}
7294
7295
7296static PyObject *_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7297 PyObject *resultobj;
7298 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7299 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
7300 wxRect *arg3 = (wxRect *) NULL ;
7301 bool result;
7302 PyObject * obj0 = 0 ;
7303 PyObject * obj1 = 0 ;
7304 PyObject * obj2 = 0 ;
7305 char *kwnames[] = {
7306 (char *) "self",(char *) "frame",(char *) "rect", NULL
7307 };
7308
7309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7311 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7312 if (obj2) {
7313 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7314 }
7315 {
7316 PyThreadState* __tstate = wxPyBeginAllowThreads();
7317 result = (bool)(arg1)->LayoutMDIFrame(arg2,arg3);
7318
7319 wxPyEndAllowThreads(__tstate);
7320 if (PyErr_Occurred()) SWIG_fail;
7321 }
7322 resultobj = PyInt_FromLong((long)result);
7323 return resultobj;
7324 fail:
7325 return NULL;
7326}
7327
7328
7329static PyObject *_wrap_LayoutAlgorithm_LayoutFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
7330 PyObject *resultobj;
7331 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7332 wxFrame *arg2 = (wxFrame *) 0 ;
7333 wxWindow *arg3 = (wxWindow *) NULL ;
7334 bool result;
7335 PyObject * obj0 = 0 ;
7336 PyObject * obj1 = 0 ;
7337 PyObject * obj2 = 0 ;
7338 char *kwnames[] = {
7339 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
7340 };
7341
7342 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames,&obj0,&obj1,&obj2)) goto fail;
7343 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7344 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7345 if (obj2) {
7346 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7347 }
7348 {
7349 PyThreadState* __tstate = wxPyBeginAllowThreads();
7350 result = (bool)(arg1)->LayoutFrame(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_LayoutAlgorithm_LayoutWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7363 PyObject *resultobj;
7364 wxLayoutAlgorithm *arg1 = (wxLayoutAlgorithm *) 0 ;
7365 wxWindow *arg2 = (wxWindow *) 0 ;
7366 wxWindow *arg3 = (wxWindow *) NULL ;
7367 bool result;
7368 PyObject * obj0 = 0 ;
7369 PyObject * obj1 = 0 ;
7370 PyObject * obj2 = 0 ;
7371 char *kwnames[] = {
7372 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
7373 };
7374
7375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
7376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxLayoutAlgorithm,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7377 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7378 if (obj2) {
7379 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7380 }
7381 {
7382 PyThreadState* __tstate = wxPyBeginAllowThreads();
7383 result = (bool)(arg1)->LayoutWindow(arg2,arg3);
7384
7385 wxPyEndAllowThreads(__tstate);
7386 if (PyErr_Occurred()) SWIG_fail;
7387 }
7388 resultobj = PyInt_FromLong((long)result);
7389 return resultobj;
7390 fail:
7391 return NULL;
7392}
7393
7394
7395static PyObject * LayoutAlgorithm_swigregister(PyObject *self, PyObject *args) {
7396 PyObject *obj;
7397 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7398 SWIG_TypeClientData(SWIGTYPE_p_wxLayoutAlgorithm, obj);
7399 Py_INCREF(obj);
7400 return Py_BuildValue((char *)"");
7401}
7402static PyObject *_wrap_new_PopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7403 PyObject *resultobj;
7404 wxWindow *arg1 = (wxWindow *) 0 ;
7405 int arg2 = (int) wxBORDER_NONE ;
7406 wxPopupWindow *result;
7407 PyObject * obj0 = 0 ;
7408 char *kwnames[] = {
7409 (char *) "parent",(char *) "flags", NULL
7410 };
7411
7412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupWindow",kwnames,&obj0,&arg2)) goto fail;
7413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7414 {
7415 PyThreadState* __tstate = wxPyBeginAllowThreads();
7416 result = (wxPopupWindow *)new wxPopupWindow(arg1,arg2);
7417
7418 wxPyEndAllowThreads(__tstate);
7419 if (PyErr_Occurred()) SWIG_fail;
7420 }
7421 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7422 return resultobj;
7423 fail:
7424 return NULL;
7425}
7426
7427
7428static PyObject *_wrap_new_PrePopupWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7429 PyObject *resultobj;
7430 wxPopupWindow *result;
7431 char *kwnames[] = {
7432 NULL
7433 };
7434
7435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupWindow",kwnames)) goto fail;
7436 {
7437 PyThreadState* __tstate = wxPyBeginAllowThreads();
7438 result = (wxPopupWindow *)new wxPopupWindow();
7439
7440 wxPyEndAllowThreads(__tstate);
7441 if (PyErr_Occurred()) SWIG_fail;
7442 }
7443 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPopupWindow, 1);
7444 return resultobj;
7445 fail:
7446 return NULL;
7447}
7448
7449
7450static PyObject * PopupWindow_swigregister(PyObject *self, PyObject *args) {
7451 PyObject *obj;
7452 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7453 SWIG_TypeClientData(SWIGTYPE_p_wxPopupWindow, obj);
7454 Py_INCREF(obj);
7455 return Py_BuildValue((char *)"");
7456}
7457static PyObject *_wrap_new_PopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7458 PyObject *resultobj;
7459 wxWindow *arg1 = (wxWindow *) 0 ;
7460 int arg2 = (int) wxBORDER_NONE ;
7461 wxPyPopupTransientWindow *result;
7462 PyObject * obj0 = 0 ;
7463 char *kwnames[] = {
7464 (char *) "parent",(char *) "style", NULL
7465 };
7466
7467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|i:new_PopupTransientWindow",kwnames,&obj0,&arg2)) goto fail;
7468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7469 {
7470 PyThreadState* __tstate = wxPyBeginAllowThreads();
7471 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow(arg1,arg2);
7472
7473 wxPyEndAllowThreads(__tstate);
7474 if (PyErr_Occurred()) SWIG_fail;
7475 }
7476 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7477 return resultobj;
7478 fail:
7479 return NULL;
7480}
7481
7482
7483static PyObject *_wrap_new_PrePopupTransientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7484 PyObject *resultobj;
7485 wxPyPopupTransientWindow *result;
7486 char *kwnames[] = {
7487 NULL
7488 };
7489
7490 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrePopupTransientWindow",kwnames)) goto fail;
7491 {
7492 PyThreadState* __tstate = wxPyBeginAllowThreads();
7493 result = (wxPyPopupTransientWindow *)new wxPyPopupTransientWindow();
7494
7495 wxPyEndAllowThreads(__tstate);
7496 if (PyErr_Occurred()) SWIG_fail;
7497 }
7498 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPopupTransientWindow, 1);
7499 return resultobj;
7500 fail:
7501 return NULL;
7502}
7503
7504
7505static PyObject * PopupTransientWindow_swigregister(PyObject *self, PyObject *args) {
7506 PyObject *obj;
7507 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7508 SWIG_TypeClientData(SWIGTYPE_p_wxPyPopupTransientWindow, obj);
7509 Py_INCREF(obj);
7510 return Py_BuildValue((char *)"");
7511}
7512static PyObject *_wrap_new_TipWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7513 PyObject *resultobj;
7514 wxWindow *arg1 = (wxWindow *) 0 ;
100c4552 7515 wxString *arg2 = 0 ;
423f194a 7516 int arg3 = (int) 100 ;
d14a1e28
RD
7517 wxRect *arg4 = (wxRect *) NULL ;
7518 wxTipWindow *result;
100c4552 7519 bool temp2 = False ;
d14a1e28
RD
7520 PyObject * obj0 = 0 ;
7521 PyObject * obj1 = 0 ;
7522 PyObject * obj3 = 0 ;
7523 char *kwnames[] = {
7524 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
7525 };
7526
7527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iO:new_TipWindow",kwnames,&obj0,&obj1,&arg3,&obj3)) goto fail;
7528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
100c4552
RD
7529 {
7530 arg2 = wxString_in_helper(obj1);
7531 if (arg2 == NULL) SWIG_fail;
7532 temp2 = True;
7533 }
d14a1e28
RD
7534 if (obj3) {
7535 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxRect,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7536 }
7537 {
7538 PyThreadState* __tstate = wxPyBeginAllowThreads();
100c4552 7539 result = (wxTipWindow *)new_wxTipWindow(arg1,(wxString const &)*arg2,arg3,arg4);
d14a1e28
RD
7540
7541 wxPyEndAllowThreads(__tstate);
7542 if (PyErr_Occurred()) SWIG_fail;
7543 }
7544 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTipWindow, 1);
100c4552
RD
7545 {
7546 if (temp2)
7547 delete arg2;
7548 }
d14a1e28
RD
7549 return resultobj;
7550 fail:
100c4552
RD
7551 {
7552 if (temp2)
7553 delete arg2;
7554 }
d14a1e28
RD
7555 return NULL;
7556}
7557
7558
7559static PyObject *_wrap_TipWindow_SetBoundingRect(PyObject *self, PyObject *args, PyObject *kwargs) {
7560 PyObject *resultobj;
7561 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7562 wxRect *arg2 = 0 ;
7563 wxRect temp2 ;
7564 PyObject * obj0 = 0 ;
7565 PyObject * obj1 = 0 ;
7566 char *kwnames[] = {
7567 (char *) "self",(char *) "rectBound", NULL
7568 };
7569
7570 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TipWindow_SetBoundingRect",kwnames,&obj0,&obj1)) goto fail;
7571 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7572 {
7573 arg2 = &temp2;
7574 if ( ! wxRect_helper(obj1, &arg2)) SWIG_fail;
7575 }
7576 {
7577 PyThreadState* __tstate = wxPyBeginAllowThreads();
7578 (arg1)->SetBoundingRect((wxRect const &)*arg2);
7579
7580 wxPyEndAllowThreads(__tstate);
7581 if (PyErr_Occurred()) SWIG_fail;
7582 }
7583 Py_INCREF(Py_None); resultobj = Py_None;
7584 return resultobj;
7585 fail:
7586 return NULL;
7587}
7588
7589
7590static PyObject *_wrap_TipWindow_Close(PyObject *self, PyObject *args, PyObject *kwargs) {
7591 PyObject *resultobj;
7592 wxTipWindow *arg1 = (wxTipWindow *) 0 ;
7593 PyObject * obj0 = 0 ;
7594 char *kwnames[] = {
7595 (char *) "self", NULL
7596 };
7597
7598 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TipWindow_Close",kwnames,&obj0)) goto fail;
7599 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTipWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7600 {
7601 PyThreadState* __tstate = wxPyBeginAllowThreads();
7602 (arg1)->Close();
7603
7604 wxPyEndAllowThreads(__tstate);
7605 if (PyErr_Occurred()) SWIG_fail;
7606 }
7607 Py_INCREF(Py_None); resultobj = Py_None;
7608 return resultobj;
7609 fail:
7610 return NULL;
7611}
7612
7613
7614static PyObject * TipWindow_swigregister(PyObject *self, PyObject *args) {
7615 PyObject *obj;
7616 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
7617 SWIG_TypeClientData(SWIGTYPE_p_wxTipWindow, obj);
7618 Py_INCREF(obj);
7619 return Py_BuildValue((char *)"");
7620}
7621static PyObject *_wrap_new_VScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7622 PyObject *resultobj;
7623 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 7624 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
7625 wxPoint const &arg3_defvalue = wxDefaultPosition ;
7626 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
7627 wxSize const &arg4_defvalue = wxDefaultSize ;
7628 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
7629 long arg5 = (long) 0 ;
7630 wxString const &arg6_defvalue = wxPyPanelNameStr ;
7631 wxString *arg6 = (wxString *) &arg6_defvalue ;
7632 wxPyVScrolledWindow *result;
7633 wxPoint temp3 ;
7634 wxSize temp4 ;
423f194a 7635 bool temp6 = False ;
d14a1e28
RD
7636 PyObject * obj0 = 0 ;
7637 PyObject * obj2 = 0 ;
7638 PyObject * obj3 = 0 ;
7639 PyObject * obj5 = 0 ;
7640 char *kwnames[] = {
7641 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7642 };
7643
7644 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VScrolledWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
7645 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7646 if (obj2) {
7647 {
7648 arg3 = &temp3;
7649 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
7650 }
7651 }
7652 if (obj3) {
7653 {
7654 arg4 = &temp4;
7655 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
7656 }
7657 }
7658 if (obj5) {
7659 {
7660 arg6 = wxString_in_helper(obj5);
7661 if (arg6 == NULL) SWIG_fail;
423f194a 7662 temp6 = True;
d14a1e28
RD
7663 }
7664 }
7665 {
7666 PyThreadState* __tstate = wxPyBeginAllowThreads();
7667 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
7668
7669 wxPyEndAllowThreads(__tstate);
7670 if (PyErr_Occurred()) SWIG_fail;
7671 }
7672 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7673 {
7674 if (temp6)
7675 delete arg6;
7676 }
7677 return resultobj;
7678 fail:
7679 {
7680 if (temp6)
7681 delete arg6;
7682 }
7683 return NULL;
7684}
7685
7686
7687static PyObject *_wrap_new_PreVScrolledWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
7688 PyObject *resultobj;
7689 wxPyVScrolledWindow *result;
7690 char *kwnames[] = {
7691 NULL
7692 };
7693
7694 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVScrolledWindow",kwnames)) goto fail;
7695 {
7696 PyThreadState* __tstate = wxPyBeginAllowThreads();
7697 result = (wxPyVScrolledWindow *)new wxPyVScrolledWindow();
7698
7699 wxPyEndAllowThreads(__tstate);
7700 if (PyErr_Occurred()) SWIG_fail;
7701 }
7702 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVScrolledWindow, 1);
7703 return resultobj;
7704 fail:
7705 return NULL;
7706}
7707
7708
7709static PyObject *_wrap_VScrolledWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
7710 PyObject *resultobj;
7711 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7712 PyObject *arg2 = (PyObject *) 0 ;
7713 PyObject *arg3 = (PyObject *) 0 ;
7714 PyObject * obj0 = 0 ;
7715 PyObject * obj1 = 0 ;
7716 PyObject * obj2 = 0 ;
7717 char *kwnames[] = {
7718 (char *) "self",(char *) "self",(char *) "_class", NULL
7719 };
7720
7721 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
7722 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7723 arg2 = obj1;
7724 arg3 = obj2;
7725 {
7726 PyThreadState* __tstate = wxPyBeginAllowThreads();
7727 (arg1)->_setCallbackInfo(arg2,arg3);
7728
7729 wxPyEndAllowThreads(__tstate);
7730 if (PyErr_Occurred()) SWIG_fail;
7731 }
7732 Py_INCREF(Py_None); resultobj = Py_None;
7733 return resultobj;
7734 fail:
7735 return NULL;
7736}
7737
7738
7739static PyObject *_wrap_VScrolledWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
7740 PyObject *resultobj;
7741 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7742 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 7743 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
7744 wxPoint const &arg4_defvalue = wxDefaultPosition ;
7745 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
7746 wxSize const &arg5_defvalue = wxDefaultSize ;
7747 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
7748 long arg6 = (long) 0 ;
7749 wxString const &arg7_defvalue = wxPyPanelNameStr ;
7750 wxString *arg7 = (wxString *) &arg7_defvalue ;
7751 bool result;
7752 wxPoint temp4 ;
7753 wxSize temp5 ;
423f194a 7754 bool temp7 = False ;
d14a1e28
RD
7755 PyObject * obj0 = 0 ;
7756 PyObject * obj1 = 0 ;
7757 PyObject * obj3 = 0 ;
7758 PyObject * obj4 = 0 ;
7759 PyObject * obj6 = 0 ;
7760 char *kwnames[] = {
7761 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7762 };
7763
7764 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VScrolledWindow_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
7765 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7766 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7767 if (obj3) {
7768 {
7769 arg4 = &temp4;
7770 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
7771 }
7772 }
7773 if (obj4) {
7774 {
7775 arg5 = &temp5;
7776 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
7777 }
7778 }
7779 if (obj6) {
7780 {
7781 arg7 = wxString_in_helper(obj6);
7782 if (arg7 == NULL) SWIG_fail;
423f194a 7783 temp7 = True;
d14a1e28
RD
7784 }
7785 }
7786 {
7787 PyThreadState* __tstate = wxPyBeginAllowThreads();
7788 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
7789
7790 wxPyEndAllowThreads(__tstate);
7791 if (PyErr_Occurred()) SWIG_fail;
7792 }
7793 resultobj = PyInt_FromLong((long)result);
7794 {
7795 if (temp7)
7796 delete arg7;
7797 }
7798 return resultobj;
7799 fail:
7800 {
7801 if (temp7)
7802 delete arg7;
7803 }
7804 return NULL;
7805}
7806
7807
7808static PyObject *_wrap_VScrolledWindow_SetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
7809 PyObject *resultobj;
7810 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7811 size_t arg2 ;
7812 PyObject * obj0 = 0 ;
7813 PyObject * obj1 = 0 ;
7814 char *kwnames[] = {
7815 (char *) "self",(char *) "count", NULL
7816 };
7817
7818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_SetLineCount",kwnames,&obj0,&obj1)) goto fail;
7819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7820 arg2 = (size_t) PyInt_AsLong(obj1);
7821 if (PyErr_Occurred()) SWIG_fail;
7822 {
7823 PyThreadState* __tstate = wxPyBeginAllowThreads();
7824 (arg1)->SetLineCount(arg2);
7825
7826 wxPyEndAllowThreads(__tstate);
7827 if (PyErr_Occurred()) SWIG_fail;
7828 }
7829 Py_INCREF(Py_None); resultobj = Py_None;
7830 return resultobj;
7831 fail:
7832 return NULL;
7833}
7834
7835
7836static PyObject *_wrap_VScrolledWindow_ScrollToLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7837 PyObject *resultobj;
7838 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7839 size_t arg2 ;
7840 bool result;
7841 PyObject * obj0 = 0 ;
7842 PyObject * obj1 = 0 ;
7843 char *kwnames[] = {
7844 (char *) "self",(char *) "line", NULL
7845 };
7846
7847 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames,&obj0,&obj1)) goto fail;
7848 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7849 arg2 = (size_t) PyInt_AsLong(obj1);
7850 if (PyErr_Occurred()) SWIG_fail;
7851 {
7852 PyThreadState* __tstate = wxPyBeginAllowThreads();
7853 result = (bool)(arg1)->ScrollToLine(arg2);
7854
7855 wxPyEndAllowThreads(__tstate);
7856 if (PyErr_Occurred()) SWIG_fail;
7857 }
7858 resultobj = PyInt_FromLong((long)result);
7859 return resultobj;
7860 fail:
7861 return NULL;
7862}
7863
7864
7865static PyObject *_wrap_VScrolledWindow_ScrollLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7866 PyObject *resultobj;
7867 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7868 int arg2 ;
7869 bool result;
7870 PyObject * obj0 = 0 ;
7871 char *kwnames[] = {
7872 (char *) "self",(char *) "lines", NULL
7873 };
7874
7875 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollLines",kwnames,&obj0,&arg2)) goto fail;
7876 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7877 {
7878 PyThreadState* __tstate = wxPyBeginAllowThreads();
7879 result = (bool)(arg1)->ScrollLines(arg2);
7880
7881 wxPyEndAllowThreads(__tstate);
7882 if (PyErr_Occurred()) SWIG_fail;
7883 }
7884 resultobj = PyInt_FromLong((long)result);
7885 return resultobj;
7886 fail:
7887 return NULL;
7888}
7889
7890
7891static PyObject *_wrap_VScrolledWindow_ScrollPages(PyObject *self, PyObject *args, PyObject *kwargs) {
7892 PyObject *resultobj;
7893 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7894 int arg2 ;
7895 bool result;
7896 PyObject * obj0 = 0 ;
7897 char *kwnames[] = {
7898 (char *) "self",(char *) "pages", NULL
7899 };
7900
7901 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VScrolledWindow_ScrollPages",kwnames,&obj0,&arg2)) goto fail;
7902 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7903 {
7904 PyThreadState* __tstate = wxPyBeginAllowThreads();
7905 result = (bool)(arg1)->ScrollPages(arg2);
7906
7907 wxPyEndAllowThreads(__tstate);
7908 if (PyErr_Occurred()) SWIG_fail;
7909 }
7910 resultobj = PyInt_FromLong((long)result);
7911 return resultobj;
7912 fail:
7913 return NULL;
7914}
7915
7916
7917static PyObject *_wrap_VScrolledWindow_RefreshLine(PyObject *self, PyObject *args, PyObject *kwargs) {
7918 PyObject *resultobj;
7919 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7920 size_t arg2 ;
7921 PyObject * obj0 = 0 ;
7922 PyObject * obj1 = 0 ;
7923 char *kwnames[] = {
7924 (char *) "self",(char *) "line", NULL
7925 };
7926
7927 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_RefreshLine",kwnames,&obj0,&obj1)) goto fail;
7928 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7929 arg2 = (size_t) PyInt_AsLong(obj1);
7930 if (PyErr_Occurred()) SWIG_fail;
7931 {
7932 PyThreadState* __tstate = wxPyBeginAllowThreads();
7933 (arg1)->RefreshLine(arg2);
7934
7935 wxPyEndAllowThreads(__tstate);
7936 if (PyErr_Occurred()) SWIG_fail;
7937 }
7938 Py_INCREF(Py_None); resultobj = Py_None;
7939 return resultobj;
7940 fail:
7941 return NULL;
7942}
7943
7944
7945static PyObject *_wrap_VScrolledWindow_RefreshLines(PyObject *self, PyObject *args, PyObject *kwargs) {
7946 PyObject *resultobj;
7947 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
7948 size_t arg2 ;
7949 size_t arg3 ;
7950 PyObject * obj0 = 0 ;
7951 PyObject * obj1 = 0 ;
7952 PyObject * obj2 = 0 ;
7953 char *kwnames[] = {
7954 (char *) "self",(char *) "from",(char *) "to", NULL
7955 };
7956
7957 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames,&obj0,&obj1,&obj2)) goto fail;
7958 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7959 arg2 = (size_t) PyInt_AsLong(obj1);
7960 if (PyErr_Occurred()) SWIG_fail;
7961 arg3 = (size_t) PyInt_AsLong(obj2);
7962 if (PyErr_Occurred()) SWIG_fail;
7963 {
7964 PyThreadState* __tstate = wxPyBeginAllowThreads();
7965 (arg1)->RefreshLines(arg2,arg3);
7966
7967 wxPyEndAllowThreads(__tstate);
7968 if (PyErr_Occurred()) SWIG_fail;
7969 }
7970 Py_INCREF(Py_None); resultobj = Py_None;
7971 return resultobj;
7972 fail:
7973 return NULL;
7974}
7975
7976
7977static PyObject *_wrap_VScrolledWindow_HitTestXT(PyObject *self, PyObject *args, PyObject *kwargs) {
7978 PyObject *resultobj;
7979 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
423f194a
RD
7980 int arg2 ;
7981 int arg3 ;
d14a1e28
RD
7982 int result;
7983 PyObject * obj0 = 0 ;
7984 char *kwnames[] = {
7985 (char *) "self",(char *) "x",(char *) "y", NULL
7986 };
7987
7988 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VScrolledWindow_HitTestXT",kwnames,&obj0,&arg2,&arg3)) goto fail;
7989 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
7990 {
7991 PyThreadState* __tstate = wxPyBeginAllowThreads();
7992 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest(arg2,arg3);
7993
7994 wxPyEndAllowThreads(__tstate);
7995 if (PyErr_Occurred()) SWIG_fail;
7996 }
7997 resultobj = PyInt_FromLong((long)result);
7998 return resultobj;
7999 fail:
8000 return NULL;
8001}
8002
8003
8004static PyObject *_wrap_VScrolledWindow_HitTest(PyObject *self, PyObject *args, PyObject *kwargs) {
8005 PyObject *resultobj;
8006 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8007 wxPoint *arg2 = 0 ;
8008 int result;
8009 wxPoint temp2 ;
8010 PyObject * obj0 = 0 ;
8011 PyObject * obj1 = 0 ;
8012 char *kwnames[] = {
8013 (char *) "self",(char *) "pt", NULL
8014 };
8015
8016 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_HitTest",kwnames,&obj0,&obj1)) goto fail;
8017 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8018 {
8019 arg2 = &temp2;
8020 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8021 }
8022 {
8023 PyThreadState* __tstate = wxPyBeginAllowThreads();
8024 result = (int)((wxPyVScrolledWindow const *)arg1)->HitTest((wxPoint const &)*arg2);
8025
8026 wxPyEndAllowThreads(__tstate);
8027 if (PyErr_Occurred()) SWIG_fail;
8028 }
8029 resultobj = PyInt_FromLong((long)result);
8030 return resultobj;
8031 fail:
8032 return NULL;
8033}
8034
8035
8036static PyObject *_wrap_VScrolledWindow_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8037 PyObject *resultobj;
8038 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8039 PyObject * obj0 = 0 ;
8040 char *kwnames[] = {
8041 (char *) "self", NULL
8042 };
8043
8044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_RefreshAll",kwnames,&obj0)) goto fail;
8045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8046 {
8047 PyThreadState* __tstate = wxPyBeginAllowThreads();
8048 (arg1)->RefreshAll();
8049
8050 wxPyEndAllowThreads(__tstate);
8051 if (PyErr_Occurred()) SWIG_fail;
8052 }
8053 Py_INCREF(Py_None); resultobj = Py_None;
8054 return resultobj;
8055 fail:
8056 return NULL;
8057}
8058
8059
8060static PyObject *_wrap_VScrolledWindow_GetLineCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8061 PyObject *resultobj;
8062 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8063 size_t result;
8064 PyObject * obj0 = 0 ;
8065 char *kwnames[] = {
8066 (char *) "self", NULL
8067 };
8068
8069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLineCount",kwnames,&obj0)) goto fail;
8070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8071 {
8072 PyThreadState* __tstate = wxPyBeginAllowThreads();
8073 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLineCount();
8074
8075 wxPyEndAllowThreads(__tstate);
8076 if (PyErr_Occurred()) SWIG_fail;
8077 }
8078 resultobj = PyInt_FromLong((long)result);
8079 return resultobj;
8080 fail:
8081 return NULL;
8082}
8083
8084
8085static PyObject *_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8086 PyObject *resultobj;
8087 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8088 size_t result;
8089 PyObject * obj0 = 0 ;
8090 char *kwnames[] = {
8091 (char *) "self", NULL
8092 };
8093
8094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetFirstVisibleLine",kwnames,&obj0)) goto fail;
8095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8096 {
8097 PyThreadState* __tstate = wxPyBeginAllowThreads();
8098 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetFirstVisibleLine();
8099
8100 wxPyEndAllowThreads(__tstate);
8101 if (PyErr_Occurred()) SWIG_fail;
8102 }
8103 resultobj = PyInt_FromLong((long)result);
8104 return resultobj;
8105 fail:
8106 return NULL;
8107}
8108
8109
8110static PyObject *_wrap_VScrolledWindow_GetLastVisibleLine(PyObject *self, PyObject *args, PyObject *kwargs) {
8111 PyObject *resultobj;
8112 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8113 size_t result;
8114 PyObject * obj0 = 0 ;
8115 char *kwnames[] = {
8116 (char *) "self", NULL
8117 };
8118
8119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VScrolledWindow_GetLastVisibleLine",kwnames,&obj0)) goto fail;
8120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8121 {
8122 PyThreadState* __tstate = wxPyBeginAllowThreads();
8123 result = (size_t)((wxPyVScrolledWindow const *)arg1)->GetLastVisibleLine();
8124
8125 wxPyEndAllowThreads(__tstate);
8126 if (PyErr_Occurred()) SWIG_fail;
8127 }
8128 resultobj = PyInt_FromLong((long)result);
8129 return resultobj;
8130 fail:
8131 return NULL;
8132}
8133
8134
8135static PyObject *_wrap_VScrolledWindow_IsVisible(PyObject *self, PyObject *args, PyObject *kwargs) {
8136 PyObject *resultobj;
8137 wxPyVScrolledWindow *arg1 = (wxPyVScrolledWindow *) 0 ;
8138 size_t arg2 ;
8139 bool result;
8140 PyObject * obj0 = 0 ;
8141 PyObject * obj1 = 0 ;
8142 char *kwnames[] = {
8143 (char *) "self",(char *) "line", NULL
8144 };
8145
8146 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VScrolledWindow_IsVisible",kwnames,&obj0,&obj1)) goto fail;
8147 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVScrolledWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8148 arg2 = (size_t) PyInt_AsLong(obj1);
8149 if (PyErr_Occurred()) SWIG_fail;
8150 {
8151 PyThreadState* __tstate = wxPyBeginAllowThreads();
8152 result = (bool)((wxPyVScrolledWindow const *)arg1)->IsVisible(arg2);
8153
8154 wxPyEndAllowThreads(__tstate);
8155 if (PyErr_Occurred()) SWIG_fail;
8156 }
8157 resultobj = PyInt_FromLong((long)result);
8158 return resultobj;
8159 fail:
8160 return NULL;
8161}
8162
8163
8164static PyObject * VScrolledWindow_swigregister(PyObject *self, PyObject *args) {
8165 PyObject *obj;
8166 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8167 SWIG_TypeClientData(SWIGTYPE_p_wxPyVScrolledWindow, obj);
8168 Py_INCREF(obj);
8169 return Py_BuildValue((char *)"");
8170}
cbd72d4f
RD
8171static int _wrap_VListBoxNameStr_set(PyObject *_val) {
8172 PyErr_SetString(PyExc_TypeError,"Variable VListBoxNameStr is read-only.");
8173 return 1;
8174}
8175
8176
8177static PyObject *_wrap_VListBoxNameStr_get() {
8178 PyObject *pyobj;
8179
8180 {
8181#if wxUSE_UNICODE
8182 pyobj = PyUnicode_FromWideChar((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8183#else
8184 pyobj = PyString_FromStringAndSize((&wxPyVListBoxNameStr)->c_str(), (&wxPyVListBoxNameStr)->Len());
8185#endif
8186 }
8187 return pyobj;
8188}
8189
8190
d14a1e28
RD
8191static PyObject *_wrap_new_VListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8192 PyObject *resultobj;
8193 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 8194 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
8195 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8196 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8197 wxSize const &arg4_defvalue = wxDefaultSize ;
8198 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8199 long arg5 = (long) 0 ;
8200 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8201 wxString *arg6 = (wxString *) &arg6_defvalue ;
8202 wxPyVListBox *result;
8203 wxPoint temp3 ;
8204 wxSize temp4 ;
423f194a 8205 bool temp6 = False ;
d14a1e28
RD
8206 PyObject * obj0 = 0 ;
8207 PyObject * obj2 = 0 ;
8208 PyObject * obj3 = 0 ;
8209 PyObject * obj5 = 0 ;
8210 char *kwnames[] = {
8211 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8212 };
8213
8214 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_VListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8215 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8216 if (obj2) {
8217 {
8218 arg3 = &temp3;
8219 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
8220 }
8221 }
8222 if (obj3) {
8223 {
8224 arg4 = &temp4;
8225 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
8226 }
8227 }
8228 if (obj5) {
8229 {
8230 arg6 = wxString_in_helper(obj5);
8231 if (arg6 == NULL) SWIG_fail;
423f194a 8232 temp6 = True;
d14a1e28
RD
8233 }
8234 }
8235 {
8236 PyThreadState* __tstate = wxPyBeginAllowThreads();
8237 result = (wxPyVListBox *)new wxPyVListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
8238
8239 wxPyEndAllowThreads(__tstate);
8240 if (PyErr_Occurred()) SWIG_fail;
8241 }
8242 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8243 {
8244 if (temp6)
8245 delete arg6;
8246 }
8247 return resultobj;
8248 fail:
8249 {
8250 if (temp6)
8251 delete arg6;
8252 }
8253 return NULL;
8254}
8255
8256
8257static PyObject *_wrap_new_PreVListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8258 PyObject *resultobj;
8259 wxPyVListBox *result;
8260 char *kwnames[] = {
8261 NULL
8262 };
8263
8264 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreVListBox",kwnames)) goto fail;
8265 {
8266 PyThreadState* __tstate = wxPyBeginAllowThreads();
8267 result = (wxPyVListBox *)new wxPyVListBox();
8268
8269 wxPyEndAllowThreads(__tstate);
8270 if (PyErr_Occurred()) SWIG_fail;
8271 }
8272 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyVListBox, 1);
8273 return resultobj;
8274 fail:
8275 return NULL;
8276}
8277
8278
8279static PyObject *_wrap_VListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
8280 PyObject *resultobj;
8281 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8282 PyObject *arg2 = (PyObject *) 0 ;
8283 PyObject *arg3 = (PyObject *) 0 ;
8284 PyObject * obj0 = 0 ;
8285 PyObject * obj1 = 0 ;
8286 PyObject * obj2 = 0 ;
8287 char *kwnames[] = {
8288 (char *) "self",(char *) "self",(char *) "_class", NULL
8289 };
8290
8291 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
8292 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8293 arg2 = obj1;
8294 arg3 = obj2;
8295 {
8296 PyThreadState* __tstate = wxPyBeginAllowThreads();
8297 (arg1)->_setCallbackInfo(arg2,arg3);
8298
8299 wxPyEndAllowThreads(__tstate);
8300 if (PyErr_Occurred()) SWIG_fail;
8301 }
8302 Py_INCREF(Py_None); resultobj = Py_None;
8303 return resultobj;
8304 fail:
8305 return NULL;
8306}
8307
8308
8309static PyObject *_wrap_VListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
8310 PyObject *resultobj;
8311 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8312 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 8313 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
8314 wxPoint const &arg4_defvalue = wxDefaultPosition ;
8315 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
8316 wxSize const &arg5_defvalue = wxDefaultSize ;
8317 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
8318 long arg6 = (long) 0 ;
8319 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
8320 wxString *arg7 = (wxString *) &arg7_defvalue ;
8321 bool result;
8322 wxPoint temp4 ;
8323 wxSize temp5 ;
423f194a 8324 bool temp7 = False ;
d14a1e28
RD
8325 PyObject * obj0 = 0 ;
8326 PyObject * obj1 = 0 ;
8327 PyObject * obj3 = 0 ;
8328 PyObject * obj4 = 0 ;
8329 PyObject * obj6 = 0 ;
8330 char *kwnames[] = {
8331 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8332 };
8333
8334 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:VListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
8335 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8336 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8337 if (obj3) {
8338 {
8339 arg4 = &temp4;
8340 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
8341 }
8342 }
8343 if (obj4) {
8344 {
8345 arg5 = &temp5;
8346 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
8347 }
8348 }
8349 if (obj6) {
8350 {
8351 arg7 = wxString_in_helper(obj6);
8352 if (arg7 == NULL) SWIG_fail;
423f194a 8353 temp7 = True;
d14a1e28
RD
8354 }
8355 }
8356 {
8357 PyThreadState* __tstate = wxPyBeginAllowThreads();
8358 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
8359
8360 wxPyEndAllowThreads(__tstate);
8361 if (PyErr_Occurred()) SWIG_fail;
8362 }
8363 resultobj = PyInt_FromLong((long)result);
8364 {
8365 if (temp7)
8366 delete arg7;
8367 }
8368 return resultobj;
8369 fail:
8370 {
8371 if (temp7)
8372 delete arg7;
8373 }
8374 return NULL;
8375}
8376
8377
8378static PyObject *_wrap_VListBox_GetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8379 PyObject *resultobj;
8380 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8381 size_t result;
8382 PyObject * obj0 = 0 ;
8383 char *kwnames[] = {
8384 (char *) "self", NULL
8385 };
8386
8387 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetItemCount",kwnames,&obj0)) goto fail;
8388 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8389 {
8390 PyThreadState* __tstate = wxPyBeginAllowThreads();
8391 result = (size_t)((wxPyVListBox const *)arg1)->GetItemCount();
8392
8393 wxPyEndAllowThreads(__tstate);
8394 if (PyErr_Occurred()) SWIG_fail;
8395 }
8396 resultobj = PyInt_FromLong((long)result);
8397 return resultobj;
8398 fail:
8399 return NULL;
8400}
8401
8402
8403static PyObject *_wrap_VListBox_HasMultipleSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8404 PyObject *resultobj;
8405 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8406 bool result;
8407 PyObject * obj0 = 0 ;
8408 char *kwnames[] = {
8409 (char *) "self", NULL
8410 };
8411
8412 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_HasMultipleSelection",kwnames,&obj0)) goto fail;
8413 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8414 {
8415 PyThreadState* __tstate = wxPyBeginAllowThreads();
8416 result = (bool)((wxPyVListBox const *)arg1)->HasMultipleSelection();
8417
8418 wxPyEndAllowThreads(__tstate);
8419 if (PyErr_Occurred()) SWIG_fail;
8420 }
8421 resultobj = PyInt_FromLong((long)result);
8422 return resultobj;
8423 fail:
8424 return NULL;
8425}
8426
8427
8428static PyObject *_wrap_VListBox_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8429 PyObject *resultobj;
8430 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8431 int result;
8432 PyObject * obj0 = 0 ;
8433 char *kwnames[] = {
8434 (char *) "self", NULL
8435 };
8436
8437 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelection",kwnames,&obj0)) goto fail;
8438 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8439 {
8440 PyThreadState* __tstate = wxPyBeginAllowThreads();
8441 result = (int)((wxPyVListBox const *)arg1)->GetSelection();
8442
8443 wxPyEndAllowThreads(__tstate);
8444 if (PyErr_Occurred()) SWIG_fail;
8445 }
8446 resultobj = PyInt_FromLong((long)result);
8447 return resultobj;
8448 fail:
8449 return NULL;
8450}
8451
8452
8453static PyObject *_wrap_VListBox_IsCurrent(PyObject *self, PyObject *args, PyObject *kwargs) {
8454 PyObject *resultobj;
8455 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8456 size_t arg2 ;
8457 bool result;
8458 PyObject * obj0 = 0 ;
8459 PyObject * obj1 = 0 ;
8460 char *kwnames[] = {
8461 (char *) "self",(char *) "item", NULL
8462 };
8463
8464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsCurrent",kwnames,&obj0,&obj1)) goto fail;
8465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8466 arg2 = (size_t) PyInt_AsLong(obj1);
8467 if (PyErr_Occurred()) SWIG_fail;
8468 {
8469 PyThreadState* __tstate = wxPyBeginAllowThreads();
8470 result = (bool)((wxPyVListBox const *)arg1)->IsCurrent(arg2);
8471
8472 wxPyEndAllowThreads(__tstate);
8473 if (PyErr_Occurred()) SWIG_fail;
8474 }
8475 resultobj = PyInt_FromLong((long)result);
8476 return resultobj;
8477 fail:
8478 return NULL;
8479}
8480
8481
8482static PyObject *_wrap_VListBox_IsSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8483 PyObject *resultobj;
8484 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8485 size_t arg2 ;
8486 bool result;
8487 PyObject * obj0 = 0 ;
8488 PyObject * obj1 = 0 ;
8489 char *kwnames[] = {
8490 (char *) "self",(char *) "item", NULL
8491 };
8492
8493 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_IsSelected",kwnames,&obj0,&obj1)) goto fail;
8494 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8495 arg2 = (size_t) PyInt_AsLong(obj1);
8496 if (PyErr_Occurred()) SWIG_fail;
8497 {
8498 PyThreadState* __tstate = wxPyBeginAllowThreads();
8499 result = (bool)((wxPyVListBox const *)arg1)->IsSelected(arg2);
8500
8501 wxPyEndAllowThreads(__tstate);
8502 if (PyErr_Occurred()) SWIG_fail;
8503 }
8504 resultobj = PyInt_FromLong((long)result);
8505 return resultobj;
8506 fail:
8507 return NULL;
8508}
8509
8510
8511static PyObject *_wrap_VListBox_GetSelectedCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8512 PyObject *resultobj;
8513 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8514 size_t result;
8515 PyObject * obj0 = 0 ;
8516 char *kwnames[] = {
8517 (char *) "self", NULL
8518 };
8519
8520 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectedCount",kwnames,&obj0)) goto fail;
8521 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8522 {
8523 PyThreadState* __tstate = wxPyBeginAllowThreads();
8524 result = (size_t)((wxPyVListBox const *)arg1)->GetSelectedCount();
8525
8526 wxPyEndAllowThreads(__tstate);
8527 if (PyErr_Occurred()) SWIG_fail;
8528 }
8529 resultobj = PyInt_FromLong((long)result);
8530 return resultobj;
8531 fail:
8532 return NULL;
8533}
8534
8535
8536static PyObject *_wrap_VListBox_GetFirstSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8537 PyObject *resultobj;
8538 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8539 unsigned long *arg2 = 0 ;
8540 int result;
8541 PyObject * obj0 = 0 ;
8542 PyObject * obj1 = 0 ;
8543 char *kwnames[] = {
8544 (char *) "self",(char *) "cookie", NULL
8545 };
8546
8547 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetFirstSelected",kwnames,&obj0,&obj1)) goto fail;
8548 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8549 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8550 if (arg2 == NULL) {
8551 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8552 }
8553 {
8554 PyThreadState* __tstate = wxPyBeginAllowThreads();
8555 result = (int)((wxPyVListBox const *)arg1)->GetFirstSelected(*arg2);
8556
8557 wxPyEndAllowThreads(__tstate);
8558 if (PyErr_Occurred()) SWIG_fail;
8559 }
8560 resultobj = PyInt_FromLong((long)result);
8561 return resultobj;
8562 fail:
8563 return NULL;
8564}
8565
8566
8567static PyObject *_wrap_VListBox_GetNextSelected(PyObject *self, PyObject *args, PyObject *kwargs) {
8568 PyObject *resultobj;
8569 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8570 unsigned long *arg2 = 0 ;
8571 int result;
8572 PyObject * obj0 = 0 ;
8573 PyObject * obj1 = 0 ;
8574 char *kwnames[] = {
8575 (char *) "self",(char *) "cookie", NULL
8576 };
8577
8578 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_GetNextSelected",kwnames,&obj0,&obj1)) goto fail;
8579 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8580 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_unsigned_long,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8581 if (arg2 == NULL) {
8582 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
8583 }
8584 {
8585 PyThreadState* __tstate = wxPyBeginAllowThreads();
8586 result = (int)((wxPyVListBox const *)arg1)->GetNextSelected(*arg2);
8587
8588 wxPyEndAllowThreads(__tstate);
8589 if (PyErr_Occurred()) SWIG_fail;
8590 }
8591 resultobj = PyInt_FromLong((long)result);
8592 return resultobj;
8593 fail:
8594 return NULL;
8595}
8596
8597
8598static PyObject *_wrap_VListBox_GetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8599 PyObject *resultobj;
8600 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8601 wxPoint result;
8602 PyObject * obj0 = 0 ;
8603 char *kwnames[] = {
8604 (char *) "self", NULL
8605 };
8606
8607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetMargins",kwnames,&obj0)) goto fail;
8608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8609 {
8610 PyThreadState* __tstate = wxPyBeginAllowThreads();
8611 result = ((wxPyVListBox const *)arg1)->GetMargins();
8612
8613 wxPyEndAllowThreads(__tstate);
8614 if (PyErr_Occurred()) SWIG_fail;
8615 }
8616 {
8617 wxPoint * resultptr;
8618 resultptr = new wxPoint((wxPoint &) result);
8619 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
8620 }
8621 return resultobj;
8622 fail:
8623 return NULL;
8624}
8625
8626
8627static PyObject *_wrap_VListBox_GetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8628 PyObject *resultobj;
8629 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8630 wxColour *result;
8631 PyObject * obj0 = 0 ;
8632 char *kwnames[] = {
8633 (char *) "self", NULL
8634 };
8635
8636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_GetSelectionBackground",kwnames,&obj0)) goto fail;
8637 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8638 {
8639 PyThreadState* __tstate = wxPyBeginAllowThreads();
8640 {
8641 wxColour const &_result_ref = ((wxPyVListBox const *)arg1)->GetSelectionBackground();
8642 result = (wxColour *) &_result_ref;
8643 }
8644
8645 wxPyEndAllowThreads(__tstate);
8646 if (PyErr_Occurred()) SWIG_fail;
8647 }
8648 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColour, 0);
8649 return resultobj;
8650 fail:
8651 return NULL;
8652}
8653
8654
8655static PyObject *_wrap_VListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
8656 PyObject *resultobj;
8657 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8658 size_t arg2 ;
8659 PyObject * obj0 = 0 ;
8660 PyObject * obj1 = 0 ;
8661 char *kwnames[] = {
8662 (char *) "self",(char *) "count", NULL
8663 };
8664
8665 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
8666 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8667 arg2 = (size_t) PyInt_AsLong(obj1);
8668 if (PyErr_Occurred()) SWIG_fail;
8669 {
8670 PyThreadState* __tstate = wxPyBeginAllowThreads();
8671 (arg1)->SetItemCount(arg2);
8672
8673 wxPyEndAllowThreads(__tstate);
8674 if (PyErr_Occurred()) SWIG_fail;
8675 }
8676 Py_INCREF(Py_None); resultobj = Py_None;
8677 return resultobj;
8678 fail:
8679 return NULL;
8680}
8681
8682
8683static PyObject *_wrap_VListBox_Clear(PyObject *self, PyObject *args, PyObject *kwargs) {
8684 PyObject *resultobj;
8685 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8686 PyObject * obj0 = 0 ;
8687 char *kwnames[] = {
8688 (char *) "self", NULL
8689 };
8690
8691 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_Clear",kwnames,&obj0)) goto fail;
8692 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8693 {
8694 PyThreadState* __tstate = wxPyBeginAllowThreads();
8695 (arg1)->Clear();
8696
8697 wxPyEndAllowThreads(__tstate);
8698 if (PyErr_Occurred()) SWIG_fail;
8699 }
8700 Py_INCREF(Py_None); resultobj = Py_None;
8701 return resultobj;
8702 fail:
8703 return NULL;
8704}
8705
8706
8707static PyObject *_wrap_VListBox_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
8708 PyObject *resultobj;
8709 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8710 int arg2 ;
8711 PyObject * obj0 = 0 ;
8712 char *kwnames[] = {
8713 (char *) "self",(char *) "selection", NULL
8714 };
8715
8716 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:VListBox_SetSelection",kwnames,&obj0,&arg2)) goto fail;
8717 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8718 {
8719 PyThreadState* __tstate = wxPyBeginAllowThreads();
8720 (arg1)->SetSelection(arg2);
8721
8722 wxPyEndAllowThreads(__tstate);
8723 if (PyErr_Occurred()) SWIG_fail;
8724 }
8725 Py_INCREF(Py_None); resultobj = Py_None;
8726 return resultobj;
8727 fail:
8728 return NULL;
8729}
8730
8731
8732static PyObject *_wrap_VListBox_Select(PyObject *self, PyObject *args, PyObject *kwargs) {
8733 PyObject *resultobj;
8734 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8735 size_t arg2 ;
423f194a 8736 bool arg3 = (bool) True ;
d14a1e28
RD
8737 bool result;
8738 PyObject * obj0 = 0 ;
8739 PyObject * obj1 = 0 ;
8740 PyObject * obj2 = 0 ;
8741 char *kwnames[] = {
8742 (char *) "self",(char *) "item",(char *) "select", NULL
8743 };
8744
8745 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:VListBox_Select",kwnames,&obj0,&obj1,&obj2)) goto fail;
8746 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8747 arg2 = (size_t) PyInt_AsLong(obj1);
8748 if (PyErr_Occurred()) SWIG_fail;
8749 if (obj2) {
8750 arg3 = PyInt_AsLong(obj2) ? true : false;
8751 if (PyErr_Occurred()) SWIG_fail;
8752 }
8753 {
8754 PyThreadState* __tstate = wxPyBeginAllowThreads();
8755 result = (bool)(arg1)->Select(arg2,arg3);
8756
8757 wxPyEndAllowThreads(__tstate);
8758 if (PyErr_Occurred()) SWIG_fail;
8759 }
8760 resultobj = PyInt_FromLong((long)result);
8761 return resultobj;
8762 fail:
8763 return NULL;
8764}
8765
8766
8767static PyObject *_wrap_VListBox_SelectRange(PyObject *self, PyObject *args, PyObject *kwargs) {
8768 PyObject *resultobj;
8769 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8770 size_t arg2 ;
8771 size_t arg3 ;
8772 bool result;
8773 PyObject * obj0 = 0 ;
8774 PyObject * obj1 = 0 ;
8775 PyObject * obj2 = 0 ;
8776 char *kwnames[] = {
8777 (char *) "self",(char *) "from",(char *) "to", NULL
8778 };
8779
8780 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:VListBox_SelectRange",kwnames,&obj0,&obj1,&obj2)) goto fail;
8781 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8782 arg2 = (size_t) PyInt_AsLong(obj1);
8783 if (PyErr_Occurred()) SWIG_fail;
8784 arg3 = (size_t) PyInt_AsLong(obj2);
8785 if (PyErr_Occurred()) SWIG_fail;
8786 {
8787 PyThreadState* __tstate = wxPyBeginAllowThreads();
8788 result = (bool)(arg1)->SelectRange(arg2,arg3);
8789
8790 wxPyEndAllowThreads(__tstate);
8791 if (PyErr_Occurred()) SWIG_fail;
8792 }
8793 resultobj = PyInt_FromLong((long)result);
8794 return resultobj;
8795 fail:
8796 return NULL;
8797}
8798
8799
8800static PyObject *_wrap_VListBox_Toggle(PyObject *self, PyObject *args, PyObject *kwargs) {
8801 PyObject *resultobj;
8802 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8803 size_t arg2 ;
8804 PyObject * obj0 = 0 ;
8805 PyObject * obj1 = 0 ;
8806 char *kwnames[] = {
8807 (char *) "self",(char *) "item", NULL
8808 };
8809
8810 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_Toggle",kwnames,&obj0,&obj1)) goto fail;
8811 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8812 arg2 = (size_t) PyInt_AsLong(obj1);
8813 if (PyErr_Occurred()) SWIG_fail;
8814 {
8815 PyThreadState* __tstate = wxPyBeginAllowThreads();
8816 (arg1)->Toggle(arg2);
8817
8818 wxPyEndAllowThreads(__tstate);
8819 if (PyErr_Occurred()) SWIG_fail;
8820 }
8821 Py_INCREF(Py_None); resultobj = Py_None;
8822 return resultobj;
8823 fail:
8824 return NULL;
8825}
8826
8827
8828static PyObject *_wrap_VListBox_SelectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8829 PyObject *resultobj;
8830 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8831 bool result;
8832 PyObject * obj0 = 0 ;
8833 char *kwnames[] = {
8834 (char *) "self", NULL
8835 };
8836
8837 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_SelectAll",kwnames,&obj0)) goto fail;
8838 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8839 {
8840 PyThreadState* __tstate = wxPyBeginAllowThreads();
8841 result = (bool)(arg1)->SelectAll();
8842
8843 wxPyEndAllowThreads(__tstate);
8844 if (PyErr_Occurred()) SWIG_fail;
8845 }
8846 resultobj = PyInt_FromLong((long)result);
8847 return resultobj;
8848 fail:
8849 return NULL;
8850}
8851
8852
8853static PyObject *_wrap_VListBox_DeselectAll(PyObject *self, PyObject *args, PyObject *kwargs) {
8854 PyObject *resultobj;
8855 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8856 bool result;
8857 PyObject * obj0 = 0 ;
8858 char *kwnames[] = {
8859 (char *) "self", NULL
8860 };
8861
8862 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:VListBox_DeselectAll",kwnames,&obj0)) goto fail;
8863 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8864 {
8865 PyThreadState* __tstate = wxPyBeginAllowThreads();
8866 result = (bool)(arg1)->DeselectAll();
8867
8868 wxPyEndAllowThreads(__tstate);
8869 if (PyErr_Occurred()) SWIG_fail;
8870 }
8871 resultobj = PyInt_FromLong((long)result);
8872 return resultobj;
8873 fail:
8874 return NULL;
8875}
8876
8877
8878static PyObject *_wrap_VListBox_SetMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
8879 PyObject *resultobj;
8880 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8881 wxPoint *arg2 = 0 ;
8882 wxPoint temp2 ;
8883 PyObject * obj0 = 0 ;
8884 PyObject * obj1 = 0 ;
8885 char *kwnames[] = {
8886 (char *) "self",(char *) "pt", NULL
8887 };
8888
8889 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetMargins",kwnames,&obj0,&obj1)) goto fail;
8890 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8891 {
8892 arg2 = &temp2;
8893 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
8894 }
8895 {
8896 PyThreadState* __tstate = wxPyBeginAllowThreads();
8897 (arg1)->SetMargins((wxPoint const &)*arg2);
8898
8899 wxPyEndAllowThreads(__tstate);
8900 if (PyErr_Occurred()) SWIG_fail;
8901 }
8902 Py_INCREF(Py_None); resultobj = Py_None;
8903 return resultobj;
8904 fail:
8905 return NULL;
8906}
8907
8908
8909static PyObject *_wrap_VListBox_SetMarginsXY(PyObject *self, PyObject *args, PyObject *kwargs) {
8910 PyObject *resultobj;
8911 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
423f194a
RD
8912 int arg2 ;
8913 int arg3 ;
d14a1e28
RD
8914 PyObject * obj0 = 0 ;
8915 char *kwnames[] = {
8916 (char *) "self",(char *) "x",(char *) "y", NULL
8917 };
8918
8919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:VListBox_SetMarginsXY",kwnames,&obj0,&arg2,&arg3)) goto fail;
8920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8921 {
8922 PyThreadState* __tstate = wxPyBeginAllowThreads();
8923 (arg1)->SetMargins(arg2,arg3);
8924
8925 wxPyEndAllowThreads(__tstate);
8926 if (PyErr_Occurred()) SWIG_fail;
8927 }
8928 Py_INCREF(Py_None); resultobj = Py_None;
8929 return resultobj;
8930 fail:
8931 return NULL;
8932}
8933
8934
8935static PyObject *_wrap_VListBox_SetSelectionBackground(PyObject *self, PyObject *args, PyObject *kwargs) {
8936 PyObject *resultobj;
8937 wxPyVListBox *arg1 = (wxPyVListBox *) 0 ;
8938 wxColour *arg2 = 0 ;
8939 wxColour temp2 ;
8940 PyObject * obj0 = 0 ;
8941 PyObject * obj1 = 0 ;
8942 char *kwnames[] = {
8943 (char *) "self",(char *) "col", NULL
8944 };
8945
8946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:VListBox_SetSelectionBackground",kwnames,&obj0,&obj1)) goto fail;
8947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyVListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8948 {
8949 arg2 = &temp2;
8950 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
8951 }
8952 {
8953 PyThreadState* __tstate = wxPyBeginAllowThreads();
8954 (arg1)->SetSelectionBackground((wxColour const &)*arg2);
8955
8956 wxPyEndAllowThreads(__tstate);
8957 if (PyErr_Occurred()) SWIG_fail;
8958 }
8959 Py_INCREF(Py_None); resultobj = Py_None;
8960 return resultobj;
8961 fail:
8962 return NULL;
8963}
8964
8965
8966static PyObject * VListBox_swigregister(PyObject *self, PyObject *args) {
8967 PyObject *obj;
8968 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
8969 SWIG_TypeClientData(SWIGTYPE_p_wxPyVListBox, obj);
8970 Py_INCREF(obj);
8971 return Py_BuildValue((char *)"");
8972}
8973static PyObject *_wrap_new_HtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
8974 PyObject *resultobj;
8975 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 8976 int arg2 = (int) wxID_ANY ;
d14a1e28
RD
8977 wxPoint const &arg3_defvalue = wxDefaultPosition ;
8978 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
8979 wxSize const &arg4_defvalue = wxDefaultSize ;
8980 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
8981 long arg5 = (long) 0 ;
8982 wxString const &arg6_defvalue = wxPyVListBoxNameStr ;
8983 wxString *arg6 = (wxString *) &arg6_defvalue ;
8984 wxPyHtmlListBox *result;
8985 wxPoint temp3 ;
8986 wxSize temp4 ;
423f194a 8987 bool temp6 = False ;
d14a1e28
RD
8988 PyObject * obj0 = 0 ;
8989 PyObject * obj2 = 0 ;
8990 PyObject * obj3 = 0 ;
8991 PyObject * obj5 = 0 ;
8992 char *kwnames[] = {
8993 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8994 };
8995
8996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|iOOlO:new_HtmlListBox",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
8997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
8998 if (obj2) {
8999 {
9000 arg3 = &temp3;
9001 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
9002 }
9003 }
9004 if (obj3) {
9005 {
9006 arg4 = &temp4;
9007 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
9008 }
9009 }
9010 if (obj5) {
9011 {
9012 arg6 = wxString_in_helper(obj5);
9013 if (arg6 == NULL) SWIG_fail;
423f194a 9014 temp6 = True;
d14a1e28
RD
9015 }
9016 }
9017 {
9018 PyThreadState* __tstate = wxPyBeginAllowThreads();
9019 result = (wxPyHtmlListBox *)new wxPyHtmlListBox(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
9020
9021 wxPyEndAllowThreads(__tstate);
9022 if (PyErr_Occurred()) SWIG_fail;
9023 }
9024 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9025 {
9026 if (temp6)
9027 delete arg6;
9028 }
9029 return resultobj;
9030 fail:
9031 {
9032 if (temp6)
9033 delete arg6;
9034 }
9035 return NULL;
9036}
9037
9038
9039static PyObject *_wrap_new_PreHtmlListBox(PyObject *self, PyObject *args, PyObject *kwargs) {
9040 PyObject *resultobj;
9041 wxPyHtmlListBox *result;
9042 char *kwnames[] = {
9043 NULL
9044 };
9045
9046 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreHtmlListBox",kwnames)) goto fail;
9047 {
9048 PyThreadState* __tstate = wxPyBeginAllowThreads();
9049 result = (wxPyHtmlListBox *)new wxPyHtmlListBox();
9050
9051 wxPyEndAllowThreads(__tstate);
9052 if (PyErr_Occurred()) SWIG_fail;
9053 }
9054 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyHtmlListBox, 1);
9055 return resultobj;
9056 fail:
9057 return NULL;
9058}
9059
9060
9061static PyObject *_wrap_HtmlListBox__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
9062 PyObject *resultobj;
9063 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9064 PyObject *arg2 = (PyObject *) 0 ;
9065 PyObject *arg3 = (PyObject *) 0 ;
9066 PyObject * obj0 = 0 ;
9067 PyObject * obj1 = 0 ;
9068 PyObject * obj2 = 0 ;
9069 char *kwnames[] = {
9070 (char *) "self",(char *) "self",(char *) "_class", NULL
9071 };
9072
9073 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
9074 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9075 arg2 = obj1;
9076 arg3 = obj2;
9077 {
9078 PyThreadState* __tstate = wxPyBeginAllowThreads();
9079 (arg1)->_setCallbackInfo(arg2,arg3);
9080
9081 wxPyEndAllowThreads(__tstate);
9082 if (PyErr_Occurred()) SWIG_fail;
9083 }
9084 Py_INCREF(Py_None); resultobj = Py_None;
9085 return resultobj;
9086 fail:
9087 return NULL;
9088}
9089
9090
9091static PyObject *_wrap_HtmlListBox_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
9092 PyObject *resultobj;
9093 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9094 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 9095 int arg3 = (int) wxID_ANY ;
d14a1e28
RD
9096 wxPoint const &arg4_defvalue = wxDefaultPosition ;
9097 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
9098 wxSize const &arg5_defvalue = wxDefaultSize ;
9099 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
9100 long arg6 = (long) 0 ;
9101 wxString const &arg7_defvalue = wxPyVListBoxNameStr ;
9102 wxString *arg7 = (wxString *) &arg7_defvalue ;
9103 bool result;
9104 wxPoint temp4 ;
9105 wxSize temp5 ;
423f194a 9106 bool temp7 = False ;
d14a1e28
RD
9107 PyObject * obj0 = 0 ;
9108 PyObject * obj1 = 0 ;
9109 PyObject * obj3 = 0 ;
9110 PyObject * obj4 = 0 ;
9111 PyObject * obj6 = 0 ;
9112 char *kwnames[] = {
9113 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9114 };
9115
9116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOOlO:HtmlListBox_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&arg6,&obj6)) goto fail;
9117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9118 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9119 if (obj3) {
9120 {
9121 arg4 = &temp4;
9122 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
9123 }
9124 }
9125 if (obj4) {
9126 {
9127 arg5 = &temp5;
9128 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
9129 }
9130 }
9131 if (obj6) {
9132 {
9133 arg7 = wxString_in_helper(obj6);
9134 if (arg7 == NULL) SWIG_fail;
423f194a 9135 temp7 = True;
d14a1e28
RD
9136 }
9137 }
9138 {
9139 PyThreadState* __tstate = wxPyBeginAllowThreads();
9140 result = (bool)(arg1)->Create(arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
9141
9142 wxPyEndAllowThreads(__tstate);
9143 if (PyErr_Occurred()) SWIG_fail;
9144 }
9145 resultobj = PyInt_FromLong((long)result);
9146 {
9147 if (temp7)
9148 delete arg7;
9149 }
9150 return resultobj;
9151 fail:
9152 {
9153 if (temp7)
9154 delete arg7;
9155 }
9156 return NULL;
9157}
9158
9159
9160static PyObject *_wrap_HtmlListBox_RefreshAll(PyObject *self, PyObject *args, PyObject *kwargs) {
9161 PyObject *resultobj;
9162 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9163 PyObject * obj0 = 0 ;
9164 char *kwnames[] = {
9165 (char *) "self", NULL
9166 };
9167
9168 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:HtmlListBox_RefreshAll",kwnames,&obj0)) goto fail;
9169 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9170 {
9171 PyThreadState* __tstate = wxPyBeginAllowThreads();
9172 (arg1)->RefreshAll();
9173
9174 wxPyEndAllowThreads(__tstate);
9175 if (PyErr_Occurred()) SWIG_fail;
9176 }
9177 Py_INCREF(Py_None); resultobj = Py_None;
9178 return resultobj;
9179 fail:
9180 return NULL;
9181}
9182
9183
9184static PyObject *_wrap_HtmlListBox_SetItemCount(PyObject *self, PyObject *args, PyObject *kwargs) {
9185 PyObject *resultobj;
9186 wxPyHtmlListBox *arg1 = (wxPyHtmlListBox *) 0 ;
9187 size_t arg2 ;
9188 PyObject * obj0 = 0 ;
9189 PyObject * obj1 = 0 ;
9190 char *kwnames[] = {
9191 (char *) "self",(char *) "count", NULL
9192 };
9193
9194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:HtmlListBox_SetItemCount",kwnames,&obj0,&obj1)) goto fail;
9195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyHtmlListBox,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9196 arg2 = (size_t) PyInt_AsLong(obj1);
9197 if (PyErr_Occurred()) SWIG_fail;
9198 {
9199 PyThreadState* __tstate = wxPyBeginAllowThreads();
9200 (arg1)->SetItemCount(arg2);
9201
9202 wxPyEndAllowThreads(__tstate);
9203 if (PyErr_Occurred()) SWIG_fail;
9204 }
9205 Py_INCREF(Py_None); resultobj = Py_None;
9206 return resultobj;
9207 fail:
9208 return NULL;
9209}
9210
9211
9212static PyObject * HtmlListBox_swigregister(PyObject *self, PyObject *args) {
9213 PyObject *obj;
9214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9215 SWIG_TypeClientData(SWIGTYPE_p_wxPyHtmlListBox, obj);
9216 Py_INCREF(obj);
9217 return Py_BuildValue((char *)"");
9218}
9219static PyObject *_wrap_new_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9220 PyObject *resultobj;
9221 wxTaskBarIcon *result;
9222 char *kwnames[] = {
9223 NULL
9224 };
9225
9226 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_TaskBarIcon",kwnames)) goto fail;
9227 {
9228 PyThreadState* __tstate = wxPyBeginAllowThreads();
9229 result = (wxTaskBarIcon *)new wxTaskBarIcon();
9230
9231 wxPyEndAllowThreads(__tstate);
9232 if (PyErr_Occurred()) SWIG_fail;
9233 }
9234 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIcon, 1);
9235 return resultobj;
9236 fail:
9237 return NULL;
9238}
9239
9240
9241static PyObject *_wrap_delete_TaskBarIcon(PyObject *self, PyObject *args, PyObject *kwargs) {
9242 PyObject *resultobj;
9243 wxTaskBarIcon *arg1 = (wxTaskBarIcon *) 0 ;
9244 PyObject * obj0 = 0 ;
9245 char *kwnames[] = {
9246 (char *) "self", NULL
9247 };
9248
9249 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_TaskBarIcon",kwnames,&obj0)) goto fail;
9250 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9251 {
9252 PyThreadState* __tstate = wxPyBeginAllowThreads();
9253 delete arg1;
9254
9255 wxPyEndAllowThreads(__tstate);
9256 if (PyErr_Occurred()) SWIG_fail;
9257 }
9258 Py_INCREF(Py_None); resultobj = Py_None;
9259 return resultobj;
9260 fail:
9261 return NULL;
9262}
9263
9264
9265static PyObject * TaskBarIcon_swigregister(PyObject *self, PyObject *args) {
9266 PyObject *obj;
9267 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9268 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIcon, obj);
9269 Py_INCREF(obj);
9270 return Py_BuildValue((char *)"");
9271}
9272static PyObject *_wrap_new_TaskBarIconEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
9273 PyObject *resultobj;
9274 wxEventType arg1 ;
9275 wxTaskBarIcon *arg2 = (wxTaskBarIcon *) 0 ;
9276 wxTaskBarIconEvent *result;
9277 PyObject * obj1 = 0 ;
9278 char *kwnames[] = {
9279 (char *) "evtType",(char *) "tbIcon", NULL
9280 };
9281
9282 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"iO:new_TaskBarIconEvent",kwnames,&arg1,&obj1)) goto fail;
9283 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxTaskBarIcon,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9284 {
9285 PyThreadState* __tstate = wxPyBeginAllowThreads();
9286 result = (wxTaskBarIconEvent *)new wxTaskBarIconEvent(arg1,arg2);
9287
9288 wxPyEndAllowThreads(__tstate);
9289 if (PyErr_Occurred()) SWIG_fail;
9290 }
9291 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTaskBarIconEvent, 1);
9292 return resultobj;
9293 fail:
9294 return NULL;
9295}
9296
9297
9298static PyObject * TaskBarIconEvent_swigregister(PyObject *self, PyObject *args) {
9299 PyObject *obj;
9300 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9301 SWIG_TypeClientData(SWIGTYPE_p_wxTaskBarIconEvent, obj);
9302 Py_INCREF(obj);
9303 return Py_BuildValue((char *)"");
9304}
cbd72d4f
RD
9305static int _wrap_FileSelectorPromptStr_set(PyObject *_val) {
9306 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorPromptStr is read-only.");
9307 return 1;
9308}
9309
9310
9311static PyObject *_wrap_FileSelectorPromptStr_get() {
9312 PyObject *pyobj;
9313
9314 {
9315#if wxUSE_UNICODE
9316 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9317#else
9318 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorPromptStr)->c_str(), (&wxPyFileSelectorPromptStr)->Len());
9319#endif
9320 }
9321 return pyobj;
9322}
9323
9324
9325static int _wrap_DirSelectorPromptStr_set(PyObject *_val) {
9326 PyErr_SetString(PyExc_TypeError,"Variable DirSelectorPromptStr is read-only.");
9327 return 1;
9328}
9329
9330
9331static PyObject *_wrap_DirSelectorPromptStr_get() {
9332 PyObject *pyobj;
9333
9334 {
9335#if wxUSE_UNICODE
9336 pyobj = PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9337#else
9338 pyobj = PyString_FromStringAndSize((&wxPyDirSelectorPromptStr)->c_str(), (&wxPyDirSelectorPromptStr)->Len());
9339#endif
9340 }
9341 return pyobj;
9342}
9343
9344
9345static int _wrap_DirDialogNameStr_set(PyObject *_val) {
9346 PyErr_SetString(PyExc_TypeError,"Variable DirDialogNameStr is read-only.");
9347 return 1;
9348}
9349
9350
9351static PyObject *_wrap_DirDialogNameStr_get() {
9352 PyObject *pyobj;
9353
9354 {
9355#if wxUSE_UNICODE
9356 pyobj = PyUnicode_FromWideChar((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9357#else
9358 pyobj = PyString_FromStringAndSize((&wxPyDirDialogNameStr)->c_str(), (&wxPyDirDialogNameStr)->Len());
9359#endif
9360 }
9361 return pyobj;
9362}
9363
9364
9365static int _wrap_FileSelectorDefaultWildcardStr_set(PyObject *_val) {
9366 PyErr_SetString(PyExc_TypeError,"Variable FileSelectorDefaultWildcardStr is read-only.");
9367 return 1;
9368}
9369
9370
9371static PyObject *_wrap_FileSelectorDefaultWildcardStr_get() {
9372 PyObject *pyobj;
9373
9374 {
9375#if wxUSE_UNICODE
9376 pyobj = PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9377#else
9378 pyobj = PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr)->c_str(), (&wxPyFileSelectorDefaultWildcardStr)->Len());
9379#endif
9380 }
9381 return pyobj;
9382}
9383
9384
9385static int _wrap_GetTextFromUserPromptStr_set(PyObject *_val) {
9386 PyErr_SetString(PyExc_TypeError,"Variable GetTextFromUserPromptStr is read-only.");
9387 return 1;
9388}
9389
9390
9391static PyObject *_wrap_GetTextFromUserPromptStr_get() {
9392 PyObject *pyobj;
9393
9394 {
9395#if wxUSE_UNICODE
9396 pyobj = PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9397#else
9398 pyobj = PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr)->c_str(), (&wxPyGetTextFromUserPromptStr)->Len());
9399#endif
9400 }
9401 return pyobj;
9402}
9403
9404
9405static int _wrap_MessageBoxCaptionStr_set(PyObject *_val) {
9406 PyErr_SetString(PyExc_TypeError,"Variable MessageBoxCaptionStr is read-only.");
9407 return 1;
9408}
9409
9410
9411static PyObject *_wrap_MessageBoxCaptionStr_get() {
9412 PyObject *pyobj;
9413
9414 {
9415#if wxUSE_UNICODE
9416 pyobj = PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9417#else
9418 pyobj = PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr)->c_str(), (&wxPyMessageBoxCaptionStr)->Len());
9419#endif
9420 }
9421 return pyobj;
9422}
9423
9424
d14a1e28
RD
9425static PyObject *_wrap_new_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9426 PyObject *resultobj;
9427 wxColourData *result;
9428 char *kwnames[] = {
9429 NULL
9430 };
9431
9432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_ColourData",kwnames)) goto fail;
9433 {
9434 PyThreadState* __tstate = wxPyBeginAllowThreads();
9435 result = (wxColourData *)new wxColourData();
9436
9437 wxPyEndAllowThreads(__tstate);
9438 if (PyErr_Occurred()) SWIG_fail;
9439 }
9440 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 1);
9441 return resultobj;
9442 fail:
9443 return NULL;
9444}
9445
9446
9447static PyObject *_wrap_delete_ColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9448 PyObject *resultobj;
9449 wxColourData *arg1 = (wxColourData *) 0 ;
9450 PyObject * obj0 = 0 ;
9451 char *kwnames[] = {
9452 (char *) "self", NULL
9453 };
9454
9455 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_ColourData",kwnames,&obj0)) goto fail;
9456 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9457 {
9458 PyThreadState* __tstate = wxPyBeginAllowThreads();
9459 delete arg1;
9460
9461 wxPyEndAllowThreads(__tstate);
9462 if (PyErr_Occurred()) SWIG_fail;
9463 }
9464 Py_INCREF(Py_None); resultobj = Py_None;
9465 return resultobj;
9466 fail:
9467 return NULL;
9468}
9469
9470
9471static PyObject *_wrap_ColourData_GetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9472 PyObject *resultobj;
9473 wxColourData *arg1 = (wxColourData *) 0 ;
9474 bool result;
9475 PyObject * obj0 = 0 ;
9476 char *kwnames[] = {
9477 (char *) "self", NULL
9478 };
9479
9480 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetChooseFull",kwnames,&obj0)) goto fail;
9481 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9482 {
9483 PyThreadState* __tstate = wxPyBeginAllowThreads();
9484 result = (bool)(arg1)->GetChooseFull();
9485
9486 wxPyEndAllowThreads(__tstate);
9487 if (PyErr_Occurred()) SWIG_fail;
9488 }
9489 resultobj = PyInt_FromLong((long)result);
9490 return resultobj;
9491 fail:
9492 return NULL;
9493}
9494
9495
9496static PyObject *_wrap_ColourData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9497 PyObject *resultobj;
9498 wxColourData *arg1 = (wxColourData *) 0 ;
9499 wxColour result;
9500 PyObject * obj0 = 0 ;
9501 char *kwnames[] = {
9502 (char *) "self", NULL
9503 };
9504
9505 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourData_GetColour",kwnames,&obj0)) goto fail;
9506 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9507 {
9508 PyThreadState* __tstate = wxPyBeginAllowThreads();
9509 result = (arg1)->GetColour();
9510
9511 wxPyEndAllowThreads(__tstate);
9512 if (PyErr_Occurred()) SWIG_fail;
9513 }
9514 {
9515 wxColour * resultptr;
9516 resultptr = new wxColour((wxColour &) result);
9517 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9518 }
9519 return resultobj;
9520 fail:
9521 return NULL;
9522}
9523
9524
9525static PyObject *_wrap_ColourData_GetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9526 PyObject *resultobj;
9527 wxColourData *arg1 = (wxColourData *) 0 ;
9528 int arg2 ;
9529 wxColour result;
9530 PyObject * obj0 = 0 ;
9531 char *kwnames[] = {
9532 (char *) "self",(char *) "i", NULL
9533 };
9534
9535 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_GetCustomColour",kwnames,&obj0,&arg2)) goto fail;
9536 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9537 {
9538 PyThreadState* __tstate = wxPyBeginAllowThreads();
9539 result = (arg1)->GetCustomColour(arg2);
9540
9541 wxPyEndAllowThreads(__tstate);
9542 if (PyErr_Occurred()) SWIG_fail;
9543 }
9544 {
9545 wxColour * resultptr;
9546 resultptr = new wxColour((wxColour &) result);
9547 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
9548 }
9549 return resultobj;
9550 fail:
9551 return NULL;
9552}
9553
9554
9555static PyObject *_wrap_ColourData_SetChooseFull(PyObject *self, PyObject *args, PyObject *kwargs) {
9556 PyObject *resultobj;
9557 wxColourData *arg1 = (wxColourData *) 0 ;
9558 int arg2 ;
9559 PyObject * obj0 = 0 ;
9560 char *kwnames[] = {
9561 (char *) "self",(char *) "flag", NULL
9562 };
9563
9564 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:ColourData_SetChooseFull",kwnames,&obj0,&arg2)) goto fail;
9565 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9566 {
9567 PyThreadState* __tstate = wxPyBeginAllowThreads();
9568 (arg1)->SetChooseFull(arg2);
9569
9570 wxPyEndAllowThreads(__tstate);
9571 if (PyErr_Occurred()) SWIG_fail;
9572 }
9573 Py_INCREF(Py_None); resultobj = Py_None;
9574 return resultobj;
9575 fail:
9576 return NULL;
9577}
9578
9579
9580static PyObject *_wrap_ColourData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9581 PyObject *resultobj;
9582 wxColourData *arg1 = (wxColourData *) 0 ;
9583 wxColour *arg2 = 0 ;
9584 wxColour temp2 ;
9585 PyObject * obj0 = 0 ;
9586 PyObject * obj1 = 0 ;
9587 char *kwnames[] = {
9588 (char *) "self",(char *) "colour", NULL
9589 };
9590
9591 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:ColourData_SetColour",kwnames,&obj0,&obj1)) goto fail;
9592 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9593 {
9594 arg2 = &temp2;
9595 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
9596 }
9597 {
9598 PyThreadState* __tstate = wxPyBeginAllowThreads();
9599 (arg1)->SetColour((wxColour const &)*arg2);
9600
9601 wxPyEndAllowThreads(__tstate);
9602 if (PyErr_Occurred()) SWIG_fail;
9603 }
9604 Py_INCREF(Py_None); resultobj = Py_None;
9605 return resultobj;
9606 fail:
9607 return NULL;
9608}
9609
9610
9611static PyObject *_wrap_ColourData_SetCustomColour(PyObject *self, PyObject *args, PyObject *kwargs) {
9612 PyObject *resultobj;
9613 wxColourData *arg1 = (wxColourData *) 0 ;
9614 int arg2 ;
9615 wxColour *arg3 = 0 ;
9616 wxColour temp3 ;
9617 PyObject * obj0 = 0 ;
9618 PyObject * obj2 = 0 ;
9619 char *kwnames[] = {
9620 (char *) "self",(char *) "i",(char *) "colour", NULL
9621 };
9622
9623 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO:ColourData_SetCustomColour",kwnames,&obj0,&arg2,&obj2)) goto fail;
9624 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9625 {
9626 arg3 = &temp3;
9627 if ( ! wxColour_helper(obj2, &arg3)) SWIG_fail;
9628 }
9629 {
9630 PyThreadState* __tstate = wxPyBeginAllowThreads();
9631 (arg1)->SetCustomColour(arg2,(wxColour const &)*arg3);
9632
9633 wxPyEndAllowThreads(__tstate);
9634 if (PyErr_Occurred()) SWIG_fail;
9635 }
9636 Py_INCREF(Py_None); resultobj = Py_None;
9637 return resultobj;
9638 fail:
9639 return NULL;
9640}
9641
9642
9643static PyObject * ColourData_swigregister(PyObject *self, PyObject *args) {
9644 PyObject *obj;
9645 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9646 SWIG_TypeClientData(SWIGTYPE_p_wxColourData, obj);
9647 Py_INCREF(obj);
9648 return Py_BuildValue((char *)"");
9649}
9650static PyObject *_wrap_new_ColourDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9651 PyObject *resultobj;
9652 wxWindow *arg1 = (wxWindow *) 0 ;
9653 wxColourData *arg2 = (wxColourData *) NULL ;
9654 wxColourDialog *result;
9655 PyObject * obj0 = 0 ;
9656 PyObject * obj1 = 0 ;
9657 char *kwnames[] = {
9658 (char *) "parent",(char *) "data", NULL
9659 };
9660
9661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_ColourDialog",kwnames,&obj0,&obj1)) goto fail;
9662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9663 if (obj1) {
9664 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxColourData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9665 }
9666 {
9667 PyThreadState* __tstate = wxPyBeginAllowThreads();
9668 result = (wxColourDialog *)new wxColourDialog(arg1,arg2);
9669
9670 wxPyEndAllowThreads(__tstate);
9671 if (PyErr_Occurred()) SWIG_fail;
9672 }
9673 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourDialog, 1);
9674 return resultobj;
9675 fail:
9676 return NULL;
9677}
9678
9679
9680static PyObject *_wrap_ColourDialog_GetColourData(PyObject *self, PyObject *args, PyObject *kwargs) {
9681 PyObject *resultobj;
9682 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9683 wxColourData *result;
9684 PyObject * obj0 = 0 ;
9685 char *kwnames[] = {
9686 (char *) "self", NULL
9687 };
9688
9689 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_GetColourData",kwnames,&obj0)) goto fail;
9690 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9691 {
9692 PyThreadState* __tstate = wxPyBeginAllowThreads();
9693 {
9694 wxColourData &_result_ref = (arg1)->GetColourData();
9695 result = (wxColourData *) &_result_ref;
9696 }
9697
9698 wxPyEndAllowThreads(__tstate);
9699 if (PyErr_Occurred()) SWIG_fail;
9700 }
9701 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxColourData, 0);
9702 return resultobj;
9703 fail:
9704 return NULL;
9705}
9706
9707
9708static PyObject *_wrap_ColourDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
9709 PyObject *resultobj;
9710 wxColourDialog *arg1 = (wxColourDialog *) 0 ;
9711 int result;
9712 PyObject * obj0 = 0 ;
9713 char *kwnames[] = {
9714 (char *) "self", NULL
9715 };
9716
9717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ColourDialog_ShowModal",kwnames,&obj0)) goto fail;
9718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxColourDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9719 {
9720 PyThreadState* __tstate = wxPyBeginAllowThreads();
9721 result = (int)(arg1)->ShowModal();
9722
9723 wxPyEndAllowThreads(__tstate);
9724 if (PyErr_Occurred()) SWIG_fail;
9725 }
9726 resultobj = PyInt_FromLong((long)result);
9727 return resultobj;
9728 fail:
9729 return NULL;
9730}
9731
9732
9733static PyObject * ColourDialog_swigregister(PyObject *self, PyObject *args) {
9734 PyObject *obj;
9735 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
9736 SWIG_TypeClientData(SWIGTYPE_p_wxColourDialog, obj);
9737 Py_INCREF(obj);
9738 return Py_BuildValue((char *)"");
9739}
9740static PyObject *_wrap_new_DirDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
9741 PyObject *resultobj;
9742 wxWindow *arg1 = (wxWindow *) 0 ;
9743 wxString const &arg2_defvalue = wxPyDirSelectorPromptStr ;
9744 wxString *arg2 = (wxString *) &arg2_defvalue ;
9745 wxString const &arg3_defvalue = wxPyEmptyString ;
9746 wxString *arg3 = (wxString *) &arg3_defvalue ;
9747 long arg4 = (long) 0 ;
9748 wxPoint const &arg5_defvalue = wxDefaultPosition ;
9749 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
9750 wxSize const &arg6_defvalue = wxDefaultSize ;
9751 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
9752 wxString const &arg7_defvalue = wxPyDirDialogNameStr ;
9753 wxString *arg7 = (wxString *) &arg7_defvalue ;
9754 wxDirDialog *result;
423f194a
RD
9755 bool temp2 = False ;
9756 bool temp3 = False ;
d14a1e28
RD
9757 wxPoint temp5 ;
9758 wxSize temp6 ;
423f194a 9759 bool temp7 = False ;
d14a1e28
RD
9760 PyObject * obj0 = 0 ;
9761 PyObject * obj1 = 0 ;
9762 PyObject * obj2 = 0 ;
9763 PyObject * obj4 = 0 ;
9764 PyObject * obj5 = 0 ;
9765 PyObject * obj6 = 0 ;
9766 char *kwnames[] = {
9767 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
9768 };
9769
9770 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOlOOO:new_DirDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&obj5,&obj6)) goto fail;
9771 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9772 if (obj1) {
9773 {
9774 arg2 = wxString_in_helper(obj1);
9775 if (arg2 == NULL) SWIG_fail;
423f194a 9776 temp2 = True;
d14a1e28
RD
9777 }
9778 }
9779 if (obj2) {
9780 {
9781 arg3 = wxString_in_helper(obj2);
9782 if (arg3 == NULL) SWIG_fail;
423f194a 9783 temp3 = True;
d14a1e28
RD
9784 }
9785 }
9786 if (obj4) {
9787 {
9788 arg5 = &temp5;
9789 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
9790 }
9791 }
9792 if (obj5) {
9793 {
9794 arg6 = &temp6;
9795 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
9796 }
9797 }
9798 if (obj6) {
9799 {
9800 arg7 = wxString_in_helper(obj6);
9801 if (arg7 == NULL) SWIG_fail;
423f194a 9802 temp7 = True;
d14a1e28
RD
9803 }
9804 }
9805 {
9806 PyThreadState* __tstate = wxPyBeginAllowThreads();
9807 result = (wxDirDialog *)new wxDirDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,(wxString const &)*arg7);
9808
9809 wxPyEndAllowThreads(__tstate);
9810 if (PyErr_Occurred()) SWIG_fail;
9811 }
9812 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxDirDialog, 1);
9813 {
9814 if (temp2)
9815 delete arg2;
9816 }
9817 {
9818 if (temp3)
9819 delete arg3;
9820 }
9821 {
9822 if (temp7)
9823 delete arg7;
9824 }
9825 return resultobj;
9826 fail:
9827 {
9828 if (temp2)
9829 delete arg2;
9830 }
9831 {
9832 if (temp3)
9833 delete arg3;
9834 }
9835 {
9836 if (temp7)
9837 delete arg7;
9838 }
9839 return NULL;
9840}
9841
9842
9843static PyObject *_wrap_DirDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9844 PyObject *resultobj;
9845 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9846 wxString result;
9847 PyObject * obj0 = 0 ;
9848 char *kwnames[] = {
9849 (char *) "self", NULL
9850 };
9851
9852 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetPath",kwnames,&obj0)) goto fail;
9853 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9854 {
9855 PyThreadState* __tstate = wxPyBeginAllowThreads();
9856 result = (arg1)->GetPath();
9857
9858 wxPyEndAllowThreads(__tstate);
9859 if (PyErr_Occurred()) SWIG_fail;
9860 }
9861 {
9862#if wxUSE_UNICODE
9863 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9864#else
9865 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9866#endif
9867 }
9868 return resultobj;
9869 fail:
9870 return NULL;
9871}
9872
9873
9874static PyObject *_wrap_DirDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9875 PyObject *resultobj;
9876 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9877 wxString result;
9878 PyObject * obj0 = 0 ;
9879 char *kwnames[] = {
9880 (char *) "self", NULL
9881 };
9882
9883 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetMessage",kwnames,&obj0)) goto fail;
9884 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9885 {
9886 PyThreadState* __tstate = wxPyBeginAllowThreads();
9887 result = (arg1)->GetMessage();
9888
9889 wxPyEndAllowThreads(__tstate);
9890 if (PyErr_Occurred()) SWIG_fail;
9891 }
9892 {
9893#if wxUSE_UNICODE
9894 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
9895#else
9896 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
9897#endif
9898 }
9899 return resultobj;
9900 fail:
9901 return NULL;
9902}
9903
9904
9905static PyObject *_wrap_DirDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
9906 PyObject *resultobj;
9907 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9908 long result;
9909 PyObject * obj0 = 0 ;
9910 char *kwnames[] = {
9911 (char *) "self", NULL
9912 };
9913
9914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_GetStyle",kwnames,&obj0)) goto fail;
9915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9916 {
9917 PyThreadState* __tstate = wxPyBeginAllowThreads();
9918 result = (long)(arg1)->GetStyle();
9919
9920 wxPyEndAllowThreads(__tstate);
9921 if (PyErr_Occurred()) SWIG_fail;
9922 }
9923 resultobj = PyInt_FromLong((long)result);
9924 return resultobj;
9925 fail:
9926 return NULL;
9927}
9928
9929
9930static PyObject *_wrap_DirDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
9931 PyObject *resultobj;
9932 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9933 wxString *arg2 = 0 ;
423f194a 9934 bool temp2 = False ;
d14a1e28
RD
9935 PyObject * obj0 = 0 ;
9936 PyObject * obj1 = 0 ;
9937 char *kwnames[] = {
9938 (char *) "self",(char *) "message", NULL
9939 };
9940
9941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
9942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9943 {
9944 arg2 = wxString_in_helper(obj1);
9945 if (arg2 == NULL) SWIG_fail;
423f194a 9946 temp2 = True;
d14a1e28
RD
9947 }
9948 {
9949 PyThreadState* __tstate = wxPyBeginAllowThreads();
9950 (arg1)->SetMessage((wxString const &)*arg2);
9951
9952 wxPyEndAllowThreads(__tstate);
9953 if (PyErr_Occurred()) SWIG_fail;
9954 }
9955 Py_INCREF(Py_None); resultobj = Py_None;
9956 {
9957 if (temp2)
9958 delete arg2;
9959 }
9960 return resultobj;
9961 fail:
9962 {
9963 if (temp2)
9964 delete arg2;
9965 }
9966 return NULL;
9967}
9968
9969
9970static PyObject *_wrap_DirDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
9971 PyObject *resultobj;
9972 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
9973 wxString *arg2 = 0 ;
423f194a 9974 bool temp2 = False ;
d14a1e28
RD
9975 PyObject * obj0 = 0 ;
9976 PyObject * obj1 = 0 ;
9977 char *kwnames[] = {
9978 (char *) "self",(char *) "path", NULL
9979 };
9980
9981 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:DirDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
9982 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
9983 {
9984 arg2 = wxString_in_helper(obj1);
9985 if (arg2 == NULL) SWIG_fail;
423f194a 9986 temp2 = True;
d14a1e28
RD
9987 }
9988 {
9989 PyThreadState* __tstate = wxPyBeginAllowThreads();
9990 (arg1)->SetPath((wxString const &)*arg2);
9991
9992 wxPyEndAllowThreads(__tstate);
9993 if (PyErr_Occurred()) SWIG_fail;
9994 }
9995 Py_INCREF(Py_None); resultobj = Py_None;
9996 {
9997 if (temp2)
9998 delete arg2;
9999 }
10000 return resultobj;
10001 fail:
10002 {
10003 if (temp2)
10004 delete arg2;
10005 }
10006 return NULL;
10007}
10008
10009
10010static PyObject *_wrap_DirDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10011 PyObject *resultobj;
10012 wxDirDialog *arg1 = (wxDirDialog *) 0 ;
10013 int result;
10014 PyObject * obj0 = 0 ;
10015 char *kwnames[] = {
10016 (char *) "self", NULL
10017 };
10018
10019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:DirDialog_ShowModal",kwnames,&obj0)) goto fail;
10020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxDirDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10021 {
10022 PyThreadState* __tstate = wxPyBeginAllowThreads();
10023 result = (int)(arg1)->ShowModal();
10024
10025 wxPyEndAllowThreads(__tstate);
10026 if (PyErr_Occurred()) SWIG_fail;
10027 }
10028 resultobj = PyInt_FromLong((long)result);
10029 return resultobj;
10030 fail:
10031 return NULL;
10032}
10033
10034
10035static PyObject * DirDialog_swigregister(PyObject *self, PyObject *args) {
10036 PyObject *obj;
10037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10038 SWIG_TypeClientData(SWIGTYPE_p_wxDirDialog, obj);
10039 Py_INCREF(obj);
10040 return Py_BuildValue((char *)"");
10041}
10042static PyObject *_wrap_new_FileDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10043 PyObject *resultobj;
10044 wxWindow *arg1 = (wxWindow *) 0 ;
10045 wxString const &arg2_defvalue = wxPyFileSelectorPromptStr ;
10046 wxString *arg2 = (wxString *) &arg2_defvalue ;
10047 wxString const &arg3_defvalue = wxPyEmptyString ;
10048 wxString *arg3 = (wxString *) &arg3_defvalue ;
10049 wxString const &arg4_defvalue = wxPyEmptyString ;
10050 wxString *arg4 = (wxString *) &arg4_defvalue ;
10051 wxString const &arg5_defvalue = wxPyFileSelectorDefaultWildcardStr ;
10052 wxString *arg5 = (wxString *) &arg5_defvalue ;
10053 long arg6 = (long) 0 ;
10054 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10055 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10056 wxFileDialog *result;
423f194a
RD
10057 bool temp2 = False ;
10058 bool temp3 = False ;
10059 bool temp4 = False ;
10060 bool temp5 = False ;
d14a1e28
RD
10061 wxPoint temp7 ;
10062 PyObject * obj0 = 0 ;
10063 PyObject * obj1 = 0 ;
10064 PyObject * obj2 = 0 ;
10065 PyObject * obj3 = 0 ;
10066 PyObject * obj4 = 0 ;
10067 PyObject * obj6 = 0 ;
10068 char *kwnames[] = {
10069 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
10070 };
10071
10072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|OOOOlO:new_FileDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
10073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10074 if (obj1) {
10075 {
10076 arg2 = wxString_in_helper(obj1);
10077 if (arg2 == NULL) SWIG_fail;
423f194a 10078 temp2 = True;
d14a1e28
RD
10079 }
10080 }
10081 if (obj2) {
10082 {
10083 arg3 = wxString_in_helper(obj2);
10084 if (arg3 == NULL) SWIG_fail;
423f194a 10085 temp3 = True;
d14a1e28
RD
10086 }
10087 }
10088 if (obj3) {
10089 {
10090 arg4 = wxString_in_helper(obj3);
10091 if (arg4 == NULL) SWIG_fail;
423f194a 10092 temp4 = True;
d14a1e28
RD
10093 }
10094 }
10095 if (obj4) {
10096 {
10097 arg5 = wxString_in_helper(obj4);
10098 if (arg5 == NULL) SWIG_fail;
423f194a 10099 temp5 = True;
d14a1e28
RD
10100 }
10101 }
10102 if (obj6) {
10103 {
10104 arg7 = &temp7;
10105 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10106 }
10107 }
10108 {
10109 PyThreadState* __tstate = wxPyBeginAllowThreads();
10110 result = (wxFileDialog *)new wxFileDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,(wxString const &)*arg5,arg6,(wxPoint const &)*arg7);
10111
10112 wxPyEndAllowThreads(__tstate);
10113 if (PyErr_Occurred()) SWIG_fail;
10114 }
10115 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFileDialog, 1);
10116 {
10117 if (temp2)
10118 delete arg2;
10119 }
10120 {
10121 if (temp3)
10122 delete arg3;
10123 }
10124 {
10125 if (temp4)
10126 delete arg4;
10127 }
10128 {
10129 if (temp5)
10130 delete arg5;
10131 }
10132 return resultobj;
10133 fail:
10134 {
10135 if (temp2)
10136 delete arg2;
10137 }
10138 {
10139 if (temp3)
10140 delete arg3;
10141 }
10142 {
10143 if (temp4)
10144 delete arg4;
10145 }
10146 {
10147 if (temp5)
10148 delete arg5;
10149 }
10150 return NULL;
10151}
10152
10153
10154static PyObject *_wrap_FileDialog_SetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10155 PyObject *resultobj;
10156 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10157 wxString *arg2 = 0 ;
423f194a 10158 bool temp2 = False ;
d14a1e28
RD
10159 PyObject * obj0 = 0 ;
10160 PyObject * obj1 = 0 ;
10161 char *kwnames[] = {
10162 (char *) "self",(char *) "message", NULL
10163 };
10164
10165 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetMessage",kwnames,&obj0,&obj1)) goto fail;
10166 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10167 {
10168 arg2 = wxString_in_helper(obj1);
10169 if (arg2 == NULL) SWIG_fail;
423f194a 10170 temp2 = True;
d14a1e28
RD
10171 }
10172 {
10173 PyThreadState* __tstate = wxPyBeginAllowThreads();
10174 (arg1)->SetMessage((wxString const &)*arg2);
10175
10176 wxPyEndAllowThreads(__tstate);
10177 if (PyErr_Occurred()) SWIG_fail;
10178 }
10179 Py_INCREF(Py_None); resultobj = Py_None;
10180 {
10181 if (temp2)
10182 delete arg2;
10183 }
10184 return resultobj;
10185 fail:
10186 {
10187 if (temp2)
10188 delete arg2;
10189 }
10190 return NULL;
10191}
10192
10193
10194static PyObject *_wrap_FileDialog_SetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10195 PyObject *resultobj;
10196 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10197 wxString *arg2 = 0 ;
423f194a 10198 bool temp2 = False ;
d14a1e28
RD
10199 PyObject * obj0 = 0 ;
10200 PyObject * obj1 = 0 ;
10201 char *kwnames[] = {
10202 (char *) "self",(char *) "path", NULL
10203 };
10204
10205 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetPath",kwnames,&obj0,&obj1)) goto fail;
10206 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10207 {
10208 arg2 = wxString_in_helper(obj1);
10209 if (arg2 == NULL) SWIG_fail;
423f194a 10210 temp2 = True;
d14a1e28
RD
10211 }
10212 {
10213 PyThreadState* __tstate = wxPyBeginAllowThreads();
10214 (arg1)->SetPath((wxString const &)*arg2);
10215
10216 wxPyEndAllowThreads(__tstate);
10217 if (PyErr_Occurred()) SWIG_fail;
10218 }
10219 Py_INCREF(Py_None); resultobj = Py_None;
10220 {
10221 if (temp2)
10222 delete arg2;
10223 }
10224 return resultobj;
10225 fail:
10226 {
10227 if (temp2)
10228 delete arg2;
10229 }
10230 return NULL;
10231}
10232
10233
10234static PyObject *_wrap_FileDialog_SetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10235 PyObject *resultobj;
10236 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10237 wxString *arg2 = 0 ;
423f194a 10238 bool temp2 = False ;
d14a1e28
RD
10239 PyObject * obj0 = 0 ;
10240 PyObject * obj1 = 0 ;
10241 char *kwnames[] = {
10242 (char *) "self",(char *) "dir", NULL
10243 };
10244
10245 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetDirectory",kwnames,&obj0,&obj1)) goto fail;
10246 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10247 {
10248 arg2 = wxString_in_helper(obj1);
10249 if (arg2 == NULL) SWIG_fail;
423f194a 10250 temp2 = True;
d14a1e28
RD
10251 }
10252 {
10253 PyThreadState* __tstate = wxPyBeginAllowThreads();
10254 (arg1)->SetDirectory((wxString const &)*arg2);
10255
10256 wxPyEndAllowThreads(__tstate);
10257 if (PyErr_Occurred()) SWIG_fail;
10258 }
10259 Py_INCREF(Py_None); resultobj = Py_None;
10260 {
10261 if (temp2)
10262 delete arg2;
10263 }
10264 return resultobj;
10265 fail:
10266 {
10267 if (temp2)
10268 delete arg2;
10269 }
10270 return NULL;
10271}
10272
10273
10274static PyObject *_wrap_FileDialog_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10275 PyObject *resultobj;
10276 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10277 wxString *arg2 = 0 ;
423f194a 10278 bool temp2 = False ;
d14a1e28
RD
10279 PyObject * obj0 = 0 ;
10280 PyObject * obj1 = 0 ;
10281 char *kwnames[] = {
10282 (char *) "self",(char *) "name", NULL
10283 };
10284
10285 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetFilename",kwnames,&obj0,&obj1)) goto fail;
10286 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10287 {
10288 arg2 = wxString_in_helper(obj1);
10289 if (arg2 == NULL) SWIG_fail;
423f194a 10290 temp2 = True;
d14a1e28
RD
10291 }
10292 {
10293 PyThreadState* __tstate = wxPyBeginAllowThreads();
10294 (arg1)->SetFilename((wxString const &)*arg2);
10295
10296 wxPyEndAllowThreads(__tstate);
10297 if (PyErr_Occurred()) SWIG_fail;
10298 }
10299 Py_INCREF(Py_None); resultobj = Py_None;
10300 {
10301 if (temp2)
10302 delete arg2;
10303 }
10304 return resultobj;
10305 fail:
10306 {
10307 if (temp2)
10308 delete arg2;
10309 }
10310 return NULL;
10311}
10312
10313
10314static PyObject *_wrap_FileDialog_SetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10315 PyObject *resultobj;
10316 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10317 wxString *arg2 = 0 ;
423f194a 10318 bool temp2 = False ;
d14a1e28
RD
10319 PyObject * obj0 = 0 ;
10320 PyObject * obj1 = 0 ;
10321 char *kwnames[] = {
10322 (char *) "self",(char *) "wildCard", NULL
10323 };
10324
10325 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FileDialog_SetWildcard",kwnames,&obj0,&obj1)) goto fail;
10326 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10327 {
10328 arg2 = wxString_in_helper(obj1);
10329 if (arg2 == NULL) SWIG_fail;
423f194a 10330 temp2 = True;
d14a1e28
RD
10331 }
10332 {
10333 PyThreadState* __tstate = wxPyBeginAllowThreads();
10334 (arg1)->SetWildcard((wxString const &)*arg2);
10335
10336 wxPyEndAllowThreads(__tstate);
10337 if (PyErr_Occurred()) SWIG_fail;
10338 }
10339 Py_INCREF(Py_None); resultobj = Py_None;
10340 {
10341 if (temp2)
10342 delete arg2;
10343 }
10344 return resultobj;
10345 fail:
10346 {
10347 if (temp2)
10348 delete arg2;
10349 }
10350 return NULL;
10351}
10352
10353
10354static PyObject *_wrap_FileDialog_SetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10355 PyObject *resultobj;
10356 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10357 long arg2 ;
10358 PyObject * obj0 = 0 ;
10359 char *kwnames[] = {
10360 (char *) "self",(char *) "style", NULL
10361 };
10362
10363 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:FileDialog_SetStyle",kwnames,&obj0,&arg2)) goto fail;
10364 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10365 {
10366 PyThreadState* __tstate = wxPyBeginAllowThreads();
10367 (arg1)->SetStyle(arg2);
10368
10369 wxPyEndAllowThreads(__tstate);
10370 if (PyErr_Occurred()) SWIG_fail;
10371 }
10372 Py_INCREF(Py_None); resultobj = Py_None;
10373 return resultobj;
10374 fail:
10375 return NULL;
10376}
10377
10378
10379static PyObject *_wrap_FileDialog_SetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10380 PyObject *resultobj;
10381 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10382 int arg2 ;
10383 PyObject * obj0 = 0 ;
10384 char *kwnames[] = {
10385 (char *) "self",(char *) "filterIndex", NULL
10386 };
10387
10388 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FileDialog_SetFilterIndex",kwnames,&obj0,&arg2)) goto fail;
10389 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10390 {
10391 PyThreadState* __tstate = wxPyBeginAllowThreads();
10392 (arg1)->SetFilterIndex(arg2);
10393
10394 wxPyEndAllowThreads(__tstate);
10395 if (PyErr_Occurred()) SWIG_fail;
10396 }
10397 Py_INCREF(Py_None); resultobj = Py_None;
10398 return resultobj;
10399 fail:
10400 return NULL;
10401}
10402
10403
10404static PyObject *_wrap_FileDialog_GetMessage(PyObject *self, PyObject *args, PyObject *kwargs) {
10405 PyObject *resultobj;
10406 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10407 wxString result;
10408 PyObject * obj0 = 0 ;
10409 char *kwnames[] = {
10410 (char *) "self", NULL
10411 };
10412
10413 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetMessage",kwnames,&obj0)) goto fail;
10414 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10415 {
10416 PyThreadState* __tstate = wxPyBeginAllowThreads();
10417 result = ((wxFileDialog const *)arg1)->GetMessage();
10418
10419 wxPyEndAllowThreads(__tstate);
10420 if (PyErr_Occurred()) SWIG_fail;
10421 }
10422 {
10423#if wxUSE_UNICODE
10424 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10425#else
10426 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10427#endif
10428 }
10429 return resultobj;
10430 fail:
10431 return NULL;
10432}
10433
10434
10435static PyObject *_wrap_FileDialog_GetPath(PyObject *self, PyObject *args, PyObject *kwargs) {
10436 PyObject *resultobj;
10437 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10438 wxString result;
10439 PyObject * obj0 = 0 ;
10440 char *kwnames[] = {
10441 (char *) "self", NULL
10442 };
10443
10444 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPath",kwnames,&obj0)) goto fail;
10445 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10446 {
10447 PyThreadState* __tstate = wxPyBeginAllowThreads();
10448 result = ((wxFileDialog const *)arg1)->GetPath();
10449
10450 wxPyEndAllowThreads(__tstate);
10451 if (PyErr_Occurred()) SWIG_fail;
10452 }
10453 {
10454#if wxUSE_UNICODE
10455 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10456#else
10457 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10458#endif
10459 }
10460 return resultobj;
10461 fail:
10462 return NULL;
10463}
10464
10465
10466static PyObject *_wrap_FileDialog_GetDirectory(PyObject *self, PyObject *args, PyObject *kwargs) {
10467 PyObject *resultobj;
10468 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10469 wxString result;
10470 PyObject * obj0 = 0 ;
10471 char *kwnames[] = {
10472 (char *) "self", NULL
10473 };
10474
10475 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetDirectory",kwnames,&obj0)) goto fail;
10476 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10477 {
10478 PyThreadState* __tstate = wxPyBeginAllowThreads();
10479 result = ((wxFileDialog const *)arg1)->GetDirectory();
10480
10481 wxPyEndAllowThreads(__tstate);
10482 if (PyErr_Occurred()) SWIG_fail;
10483 }
10484 {
10485#if wxUSE_UNICODE
10486 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10487#else
10488 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10489#endif
10490 }
10491 return resultobj;
10492 fail:
10493 return NULL;
10494}
10495
10496
10497static PyObject *_wrap_FileDialog_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
10498 PyObject *resultobj;
10499 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10500 wxString result;
10501 PyObject * obj0 = 0 ;
10502 char *kwnames[] = {
10503 (char *) "self", NULL
10504 };
10505
10506 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilename",kwnames,&obj0)) goto fail;
10507 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10508 {
10509 PyThreadState* __tstate = wxPyBeginAllowThreads();
10510 result = ((wxFileDialog const *)arg1)->GetFilename();
10511
10512 wxPyEndAllowThreads(__tstate);
10513 if (PyErr_Occurred()) SWIG_fail;
10514 }
10515 {
10516#if wxUSE_UNICODE
10517 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10518#else
10519 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10520#endif
10521 }
10522 return resultobj;
10523 fail:
10524 return NULL;
10525}
10526
10527
10528static PyObject *_wrap_FileDialog_GetWildcard(PyObject *self, PyObject *args, PyObject *kwargs) {
10529 PyObject *resultobj;
10530 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10531 wxString result;
10532 PyObject * obj0 = 0 ;
10533 char *kwnames[] = {
10534 (char *) "self", NULL
10535 };
10536
10537 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetWildcard",kwnames,&obj0)) goto fail;
10538 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10539 {
10540 PyThreadState* __tstate = wxPyBeginAllowThreads();
10541 result = ((wxFileDialog const *)arg1)->GetWildcard();
10542
10543 wxPyEndAllowThreads(__tstate);
10544 if (PyErr_Occurred()) SWIG_fail;
10545 }
10546 {
10547#if wxUSE_UNICODE
10548 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10549#else
10550 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10551#endif
10552 }
10553 return resultobj;
10554 fail:
10555 return NULL;
10556}
10557
10558
10559static PyObject *_wrap_FileDialog_GetStyle(PyObject *self, PyObject *args, PyObject *kwargs) {
10560 PyObject *resultobj;
10561 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10562 long result;
10563 PyObject * obj0 = 0 ;
10564 char *kwnames[] = {
10565 (char *) "self", NULL
10566 };
10567
10568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetStyle",kwnames,&obj0)) goto fail;
10569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10570 {
10571 PyThreadState* __tstate = wxPyBeginAllowThreads();
10572 result = (long)((wxFileDialog const *)arg1)->GetStyle();
10573
10574 wxPyEndAllowThreads(__tstate);
10575 if (PyErr_Occurred()) SWIG_fail;
10576 }
10577 resultobj = PyInt_FromLong((long)result);
10578 return resultobj;
10579 fail:
10580 return NULL;
10581}
10582
10583
10584static PyObject *_wrap_FileDialog_GetFilterIndex(PyObject *self, PyObject *args, PyObject *kwargs) {
10585 PyObject *resultobj;
10586 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10587 int result;
10588 PyObject * obj0 = 0 ;
10589 char *kwnames[] = {
10590 (char *) "self", NULL
10591 };
10592
10593 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilterIndex",kwnames,&obj0)) goto fail;
10594 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10595 {
10596 PyThreadState* __tstate = wxPyBeginAllowThreads();
10597 result = (int)((wxFileDialog const *)arg1)->GetFilterIndex();
10598
10599 wxPyEndAllowThreads(__tstate);
10600 if (PyErr_Occurred()) SWIG_fail;
10601 }
10602 resultobj = PyInt_FromLong((long)result);
10603 return resultobj;
10604 fail:
10605 return NULL;
10606}
10607
10608
10609static PyObject *_wrap_FileDialog_GetFilenames(PyObject *self, PyObject *args, PyObject *kwargs) {
10610 PyObject *resultobj;
10611 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10612 PyObject *result;
10613 PyObject * obj0 = 0 ;
10614 char *kwnames[] = {
10615 (char *) "self", NULL
10616 };
10617
10618 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetFilenames",kwnames,&obj0)) goto fail;
10619 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10620 {
10621 PyThreadState* __tstate = wxPyBeginAllowThreads();
10622 result = (PyObject *)wxFileDialog_GetFilenames(arg1);
10623
10624 wxPyEndAllowThreads(__tstate);
10625 if (PyErr_Occurred()) SWIG_fail;
10626 }
10627 resultobj = result;
10628 return resultobj;
10629 fail:
10630 return NULL;
10631}
10632
10633
10634static PyObject *_wrap_FileDialog_GetPaths(PyObject *self, PyObject *args, PyObject *kwargs) {
10635 PyObject *resultobj;
10636 wxFileDialog *arg1 = (wxFileDialog *) 0 ;
10637 PyObject *result;
10638 PyObject * obj0 = 0 ;
10639 char *kwnames[] = {
10640 (char *) "self", NULL
10641 };
10642
10643 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FileDialog_GetPaths",kwnames,&obj0)) goto fail;
10644 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFileDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10645 {
10646 PyThreadState* __tstate = wxPyBeginAllowThreads();
10647 result = (PyObject *)wxFileDialog_GetPaths(arg1);
10648
10649 wxPyEndAllowThreads(__tstate);
10650 if (PyErr_Occurred()) SWIG_fail;
10651 }
10652 resultobj = result;
10653 return resultobj;
10654 fail:
10655 return NULL;
10656}
10657
10658
10659static PyObject * FileDialog_swigregister(PyObject *self, PyObject *args) {
10660 PyObject *obj;
10661 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10662 SWIG_TypeClientData(SWIGTYPE_p_wxFileDialog, obj);
10663 Py_INCREF(obj);
10664 return Py_BuildValue((char *)"");
10665}
10666static PyObject *_wrap_new_MultiChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10667 PyObject *resultobj;
10668 wxWindow *arg1 = (wxWindow *) 0 ;
10669 wxString *arg2 = 0 ;
10670 wxString *arg3 = 0 ;
10671 int arg4 ;
10672 wxString *arg5 = (wxString *) 0 ;
10673 long arg6 = (long) wxCHOICEDLG_STYLE ;
10674 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10675 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10676 wxMultiChoiceDialog *result;
423f194a
RD
10677 bool temp2 = False ;
10678 bool temp3 = False ;
dae0faa6 10679 bool temp5 = False ;
d14a1e28
RD
10680 wxPoint temp7 ;
10681 PyObject * obj0 = 0 ;
10682 PyObject * obj1 = 0 ;
10683 PyObject * obj2 = 0 ;
10684 PyObject * obj4 = 0 ;
10685 PyObject * obj6 = 0 ;
10686 char *kwnames[] = {
10687 (char *) "parent",(char *) "message",(char *) "caption",(char *) "LCOUNT",(char *) "choices",(char *) "style",(char *) "pos", NULL
10688 };
10689
10690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOiO|lO:new_MultiChoiceDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4,&arg6,&obj6)) goto fail;
10691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10692 {
10693 arg2 = wxString_in_helper(obj1);
10694 if (arg2 == NULL) SWIG_fail;
423f194a 10695 temp2 = True;
d14a1e28
RD
10696 }
10697 {
10698 arg3 = wxString_in_helper(obj2);
10699 if (arg3 == NULL) SWIG_fail;
423f194a 10700 temp3 = True;
d14a1e28 10701 }
dae0faa6
RD
10702 {
10703 arg5 = wxString_in_helper(obj4);
10704 if (arg5 == NULL) SWIG_fail;
10705 temp5 = True;
10706 }
d14a1e28
RD
10707 if (obj6) {
10708 {
10709 arg7 = &temp7;
10710 if ( ! wxPoint_helper(obj6, &arg7)) SWIG_fail;
10711 }
10712 }
10713 {
10714 PyThreadState* __tstate = wxPyBeginAllowThreads();
10715 result = (wxMultiChoiceDialog *)new wxMultiChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10716
10717 wxPyEndAllowThreads(__tstate);
10718 if (PyErr_Occurred()) SWIG_fail;
10719 }
10720 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMultiChoiceDialog, 1);
10721 {
10722 if (temp2)
10723 delete arg2;
10724 }
10725 {
10726 if (temp3)
10727 delete arg3;
10728 }
dae0faa6
RD
10729 {
10730 if (temp5)
10731 delete arg5;
10732 }
d14a1e28
RD
10733 return resultobj;
10734 fail:
10735 {
10736 if (temp2)
10737 delete arg2;
10738 }
10739 {
10740 if (temp3)
10741 delete arg3;
10742 }
dae0faa6
RD
10743 {
10744 if (temp5)
10745 delete arg5;
10746 }
d14a1e28
RD
10747 return NULL;
10748}
10749
10750
10751static PyObject *_wrap_MultiChoiceDialog_SetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10752 PyObject *resultobj;
10753 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10754 wxArrayInt *arg2 = 0 ;
10755 PyObject * obj0 = 0 ;
10756 PyObject * obj1 = 0 ;
10757 char *kwnames[] = {
10758 (char *) "self",(char *) "selections", NULL
10759 };
10760
10761 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames,&obj0,&obj1)) goto fail;
10762 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10763 {
10764 if (! PySequence_Check(obj1)) {
10765 PyErr_SetString(PyExc_TypeError, "Sequence of integers expected.");
10766 SWIG_fail;
10767 }
10768 arg2 = new wxArrayInt;
10769 int i, len=PySequence_Length(obj1);
10770 for (i=0; i<len; i++) {
10771 PyObject* item = PySequence_GetItem(obj1, i);
10772 PyObject* number = PyNumber_Int(item);
10773 arg2->Add(PyInt_AS_LONG(number));
10774 Py_DECREF(item);
10775 Py_DECREF(number);
10776 }
10777 }
10778 {
10779 PyThreadState* __tstate = wxPyBeginAllowThreads();
10780 (arg1)->SetSelections((wxArrayInt const &)*arg2);
10781
10782 wxPyEndAllowThreads(__tstate);
10783 if (PyErr_Occurred()) SWIG_fail;
10784 }
10785 Py_INCREF(Py_None); resultobj = Py_None;
10786 {
10787 if (arg2) delete arg2;
10788 }
10789 return resultobj;
10790 fail:
10791 {
10792 if (arg2) delete arg2;
10793 }
10794 return NULL;
10795}
10796
10797
10798static PyObject *_wrap_MultiChoiceDialog_GetSelections(PyObject *self, PyObject *args, PyObject *kwargs) {
10799 PyObject *resultobj;
10800 wxMultiChoiceDialog *arg1 = (wxMultiChoiceDialog *) 0 ;
10801 PyObject *result;
10802 PyObject * obj0 = 0 ;
10803 char *kwnames[] = {
10804 (char *) "self", NULL
10805 };
10806
10807 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MultiChoiceDialog_GetSelections",kwnames,&obj0)) goto fail;
10808 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMultiChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10809 {
10810 PyThreadState* __tstate = wxPyBeginAllowThreads();
10811 result = (PyObject *)wxMultiChoiceDialog_GetSelections(arg1);
10812
10813 wxPyEndAllowThreads(__tstate);
10814 if (PyErr_Occurred()) SWIG_fail;
10815 }
10816 resultobj = result;
10817 return resultobj;
10818 fail:
10819 return NULL;
10820}
10821
10822
10823static PyObject * MultiChoiceDialog_swigregister(PyObject *self, PyObject *args) {
10824 PyObject *obj;
10825 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
10826 SWIG_TypeClientData(SWIGTYPE_p_wxMultiChoiceDialog, obj);
10827 Py_INCREF(obj);
10828 return Py_BuildValue((char *)"");
10829}
10830static PyObject *_wrap_new_SingleChoiceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
10831 PyObject *resultobj;
10832 wxWindow *arg1 = (wxWindow *) 0 ;
10833 wxString *arg2 = 0 ;
10834 wxString *arg3 = 0 ;
10835 int arg4 ;
10836 wxString *arg5 = (wxString *) 0 ;
10837 long arg6 = (long) wxCHOICEDLG_STYLE ;
10838 wxPoint const &arg7_defvalue = wxDefaultPosition ;
10839 wxPoint *arg7 = (wxPoint *) &arg7_defvalue ;
10840 wxSingleChoiceDialog *result;
423f194a
RD
10841 bool temp2 = False ;
10842 bool temp3 = False ;
d14a1e28
RD
10843 wxPoint temp6 ;
10844 PyObject * obj0 = 0 ;
10845 PyObject * obj1 = 0 ;
10846 PyObject * obj2 = 0 ;
10847 PyObject * obj3 = 0 ;
10848 PyObject * obj5 = 0 ;
10849 char *kwnames[] = {
10850 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
10851 };
10852
10853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|lO:new_SingleChoiceDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg6,&obj5)) goto fail;
10854 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10855 {
10856 arg2 = wxString_in_helper(obj1);
10857 if (arg2 == NULL) SWIG_fail;
423f194a 10858 temp2 = True;
d14a1e28
RD
10859 }
10860 {
10861 arg3 = wxString_in_helper(obj2);
10862 if (arg3 == NULL) SWIG_fail;
423f194a 10863 temp3 = True;
d14a1e28
RD
10864 }
10865 {
10866 arg4 = PyList_Size(obj3);
10867 arg5 = wxString_LIST_helper(obj3);
10868 if (arg5 == NULL) SWIG_fail;
10869 }
10870 if (obj5) {
10871 {
10872 arg7 = &temp6;
10873 if ( ! wxPoint_helper(obj5, &arg7)) SWIG_fail;
10874 }
10875 }
10876 {
10877 PyThreadState* __tstate = wxPyBeginAllowThreads();
10878 result = (wxSingleChoiceDialog *)new_wxSingleChoiceDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,arg5,arg6,(wxPoint const &)*arg7);
10879
10880 wxPyEndAllowThreads(__tstate);
10881 if (PyErr_Occurred()) SWIG_fail;
10882 }
10883 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSingleChoiceDialog, 1);
10884 {
10885 if (temp2)
10886 delete arg2;
10887 }
10888 {
10889 if (temp3)
10890 delete arg3;
10891 }
10892 {
10893 if (arg5) delete [] arg5;
10894 }
10895 return resultobj;
10896 fail:
10897 {
10898 if (temp2)
10899 delete arg2;
10900 }
10901 {
10902 if (temp3)
10903 delete arg3;
10904 }
10905 {
10906 if (arg5) delete [] arg5;
10907 }
10908 return NULL;
10909}
10910
10911
10912static PyObject *_wrap_SingleChoiceDialog_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10913 PyObject *resultobj;
10914 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10915 int result;
10916 PyObject * obj0 = 0 ;
10917 char *kwnames[] = {
10918 (char *) "self", NULL
10919 };
10920
10921 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetSelection",kwnames,&obj0)) goto fail;
10922 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10923 {
10924 PyThreadState* __tstate = wxPyBeginAllowThreads();
10925 result = (int)(arg1)->GetSelection();
10926
10927 wxPyEndAllowThreads(__tstate);
10928 if (PyErr_Occurred()) SWIG_fail;
10929 }
10930 resultobj = PyInt_FromLong((long)result);
10931 return resultobj;
10932 fail:
10933 return NULL;
10934}
10935
10936
10937static PyObject *_wrap_SingleChoiceDialog_GetStringSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10938 PyObject *resultobj;
10939 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10940 wxString result;
10941 PyObject * obj0 = 0 ;
10942 char *kwnames[] = {
10943 (char *) "self", NULL
10944 };
10945
10946 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_GetStringSelection",kwnames,&obj0)) goto fail;
10947 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10948 {
10949 PyThreadState* __tstate = wxPyBeginAllowThreads();
10950 result = (arg1)->GetStringSelection();
10951
10952 wxPyEndAllowThreads(__tstate);
10953 if (PyErr_Occurred()) SWIG_fail;
10954 }
10955 {
10956#if wxUSE_UNICODE
10957 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
10958#else
10959 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
10960#endif
10961 }
10962 return resultobj;
10963 fail:
10964 return NULL;
10965}
10966
10967
10968static PyObject *_wrap_SingleChoiceDialog_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
10969 PyObject *resultobj;
10970 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10971 int arg2 ;
10972 PyObject * obj0 = 0 ;
10973 char *kwnames[] = {
10974 (char *) "self",(char *) "sel", NULL
10975 };
10976
10977 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:SingleChoiceDialog_SetSelection",kwnames,&obj0,&arg2)) goto fail;
10978 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
10979 {
10980 PyThreadState* __tstate = wxPyBeginAllowThreads();
10981 (arg1)->SetSelection(arg2);
10982
10983 wxPyEndAllowThreads(__tstate);
10984 if (PyErr_Occurred()) SWIG_fail;
10985 }
10986 Py_INCREF(Py_None); resultobj = Py_None;
10987 return resultobj;
10988 fail:
10989 return NULL;
10990}
10991
10992
10993static PyObject *_wrap_SingleChoiceDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
10994 PyObject *resultobj;
10995 wxSingleChoiceDialog *arg1 = (wxSingleChoiceDialog *) 0 ;
10996 int result;
10997 PyObject * obj0 = 0 ;
10998 char *kwnames[] = {
10999 (char *) "self", NULL
11000 };
11001
11002 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:SingleChoiceDialog_ShowModal",kwnames,&obj0)) goto fail;
11003 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxSingleChoiceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11004 {
11005 PyThreadState* __tstate = wxPyBeginAllowThreads();
11006 result = (int)(arg1)->ShowModal();
11007
11008 wxPyEndAllowThreads(__tstate);
11009 if (PyErr_Occurred()) SWIG_fail;
11010 }
11011 resultobj = PyInt_FromLong((long)result);
11012 return resultobj;
11013 fail:
11014 return NULL;
11015}
11016
11017
11018static PyObject * SingleChoiceDialog_swigregister(PyObject *self, PyObject *args) {
11019 PyObject *obj;
11020 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11021 SWIG_TypeClientData(SWIGTYPE_p_wxSingleChoiceDialog, obj);
11022 Py_INCREF(obj);
11023 return Py_BuildValue((char *)"");
11024}
11025static PyObject *_wrap_new_TextEntryDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11026 PyObject *resultobj;
11027 wxWindow *arg1 = (wxWindow *) 0 ;
11028 wxString *arg2 = 0 ;
11029 wxString const &arg3_defvalue = wxPyGetTextFromUserPromptStr ;
11030 wxString *arg3 = (wxString *) &arg3_defvalue ;
11031 wxString const &arg4_defvalue = wxPyEmptyString ;
11032 wxString *arg4 = (wxString *) &arg4_defvalue ;
11033 long arg5 = (long) wxOK|wxCANCEL|wxCENTRE ;
11034 wxPoint const &arg6_defvalue = wxDefaultPosition ;
11035 wxPoint *arg6 = (wxPoint *) &arg6_defvalue ;
11036 wxTextEntryDialog *result;
423f194a
RD
11037 bool temp2 = False ;
11038 bool temp3 = False ;
11039 bool temp4 = False ;
d14a1e28
RD
11040 wxPoint temp6 ;
11041 PyObject * obj0 = 0 ;
11042 PyObject * obj1 = 0 ;
11043 PyObject * obj2 = 0 ;
11044 PyObject * obj3 = 0 ;
11045 PyObject * obj5 = 0 ;
11046 char *kwnames[] = {
11047 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
11048 };
11049
11050 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_TextEntryDialog",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
11051 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11052 {
11053 arg2 = wxString_in_helper(obj1);
11054 if (arg2 == NULL) SWIG_fail;
423f194a 11055 temp2 = True;
d14a1e28
RD
11056 }
11057 if (obj2) {
11058 {
11059 arg3 = wxString_in_helper(obj2);
11060 if (arg3 == NULL) SWIG_fail;
423f194a 11061 temp3 = True;
d14a1e28
RD
11062 }
11063 }
11064 if (obj3) {
11065 {
11066 arg4 = wxString_in_helper(obj3);
11067 if (arg4 == NULL) SWIG_fail;
423f194a 11068 temp4 = True;
d14a1e28
RD
11069 }
11070 }
11071 if (obj5) {
11072 {
11073 arg6 = &temp6;
11074 if ( ! wxPoint_helper(obj5, &arg6)) SWIG_fail;
11075 }
11076 }
11077 {
11078 PyThreadState* __tstate = wxPyBeginAllowThreads();
11079 result = (wxTextEntryDialog *)new wxTextEntryDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,(wxString const &)*arg4,arg5,(wxPoint const &)*arg6);
11080
11081 wxPyEndAllowThreads(__tstate);
11082 if (PyErr_Occurred()) SWIG_fail;
11083 }
11084 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxTextEntryDialog, 1);
11085 {
11086 if (temp2)
11087 delete arg2;
11088 }
11089 {
11090 if (temp3)
11091 delete arg3;
11092 }
11093 {
11094 if (temp4)
11095 delete arg4;
11096 }
11097 return resultobj;
11098 fail:
11099 {
11100 if (temp2)
11101 delete arg2;
11102 }
11103 {
11104 if (temp3)
11105 delete arg3;
11106 }
11107 {
11108 if (temp4)
11109 delete arg4;
11110 }
11111 return NULL;
11112}
11113
11114
11115static PyObject *_wrap_TextEntryDialog_GetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11116 PyObject *resultobj;
11117 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11118 wxString result;
11119 PyObject * obj0 = 0 ;
11120 char *kwnames[] = {
11121 (char *) "self", NULL
11122 };
11123
11124 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_GetValue",kwnames,&obj0)) goto fail;
11125 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11126 {
11127 PyThreadState* __tstate = wxPyBeginAllowThreads();
11128 result = (arg1)->GetValue();
11129
11130 wxPyEndAllowThreads(__tstate);
11131 if (PyErr_Occurred()) SWIG_fail;
11132 }
11133 {
11134#if wxUSE_UNICODE
11135 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
11136#else
11137 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
11138#endif
11139 }
11140 return resultobj;
11141 fail:
11142 return NULL;
11143}
11144
11145
11146static PyObject *_wrap_TextEntryDialog_SetValue(PyObject *self, PyObject *args, PyObject *kwargs) {
11147 PyObject *resultobj;
11148 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11149 wxString *arg2 = 0 ;
423f194a 11150 bool temp2 = False ;
d14a1e28
RD
11151 PyObject * obj0 = 0 ;
11152 PyObject * obj1 = 0 ;
11153 char *kwnames[] = {
11154 (char *) "self",(char *) "value", NULL
11155 };
11156
11157 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:TextEntryDialog_SetValue",kwnames,&obj0,&obj1)) goto fail;
11158 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11159 {
11160 arg2 = wxString_in_helper(obj1);
11161 if (arg2 == NULL) SWIG_fail;
423f194a 11162 temp2 = True;
d14a1e28
RD
11163 }
11164 {
11165 PyThreadState* __tstate = wxPyBeginAllowThreads();
11166 (arg1)->SetValue((wxString const &)*arg2);
11167
11168 wxPyEndAllowThreads(__tstate);
11169 if (PyErr_Occurred()) SWIG_fail;
11170 }
11171 Py_INCREF(Py_None); resultobj = Py_None;
11172 {
11173 if (temp2)
11174 delete arg2;
11175 }
11176 return resultobj;
11177 fail:
11178 {
11179 if (temp2)
11180 delete arg2;
11181 }
11182 return NULL;
11183}
11184
11185
11186static PyObject *_wrap_TextEntryDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11187 PyObject *resultobj;
11188 wxTextEntryDialog *arg1 = (wxTextEntryDialog *) 0 ;
11189 int result;
11190 PyObject * obj0 = 0 ;
11191 char *kwnames[] = {
11192 (char *) "self", NULL
11193 };
11194
11195 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:TextEntryDialog_ShowModal",kwnames,&obj0)) goto fail;
11196 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxTextEntryDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11197 {
11198 PyThreadState* __tstate = wxPyBeginAllowThreads();
11199 result = (int)(arg1)->ShowModal();
11200
11201 wxPyEndAllowThreads(__tstate);
11202 if (PyErr_Occurred()) SWIG_fail;
11203 }
11204 resultobj = PyInt_FromLong((long)result);
11205 return resultobj;
11206 fail:
11207 return NULL;
11208}
11209
11210
11211static PyObject * TextEntryDialog_swigregister(PyObject *self, PyObject *args) {
11212 PyObject *obj;
11213 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11214 SWIG_TypeClientData(SWIGTYPE_p_wxTextEntryDialog, obj);
11215 Py_INCREF(obj);
11216 return Py_BuildValue((char *)"");
11217}
11218static PyObject *_wrap_new_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11219 PyObject *resultobj;
11220 wxFontData *result;
11221 char *kwnames[] = {
11222 NULL
11223 };
11224
11225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_FontData",kwnames)) goto fail;
11226 {
11227 PyThreadState* __tstate = wxPyBeginAllowThreads();
11228 result = (wxFontData *)new wxFontData();
11229
11230 wxPyEndAllowThreads(__tstate);
11231 if (PyErr_Occurred()) SWIG_fail;
11232 }
11233 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 1);
11234 return resultobj;
11235 fail:
11236 return NULL;
11237}
11238
11239
11240static PyObject *_wrap_delete_FontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11241 PyObject *resultobj;
11242 wxFontData *arg1 = (wxFontData *) 0 ;
11243 PyObject * obj0 = 0 ;
11244 char *kwnames[] = {
11245 (char *) "self", NULL
11246 };
11247
11248 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FontData",kwnames,&obj0)) goto fail;
11249 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11250 {
11251 PyThreadState* __tstate = wxPyBeginAllowThreads();
11252 delete arg1;
11253
11254 wxPyEndAllowThreads(__tstate);
11255 if (PyErr_Occurred()) SWIG_fail;
11256 }
11257 Py_INCREF(Py_None); resultobj = Py_None;
11258 return resultobj;
11259 fail:
11260 return NULL;
11261}
11262
11263
11264static PyObject *_wrap_FontData_EnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11265 PyObject *resultobj;
11266 wxFontData *arg1 = (wxFontData *) 0 ;
11267 bool arg2 ;
11268 PyObject * obj0 = 0 ;
11269 PyObject * obj1 = 0 ;
11270 char *kwnames[] = {
11271 (char *) "self",(char *) "enable", NULL
11272 };
11273
11274 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_EnableEffects",kwnames,&obj0,&obj1)) goto fail;
11275 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11276 arg2 = PyInt_AsLong(obj1) ? true : false;
11277 if (PyErr_Occurred()) SWIG_fail;
11278 {
11279 PyThreadState* __tstate = wxPyBeginAllowThreads();
11280 (arg1)->EnableEffects(arg2);
11281
11282 wxPyEndAllowThreads(__tstate);
11283 if (PyErr_Occurred()) SWIG_fail;
11284 }
11285 Py_INCREF(Py_None); resultobj = Py_None;
11286 return resultobj;
11287 fail:
11288 return NULL;
11289}
11290
11291
11292static PyObject *_wrap_FontData_GetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11293 PyObject *resultobj;
11294 wxFontData *arg1 = (wxFontData *) 0 ;
11295 bool result;
11296 PyObject * obj0 = 0 ;
11297 char *kwnames[] = {
11298 (char *) "self", NULL
11299 };
11300
11301 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetAllowSymbols",kwnames,&obj0)) goto fail;
11302 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11303 {
11304 PyThreadState* __tstate = wxPyBeginAllowThreads();
11305 result = (bool)(arg1)->GetAllowSymbols();
11306
11307 wxPyEndAllowThreads(__tstate);
11308 if (PyErr_Occurred()) SWIG_fail;
11309 }
11310 resultobj = PyInt_FromLong((long)result);
11311 return resultobj;
11312 fail:
11313 return NULL;
11314}
11315
11316
11317static PyObject *_wrap_FontData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11318 PyObject *resultobj;
11319 wxFontData *arg1 = (wxFontData *) 0 ;
11320 wxColour result;
11321 PyObject * obj0 = 0 ;
11322 char *kwnames[] = {
11323 (char *) "self", NULL
11324 };
11325
11326 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetColour",kwnames,&obj0)) goto fail;
11327 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11328 {
11329 PyThreadState* __tstate = wxPyBeginAllowThreads();
11330 result = (arg1)->GetColour();
11331
11332 wxPyEndAllowThreads(__tstate);
11333 if (PyErr_Occurred()) SWIG_fail;
11334 }
11335 {
11336 wxColour * resultptr;
11337 resultptr = new wxColour((wxColour &) result);
11338 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxColour, 1);
11339 }
11340 return resultobj;
11341 fail:
11342 return NULL;
11343}
11344
11345
11346static PyObject *_wrap_FontData_GetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11347 PyObject *resultobj;
11348 wxFontData *arg1 = (wxFontData *) 0 ;
11349 wxFont result;
11350 PyObject * obj0 = 0 ;
11351 char *kwnames[] = {
11352 (char *) "self", NULL
11353 };
11354
11355 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetChosenFont",kwnames,&obj0)) goto fail;
11356 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11357 {
11358 PyThreadState* __tstate = wxPyBeginAllowThreads();
11359 result = (arg1)->GetChosenFont();
11360
11361 wxPyEndAllowThreads(__tstate);
11362 if (PyErr_Occurred()) SWIG_fail;
11363 }
11364 {
11365 wxFont * resultptr;
11366 resultptr = new wxFont((wxFont &) result);
11367 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11368 }
11369 return resultobj;
11370 fail:
11371 return NULL;
11372}
11373
11374
11375static PyObject *_wrap_FontData_GetEnableEffects(PyObject *self, PyObject *args, PyObject *kwargs) {
11376 PyObject *resultobj;
11377 wxFontData *arg1 = (wxFontData *) 0 ;
11378 bool result;
11379 PyObject * obj0 = 0 ;
11380 char *kwnames[] = {
11381 (char *) "self", NULL
11382 };
11383
11384 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetEnableEffects",kwnames,&obj0)) goto fail;
11385 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11386 {
11387 PyThreadState* __tstate = wxPyBeginAllowThreads();
11388 result = (bool)(arg1)->GetEnableEffects();
11389
11390 wxPyEndAllowThreads(__tstate);
11391 if (PyErr_Occurred()) SWIG_fail;
11392 }
11393 resultobj = PyInt_FromLong((long)result);
11394 return resultobj;
11395 fail:
11396 return NULL;
11397}
11398
11399
11400static PyObject *_wrap_FontData_GetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11401 PyObject *resultobj;
11402 wxFontData *arg1 = (wxFontData *) 0 ;
11403 wxFont result;
11404 PyObject * obj0 = 0 ;
11405 char *kwnames[] = {
11406 (char *) "self", NULL
11407 };
11408
11409 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetInitialFont",kwnames,&obj0)) goto fail;
11410 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11411 {
11412 PyThreadState* __tstate = wxPyBeginAllowThreads();
11413 result = (arg1)->GetInitialFont();
11414
11415 wxPyEndAllowThreads(__tstate);
11416 if (PyErr_Occurred()) SWIG_fail;
11417 }
11418 {
11419 wxFont * resultptr;
11420 resultptr = new wxFont((wxFont &) result);
11421 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxFont, 1);
11422 }
11423 return resultobj;
11424 fail:
11425 return NULL;
11426}
11427
11428
11429static PyObject *_wrap_FontData_GetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11430 PyObject *resultobj;
11431 wxFontData *arg1 = (wxFontData *) 0 ;
11432 bool result;
11433 PyObject * obj0 = 0 ;
11434 char *kwnames[] = {
11435 (char *) "self", NULL
11436 };
11437
11438 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontData_GetShowHelp",kwnames,&obj0)) goto fail;
11439 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11440 {
11441 PyThreadState* __tstate = wxPyBeginAllowThreads();
11442 result = (bool)(arg1)->GetShowHelp();
11443
11444 wxPyEndAllowThreads(__tstate);
11445 if (PyErr_Occurred()) SWIG_fail;
11446 }
11447 resultobj = PyInt_FromLong((long)result);
11448 return resultobj;
11449 fail:
11450 return NULL;
11451}
11452
11453
11454static PyObject *_wrap_FontData_SetAllowSymbols(PyObject *self, PyObject *args, PyObject *kwargs) {
11455 PyObject *resultobj;
11456 wxFontData *arg1 = (wxFontData *) 0 ;
11457 bool arg2 ;
11458 PyObject * obj0 = 0 ;
11459 PyObject * obj1 = 0 ;
11460 char *kwnames[] = {
11461 (char *) "self",(char *) "allowSymbols", NULL
11462 };
11463
11464 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetAllowSymbols",kwnames,&obj0,&obj1)) goto fail;
11465 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11466 arg2 = PyInt_AsLong(obj1) ? true : false;
11467 if (PyErr_Occurred()) SWIG_fail;
11468 {
11469 PyThreadState* __tstate = wxPyBeginAllowThreads();
11470 (arg1)->SetAllowSymbols(arg2);
11471
11472 wxPyEndAllowThreads(__tstate);
11473 if (PyErr_Occurred()) SWIG_fail;
11474 }
11475 Py_INCREF(Py_None); resultobj = Py_None;
11476 return resultobj;
11477 fail:
11478 return NULL;
11479}
11480
11481
11482static PyObject *_wrap_FontData_SetChosenFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11483 PyObject *resultobj;
11484 wxFontData *arg1 = (wxFontData *) 0 ;
11485 wxFont *arg2 = 0 ;
11486 PyObject * obj0 = 0 ;
11487 PyObject * obj1 = 0 ;
11488 char *kwnames[] = {
11489 (char *) "self",(char *) "font", NULL
11490 };
11491
11492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetChosenFont",kwnames,&obj0,&obj1)) goto fail;
11493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11494 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11495 if (arg2 == NULL) {
11496 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11497 }
11498 {
11499 PyThreadState* __tstate = wxPyBeginAllowThreads();
11500 (arg1)->SetChosenFont((wxFont const &)*arg2);
11501
11502 wxPyEndAllowThreads(__tstate);
11503 if (PyErr_Occurred()) SWIG_fail;
11504 }
11505 Py_INCREF(Py_None); resultobj = Py_None;
11506 return resultobj;
11507 fail:
11508 return NULL;
11509}
11510
11511
11512static PyObject *_wrap_FontData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
11513 PyObject *resultobj;
11514 wxFontData *arg1 = (wxFontData *) 0 ;
11515 wxColour *arg2 = 0 ;
11516 wxColour temp2 ;
11517 PyObject * obj0 = 0 ;
11518 PyObject * obj1 = 0 ;
11519 char *kwnames[] = {
11520 (char *) "self",(char *) "colour", NULL
11521 };
11522
11523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetColour",kwnames,&obj0,&obj1)) goto fail;
11524 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11525 {
11526 arg2 = &temp2;
11527 if ( ! wxColour_helper(obj1, &arg2)) SWIG_fail;
11528 }
11529 {
11530 PyThreadState* __tstate = wxPyBeginAllowThreads();
11531 (arg1)->SetColour((wxColour const &)*arg2);
11532
11533 wxPyEndAllowThreads(__tstate);
11534 if (PyErr_Occurred()) SWIG_fail;
11535 }
11536 Py_INCREF(Py_None); resultobj = Py_None;
11537 return resultobj;
11538 fail:
11539 return NULL;
11540}
11541
11542
11543static PyObject *_wrap_FontData_SetInitialFont(PyObject *self, PyObject *args, PyObject *kwargs) {
11544 PyObject *resultobj;
11545 wxFontData *arg1 = (wxFontData *) 0 ;
11546 wxFont *arg2 = 0 ;
11547 PyObject * obj0 = 0 ;
11548 PyObject * obj1 = 0 ;
11549 char *kwnames[] = {
11550 (char *) "self",(char *) "font", NULL
11551 };
11552
11553 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetInitialFont",kwnames,&obj0,&obj1)) goto fail;
11554 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11555 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFont,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11556 if (arg2 == NULL) {
11557 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11558 }
11559 {
11560 PyThreadState* __tstate = wxPyBeginAllowThreads();
11561 (arg1)->SetInitialFont((wxFont const &)*arg2);
11562
11563 wxPyEndAllowThreads(__tstate);
11564 if (PyErr_Occurred()) SWIG_fail;
11565 }
11566 Py_INCREF(Py_None); resultobj = Py_None;
11567 return resultobj;
11568 fail:
11569 return NULL;
11570}
11571
11572
11573static PyObject *_wrap_FontData_SetRange(PyObject *self, PyObject *args, PyObject *kwargs) {
11574 PyObject *resultobj;
11575 wxFontData *arg1 = (wxFontData *) 0 ;
11576 int arg2 ;
11577 int arg3 ;
11578 PyObject * obj0 = 0 ;
11579 char *kwnames[] = {
11580 (char *) "self",(char *) "min",(char *) "max", NULL
11581 };
11582
11583 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:FontData_SetRange",kwnames,&obj0,&arg2,&arg3)) goto fail;
11584 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11585 {
11586 PyThreadState* __tstate = wxPyBeginAllowThreads();
11587 (arg1)->SetRange(arg2,arg3);
11588
11589 wxPyEndAllowThreads(__tstate);
11590 if (PyErr_Occurred()) SWIG_fail;
11591 }
11592 Py_INCREF(Py_None); resultobj = Py_None;
11593 return resultobj;
11594 fail:
11595 return NULL;
11596}
11597
11598
11599static PyObject *_wrap_FontData_SetShowHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
11600 PyObject *resultobj;
11601 wxFontData *arg1 = (wxFontData *) 0 ;
11602 bool arg2 ;
11603 PyObject * obj0 = 0 ;
11604 PyObject * obj1 = 0 ;
11605 char *kwnames[] = {
11606 (char *) "self",(char *) "showHelp", NULL
11607 };
11608
11609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FontData_SetShowHelp",kwnames,&obj0,&obj1)) goto fail;
11610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11611 arg2 = PyInt_AsLong(obj1) ? true : false;
11612 if (PyErr_Occurred()) SWIG_fail;
11613 {
11614 PyThreadState* __tstate = wxPyBeginAllowThreads();
11615 (arg1)->SetShowHelp(arg2);
11616
11617 wxPyEndAllowThreads(__tstate);
11618 if (PyErr_Occurred()) SWIG_fail;
11619 }
11620 Py_INCREF(Py_None); resultobj = Py_None;
11621 return resultobj;
11622 fail:
11623 return NULL;
11624}
11625
11626
11627static PyObject * FontData_swigregister(PyObject *self, PyObject *args) {
11628 PyObject *obj;
11629 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11630 SWIG_TypeClientData(SWIGTYPE_p_wxFontData, obj);
11631 Py_INCREF(obj);
11632 return Py_BuildValue((char *)"");
11633}
11634static PyObject *_wrap_new_FontDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11635 PyObject *resultobj;
11636 wxWindow *arg1 = (wxWindow *) 0 ;
11637 wxFontData *arg2 = 0 ;
11638 wxFontDialog *result;
11639 PyObject * obj0 = 0 ;
11640 PyObject * obj1 = 0 ;
11641 char *kwnames[] = {
11642 (char *) "parent",(char *) "data", NULL
11643 };
11644
11645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:new_FontDialog",kwnames,&obj0,&obj1)) goto fail;
11646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11647 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFontData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11648 if (arg2 == NULL) {
11649 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
11650 }
11651 {
11652 PyThreadState* __tstate = wxPyBeginAllowThreads();
11653 result = (wxFontDialog *)new wxFontDialog(arg1,(wxFontData const &)*arg2);
11654
11655 wxPyEndAllowThreads(__tstate);
11656 if (PyErr_Occurred()) SWIG_fail;
11657 }
11658 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontDialog, 1);
11659 return resultobj;
11660 fail:
11661 return NULL;
11662}
11663
11664
11665static PyObject *_wrap_FontDialog_GetFontData(PyObject *self, PyObject *args, PyObject *kwargs) {
11666 PyObject *resultobj;
11667 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11668 wxFontData *result;
11669 PyObject * obj0 = 0 ;
11670 char *kwnames[] = {
11671 (char *) "self", NULL
11672 };
11673
11674 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_GetFontData",kwnames,&obj0)) goto fail;
11675 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11676 {
11677 PyThreadState* __tstate = wxPyBeginAllowThreads();
11678 {
11679 wxFontData &_result_ref = (arg1)->GetFontData();
11680 result = (wxFontData *) &_result_ref;
11681 }
11682
11683 wxPyEndAllowThreads(__tstate);
11684 if (PyErr_Occurred()) SWIG_fail;
11685 }
11686 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFontData, 0);
11687 return resultobj;
11688 fail:
11689 return NULL;
11690}
11691
11692
11693static PyObject *_wrap_FontDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11694 PyObject *resultobj;
11695 wxFontDialog *arg1 = (wxFontDialog *) 0 ;
11696 int result;
11697 PyObject * obj0 = 0 ;
11698 char *kwnames[] = {
11699 (char *) "self", NULL
11700 };
11701
11702 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FontDialog_ShowModal",kwnames,&obj0)) goto fail;
11703 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFontDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11704 {
11705 PyThreadState* __tstate = wxPyBeginAllowThreads();
11706 result = (int)(arg1)->ShowModal();
11707
11708 wxPyEndAllowThreads(__tstate);
11709 if (PyErr_Occurred()) SWIG_fail;
11710 }
11711 resultobj = PyInt_FromLong((long)result);
11712 return resultobj;
11713 fail:
11714 return NULL;
11715}
11716
11717
11718static PyObject * FontDialog_swigregister(PyObject *self, PyObject *args) {
11719 PyObject *obj;
11720 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11721 SWIG_TypeClientData(SWIGTYPE_p_wxFontDialog, obj);
11722 Py_INCREF(obj);
11723 return Py_BuildValue((char *)"");
11724}
11725static PyObject *_wrap_new_MessageDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11726 PyObject *resultobj;
11727 wxWindow *arg1 = (wxWindow *) 0 ;
11728 wxString *arg2 = 0 ;
11729 wxString const &arg3_defvalue = wxPyMessageBoxCaptionStr ;
11730 wxString *arg3 = (wxString *) &arg3_defvalue ;
11731 long arg4 = (long) wxOK|wxCANCEL|wxCENTRE ;
11732 wxPoint const &arg5_defvalue = wxDefaultPosition ;
11733 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
11734 wxMessageDialog *result;
423f194a
RD
11735 bool temp2 = False ;
11736 bool temp3 = False ;
d14a1e28
RD
11737 wxPoint temp5 ;
11738 PyObject * obj0 = 0 ;
11739 PyObject * obj1 = 0 ;
11740 PyObject * obj2 = 0 ;
11741 PyObject * obj4 = 0 ;
11742 char *kwnames[] = {
11743 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
11744 };
11745
11746 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OlO:new_MessageDialog",kwnames,&obj0,&obj1,&obj2,&arg4,&obj4)) goto fail;
11747 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11748 {
11749 arg2 = wxString_in_helper(obj1);
11750 if (arg2 == NULL) SWIG_fail;
423f194a 11751 temp2 = True;
d14a1e28
RD
11752 }
11753 if (obj2) {
11754 {
11755 arg3 = wxString_in_helper(obj2);
11756 if (arg3 == NULL) SWIG_fail;
423f194a 11757 temp3 = True;
d14a1e28
RD
11758 }
11759 }
11760 if (obj4) {
11761 {
11762 arg5 = &temp5;
11763 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
11764 }
11765 }
11766 {
11767 PyThreadState* __tstate = wxPyBeginAllowThreads();
11768 result = (wxMessageDialog *)new wxMessageDialog(arg1,(wxString const &)*arg2,(wxString const &)*arg3,arg4,(wxPoint const &)*arg5);
11769
11770 wxPyEndAllowThreads(__tstate);
11771 if (PyErr_Occurred()) SWIG_fail;
11772 }
11773 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMessageDialog, 1);
11774 {
11775 if (temp2)
11776 delete arg2;
11777 }
11778 {
11779 if (temp3)
11780 delete arg3;
11781 }
11782 return resultobj;
11783 fail:
11784 {
11785 if (temp2)
11786 delete arg2;
11787 }
11788 {
11789 if (temp3)
11790 delete arg3;
11791 }
11792 return NULL;
11793}
11794
11795
11796static PyObject *_wrap_MessageDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
11797 PyObject *resultobj;
11798 wxMessageDialog *arg1 = (wxMessageDialog *) 0 ;
11799 int result;
11800 PyObject * obj0 = 0 ;
11801 char *kwnames[] = {
11802 (char *) "self", NULL
11803 };
11804
11805 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MessageDialog_ShowModal",kwnames,&obj0)) goto fail;
11806 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMessageDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11807 {
11808 PyThreadState* __tstate = wxPyBeginAllowThreads();
11809 result = (int)(arg1)->ShowModal();
11810
11811 wxPyEndAllowThreads(__tstate);
11812 if (PyErr_Occurred()) SWIG_fail;
11813 }
11814 resultobj = PyInt_FromLong((long)result);
11815 return resultobj;
11816 fail:
11817 return NULL;
11818}
11819
11820
11821static PyObject * MessageDialog_swigregister(PyObject *self, PyObject *args) {
11822 PyObject *obj;
11823 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11824 SWIG_TypeClientData(SWIGTYPE_p_wxMessageDialog, obj);
11825 Py_INCREF(obj);
11826 return Py_BuildValue((char *)"");
11827}
11828static PyObject *_wrap_new_ProgressDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
11829 PyObject *resultobj;
11830 wxString *arg1 = 0 ;
11831 wxString *arg2 = 0 ;
11832 int arg3 = (int) 100 ;
11833 wxWindow *arg4 = (wxWindow *) NULL ;
11834 int arg5 = (int) wxPD_AUTO_HIDE|wxPD_APP_MODAL ;
11835 wxProgressDialog *result;
423f194a
RD
11836 bool temp1 = False ;
11837 bool temp2 = False ;
d14a1e28
RD
11838 PyObject * obj0 = 0 ;
11839 PyObject * obj1 = 0 ;
11840 PyObject * obj3 = 0 ;
11841 char *kwnames[] = {
11842 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
11843 };
11844
11845 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|iOi:new_ProgressDialog",kwnames,&obj0,&obj1,&arg3,&obj3,&arg5)) goto fail;
11846 {
11847 arg1 = wxString_in_helper(obj0);
11848 if (arg1 == NULL) SWIG_fail;
423f194a 11849 temp1 = True;
d14a1e28
RD
11850 }
11851 {
11852 arg2 = wxString_in_helper(obj1);
11853 if (arg2 == NULL) SWIG_fail;
423f194a 11854 temp2 = True;
d14a1e28
RD
11855 }
11856 if (obj3) {
11857 if ((SWIG_ConvertPtr(obj3,(void **) &arg4, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11858 }
11859 {
11860 PyThreadState* __tstate = wxPyBeginAllowThreads();
11861 result = (wxProgressDialog *)new wxProgressDialog((wxString const &)*arg1,(wxString const &)*arg2,arg3,arg4,arg5);
11862
11863 wxPyEndAllowThreads(__tstate);
11864 if (PyErr_Occurred()) SWIG_fail;
11865 }
11866 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxProgressDialog, 1);
11867 {
11868 if (temp1)
11869 delete arg1;
11870 }
11871 {
11872 if (temp2)
11873 delete arg2;
11874 }
11875 return resultobj;
11876 fail:
11877 {
11878 if (temp1)
11879 delete arg1;
11880 }
11881 {
11882 if (temp2)
11883 delete arg2;
11884 }
11885 return NULL;
11886}
11887
11888
11889static PyObject *_wrap_ProgressDialog_Update(PyObject *self, PyObject *args, PyObject *kwargs) {
11890 PyObject *resultobj;
11891 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11892 int arg2 ;
11893 wxString const &arg3_defvalue = wxPyEmptyString ;
11894 wxString *arg3 = (wxString *) &arg3_defvalue ;
11895 bool result;
423f194a 11896 bool temp3 = False ;
d14a1e28
RD
11897 PyObject * obj0 = 0 ;
11898 PyObject * obj2 = 0 ;
11899 char *kwnames[] = {
11900 (char *) "self",(char *) "value",(char *) "newmsg", NULL
11901 };
11902
11903 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|O:ProgressDialog_Update",kwnames,&obj0,&arg2,&obj2)) goto fail;
11904 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11905 if (obj2) {
11906 {
11907 arg3 = wxString_in_helper(obj2);
11908 if (arg3 == NULL) SWIG_fail;
423f194a 11909 temp3 = True;
d14a1e28
RD
11910 }
11911 }
11912 {
11913 PyThreadState* __tstate = wxPyBeginAllowThreads();
11914 result = (bool)(arg1)->Update(arg2,(wxString const &)*arg3);
11915
11916 wxPyEndAllowThreads(__tstate);
11917 if (PyErr_Occurred()) SWIG_fail;
11918 }
11919 resultobj = PyInt_FromLong((long)result);
11920 {
11921 if (temp3)
11922 delete arg3;
11923 }
11924 return resultobj;
11925 fail:
11926 {
11927 if (temp3)
11928 delete arg3;
11929 }
11930 return NULL;
11931}
11932
11933
11934static PyObject *_wrap_ProgressDialog_Resume(PyObject *self, PyObject *args, PyObject *kwargs) {
11935 PyObject *resultobj;
11936 wxProgressDialog *arg1 = (wxProgressDialog *) 0 ;
11937 PyObject * obj0 = 0 ;
11938 char *kwnames[] = {
11939 (char *) "self", NULL
11940 };
11941
11942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:ProgressDialog_Resume",kwnames,&obj0)) goto fail;
11943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxProgressDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
11944 {
11945 PyThreadState* __tstate = wxPyBeginAllowThreads();
11946 (arg1)->Resume();
11947
11948 wxPyEndAllowThreads(__tstate);
11949 if (PyErr_Occurred()) SWIG_fail;
11950 }
11951 Py_INCREF(Py_None); resultobj = Py_None;
11952 return resultobj;
11953 fail:
11954 return NULL;
11955}
11956
11957
11958static PyObject * ProgressDialog_swigregister(PyObject *self, PyObject *args) {
11959 PyObject *obj;
11960 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
11961 SWIG_TypeClientData(SWIGTYPE_p_wxProgressDialog, obj);
11962 Py_INCREF(obj);
11963 return Py_BuildValue((char *)"");
11964}
11965static PyObject *_wrap_new_FindDialogEvent(PyObject *self, PyObject *args, PyObject *kwargs) {
11966 PyObject *resultobj;
11967 wxEventType arg1 = (wxEventType) wxEVT_NULL ;
11968 int arg2 = (int) 0 ;
11969 wxFindDialogEvent *result;
11970 char *kwnames[] = {
11971 (char *) "commandType",(char *) "id", NULL
11972 };
11973
11974 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|ii:new_FindDialogEvent",kwnames,&arg1,&arg2)) goto fail;
11975 {
11976 PyThreadState* __tstate = wxPyBeginAllowThreads();
11977 result = (wxFindDialogEvent *)new wxFindDialogEvent(arg1,arg2);
11978
11979 wxPyEndAllowThreads(__tstate);
11980 if (PyErr_Occurred()) SWIG_fail;
11981 }
11982 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindDialogEvent, 1);
11983 return resultobj;
11984 fail:
11985 return NULL;
11986}
11987
11988
11989static PyObject *_wrap_FindDialogEvent_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
11990 PyObject *resultobj;
11991 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
11992 int result;
11993 PyObject * obj0 = 0 ;
11994 char *kwnames[] = {
11995 (char *) "self", NULL
11996 };
11997
11998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFlags",kwnames,&obj0)) goto fail;
11999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12000 {
12001 PyThreadState* __tstate = wxPyBeginAllowThreads();
12002 result = (int)(arg1)->GetFlags();
12003
12004 wxPyEndAllowThreads(__tstate);
12005 if (PyErr_Occurred()) SWIG_fail;
12006 }
12007 resultobj = PyInt_FromLong((long)result);
12008 return resultobj;
12009 fail:
12010 return NULL;
12011}
12012
12013
12014static PyObject *_wrap_FindDialogEvent_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12015 PyObject *resultobj;
12016 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
0f774bef 12017 wxString *result;
d14a1e28
RD
12018 PyObject * obj0 = 0 ;
12019 char *kwnames[] = {
12020 (char *) "self", NULL
12021 };
12022
12023 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetFindString",kwnames,&obj0)) goto fail;
12024 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12025 {
12026 PyThreadState* __tstate = wxPyBeginAllowThreads();
0f774bef
RD
12027 {
12028 wxString const &_result_ref = (arg1)->GetFindString();
12029 result = (wxString *) &_result_ref;
12030 }
d14a1e28
RD
12031
12032 wxPyEndAllowThreads(__tstate);
12033 if (PyErr_Occurred()) SWIG_fail;
12034 }
12035 {
12036#if wxUSE_UNICODE
0f774bef 12037 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
d14a1e28 12038#else
0f774bef 12039 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
d14a1e28
RD
12040#endif
12041 }
12042 return resultobj;
12043 fail:
12044 return NULL;
12045}
12046
12047
12048static PyObject *_wrap_FindDialogEvent_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12049 PyObject *resultobj;
12050 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12051 wxString *result;
12052 PyObject * obj0 = 0 ;
12053 char *kwnames[] = {
12054 (char *) "self", NULL
12055 };
12056
12057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetReplaceString",kwnames,&obj0)) goto fail;
12058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12059 {
12060 PyThreadState* __tstate = wxPyBeginAllowThreads();
12061 {
12062 wxString const &_result_ref = (arg1)->GetReplaceString();
12063 result = (wxString *) &_result_ref;
12064 }
12065
12066 wxPyEndAllowThreads(__tstate);
12067 if (PyErr_Occurred()) SWIG_fail;
12068 }
0f774bef
RD
12069 {
12070#if wxUSE_UNICODE
12071 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12072#else
12073 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12074#endif
12075 }
d14a1e28
RD
12076 return resultobj;
12077 fail:
12078 return NULL;
12079}
12080
12081
12082static PyObject *_wrap_FindDialogEvent_GetDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12083 PyObject *resultobj;
12084 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12085 wxFindReplaceDialog *result;
12086 PyObject * obj0 = 0 ;
12087 char *kwnames[] = {
12088 (char *) "self", NULL
12089 };
12090
12091 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindDialogEvent_GetDialog",kwnames,&obj0)) goto fail;
12092 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12093 {
12094 PyThreadState* __tstate = wxPyBeginAllowThreads();
12095 result = (wxFindReplaceDialog *)(arg1)->GetDialog();
12096
12097 wxPyEndAllowThreads(__tstate);
12098 if (PyErr_Occurred()) SWIG_fail;
12099 }
12100 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 0);
12101 return resultobj;
12102 fail:
12103 return NULL;
12104}
12105
12106
12107static PyObject *_wrap_FindDialogEvent_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12108 PyObject *resultobj;
12109 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12110 int arg2 ;
12111 PyObject * obj0 = 0 ;
12112 char *kwnames[] = {
12113 (char *) "self",(char *) "flags", NULL
12114 };
12115
12116 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindDialogEvent_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12117 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12118 {
12119 PyThreadState* __tstate = wxPyBeginAllowThreads();
12120 (arg1)->SetFlags(arg2);
12121
12122 wxPyEndAllowThreads(__tstate);
12123 if (PyErr_Occurred()) SWIG_fail;
12124 }
12125 Py_INCREF(Py_None); resultobj = Py_None;
12126 return resultobj;
12127 fail:
12128 return NULL;
12129}
12130
12131
12132static PyObject *_wrap_FindDialogEvent_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12133 PyObject *resultobj;
12134 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12135 wxString *arg2 = 0 ;
423f194a 12136 bool temp2 = False ;
d14a1e28
RD
12137 PyObject * obj0 = 0 ;
12138 PyObject * obj1 = 0 ;
12139 char *kwnames[] = {
12140 (char *) "self",(char *) "str", NULL
12141 };
12142
12143 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12144 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12145 {
12146 arg2 = wxString_in_helper(obj1);
12147 if (arg2 == NULL) SWIG_fail;
423f194a 12148 temp2 = True;
d14a1e28
RD
12149 }
12150 {
12151 PyThreadState* __tstate = wxPyBeginAllowThreads();
12152 (arg1)->SetFindString((wxString const &)*arg2);
12153
12154 wxPyEndAllowThreads(__tstate);
12155 if (PyErr_Occurred()) SWIG_fail;
12156 }
12157 Py_INCREF(Py_None); resultobj = Py_None;
12158 {
12159 if (temp2)
12160 delete arg2;
12161 }
12162 return resultobj;
12163 fail:
12164 {
12165 if (temp2)
12166 delete arg2;
12167 }
12168 return NULL;
12169}
12170
12171
12172static PyObject *_wrap_FindDialogEvent_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12173 PyObject *resultobj;
12174 wxFindDialogEvent *arg1 = (wxFindDialogEvent *) 0 ;
12175 wxString *arg2 = 0 ;
423f194a 12176 bool temp2 = False ;
d14a1e28
RD
12177 PyObject * obj0 = 0 ;
12178 PyObject * obj1 = 0 ;
12179 char *kwnames[] = {
12180 (char *) "self",(char *) "str", NULL
12181 };
12182
12183 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12184 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindDialogEvent,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12185 {
12186 arg2 = wxString_in_helper(obj1);
12187 if (arg2 == NULL) SWIG_fail;
423f194a 12188 temp2 = True;
d14a1e28
RD
12189 }
12190 {
12191 PyThreadState* __tstate = wxPyBeginAllowThreads();
12192 (arg1)->SetReplaceString((wxString const &)*arg2);
12193
12194 wxPyEndAllowThreads(__tstate);
12195 if (PyErr_Occurred()) SWIG_fail;
12196 }
12197 Py_INCREF(Py_None); resultobj = Py_None;
12198 {
12199 if (temp2)
12200 delete arg2;
12201 }
12202 return resultobj;
12203 fail:
12204 {
12205 if (temp2)
12206 delete arg2;
12207 }
12208 return NULL;
12209}
12210
12211
12212static PyObject * FindDialogEvent_swigregister(PyObject *self, PyObject *args) {
12213 PyObject *obj;
12214 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12215 SWIG_TypeClientData(SWIGTYPE_p_wxFindDialogEvent, obj);
12216 Py_INCREF(obj);
12217 return Py_BuildValue((char *)"");
12218}
12219static PyObject *_wrap_new_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12220 PyObject *resultobj;
12221 int arg1 = (int) 0 ;
12222 wxFindReplaceData *result;
12223 char *kwnames[] = {
12224 (char *) "flags", NULL
12225 };
12226
12227 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|i:new_FindReplaceData",kwnames,&arg1)) goto fail;
12228 {
12229 PyThreadState* __tstate = wxPyBeginAllowThreads();
12230 result = (wxFindReplaceData *)new wxFindReplaceData(arg1);
12231
12232 wxPyEndAllowThreads(__tstate);
12233 if (PyErr_Occurred()) SWIG_fail;
12234 }
12235 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 1);
12236 return resultobj;
12237 fail:
12238 return NULL;
12239}
12240
12241
12242static PyObject *_wrap_delete_FindReplaceData(PyObject *self, PyObject *args, PyObject *kwargs) {
12243 PyObject *resultobj;
12244 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12245 PyObject * obj0 = 0 ;
12246 char *kwnames[] = {
12247 (char *) "self", NULL
12248 };
12249
12250 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_FindReplaceData",kwnames,&obj0)) goto fail;
12251 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12252 {
12253 PyThreadState* __tstate = wxPyBeginAllowThreads();
12254 delete arg1;
12255
12256 wxPyEndAllowThreads(__tstate);
12257 if (PyErr_Occurred()) SWIG_fail;
12258 }
12259 Py_INCREF(Py_None); resultobj = Py_None;
12260 return resultobj;
12261 fail:
12262 return NULL;
12263}
12264
12265
12266static PyObject *_wrap_FindReplaceData_GetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12267 PyObject *resultobj;
12268 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12269 wxString *result;
12270 PyObject * obj0 = 0 ;
12271 char *kwnames[] = {
12272 (char *) "self", NULL
12273 };
12274
12275 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFindString",kwnames,&obj0)) goto fail;
12276 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12277 {
12278 PyThreadState* __tstate = wxPyBeginAllowThreads();
12279 {
12280 wxString const &_result_ref = (arg1)->GetFindString();
12281 result = (wxString *) &_result_ref;
12282 }
12283
12284 wxPyEndAllowThreads(__tstate);
12285 if (PyErr_Occurred()) SWIG_fail;
12286 }
0f774bef
RD
12287 {
12288#if wxUSE_UNICODE
12289 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12290#else
12291 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12292#endif
12293 }
d14a1e28
RD
12294 return resultobj;
12295 fail:
12296 return NULL;
12297}
12298
12299
12300static PyObject *_wrap_FindReplaceData_GetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12301 PyObject *resultobj;
12302 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12303 wxString *result;
12304 PyObject * obj0 = 0 ;
12305 char *kwnames[] = {
12306 (char *) "self", NULL
12307 };
12308
12309 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetReplaceString",kwnames,&obj0)) goto fail;
12310 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12311 {
12312 PyThreadState* __tstate = wxPyBeginAllowThreads();
12313 {
12314 wxString const &_result_ref = (arg1)->GetReplaceString();
12315 result = (wxString *) &_result_ref;
12316 }
12317
12318 wxPyEndAllowThreads(__tstate);
12319 if (PyErr_Occurred()) SWIG_fail;
12320 }
0f774bef
RD
12321 {
12322#if wxUSE_UNICODE
12323 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
12324#else
12325 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
12326#endif
12327 }
d14a1e28
RD
12328 return resultobj;
12329 fail:
12330 return NULL;
12331}
12332
12333
12334static PyObject *_wrap_FindReplaceData_GetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12335 PyObject *resultobj;
12336 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12337 int result;
12338 PyObject * obj0 = 0 ;
12339 char *kwnames[] = {
12340 (char *) "self", NULL
12341 };
12342
12343 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceData_GetFlags",kwnames,&obj0)) goto fail;
12344 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12345 {
12346 PyThreadState* __tstate = wxPyBeginAllowThreads();
12347 result = (int)(arg1)->GetFlags();
12348
12349 wxPyEndAllowThreads(__tstate);
12350 if (PyErr_Occurred()) SWIG_fail;
12351 }
12352 resultobj = PyInt_FromLong((long)result);
12353 return resultobj;
12354 fail:
12355 return NULL;
12356}
12357
12358
12359static PyObject *_wrap_FindReplaceData_SetFlags(PyObject *self, PyObject *args, PyObject *kwargs) {
12360 PyObject *resultobj;
12361 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12362 int arg2 ;
12363 PyObject * obj0 = 0 ;
12364 char *kwnames[] = {
12365 (char *) "self",(char *) "flags", NULL
12366 };
12367
12368 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:FindReplaceData_SetFlags",kwnames,&obj0,&arg2)) goto fail;
12369 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12370 {
12371 PyThreadState* __tstate = wxPyBeginAllowThreads();
12372 (arg1)->SetFlags(arg2);
12373
12374 wxPyEndAllowThreads(__tstate);
12375 if (PyErr_Occurred()) SWIG_fail;
12376 }
12377 Py_INCREF(Py_None); resultobj = Py_None;
12378 return resultobj;
12379 fail:
12380 return NULL;
12381}
12382
12383
12384static PyObject *_wrap_FindReplaceData_SetFindString(PyObject *self, PyObject *args, PyObject *kwargs) {
12385 PyObject *resultobj;
12386 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12387 wxString *arg2 = 0 ;
423f194a 12388 bool temp2 = False ;
d14a1e28
RD
12389 PyObject * obj0 = 0 ;
12390 PyObject * obj1 = 0 ;
12391 char *kwnames[] = {
12392 (char *) "self",(char *) "str", NULL
12393 };
12394
12395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetFindString",kwnames,&obj0,&obj1)) goto fail;
12396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12397 {
12398 arg2 = wxString_in_helper(obj1);
12399 if (arg2 == NULL) SWIG_fail;
423f194a 12400 temp2 = True;
d14a1e28
RD
12401 }
12402 {
12403 PyThreadState* __tstate = wxPyBeginAllowThreads();
12404 (arg1)->SetFindString((wxString const &)*arg2);
12405
12406 wxPyEndAllowThreads(__tstate);
12407 if (PyErr_Occurred()) SWIG_fail;
12408 }
12409 Py_INCREF(Py_None); resultobj = Py_None;
12410 {
12411 if (temp2)
12412 delete arg2;
12413 }
12414 return resultobj;
12415 fail:
12416 {
12417 if (temp2)
12418 delete arg2;
12419 }
12420 return NULL;
12421}
12422
12423
12424static PyObject *_wrap_FindReplaceData_SetReplaceString(PyObject *self, PyObject *args, PyObject *kwargs) {
12425 PyObject *resultobj;
12426 wxFindReplaceData *arg1 = (wxFindReplaceData *) 0 ;
12427 wxString *arg2 = 0 ;
423f194a 12428 bool temp2 = False ;
d14a1e28
RD
12429 PyObject * obj0 = 0 ;
12430 PyObject * obj1 = 0 ;
12431 char *kwnames[] = {
12432 (char *) "self",(char *) "str", NULL
12433 };
12434
12435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceData_SetReplaceString",kwnames,&obj0,&obj1)) goto fail;
12436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12437 {
12438 arg2 = wxString_in_helper(obj1);
12439 if (arg2 == NULL) SWIG_fail;
423f194a 12440 temp2 = True;
d14a1e28
RD
12441 }
12442 {
12443 PyThreadState* __tstate = wxPyBeginAllowThreads();
12444 (arg1)->SetReplaceString((wxString const &)*arg2);
12445
12446 wxPyEndAllowThreads(__tstate);
12447 if (PyErr_Occurred()) SWIG_fail;
12448 }
12449 Py_INCREF(Py_None); resultobj = Py_None;
12450 {
12451 if (temp2)
12452 delete arg2;
12453 }
12454 return resultobj;
12455 fail:
12456 {
12457 if (temp2)
12458 delete arg2;
12459 }
12460 return NULL;
12461}
12462
12463
12464static PyObject * FindReplaceData_swigregister(PyObject *self, PyObject *args) {
12465 PyObject *obj;
12466 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12467 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceData, obj);
12468 Py_INCREF(obj);
12469 return Py_BuildValue((char *)"");
12470}
12471static PyObject *_wrap_new_FindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12472 PyObject *resultobj;
12473 wxWindow *arg1 = (wxWindow *) 0 ;
12474 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12475 wxString *arg3 = 0 ;
12476 int arg4 = (int) 0 ;
12477 wxFindReplaceDialog *result;
423f194a 12478 bool temp3 = False ;
d14a1e28
RD
12479 PyObject * obj0 = 0 ;
12480 PyObject * obj1 = 0 ;
12481 PyObject * obj2 = 0 ;
12482 char *kwnames[] = {
12483 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12484 };
12485
12486 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:new_FindReplaceDialog",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
12487 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12488 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12489 {
12490 arg3 = wxString_in_helper(obj2);
12491 if (arg3 == NULL) SWIG_fail;
423f194a 12492 temp3 = True;
d14a1e28
RD
12493 }
12494 {
12495 PyThreadState* __tstate = wxPyBeginAllowThreads();
12496 result = (wxFindReplaceDialog *)new wxFindReplaceDialog(arg1,arg2,(wxString const &)*arg3,arg4);
12497
12498 wxPyEndAllowThreads(__tstate);
12499 if (PyErr_Occurred()) SWIG_fail;
12500 }
12501 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12502 {
12503 if (temp3)
12504 delete arg3;
12505 }
12506 return resultobj;
12507 fail:
12508 {
12509 if (temp3)
12510 delete arg3;
12511 }
12512 return NULL;
12513}
12514
12515
12516static PyObject *_wrap_new_PreFindReplaceDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
12517 PyObject *resultobj;
12518 wxFindReplaceDialog *result;
12519 char *kwnames[] = {
12520 NULL
12521 };
12522
12523 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreFindReplaceDialog",kwnames)) goto fail;
12524 {
12525 PyThreadState* __tstate = wxPyBeginAllowThreads();
12526 result = (wxFindReplaceDialog *)new wxFindReplaceDialog();
12527
12528 wxPyEndAllowThreads(__tstate);
12529 if (PyErr_Occurred()) SWIG_fail;
12530 }
12531 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceDialog, 1);
12532 return resultobj;
12533 fail:
12534 return NULL;
12535}
12536
12537
12538static PyObject *_wrap_FindReplaceDialog_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12539 PyObject *resultobj;
12540 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12541 wxWindow *arg2 = (wxWindow *) 0 ;
12542 wxFindReplaceData *arg3 = (wxFindReplaceData *) 0 ;
12543 wxString *arg4 = 0 ;
12544 int arg5 = (int) 0 ;
12545 bool result;
423f194a 12546 bool temp4 = False ;
d14a1e28
RD
12547 PyObject * obj0 = 0 ;
12548 PyObject * obj1 = 0 ;
12549 PyObject * obj2 = 0 ;
12550 PyObject * obj3 = 0 ;
12551 char *kwnames[] = {
12552 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
12553 };
12554
12555 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO|i:FindReplaceDialog_Create",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5)) goto fail;
12556 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12557 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12558 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12559 {
12560 arg4 = wxString_in_helper(obj3);
12561 if (arg4 == NULL) SWIG_fail;
423f194a 12562 temp4 = True;
d14a1e28
RD
12563 }
12564 {
12565 PyThreadState* __tstate = wxPyBeginAllowThreads();
12566 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,arg5);
12567
12568 wxPyEndAllowThreads(__tstate);
12569 if (PyErr_Occurred()) SWIG_fail;
12570 }
12571 resultobj = PyInt_FromLong((long)result);
12572 {
12573 if (temp4)
12574 delete arg4;
12575 }
12576 return resultobj;
12577 fail:
12578 {
12579 if (temp4)
12580 delete arg4;
12581 }
12582 return NULL;
12583}
12584
12585
12586static PyObject *_wrap_FindReplaceDialog_GetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12587 PyObject *resultobj;
12588 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12589 wxFindReplaceData *result;
12590 PyObject * obj0 = 0 ;
12591 char *kwnames[] = {
12592 (char *) "self", NULL
12593 };
12594
12595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:FindReplaceDialog_GetData",kwnames,&obj0)) goto fail;
12596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12597 {
12598 PyThreadState* __tstate = wxPyBeginAllowThreads();
12599 result = (wxFindReplaceData *)(arg1)->GetData();
12600
12601 wxPyEndAllowThreads(__tstate);
12602 if (PyErr_Occurred()) SWIG_fail;
12603 }
12604 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxFindReplaceData, 0);
12605 return resultobj;
12606 fail:
12607 return NULL;
12608}
12609
12610
12611static PyObject *_wrap_FindReplaceDialog_SetData(PyObject *self, PyObject *args, PyObject *kwargs) {
12612 PyObject *resultobj;
12613 wxFindReplaceDialog *arg1 = (wxFindReplaceDialog *) 0 ;
12614 wxFindReplaceData *arg2 = (wxFindReplaceData *) 0 ;
12615 PyObject * obj0 = 0 ;
12616 PyObject * obj1 = 0 ;
12617 char *kwnames[] = {
12618 (char *) "self",(char *) "data", NULL
12619 };
12620
12621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:FindReplaceDialog_SetData",kwnames,&obj0,&obj1)) goto fail;
12622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxFindReplaceDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12623 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFindReplaceData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12624 {
12625 PyThreadState* __tstate = wxPyBeginAllowThreads();
12626 (arg1)->SetData(arg2);
12627
12628 wxPyEndAllowThreads(__tstate);
12629 if (PyErr_Occurred()) SWIG_fail;
12630 }
12631 Py_INCREF(Py_None); resultobj = Py_None;
12632 return resultobj;
12633 fail:
12634 return NULL;
12635}
12636
12637
12638static PyObject * FindReplaceDialog_swigregister(PyObject *self, PyObject *args) {
12639 PyObject *obj;
12640 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
12641 SWIG_TypeClientData(SWIGTYPE_p_wxFindReplaceDialog, obj);
12642 Py_INCREF(obj);
12643 return Py_BuildValue((char *)"");
12644}
12645static PyObject *_wrap_new_MDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12646 PyObject *resultobj;
12647 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 12648 int arg2 ;
d14a1e28
RD
12649 wxString *arg3 = 0 ;
12650 wxPoint const &arg4_defvalue = wxDefaultPosition ;
12651 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
12652 wxSize const &arg5_defvalue = wxDefaultSize ;
12653 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
12654 long arg6 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12655 wxString const &arg7_defvalue = wxPyFrameNameStr ;
12656 wxString *arg7 = (wxString *) &arg7_defvalue ;
12657 wxMDIParentFrame *result;
423f194a 12658 bool temp3 = False ;
d14a1e28
RD
12659 wxPoint temp4 ;
12660 wxSize temp5 ;
423f194a 12661 bool temp7 = False ;
d14a1e28
RD
12662 PyObject * obj0 = 0 ;
12663 PyObject * obj2 = 0 ;
12664 PyObject * obj3 = 0 ;
12665 PyObject * obj4 = 0 ;
12666 PyObject * obj6 = 0 ;
12667 char *kwnames[] = {
12668 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12669 };
12670
12671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIParentFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
12672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12673 {
12674 arg3 = wxString_in_helper(obj2);
12675 if (arg3 == NULL) SWIG_fail;
423f194a 12676 temp3 = True;
d14a1e28
RD
12677 }
12678 if (obj3) {
12679 {
12680 arg4 = &temp4;
12681 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
12682 }
12683 }
12684 if (obj4) {
12685 {
12686 arg5 = &temp5;
12687 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
12688 }
12689 }
12690 if (obj6) {
12691 {
12692 arg7 = wxString_in_helper(obj6);
12693 if (arg7 == NULL) SWIG_fail;
423f194a 12694 temp7 = True;
d14a1e28
RD
12695 }
12696 }
12697 {
12698 PyThreadState* __tstate = wxPyBeginAllowThreads();
12699 result = (wxMDIParentFrame *)new wxMDIParentFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
12700
12701 wxPyEndAllowThreads(__tstate);
12702 if (PyErr_Occurred()) SWIG_fail;
12703 }
12704 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12705 {
12706 if (temp3)
12707 delete arg3;
12708 }
12709 {
12710 if (temp7)
12711 delete arg7;
12712 }
12713 return resultobj;
12714 fail:
12715 {
12716 if (temp3)
12717 delete arg3;
12718 }
12719 {
12720 if (temp7)
12721 delete arg7;
12722 }
12723 return NULL;
12724}
12725
12726
12727static PyObject *_wrap_new_PreMDIParentFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
12728 PyObject *resultobj;
12729 wxMDIParentFrame *result;
12730 char *kwnames[] = {
12731 NULL
12732 };
12733
12734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIParentFrame",kwnames)) goto fail;
12735 {
12736 PyThreadState* __tstate = wxPyBeginAllowThreads();
12737 result = (wxMDIParentFrame *)new wxMDIParentFrame();
12738
12739 wxPyEndAllowThreads(__tstate);
12740 if (PyErr_Occurred()) SWIG_fail;
12741 }
12742 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxMDIParentFrame, 1);
12743 return resultobj;
12744 fail:
12745 return NULL;
12746}
12747
12748
12749static PyObject *_wrap_MDIParentFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
12750 PyObject *resultobj;
12751 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12752 wxWindow *arg2 = (wxWindow *) 0 ;
423f194a 12753 int arg3 ;
d14a1e28
RD
12754 wxString *arg4 = 0 ;
12755 wxPoint const &arg5_defvalue = wxDefaultPosition ;
12756 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
12757 wxSize const &arg6_defvalue = wxDefaultSize ;
12758 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
12759 long arg7 = (long) wxDEFAULT_FRAME_STYLE|wxVSCROLL|wxHSCROLL ;
12760 wxString const &arg8_defvalue = wxPyFrameNameStr ;
12761 wxString *arg8 = (wxString *) &arg8_defvalue ;
12762 bool result;
423f194a 12763 bool temp4 = False ;
d14a1e28
RD
12764 wxPoint temp5 ;
12765 wxSize temp6 ;
423f194a 12766 bool temp8 = False ;
d14a1e28
RD
12767 PyObject * obj0 = 0 ;
12768 PyObject * obj1 = 0 ;
12769 PyObject * obj3 = 0 ;
12770 PyObject * obj4 = 0 ;
12771 PyObject * obj5 = 0 ;
12772 PyObject * obj7 = 0 ;
12773 char *kwnames[] = {
12774 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12775 };
12776
12777 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIParentFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
12778 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12779 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12780 {
12781 arg4 = wxString_in_helper(obj3);
12782 if (arg4 == NULL) SWIG_fail;
423f194a 12783 temp4 = True;
d14a1e28
RD
12784 }
12785 if (obj4) {
12786 {
12787 arg5 = &temp5;
12788 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
12789 }
12790 }
12791 if (obj5) {
12792 {
12793 arg6 = &temp6;
12794 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
12795 }
12796 }
12797 if (obj7) {
12798 {
12799 arg8 = wxString_in_helper(obj7);
12800 if (arg8 == NULL) SWIG_fail;
423f194a 12801 temp8 = True;
d14a1e28
RD
12802 }
12803 }
12804 {
12805 PyThreadState* __tstate = wxPyBeginAllowThreads();
12806 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
12807
12808 wxPyEndAllowThreads(__tstate);
12809 if (PyErr_Occurred()) SWIG_fail;
12810 }
12811 resultobj = PyInt_FromLong((long)result);
12812 {
12813 if (temp4)
12814 delete arg4;
12815 }
12816 {
12817 if (temp8)
12818 delete arg8;
12819 }
12820 return resultobj;
12821 fail:
12822 {
12823 if (temp4)
12824 delete arg4;
12825 }
12826 {
12827 if (temp8)
12828 delete arg8;
12829 }
12830 return NULL;
12831}
12832
12833
12834static PyObject *_wrap_MDIParentFrame_ActivateNext(PyObject *self, PyObject *args, PyObject *kwargs) {
12835 PyObject *resultobj;
12836 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12837 PyObject * obj0 = 0 ;
12838 char *kwnames[] = {
12839 (char *) "self", NULL
12840 };
12841
12842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivateNext",kwnames,&obj0)) goto fail;
12843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12844 {
12845 PyThreadState* __tstate = wxPyBeginAllowThreads();
12846 (arg1)->ActivateNext();
12847
12848 wxPyEndAllowThreads(__tstate);
12849 if (PyErr_Occurred()) SWIG_fail;
12850 }
12851 Py_INCREF(Py_None); resultobj = Py_None;
12852 return resultobj;
12853 fail:
12854 return NULL;
12855}
12856
12857
12858static PyObject *_wrap_MDIParentFrame_ActivatePrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
12859 PyObject *resultobj;
12860 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12861 PyObject * obj0 = 0 ;
12862 char *kwnames[] = {
12863 (char *) "self", NULL
12864 };
12865
12866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ActivatePrevious",kwnames,&obj0)) goto fail;
12867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12868 {
12869 PyThreadState* __tstate = wxPyBeginAllowThreads();
12870 (arg1)->ActivatePrevious();
12871
12872 wxPyEndAllowThreads(__tstate);
12873 if (PyErr_Occurred()) SWIG_fail;
12874 }
12875 Py_INCREF(Py_None); resultobj = Py_None;
12876 return resultobj;
12877 fail:
12878 return NULL;
12879}
12880
12881
12882static PyObject *_wrap_MDIParentFrame_ArrangeIcons(PyObject *self, PyObject *args, PyObject *kwargs) {
12883 PyObject *resultobj;
12884 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12885 PyObject * obj0 = 0 ;
12886 char *kwnames[] = {
12887 (char *) "self", NULL
12888 };
12889
12890 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_ArrangeIcons",kwnames,&obj0)) goto fail;
12891 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12892 {
12893 PyThreadState* __tstate = wxPyBeginAllowThreads();
12894 (arg1)->ArrangeIcons();
12895
12896 wxPyEndAllowThreads(__tstate);
12897 if (PyErr_Occurred()) SWIG_fail;
12898 }
12899 Py_INCREF(Py_None); resultobj = Py_None;
12900 return resultobj;
12901 fail:
12902 return NULL;
12903}
12904
12905
12906static PyObject *_wrap_MDIParentFrame_Cascade(PyObject *self, PyObject *args, PyObject *kwargs) {
12907 PyObject *resultobj;
12908 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12909 PyObject * obj0 = 0 ;
12910 char *kwnames[] = {
12911 (char *) "self", NULL
12912 };
12913
12914 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Cascade",kwnames,&obj0)) goto fail;
12915 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12916 {
12917 PyThreadState* __tstate = wxPyBeginAllowThreads();
12918 (arg1)->Cascade();
12919
12920 wxPyEndAllowThreads(__tstate);
12921 if (PyErr_Occurred()) SWIG_fail;
12922 }
12923 Py_INCREF(Py_None); resultobj = Py_None;
12924 return resultobj;
12925 fail:
12926 return NULL;
12927}
12928
12929
12930static PyObject *_wrap_MDIParentFrame_GetActiveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
12931 PyObject *resultobj;
12932 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12933 wxMDIChildFrame *result;
12934 PyObject * obj0 = 0 ;
12935 char *kwnames[] = {
12936 (char *) "self", NULL
12937 };
12938
12939 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetActiveChild",kwnames,&obj0)) goto fail;
12940 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12941 {
12942 PyThreadState* __tstate = wxPyBeginAllowThreads();
12943 result = (wxMDIChildFrame *)(arg1)->GetActiveChild();
12944
12945 wxPyEndAllowThreads(__tstate);
12946 if (PyErr_Occurred()) SWIG_fail;
12947 }
12948 {
12949 resultobj = wxPyMake_wxObject(result);
12950 }
12951 return resultobj;
12952 fail:
12953 return NULL;
12954}
12955
12956
12957static PyObject *_wrap_MDIParentFrame_GetClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
12958 PyObject *resultobj;
12959 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12960 wxMDIClientWindow *result;
12961 PyObject * obj0 = 0 ;
12962 char *kwnames[] = {
12963 (char *) "self", NULL
12964 };
12965
12966 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetClientWindow",kwnames,&obj0)) goto fail;
12967 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12968 {
12969 PyThreadState* __tstate = wxPyBeginAllowThreads();
12970 result = (wxMDIClientWindow *)(arg1)->GetClientWindow();
12971
12972 wxPyEndAllowThreads(__tstate);
12973 if (PyErr_Occurred()) SWIG_fail;
12974 }
12975 {
12976 resultobj = wxPyMake_wxObject(result);
12977 }
12978 return resultobj;
12979 fail:
12980 return NULL;
12981}
12982
12983
12984static PyObject *_wrap_MDIParentFrame_GetToolBar(PyObject *self, PyObject *args, PyObject *kwargs) {
12985 PyObject *resultobj;
12986 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
12987 wxWindow *result;
12988 PyObject * obj0 = 0 ;
12989 char *kwnames[] = {
12990 (char *) "self", NULL
12991 };
12992
12993 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_GetToolBar",kwnames,&obj0)) goto fail;
12994 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
12995 {
12996 PyThreadState* __tstate = wxPyBeginAllowThreads();
12997 result = (wxWindow *)(arg1)->GetToolBar();
12998
12999 wxPyEndAllowThreads(__tstate);
13000 if (PyErr_Occurred()) SWIG_fail;
13001 }
13002 {
13003 resultobj = wxPyMake_wxObject(result);
13004 }
13005 return resultobj;
13006 fail:
13007 return NULL;
13008}
13009
13010
13011static PyObject *_wrap_MDIParentFrame_Tile(PyObject *self, PyObject *args, PyObject *kwargs) {
13012 PyObject *resultobj;
13013 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13014 PyObject * obj0 = 0 ;
13015 char *kwnames[] = {
13016 (char *) "self", NULL
13017 };
13018
13019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIParentFrame_Tile",kwnames,&obj0)) goto fail;
13020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13021 {
13022 PyThreadState* __tstate = wxPyBeginAllowThreads();
13023 (arg1)->Tile();
13024
13025 wxPyEndAllowThreads(__tstate);
13026 if (PyErr_Occurred()) SWIG_fail;
13027 }
13028 Py_INCREF(Py_None); resultobj = Py_None;
13029 return resultobj;
13030 fail:
13031 return NULL;
13032}
13033
13034
13035static PyObject * MDIParentFrame_swigregister(PyObject *self, PyObject *args) {
13036 PyObject *obj;
13037 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13038 SWIG_TypeClientData(SWIGTYPE_p_wxMDIParentFrame, obj);
13039 Py_INCREF(obj);
13040 return Py_BuildValue((char *)"");
13041}
13042static PyObject *_wrap_new_MDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13043 PyObject *resultobj;
13044 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
423f194a 13045 int arg2 ;
d14a1e28
RD
13046 wxString *arg3 = 0 ;
13047 wxPoint const &arg4_defvalue = wxDefaultPosition ;
13048 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
13049 wxSize const &arg5_defvalue = wxDefaultSize ;
13050 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
13051 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
13052 wxString const &arg7_defvalue = wxPyFrameNameStr ;
13053 wxString *arg7 = (wxString *) &arg7_defvalue ;
13054 wxMDIChildFrame *result;
423f194a 13055 bool temp3 = False ;
d14a1e28
RD
13056 wxPoint temp4 ;
13057 wxSize temp5 ;
423f194a 13058 bool temp7 = False ;
d14a1e28
RD
13059 PyObject * obj0 = 0 ;
13060 PyObject * obj2 = 0 ;
13061 PyObject * obj3 = 0 ;
13062 PyObject * obj4 = 0 ;
13063 PyObject * obj6 = 0 ;
13064 char *kwnames[] = {
13065 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13066 };
13067
13068 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OiO|OOlO:new_MDIChildFrame",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
13069 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13070 {
13071 arg3 = wxString_in_helper(obj2);
13072 if (arg3 == NULL) SWIG_fail;
423f194a 13073 temp3 = True;
d14a1e28
RD
13074 }
13075 if (obj3) {
13076 {
13077 arg4 = &temp4;
13078 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
13079 }
13080 }
13081 if (obj4) {
13082 {
13083 arg5 = &temp5;
13084 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
13085 }
13086 }
13087 if (obj6) {
13088 {
13089 arg7 = wxString_in_helper(obj6);
13090 if (arg7 == NULL) SWIG_fail;
423f194a 13091 temp7 = True;
d14a1e28
RD
13092 }
13093 }
13094 {
13095 PyThreadState* __tstate = wxPyBeginAllowThreads();
13096 result = (wxMDIChildFrame *)new wxMDIChildFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
13097
13098 wxPyEndAllowThreads(__tstate);
13099 if (PyErr_Occurred()) SWIG_fail;
13100 }
13101 {
13102 resultobj = wxPyMake_wxObject(result);
13103 }
13104 {
13105 if (temp3)
13106 delete arg3;
13107 }
13108 {
13109 if (temp7)
13110 delete arg7;
13111 }
13112 return resultobj;
13113 fail:
13114 {
13115 if (temp3)
13116 delete arg3;
13117 }
13118 {
13119 if (temp7)
13120 delete arg7;
13121 }
13122 return NULL;
13123}
13124
13125
13126static PyObject *_wrap_new_PreMDIChildFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
13127 PyObject *resultobj;
13128 wxMDIChildFrame *result;
13129 char *kwnames[] = {
13130 NULL
13131 };
13132
13133 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIChildFrame",kwnames)) goto fail;
13134 {
13135 PyThreadState* __tstate = wxPyBeginAllowThreads();
13136 result = (wxMDIChildFrame *)new wxMDIChildFrame();
13137
13138 wxPyEndAllowThreads(__tstate);
13139 if (PyErr_Occurred()) SWIG_fail;
13140 }
13141 {
13142 resultobj = wxPyMake_wxObject(result);
13143 }
13144 return resultobj;
13145 fail:
13146 return NULL;
13147}
13148
13149
13150static PyObject *_wrap_MDIChildFrame_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13151 PyObject *resultobj;
13152 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13153 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
423f194a 13154 int arg3 ;
d14a1e28
RD
13155 wxString *arg4 = 0 ;
13156 wxPoint const &arg5_defvalue = wxDefaultPosition ;
13157 wxPoint *arg5 = (wxPoint *) &arg5_defvalue ;
13158 wxSize const &arg6_defvalue = wxDefaultSize ;
13159 wxSize *arg6 = (wxSize *) &arg6_defvalue ;
13160 long arg7 = (long) wxDEFAULT_FRAME_STYLE ;
13161 wxString const &arg8_defvalue = wxPyFrameNameStr ;
13162 wxString *arg8 = (wxString *) &arg8_defvalue ;
13163 bool result;
423f194a 13164 bool temp4 = False ;
d14a1e28
RD
13165 wxPoint temp5 ;
13166 wxSize temp6 ;
423f194a 13167 bool temp8 = False ;
d14a1e28
RD
13168 PyObject * obj0 = 0 ;
13169 PyObject * obj1 = 0 ;
13170 PyObject * obj3 = 0 ;
13171 PyObject * obj4 = 0 ;
13172 PyObject * obj5 = 0 ;
13173 PyObject * obj7 = 0 ;
13174 char *kwnames[] = {
13175 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13176 };
13177
13178 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOiO|OOlO:MDIChildFrame_Create",kwnames,&obj0,&obj1,&arg3,&obj3,&obj4,&obj5,&arg7,&obj7)) goto fail;
13179 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13180 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13181 {
13182 arg4 = wxString_in_helper(obj3);
13183 if (arg4 == NULL) SWIG_fail;
423f194a 13184 temp4 = True;
d14a1e28
RD
13185 }
13186 if (obj4) {
13187 {
13188 arg5 = &temp5;
13189 if ( ! wxPoint_helper(obj4, &arg5)) SWIG_fail;
13190 }
13191 }
13192 if (obj5) {
13193 {
13194 arg6 = &temp6;
13195 if ( ! wxSize_helper(obj5, &arg6)) SWIG_fail;
13196 }
13197 }
13198 if (obj7) {
13199 {
13200 arg8 = wxString_in_helper(obj7);
13201 if (arg8 == NULL) SWIG_fail;
423f194a 13202 temp8 = True;
d14a1e28
RD
13203 }
13204 }
13205 {
13206 PyThreadState* __tstate = wxPyBeginAllowThreads();
13207 result = (bool)(arg1)->Create(arg2,arg3,(wxString const &)*arg4,(wxPoint const &)*arg5,(wxSize const &)*arg6,arg7,(wxString const &)*arg8);
13208
13209 wxPyEndAllowThreads(__tstate);
13210 if (PyErr_Occurred()) SWIG_fail;
13211 }
13212 resultobj = PyInt_FromLong((long)result);
13213 {
13214 if (temp4)
13215 delete arg4;
13216 }
13217 {
13218 if (temp8)
13219 delete arg8;
13220 }
13221 return resultobj;
13222 fail:
13223 {
13224 if (temp4)
13225 delete arg4;
13226 }
13227 {
13228 if (temp8)
13229 delete arg8;
13230 }
13231 return NULL;
13232}
13233
13234
13235static PyObject *_wrap_MDIChildFrame_Activate(PyObject *self, PyObject *args, PyObject *kwargs) {
13236 PyObject *resultobj;
13237 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13238 PyObject * obj0 = 0 ;
13239 char *kwnames[] = {
13240 (char *) "self", NULL
13241 };
13242
13243 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Activate",kwnames,&obj0)) goto fail;
13244 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13245 {
13246 PyThreadState* __tstate = wxPyBeginAllowThreads();
13247 (arg1)->Activate();
13248
13249 wxPyEndAllowThreads(__tstate);
13250 if (PyErr_Occurred()) SWIG_fail;
13251 }
13252 Py_INCREF(Py_None); resultobj = Py_None;
13253 return resultobj;
13254 fail:
13255 return NULL;
13256}
13257
13258
13259static PyObject *_wrap_MDIChildFrame_Maximize(PyObject *self, PyObject *args, PyObject *kwargs) {
13260 PyObject *resultobj;
13261 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13262 bool arg2 ;
13263 PyObject * obj0 = 0 ;
13264 PyObject * obj1 = 0 ;
13265 char *kwnames[] = {
13266 (char *) "self",(char *) "maximize", NULL
13267 };
13268
13269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:MDIChildFrame_Maximize",kwnames,&obj0,&obj1)) goto fail;
13270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13271 arg2 = PyInt_AsLong(obj1) ? true : false;
13272 if (PyErr_Occurred()) SWIG_fail;
13273 {
13274 PyThreadState* __tstate = wxPyBeginAllowThreads();
13275 (arg1)->Maximize(arg2);
13276
13277 wxPyEndAllowThreads(__tstate);
13278 if (PyErr_Occurred()) SWIG_fail;
13279 }
13280 Py_INCREF(Py_None); resultobj = Py_None;
13281 return resultobj;
13282 fail:
13283 return NULL;
13284}
13285
13286
13287static PyObject *_wrap_MDIChildFrame_Restore(PyObject *self, PyObject *args, PyObject *kwargs) {
13288 PyObject *resultobj;
13289 wxMDIChildFrame *arg1 = (wxMDIChildFrame *) 0 ;
13290 PyObject * obj0 = 0 ;
13291 char *kwnames[] = {
13292 (char *) "self", NULL
13293 };
13294
13295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:MDIChildFrame_Restore",kwnames,&obj0)) goto fail;
13296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIChildFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13297 {
13298 PyThreadState* __tstate = wxPyBeginAllowThreads();
13299 (arg1)->Restore();
13300
13301 wxPyEndAllowThreads(__tstate);
13302 if (PyErr_Occurred()) SWIG_fail;
13303 }
13304 Py_INCREF(Py_None); resultobj = Py_None;
13305 return resultobj;
13306 fail:
13307 return NULL;
13308}
13309
13310
13311static PyObject * MDIChildFrame_swigregister(PyObject *self, PyObject *args) {
13312 PyObject *obj;
13313 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13314 SWIG_TypeClientData(SWIGTYPE_p_wxMDIChildFrame, obj);
13315 Py_INCREF(obj);
13316 return Py_BuildValue((char *)"");
13317}
13318static PyObject *_wrap_new_MDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13319 PyObject *resultobj;
13320 wxMDIParentFrame *arg1 = (wxMDIParentFrame *) 0 ;
13321 long arg2 = (long) 0 ;
13322 wxMDIClientWindow *result;
13323 PyObject * obj0 = 0 ;
13324 char *kwnames[] = {
13325 (char *) "parent",(char *) "style", NULL
13326 };
13327
13328 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|l:new_MDIClientWindow",kwnames,&obj0,&arg2)) goto fail;
13329 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13330 {
13331 PyThreadState* __tstate = wxPyBeginAllowThreads();
13332 result = (wxMDIClientWindow *)new wxMDIClientWindow(arg1,arg2);
13333
13334 wxPyEndAllowThreads(__tstate);
13335 if (PyErr_Occurred()) SWIG_fail;
13336 }
13337 {
13338 resultobj = wxPyMake_wxObject(result);
13339 }
13340 return resultobj;
13341 fail:
13342 return NULL;
13343}
13344
13345
13346static PyObject *_wrap_new_PreMDIClientWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13347 PyObject *resultobj;
13348 wxMDIClientWindow *result;
13349 char *kwnames[] = {
13350 NULL
13351 };
13352
13353 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PreMDIClientWindow",kwnames)) goto fail;
13354 {
13355 PyThreadState* __tstate = wxPyBeginAllowThreads();
13356 result = (wxMDIClientWindow *)new wxMDIClientWindow();
13357
13358 wxPyEndAllowThreads(__tstate);
13359 if (PyErr_Occurred()) SWIG_fail;
13360 }
13361 {
13362 resultobj = wxPyMake_wxObject(result);
13363 }
13364 return resultobj;
13365 fail:
13366 return NULL;
13367}
13368
13369
13370static PyObject *_wrap_MDIClientWindow_Create(PyObject *self, PyObject *args, PyObject *kwargs) {
13371 PyObject *resultobj;
13372 wxMDIClientWindow *arg1 = (wxMDIClientWindow *) 0 ;
13373 wxMDIParentFrame *arg2 = (wxMDIParentFrame *) 0 ;
13374 long arg3 = (long) 0 ;
13375 bool result;
13376 PyObject * obj0 = 0 ;
13377 PyObject * obj1 = 0 ;
13378 char *kwnames[] = {
13379 (char *) "self",(char *) "parent",(char *) "style", NULL
13380 };
13381
13382 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|l:MDIClientWindow_Create",kwnames,&obj0,&obj1,&arg3)) goto fail;
13383 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxMDIClientWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13384 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxMDIParentFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13385 {
13386 PyThreadState* __tstate = wxPyBeginAllowThreads();
13387 result = (bool)(arg1)->Create(arg2,arg3);
13388
13389 wxPyEndAllowThreads(__tstate);
13390 if (PyErr_Occurred()) SWIG_fail;
13391 }
13392 resultobj = PyInt_FromLong((long)result);
13393 return resultobj;
13394 fail:
13395 return NULL;
13396}
13397
13398
13399static PyObject * MDIClientWindow_swigregister(PyObject *self, PyObject *args) {
13400 PyObject *obj;
13401 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
13402 SWIG_TypeClientData(SWIGTYPE_p_wxMDIClientWindow, obj);
13403 Py_INCREF(obj);
13404 return Py_BuildValue((char *)"");
13405}
13406static PyObject *_wrap_new_PyWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13407 PyObject *resultobj;
13408 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 13409 int arg2 ;
d14a1e28
RD
13410 wxPoint const &arg3_defvalue = wxDefaultPosition ;
13411 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
13412 wxSize const &arg4_defvalue = wxDefaultSize ;
13413 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
13414 long arg5 = (long) 0 ;
13415 wxString const &arg6_defvalue = wxPyPanelNameStr ;
13416 wxString *arg6 = (wxString *) &arg6_defvalue ;
13417 wxPyWindow *result;
13418 wxPoint temp3 ;
13419 wxSize temp4 ;
423f194a 13420 bool temp6 = False ;
d14a1e28
RD
13421 PyObject * obj0 = 0 ;
13422 PyObject * obj2 = 0 ;
13423 PyObject * obj3 = 0 ;
13424 PyObject * obj5 = 0 ;
13425 char *kwnames[] = {
13426 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13427 };
13428
13429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyWindow",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
13430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13431 if (obj2) {
13432 {
13433 arg3 = &temp3;
13434 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
13435 }
13436 }
13437 if (obj3) {
13438 {
13439 arg4 = &temp4;
13440 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
13441 }
13442 }
13443 if (obj5) {
13444 {
13445 arg6 = wxString_in_helper(obj5);
13446 if (arg6 == NULL) SWIG_fail;
423f194a 13447 temp6 = True;
d14a1e28
RD
13448 }
13449 }
13450 {
13451 PyThreadState* __tstate = wxPyBeginAllowThreads();
13452 result = (wxPyWindow *)new wxPyWindow(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
13453
13454 wxPyEndAllowThreads(__tstate);
13455 if (PyErr_Occurred()) SWIG_fail;
13456 }
13457 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyWindow, 1);
13458 {
13459 if (temp6)
13460 delete arg6;
13461 }
13462 return resultobj;
13463 fail:
13464 {
13465 if (temp6)
13466 delete arg6;
13467 }
13468 return NULL;
13469}
13470
13471
13472static PyObject *_wrap_PyWindow__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
13473 PyObject *resultobj;
13474 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13475 PyObject *arg2 = (PyObject *) 0 ;
13476 PyObject *arg3 = (PyObject *) 0 ;
13477 PyObject * obj0 = 0 ;
13478 PyObject * obj1 = 0 ;
13479 PyObject * obj2 = 0 ;
13480 char *kwnames[] = {
13481 (char *) "self",(char *) "self",(char *) "_class", NULL
13482 };
13483
13484 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyWindow__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
13485 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13486 arg2 = obj1;
13487 arg3 = obj2;
13488 {
13489 PyThreadState* __tstate = wxPyBeginAllowThreads();
13490 (arg1)->_setCallbackInfo(arg2,arg3);
13491
13492 wxPyEndAllowThreads(__tstate);
13493 if (PyErr_Occurred()) SWIG_fail;
13494 }
13495 Py_INCREF(Py_None); resultobj = Py_None;
13496 return resultobj;
13497 fail:
13498 return NULL;
13499}
13500
13501
13502static PyObject *_wrap_PyWindow_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13503 PyObject *resultobj;
13504 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13505 int arg2 ;
13506 int arg3 ;
13507 int arg4 ;
13508 int arg5 ;
13509 PyObject * obj0 = 0 ;
13510 char *kwnames[] = {
13511 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
13512 };
13513
13514 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyWindow_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
13515 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13516 {
13517 PyThreadState* __tstate = wxPyBeginAllowThreads();
13518 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
13519
13520 wxPyEndAllowThreads(__tstate);
13521 if (PyErr_Occurred()) SWIG_fail;
13522 }
13523 Py_INCREF(Py_None); resultobj = Py_None;
13524 return resultobj;
13525 fail:
13526 return NULL;
13527}
13528
13529
13530static PyObject *_wrap_PyWindow_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13531 PyObject *resultobj;
13532 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13533 int arg2 ;
13534 int arg3 ;
13535 int arg4 ;
13536 int arg5 ;
13537 int arg6 = (int) wxSIZE_AUTO ;
13538 PyObject * obj0 = 0 ;
13539 char *kwnames[] = {
13540 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
13541 };
13542
13543 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyWindow_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
13544 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13545 {
13546 PyThreadState* __tstate = wxPyBeginAllowThreads();
13547 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
13548
13549 wxPyEndAllowThreads(__tstate);
13550 if (PyErr_Occurred()) SWIG_fail;
13551 }
13552 Py_INCREF(Py_None); resultobj = Py_None;
13553 return resultobj;
13554 fail:
13555 return NULL;
13556}
13557
13558
13559static PyObject *_wrap_PyWindow_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13560 PyObject *resultobj;
13561 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13562 int arg2 ;
13563 int arg3 ;
13564 PyObject * obj0 = 0 ;
13565 char *kwnames[] = {
13566 (char *) "self",(char *) "width",(char *) "height", NULL
13567 };
13568
13569 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13570 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13571 {
13572 PyThreadState* __tstate = wxPyBeginAllowThreads();
13573 (arg1)->base_DoSetClientSize(arg2,arg3);
13574
13575 wxPyEndAllowThreads(__tstate);
13576 if (PyErr_Occurred()) SWIG_fail;
13577 }
13578 Py_INCREF(Py_None); resultobj = Py_None;
13579 return resultobj;
13580 fail:
13581 return NULL;
13582}
13583
13584
13585static PyObject *_wrap_PyWindow_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13586 PyObject *resultobj;
13587 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13588 int arg2 ;
13589 int arg3 ;
13590 PyObject * obj0 = 0 ;
13591 char *kwnames[] = {
13592 (char *) "self",(char *) "x",(char *) "y", NULL
13593 };
13594
13595 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyWindow_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
13596 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13597 {
13598 PyThreadState* __tstate = wxPyBeginAllowThreads();
13599 (arg1)->base_DoSetVirtualSize(arg2,arg3);
13600
13601 wxPyEndAllowThreads(__tstate);
13602 if (PyErr_Occurred()) SWIG_fail;
13603 }
13604 Py_INCREF(Py_None); resultobj = Py_None;
13605 return resultobj;
13606 fail:
13607 return NULL;
13608}
13609
13610
13611static PyObject *_wrap_PyWindow_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13612 PyObject *resultobj;
13613 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13614 int *arg2 = (int *) 0 ;
13615 int *arg3 = (int *) 0 ;
13616 int temp2 ;
13617 int temp3 ;
13618 PyObject * obj0 = 0 ;
13619 char *kwnames[] = {
13620 (char *) "self", NULL
13621 };
13622
13623 arg2 = &temp2;
13624 arg3 = &temp3;
13625 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetSize",kwnames,&obj0)) goto fail;
13626 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13627 {
13628 PyThreadState* __tstate = wxPyBeginAllowThreads();
13629 ((wxPyWindow const *)arg1)->base_DoGetSize(arg2,arg3);
13630
13631 wxPyEndAllowThreads(__tstate);
13632 if (PyErr_Occurred()) SWIG_fail;
13633 }
13634 Py_INCREF(Py_None); resultobj = Py_None;
13635 {
13636 PyObject *o = PyInt_FromLong((long) (*arg2));
13637 resultobj = t_output_helper(resultobj,o);
13638 }
13639 {
13640 PyObject *o = PyInt_FromLong((long) (*arg3));
13641 resultobj = t_output_helper(resultobj,o);
13642 }
13643 return resultobj;
13644 fail:
13645 return NULL;
13646}
13647
13648
13649static PyObject *_wrap_PyWindow_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13650 PyObject *resultobj;
13651 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13652 int *arg2 = (int *) 0 ;
13653 int *arg3 = (int *) 0 ;
13654 int temp2 ;
13655 int temp3 ;
13656 PyObject * obj0 = 0 ;
13657 char *kwnames[] = {
13658 (char *) "self", NULL
13659 };
13660
13661 arg2 = &temp2;
13662 arg3 = &temp3;
13663 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetClientSize",kwnames,&obj0)) goto fail;
13664 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13665 {
13666 PyThreadState* __tstate = wxPyBeginAllowThreads();
13667 ((wxPyWindow const *)arg1)->base_DoGetClientSize(arg2,arg3);
13668
13669 wxPyEndAllowThreads(__tstate);
13670 if (PyErr_Occurred()) SWIG_fail;
13671 }
13672 Py_INCREF(Py_None); resultobj = Py_None;
13673 {
13674 PyObject *o = PyInt_FromLong((long) (*arg2));
13675 resultobj = t_output_helper(resultobj,o);
13676 }
13677 {
13678 PyObject *o = PyInt_FromLong((long) (*arg3));
13679 resultobj = t_output_helper(resultobj,o);
13680 }
13681 return resultobj;
13682 fail:
13683 return NULL;
13684}
13685
13686
13687static PyObject *_wrap_PyWindow_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
13688 PyObject *resultobj;
13689 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13690 int *arg2 = (int *) 0 ;
13691 int *arg3 = (int *) 0 ;
13692 int temp2 ;
13693 int temp3 ;
13694 PyObject * obj0 = 0 ;
13695 char *kwnames[] = {
13696 (char *) "self", NULL
13697 };
13698
13699 arg2 = &temp2;
13700 arg3 = &temp3;
13701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetPosition",kwnames,&obj0)) goto fail;
13702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13703 {
13704 PyThreadState* __tstate = wxPyBeginAllowThreads();
13705 ((wxPyWindow const *)arg1)->base_DoGetPosition(arg2,arg3);
13706
13707 wxPyEndAllowThreads(__tstate);
13708 if (PyErr_Occurred()) SWIG_fail;
13709 }
13710 Py_INCREF(Py_None); resultobj = Py_None;
13711 {
13712 PyObject *o = PyInt_FromLong((long) (*arg2));
13713 resultobj = t_output_helper(resultobj,o);
13714 }
13715 {
13716 PyObject *o = PyInt_FromLong((long) (*arg3));
13717 resultobj = t_output_helper(resultobj,o);
13718 }
13719 return resultobj;
13720 fail:
13721 return NULL;
13722}
13723
13724
13725static PyObject *_wrap_PyWindow_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13726 PyObject *resultobj;
13727 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13728 wxSize result;
13729 PyObject * obj0 = 0 ;
13730 char *kwnames[] = {
13731 (char *) "self", NULL
13732 };
13733
13734 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
13735 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13736 {
13737 PyThreadState* __tstate = wxPyBeginAllowThreads();
13738 result = ((wxPyWindow const *)arg1)->base_DoGetVirtualSize();
13739
13740 wxPyEndAllowThreads(__tstate);
13741 if (PyErr_Occurred()) SWIG_fail;
13742 }
13743 {
13744 wxSize * resultptr;
13745 resultptr = new wxSize((wxSize &) result);
13746 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13747 }
13748 return resultobj;
13749 fail:
13750 return NULL;
13751}
13752
13753
13754static PyObject *_wrap_PyWindow_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13755 PyObject *resultobj;
13756 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13757 wxSize result;
13758 PyObject * obj0 = 0 ;
13759 char *kwnames[] = {
13760 (char *) "self", NULL
13761 };
13762
13763 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_DoGetBestSize",kwnames,&obj0)) goto fail;
13764 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13765 {
13766 PyThreadState* __tstate = wxPyBeginAllowThreads();
13767 result = ((wxPyWindow const *)arg1)->base_DoGetBestSize();
13768
13769 wxPyEndAllowThreads(__tstate);
13770 if (PyErr_Occurred()) SWIG_fail;
13771 }
13772 {
13773 wxSize * resultptr;
13774 resultptr = new wxSize((wxSize &) result);
13775 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13776 }
13777 return resultobj;
13778 fail:
13779 return NULL;
13780}
13781
13782
13783static PyObject *_wrap_PyWindow_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
13784 PyObject *resultobj;
13785 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13786 PyObject * obj0 = 0 ;
13787 char *kwnames[] = {
13788 (char *) "self", NULL
13789 };
13790
13791 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_InitDialog",kwnames,&obj0)) goto fail;
13792 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13793 {
13794 PyThreadState* __tstate = wxPyBeginAllowThreads();
13795 (arg1)->base_InitDialog();
13796
13797 wxPyEndAllowThreads(__tstate);
13798 if (PyErr_Occurred()) SWIG_fail;
13799 }
13800 Py_INCREF(Py_None); resultobj = Py_None;
13801 return resultobj;
13802 fail:
13803 return NULL;
13804}
13805
13806
13807static PyObject *_wrap_PyWindow_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13808 PyObject *resultobj;
13809 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13810 bool result;
13811 PyObject * obj0 = 0 ;
13812 char *kwnames[] = {
13813 (char *) "self", NULL
13814 };
13815
13816 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
13817 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13818 {
13819 PyThreadState* __tstate = wxPyBeginAllowThreads();
13820 result = (bool)(arg1)->base_TransferDataToWindow();
13821
13822 wxPyEndAllowThreads(__tstate);
13823 if (PyErr_Occurred()) SWIG_fail;
13824 }
13825 resultobj = PyInt_FromLong((long)result);
13826 return resultobj;
13827 fail:
13828 return NULL;
13829}
13830
13831
13832static PyObject *_wrap_PyWindow_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
13833 PyObject *resultobj;
13834 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13835 bool result;
13836 PyObject * obj0 = 0 ;
13837 char *kwnames[] = {
13838 (char *) "self", NULL
13839 };
13840
13841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
13842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13843 {
13844 PyThreadState* __tstate = wxPyBeginAllowThreads();
13845 result = (bool)(arg1)->base_TransferDataFromWindow();
13846
13847 wxPyEndAllowThreads(__tstate);
13848 if (PyErr_Occurred()) SWIG_fail;
13849 }
13850 resultobj = PyInt_FromLong((long)result);
13851 return resultobj;
13852 fail:
13853 return NULL;
13854}
13855
13856
13857static PyObject *_wrap_PyWindow_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
13858 PyObject *resultobj;
13859 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13860 bool result;
13861 PyObject * obj0 = 0 ;
13862 char *kwnames[] = {
13863 (char *) "self", NULL
13864 };
13865
13866 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_Validate",kwnames,&obj0)) goto fail;
13867 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13868 {
13869 PyThreadState* __tstate = wxPyBeginAllowThreads();
13870 result = (bool)(arg1)->base_Validate();
13871
13872 wxPyEndAllowThreads(__tstate);
13873 if (PyErr_Occurred()) SWIG_fail;
13874 }
13875 resultobj = PyInt_FromLong((long)result);
13876 return resultobj;
13877 fail:
13878 return NULL;
13879}
13880
13881
13882static PyObject *_wrap_PyWindow_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
13883 PyObject *resultobj;
13884 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13885 bool result;
13886 PyObject * obj0 = 0 ;
13887 char *kwnames[] = {
13888 (char *) "self", NULL
13889 };
13890
13891 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocus",kwnames,&obj0)) goto fail;
13892 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13893 {
13894 PyThreadState* __tstate = wxPyBeginAllowThreads();
13895 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocus();
13896
13897 wxPyEndAllowThreads(__tstate);
13898 if (PyErr_Occurred()) SWIG_fail;
13899 }
13900 resultobj = PyInt_FromLong((long)result);
13901 return resultobj;
13902 fail:
13903 return NULL;
13904}
13905
13906
13907static PyObject *_wrap_PyWindow_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
13908 PyObject *resultobj;
13909 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13910 bool result;
13911 PyObject * obj0 = 0 ;
13912 char *kwnames[] = {
13913 (char *) "self", NULL
13914 };
13915
13916 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
13917 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13918 {
13919 PyThreadState* __tstate = wxPyBeginAllowThreads();
13920 result = (bool)((wxPyWindow const *)arg1)->base_AcceptsFocusFromKeyboard();
13921
13922 wxPyEndAllowThreads(__tstate);
13923 if (PyErr_Occurred()) SWIG_fail;
13924 }
13925 resultobj = PyInt_FromLong((long)result);
13926 return resultobj;
13927 fail:
13928 return NULL;
13929}
13930
13931
13932static PyObject *_wrap_PyWindow_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
13933 PyObject *resultobj;
13934 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13935 wxSize result;
13936 PyObject * obj0 = 0 ;
13937 char *kwnames[] = {
13938 (char *) "self", NULL
13939 };
13940
13941 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyWindow_base_GetMaxSize",kwnames,&obj0)) goto fail;
13942 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13943 {
13944 PyThreadState* __tstate = wxPyBeginAllowThreads();
13945 result = ((wxPyWindow const *)arg1)->base_GetMaxSize();
13946
13947 wxPyEndAllowThreads(__tstate);
13948 if (PyErr_Occurred()) SWIG_fail;
13949 }
13950 {
13951 wxSize * resultptr;
13952 resultptr = new wxSize((wxSize &) result);
13953 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
13954 }
13955 return resultobj;
13956 fail:
13957 return NULL;
13958}
13959
13960
13961static PyObject *_wrap_PyWindow_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13962 PyObject *resultobj;
13963 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13964 wxWindow *arg2 = (wxWindow *) 0 ;
13965 PyObject * obj0 = 0 ;
13966 PyObject * obj1 = 0 ;
13967 char *kwnames[] = {
13968 (char *) "self",(char *) "child", NULL
13969 };
13970
13971 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
13972 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13973 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
13974 {
13975 PyThreadState* __tstate = wxPyBeginAllowThreads();
13976 (arg1)->base_AddChild(arg2);
13977
13978 wxPyEndAllowThreads(__tstate);
13979 if (PyErr_Occurred()) SWIG_fail;
13980 }
13981 Py_INCREF(Py_None); resultobj = Py_None;
13982 return resultobj;
13983 fail:
13984 return NULL;
13985}
13986
13987
13988static PyObject *_wrap_PyWindow_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
13989 PyObject *resultobj;
13990 wxPyWindow *arg1 = (wxPyWindow *) 0 ;
13991 wxWindow *arg2 = (wxWindow *) 0 ;
13992 PyObject * obj0 = 0 ;
13993 PyObject * obj1 = 0 ;
13994 char *kwnames[] = {
13995 (char *) "self",(char *) "child", NULL
13996 };
13997
13998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyWindow_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
13999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14001 {
14002 PyThreadState* __tstate = wxPyBeginAllowThreads();
14003 (arg1)->base_RemoveChild(arg2);
14004
14005 wxPyEndAllowThreads(__tstate);
14006 if (PyErr_Occurred()) SWIG_fail;
14007 }
14008 Py_INCREF(Py_None); resultobj = Py_None;
14009 return resultobj;
14010 fail:
14011 return NULL;
14012}
14013
14014
14015static PyObject * PyWindow_swigregister(PyObject *self, PyObject *args) {
14016 PyObject *obj;
14017 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14018 SWIG_TypeClientData(SWIGTYPE_p_wxPyWindow, obj);
14019 Py_INCREF(obj);
14020 return Py_BuildValue((char *)"");
14021}
14022static PyObject *_wrap_new_PyPanel(PyObject *self, PyObject *args, PyObject *kwargs) {
14023 PyObject *resultobj;
14024 wxWindow *arg1 = (wxWindow *) 0 ;
423f194a 14025 int arg2 ;
d14a1e28
RD
14026 wxPoint const &arg3_defvalue = wxDefaultPosition ;
14027 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
14028 wxSize const &arg4_defvalue = wxDefaultSize ;
14029 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
14030 long arg5 = (long) 0 ;
14031 wxString const &arg6_defvalue = wxPyPanelNameStr ;
14032 wxString *arg6 = (wxString *) &arg6_defvalue ;
14033 wxPyPanel *result;
14034 wxPoint temp3 ;
14035 wxSize temp4 ;
423f194a 14036 bool temp6 = False ;
d14a1e28
RD
14037 PyObject * obj0 = 0 ;
14038 PyObject * obj2 = 0 ;
14039 PyObject * obj3 = 0 ;
14040 PyObject * obj5 = 0 ;
14041 char *kwnames[] = {
14042 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14043 };
14044
14045 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi|OOlO:new_PyPanel",kwnames,&obj0,&arg2,&obj2,&obj3,&arg5,&obj5)) goto fail;
14046 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14047 if (obj2) {
14048 {
14049 arg3 = &temp3;
14050 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
14051 }
14052 }
14053 if (obj3) {
14054 {
14055 arg4 = &temp4;
14056 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
14057 }
14058 }
14059 if (obj5) {
14060 {
14061 arg6 = wxString_in_helper(obj5);
14062 if (arg6 == NULL) SWIG_fail;
423f194a 14063 temp6 = True;
d14a1e28
RD
14064 }
14065 }
14066 {
14067 PyThreadState* __tstate = wxPyBeginAllowThreads();
14068 result = (wxPyPanel *)new wxPyPanel(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
14069
14070 wxPyEndAllowThreads(__tstate);
14071 if (PyErr_Occurred()) SWIG_fail;
14072 }
14073 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPanel, 1);
14074 {
14075 if (temp6)
14076 delete arg6;
14077 }
14078 return resultobj;
14079 fail:
14080 {
14081 if (temp6)
14082 delete arg6;
14083 }
14084 return NULL;
14085}
14086
14087
14088static PyObject *_wrap_PyPanel__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
14089 PyObject *resultobj;
14090 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14091 PyObject *arg2 = (PyObject *) 0 ;
14092 PyObject *arg3 = (PyObject *) 0 ;
14093 PyObject * obj0 = 0 ;
14094 PyObject * obj1 = 0 ;
14095 PyObject * obj2 = 0 ;
14096 char *kwnames[] = {
14097 (char *) "self",(char *) "self",(char *) "_class", NULL
14098 };
14099
14100 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPanel__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
14101 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14102 arg2 = obj1;
14103 arg3 = obj2;
14104 {
14105 PyThreadState* __tstate = wxPyBeginAllowThreads();
14106 (arg1)->_setCallbackInfo(arg2,arg3);
14107
14108 wxPyEndAllowThreads(__tstate);
14109 if (PyErr_Occurred()) SWIG_fail;
14110 }
14111 Py_INCREF(Py_None); resultobj = Py_None;
14112 return resultobj;
14113 fail:
14114 return NULL;
14115}
14116
14117
14118static PyObject *_wrap_PyPanel_base_DoMoveWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14119 PyObject *resultobj;
14120 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14121 int arg2 ;
14122 int arg3 ;
14123 int arg4 ;
14124 int arg5 ;
14125 PyObject * obj0 = 0 ;
14126 char *kwnames[] = {
14127 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
14128 };
14129
14130 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii:PyPanel_base_DoMoveWindow",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5)) goto fail;
14131 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14132 {
14133 PyThreadState* __tstate = wxPyBeginAllowThreads();
14134 (arg1)->base_DoMoveWindow(arg2,arg3,arg4,arg5);
14135
14136 wxPyEndAllowThreads(__tstate);
14137 if (PyErr_Occurred()) SWIG_fail;
14138 }
14139 Py_INCREF(Py_None); resultobj = Py_None;
14140 return resultobj;
14141 fail:
14142 return NULL;
14143}
14144
14145
14146static PyObject *_wrap_PyPanel_base_DoSetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14147 PyObject *resultobj;
14148 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14149 int arg2 ;
14150 int arg3 ;
14151 int arg4 ;
14152 int arg5 ;
14153 int arg6 = (int) wxSIZE_AUTO ;
14154 PyObject * obj0 = 0 ;
14155 char *kwnames[] = {
14156 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
14157 };
14158
14159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oiiii|i:PyPanel_base_DoSetSize",kwnames,&obj0,&arg2,&arg3,&arg4,&arg5,&arg6)) goto fail;
14160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14161 {
14162 PyThreadState* __tstate = wxPyBeginAllowThreads();
14163 (arg1)->base_DoSetSize(arg2,arg3,arg4,arg5,arg6);
14164
14165 wxPyEndAllowThreads(__tstate);
14166 if (PyErr_Occurred()) SWIG_fail;
14167 }
14168 Py_INCREF(Py_None); resultobj = Py_None;
14169 return resultobj;
14170 fail:
14171 return NULL;
14172}
14173
14174
14175static PyObject *_wrap_PyPanel_base_DoSetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14176 PyObject *resultobj;
14177 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14178 int arg2 ;
14179 int arg3 ;
14180 PyObject * obj0 = 0 ;
14181 char *kwnames[] = {
14182 (char *) "self",(char *) "width",(char *) "height", NULL
14183 };
14184
14185 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetClientSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14186 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14187 {
14188 PyThreadState* __tstate = wxPyBeginAllowThreads();
14189 (arg1)->base_DoSetClientSize(arg2,arg3);
14190
14191 wxPyEndAllowThreads(__tstate);
14192 if (PyErr_Occurred()) SWIG_fail;
14193 }
14194 Py_INCREF(Py_None); resultobj = Py_None;
14195 return resultobj;
14196 fail:
14197 return NULL;
14198}
14199
14200
14201static PyObject *_wrap_PyPanel_base_DoSetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14202 PyObject *resultobj;
14203 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14204 int arg2 ;
14205 int arg3 ;
14206 PyObject * obj0 = 0 ;
14207 char *kwnames[] = {
14208 (char *) "self",(char *) "x",(char *) "y", NULL
14209 };
14210
14211 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:PyPanel_base_DoSetVirtualSize",kwnames,&obj0,&arg2,&arg3)) goto fail;
14212 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14213 {
14214 PyThreadState* __tstate = wxPyBeginAllowThreads();
14215 (arg1)->base_DoSetVirtualSize(arg2,arg3);
14216
14217 wxPyEndAllowThreads(__tstate);
14218 if (PyErr_Occurred()) SWIG_fail;
14219 }
14220 Py_INCREF(Py_None); resultobj = Py_None;
14221 return resultobj;
14222 fail:
14223 return NULL;
14224}
14225
14226
14227static PyObject *_wrap_PyPanel_base_DoGetSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14228 PyObject *resultobj;
14229 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14230 int *arg2 = (int *) 0 ;
14231 int *arg3 = (int *) 0 ;
14232 int temp2 ;
14233 int temp3 ;
14234 PyObject * obj0 = 0 ;
14235 char *kwnames[] = {
14236 (char *) "self", NULL
14237 };
14238
14239 arg2 = &temp2;
14240 arg3 = &temp3;
14241 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetSize",kwnames,&obj0)) goto fail;
14242 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14243 {
14244 PyThreadState* __tstate = wxPyBeginAllowThreads();
14245 ((wxPyPanel const *)arg1)->base_DoGetSize(arg2,arg3);
14246
14247 wxPyEndAllowThreads(__tstate);
14248 if (PyErr_Occurred()) SWIG_fail;
14249 }
14250 Py_INCREF(Py_None); resultobj = Py_None;
14251 {
14252 PyObject *o = PyInt_FromLong((long) (*arg2));
14253 resultobj = t_output_helper(resultobj,o);
14254 }
14255 {
14256 PyObject *o = PyInt_FromLong((long) (*arg3));
14257 resultobj = t_output_helper(resultobj,o);
14258 }
14259 return resultobj;
14260 fail:
14261 return NULL;
14262}
14263
14264
14265static PyObject *_wrap_PyPanel_base_DoGetClientSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14266 PyObject *resultobj;
14267 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14268 int *arg2 = (int *) 0 ;
14269 int *arg3 = (int *) 0 ;
14270 int temp2 ;
14271 int temp3 ;
14272 PyObject * obj0 = 0 ;
14273 char *kwnames[] = {
14274 (char *) "self", NULL
14275 };
14276
14277 arg2 = &temp2;
14278 arg3 = &temp3;
14279 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetClientSize",kwnames,&obj0)) goto fail;
14280 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14281 {
14282 PyThreadState* __tstate = wxPyBeginAllowThreads();
14283 ((wxPyPanel const *)arg1)->base_DoGetClientSize(arg2,arg3);
14284
14285 wxPyEndAllowThreads(__tstate);
14286 if (PyErr_Occurred()) SWIG_fail;
14287 }
14288 Py_INCREF(Py_None); resultobj = Py_None;
14289 {
14290 PyObject *o = PyInt_FromLong((long) (*arg2));
14291 resultobj = t_output_helper(resultobj,o);
14292 }
14293 {
14294 PyObject *o = PyInt_FromLong((long) (*arg3));
14295 resultobj = t_output_helper(resultobj,o);
14296 }
14297 return resultobj;
14298 fail:
14299 return NULL;
14300}
14301
14302
14303static PyObject *_wrap_PyPanel_base_DoGetPosition(PyObject *self, PyObject *args, PyObject *kwargs) {
14304 PyObject *resultobj;
14305 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14306 int *arg2 = (int *) 0 ;
14307 int *arg3 = (int *) 0 ;
14308 int temp2 ;
14309 int temp3 ;
14310 PyObject * obj0 = 0 ;
14311 char *kwnames[] = {
14312 (char *) "self", NULL
14313 };
14314
14315 arg2 = &temp2;
14316 arg3 = &temp3;
14317 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetPosition",kwnames,&obj0)) goto fail;
14318 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14319 {
14320 PyThreadState* __tstate = wxPyBeginAllowThreads();
14321 ((wxPyPanel const *)arg1)->base_DoGetPosition(arg2,arg3);
14322
14323 wxPyEndAllowThreads(__tstate);
14324 if (PyErr_Occurred()) SWIG_fail;
14325 }
14326 Py_INCREF(Py_None); resultobj = Py_None;
14327 {
14328 PyObject *o = PyInt_FromLong((long) (*arg2));
14329 resultobj = t_output_helper(resultobj,o);
14330 }
14331 {
14332 PyObject *o = PyInt_FromLong((long) (*arg3));
14333 resultobj = t_output_helper(resultobj,o);
14334 }
14335 return resultobj;
14336 fail:
14337 return NULL;
14338}
14339
14340
14341static PyObject *_wrap_PyPanel_base_DoGetVirtualSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14342 PyObject *resultobj;
14343 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14344 wxSize result;
14345 PyObject * obj0 = 0 ;
14346 char *kwnames[] = {
14347 (char *) "self", NULL
14348 };
14349
14350 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetVirtualSize",kwnames,&obj0)) goto fail;
14351 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14352 {
14353 PyThreadState* __tstate = wxPyBeginAllowThreads();
14354 result = ((wxPyPanel const *)arg1)->base_DoGetVirtualSize();
14355
14356 wxPyEndAllowThreads(__tstate);
14357 if (PyErr_Occurred()) SWIG_fail;
14358 }
14359 {
14360 wxSize * resultptr;
14361 resultptr = new wxSize((wxSize &) result);
14362 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14363 }
14364 return resultobj;
14365 fail:
14366 return NULL;
14367}
14368
14369
14370static PyObject *_wrap_PyPanel_base_DoGetBestSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14371 PyObject *resultobj;
14372 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14373 wxSize result;
14374 PyObject * obj0 = 0 ;
14375 char *kwnames[] = {
14376 (char *) "self", NULL
14377 };
14378
14379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_DoGetBestSize",kwnames,&obj0)) goto fail;
14380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14381 {
14382 PyThreadState* __tstate = wxPyBeginAllowThreads();
14383 result = ((wxPyPanel const *)arg1)->base_DoGetBestSize();
14384
14385 wxPyEndAllowThreads(__tstate);
14386 if (PyErr_Occurred()) SWIG_fail;
14387 }
14388 {
14389 wxSize * resultptr;
14390 resultptr = new wxSize((wxSize &) result);
14391 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14392 }
14393 return resultobj;
14394 fail:
14395 return NULL;
14396}
14397
14398
14399static PyObject *_wrap_PyPanel_base_InitDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
14400 PyObject *resultobj;
14401 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14402 PyObject * obj0 = 0 ;
14403 char *kwnames[] = {
14404 (char *) "self", NULL
14405 };
14406
14407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_InitDialog",kwnames,&obj0)) goto fail;
14408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14409 {
14410 PyThreadState* __tstate = wxPyBeginAllowThreads();
14411 (arg1)->base_InitDialog();
14412
14413 wxPyEndAllowThreads(__tstate);
14414 if (PyErr_Occurred()) SWIG_fail;
14415 }
14416 Py_INCREF(Py_None); resultobj = Py_None;
14417 return resultobj;
14418 fail:
14419 return NULL;
14420}
14421
14422
14423static PyObject *_wrap_PyPanel_base_TransferDataToWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14424 PyObject *resultobj;
14425 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14426 bool result;
14427 PyObject * obj0 = 0 ;
14428 char *kwnames[] = {
14429 (char *) "self", NULL
14430 };
14431
14432 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataToWindow",kwnames,&obj0)) goto fail;
14433 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14434 {
14435 PyThreadState* __tstate = wxPyBeginAllowThreads();
14436 result = (bool)(arg1)->base_TransferDataToWindow();
14437
14438 wxPyEndAllowThreads(__tstate);
14439 if (PyErr_Occurred()) SWIG_fail;
14440 }
14441 resultobj = PyInt_FromLong((long)result);
14442 return resultobj;
14443 fail:
14444 return NULL;
14445}
14446
14447
14448static PyObject *_wrap_PyPanel_base_TransferDataFromWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
14449 PyObject *resultobj;
14450 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14451 bool result;
14452 PyObject * obj0 = 0 ;
14453 char *kwnames[] = {
14454 (char *) "self", NULL
14455 };
14456
14457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_TransferDataFromWindow",kwnames,&obj0)) goto fail;
14458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14459 {
14460 PyThreadState* __tstate = wxPyBeginAllowThreads();
14461 result = (bool)(arg1)->base_TransferDataFromWindow();
14462
14463 wxPyEndAllowThreads(__tstate);
14464 if (PyErr_Occurred()) SWIG_fail;
14465 }
14466 resultobj = PyInt_FromLong((long)result);
14467 return resultobj;
14468 fail:
14469 return NULL;
14470}
14471
14472
14473static PyObject *_wrap_PyPanel_base_Validate(PyObject *self, PyObject *args, PyObject *kwargs) {
14474 PyObject *resultobj;
14475 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14476 bool result;
14477 PyObject * obj0 = 0 ;
14478 char *kwnames[] = {
14479 (char *) "self", NULL
14480 };
14481
14482 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_Validate",kwnames,&obj0)) goto fail;
14483 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14484 {
14485 PyThreadState* __tstate = wxPyBeginAllowThreads();
14486 result = (bool)(arg1)->base_Validate();
14487
14488 wxPyEndAllowThreads(__tstate);
14489 if (PyErr_Occurred()) SWIG_fail;
14490 }
14491 resultobj = PyInt_FromLong((long)result);
14492 return resultobj;
14493 fail:
14494 return NULL;
14495}
14496
14497
14498static PyObject *_wrap_PyPanel_base_AcceptsFocus(PyObject *self, PyObject *args, PyObject *kwargs) {
14499 PyObject *resultobj;
14500 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14501 bool result;
14502 PyObject * obj0 = 0 ;
14503 char *kwnames[] = {
14504 (char *) "self", NULL
14505 };
14506
14507 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocus",kwnames,&obj0)) goto fail;
14508 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14509 {
14510 PyThreadState* __tstate = wxPyBeginAllowThreads();
14511 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocus();
14512
14513 wxPyEndAllowThreads(__tstate);
14514 if (PyErr_Occurred()) SWIG_fail;
14515 }
14516 resultobj = PyInt_FromLong((long)result);
14517 return resultobj;
14518 fail:
14519 return NULL;
14520}
14521
14522
14523static PyObject *_wrap_PyPanel_base_AcceptsFocusFromKeyboard(PyObject *self, PyObject *args, PyObject *kwargs) {
14524 PyObject *resultobj;
14525 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14526 bool result;
14527 PyObject * obj0 = 0 ;
14528 char *kwnames[] = {
14529 (char *) "self", NULL
14530 };
14531
14532 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_AcceptsFocusFromKeyboard",kwnames,&obj0)) goto fail;
14533 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14534 {
14535 PyThreadState* __tstate = wxPyBeginAllowThreads();
14536 result = (bool)((wxPyPanel const *)arg1)->base_AcceptsFocusFromKeyboard();
14537
14538 wxPyEndAllowThreads(__tstate);
14539 if (PyErr_Occurred()) SWIG_fail;
14540 }
14541 resultobj = PyInt_FromLong((long)result);
14542 return resultobj;
14543 fail:
14544 return NULL;
14545}
14546
14547
14548static PyObject *_wrap_PyPanel_base_GetMaxSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14549 PyObject *resultobj;
14550 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14551 wxSize result;
14552 PyObject * obj0 = 0 ;
14553 char *kwnames[] = {
14554 (char *) "self", NULL
14555 };
14556
14557 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPanel_base_GetMaxSize",kwnames,&obj0)) goto fail;
14558 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14559 {
14560 PyThreadState* __tstate = wxPyBeginAllowThreads();
14561 result = ((wxPyPanel const *)arg1)->base_GetMaxSize();
14562
14563 wxPyEndAllowThreads(__tstate);
14564 if (PyErr_Occurred()) SWIG_fail;
14565 }
14566 {
14567 wxSize * resultptr;
14568 resultptr = new wxSize((wxSize &) result);
14569 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
14570 }
14571 return resultobj;
14572 fail:
14573 return NULL;
14574}
14575
14576
14577static PyObject *_wrap_PyPanel_base_AddChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14578 PyObject *resultobj;
14579 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14580 wxWindow *arg2 = (wxWindow *) 0 ;
14581 PyObject * obj0 = 0 ;
14582 PyObject * obj1 = 0 ;
14583 char *kwnames[] = {
14584 (char *) "self",(char *) "child", NULL
14585 };
14586
14587 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_AddChild",kwnames,&obj0,&obj1)) goto fail;
14588 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14589 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14590 {
14591 PyThreadState* __tstate = wxPyBeginAllowThreads();
14592 (arg1)->base_AddChild(arg2);
14593
14594 wxPyEndAllowThreads(__tstate);
14595 if (PyErr_Occurred()) SWIG_fail;
14596 }
14597 Py_INCREF(Py_None); resultobj = Py_None;
14598 return resultobj;
14599 fail:
14600 return NULL;
14601}
14602
14603
14604static PyObject *_wrap_PyPanel_base_RemoveChild(PyObject *self, PyObject *args, PyObject *kwargs) {
14605 PyObject *resultobj;
14606 wxPyPanel *arg1 = (wxPyPanel *) 0 ;
14607 wxWindow *arg2 = (wxWindow *) 0 ;
14608 PyObject * obj0 = 0 ;
14609 PyObject * obj1 = 0 ;
14610 char *kwnames[] = {
14611 (char *) "self",(char *) "child", NULL
14612 };
14613
14614 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPanel_base_RemoveChild",kwnames,&obj0,&obj1)) goto fail;
14615 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPanel,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14616 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14617 {
14618 PyThreadState* __tstate = wxPyBeginAllowThreads();
14619 (arg1)->base_RemoveChild(arg2);
14620
14621 wxPyEndAllowThreads(__tstate);
14622 if (PyErr_Occurred()) SWIG_fail;
14623 }
14624 Py_INCREF(Py_None); resultobj = Py_None;
14625 return resultobj;
14626 fail:
14627 return NULL;
14628}
14629
14630
14631static PyObject * PyPanel_swigregister(PyObject *self, PyObject *args) {
14632 PyObject *obj;
14633 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
14634 SWIG_TypeClientData(SWIGTYPE_p_wxPyPanel, obj);
14635 Py_INCREF(obj);
14636 return Py_BuildValue((char *)"");
14637}
cbd72d4f
RD
14638static int _wrap_PrintoutTitleStr_set(PyObject *_val) {
14639 PyErr_SetString(PyExc_TypeError,"Variable PrintoutTitleStr is read-only.");
14640 return 1;
14641}
14642
14643
14644static PyObject *_wrap_PrintoutTitleStr_get() {
14645 PyObject *pyobj;
14646
14647 {
14648#if wxUSE_UNICODE
14649 pyobj = PyUnicode_FromWideChar((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
14650#else
14651 pyobj = PyString_FromStringAndSize((&wxPyPrintoutTitleStr)->c_str(), (&wxPyPrintoutTitleStr)->Len());
14652#endif
14653 }
14654 return pyobj;
14655}
14656
14657
14658static int _wrap_PreviewCanvasNameStr_set(PyObject *_val) {
14659 PyErr_SetString(PyExc_TypeError,"Variable PreviewCanvasNameStr is read-only.");
14660 return 1;
14661}
14662
14663
14664static PyObject *_wrap_PreviewCanvasNameStr_get() {
14665 PyObject *pyobj;
14666
14667 {
14668#if wxUSE_UNICODE
14669 pyobj = PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
14670#else
14671 pyobj = PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr)->c_str(), (&wxPyPreviewCanvasNameStr)->Len());
14672#endif
14673 }
14674 return pyobj;
14675}
14676
14677
d14a1e28
RD
14678static PyObject *_wrap_new_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14679 PyObject *resultobj;
14680 wxPrintData *result;
14681 char *kwnames[] = {
14682 NULL
14683 };
14684
14685 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintData",kwnames)) goto fail;
14686 {
14687 PyThreadState* __tstate = wxPyBeginAllowThreads();
14688 result = (wxPrintData *)new wxPrintData();
14689
14690 wxPyEndAllowThreads(__tstate);
14691 if (PyErr_Occurred()) SWIG_fail;
14692 }
14693 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 1);
14694 return resultobj;
14695 fail:
14696 return NULL;
14697}
14698
14699
14700static PyObject *_wrap_delete_PrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
14701 PyObject *resultobj;
14702 wxPrintData *arg1 = (wxPrintData *) 0 ;
14703 PyObject * obj0 = 0 ;
14704 char *kwnames[] = {
14705 (char *) "self", NULL
14706 };
14707
14708 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintData",kwnames,&obj0)) goto fail;
14709 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14710 {
14711 PyThreadState* __tstate = wxPyBeginAllowThreads();
14712 delete arg1;
14713
14714 wxPyEndAllowThreads(__tstate);
14715 if (PyErr_Occurred()) SWIG_fail;
14716 }
14717 Py_INCREF(Py_None); resultobj = Py_None;
14718 return resultobj;
14719 fail:
14720 return NULL;
14721}
14722
14723
14724static PyObject *_wrap_PrintData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14725 PyObject *resultobj;
14726 wxPrintData *arg1 = (wxPrintData *) 0 ;
14727 int result;
14728 PyObject * obj0 = 0 ;
14729 char *kwnames[] = {
14730 (char *) "self", NULL
14731 };
14732
14733 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetNoCopies",kwnames,&obj0)) goto fail;
14734 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14735 {
14736 PyThreadState* __tstate = wxPyBeginAllowThreads();
14737 result = (int)(arg1)->GetNoCopies();
14738
14739 wxPyEndAllowThreads(__tstate);
14740 if (PyErr_Occurred()) SWIG_fail;
14741 }
14742 resultobj = PyInt_FromLong((long)result);
14743 return resultobj;
14744 fail:
14745 return NULL;
14746}
14747
14748
14749static PyObject *_wrap_PrintData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
14750 PyObject *resultobj;
14751 wxPrintData *arg1 = (wxPrintData *) 0 ;
14752 bool result;
14753 PyObject * obj0 = 0 ;
14754 char *kwnames[] = {
14755 (char *) "self", NULL
14756 };
14757
14758 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetCollate",kwnames,&obj0)) goto fail;
14759 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14760 {
14761 PyThreadState* __tstate = wxPyBeginAllowThreads();
14762 result = (bool)(arg1)->GetCollate();
14763
14764 wxPyEndAllowThreads(__tstate);
14765 if (PyErr_Occurred()) SWIG_fail;
14766 }
14767 resultobj = PyInt_FromLong((long)result);
14768 return resultobj;
14769 fail:
14770 return NULL;
14771}
14772
14773
14774static PyObject *_wrap_PrintData_GetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
14775 PyObject *resultobj;
14776 wxPrintData *arg1 = (wxPrintData *) 0 ;
14777 int result;
14778 PyObject * obj0 = 0 ;
14779 char *kwnames[] = {
14780 (char *) "self", NULL
14781 };
14782
14783 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetOrientation",kwnames,&obj0)) goto fail;
14784 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14785 {
14786 PyThreadState* __tstate = wxPyBeginAllowThreads();
14787 result = (int)(arg1)->GetOrientation();
14788
14789 wxPyEndAllowThreads(__tstate);
14790 if (PyErr_Occurred()) SWIG_fail;
14791 }
14792 resultobj = PyInt_FromLong((long)result);
14793 return resultobj;
14794 fail:
14795 return NULL;
14796}
14797
14798
14799static PyObject *_wrap_PrintData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
14800 PyObject *resultobj;
14801 wxPrintData *arg1 = (wxPrintData *) 0 ;
14802 bool result;
14803 PyObject * obj0 = 0 ;
14804 char *kwnames[] = {
14805 (char *) "self", NULL
14806 };
14807
14808 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_Ok",kwnames,&obj0)) goto fail;
14809 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14810 {
14811 PyThreadState* __tstate = wxPyBeginAllowThreads();
14812 result = (bool)(arg1)->Ok();
14813
14814 wxPyEndAllowThreads(__tstate);
14815 if (PyErr_Occurred()) SWIG_fail;
14816 }
14817 resultobj = PyInt_FromLong((long)result);
14818 return resultobj;
14819 fail:
14820 return NULL;
14821}
14822
14823
14824static PyObject *_wrap_PrintData_GetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
14825 PyObject *resultobj;
14826 wxPrintData *arg1 = (wxPrintData *) 0 ;
14827 wxString *result;
14828 PyObject * obj0 = 0 ;
14829 char *kwnames[] = {
14830 (char *) "self", NULL
14831 };
14832
14833 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterName",kwnames,&obj0)) goto fail;
14834 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14835 {
14836 PyThreadState* __tstate = wxPyBeginAllowThreads();
14837 {
14838 wxString const &_result_ref = (arg1)->GetPrinterName();
14839 result = (wxString *) &_result_ref;
14840 }
14841
14842 wxPyEndAllowThreads(__tstate);
14843 if (PyErr_Occurred()) SWIG_fail;
14844 }
0f774bef
RD
14845 {
14846#if wxUSE_UNICODE
14847 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
14848#else
14849 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
14850#endif
14851 }
d14a1e28
RD
14852 return resultobj;
14853 fail:
14854 return NULL;
14855}
14856
14857
14858static PyObject *_wrap_PrintData_GetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
14859 PyObject *resultobj;
14860 wxPrintData *arg1 = (wxPrintData *) 0 ;
14861 bool result;
14862 PyObject * obj0 = 0 ;
14863 char *kwnames[] = {
14864 (char *) "self", NULL
14865 };
14866
14867 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetColour",kwnames,&obj0)) goto fail;
14868 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14869 {
14870 PyThreadState* __tstate = wxPyBeginAllowThreads();
14871 result = (bool)(arg1)->GetColour();
14872
14873 wxPyEndAllowThreads(__tstate);
14874 if (PyErr_Occurred()) SWIG_fail;
14875 }
14876 resultobj = PyInt_FromLong((long)result);
14877 return resultobj;
14878 fail:
14879 return NULL;
14880}
14881
14882
14883static PyObject *_wrap_PrintData_GetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
14884 PyObject *resultobj;
14885 wxPrintData *arg1 = (wxPrintData *) 0 ;
14886 int result;
14887 PyObject * obj0 = 0 ;
14888 char *kwnames[] = {
14889 (char *) "self", NULL
14890 };
14891
14892 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetDuplex",kwnames,&obj0)) goto fail;
14893 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14894 {
14895 PyThreadState* __tstate = wxPyBeginAllowThreads();
14896 result = (int)(arg1)->GetDuplex();
14897
14898 wxPyEndAllowThreads(__tstate);
14899 if (PyErr_Occurred()) SWIG_fail;
14900 }
14901 resultobj = PyInt_FromLong((long)result);
14902 return resultobj;
14903 fail:
14904 return NULL;
14905}
14906
14907
14908static PyObject *_wrap_PrintData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
14909 PyObject *resultobj;
14910 wxPrintData *arg1 = (wxPrintData *) 0 ;
14911 int result;
14912 PyObject * obj0 = 0 ;
14913 char *kwnames[] = {
14914 (char *) "self", NULL
14915 };
14916
14917 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperId",kwnames,&obj0)) goto fail;
14918 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14919 {
14920 PyThreadState* __tstate = wxPyBeginAllowThreads();
14921 result = (int)(arg1)->GetPaperId();
14922
14923 wxPyEndAllowThreads(__tstate);
14924 if (PyErr_Occurred()) SWIG_fail;
14925 }
14926 resultobj = PyInt_FromLong((long)result);
14927 return resultobj;
14928 fail:
14929 return NULL;
14930}
14931
14932
14933static PyObject *_wrap_PrintData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
14934 PyObject *resultobj;
14935 wxPrintData *arg1 = (wxPrintData *) 0 ;
14936 wxSize *result;
14937 PyObject * obj0 = 0 ;
14938 char *kwnames[] = {
14939 (char *) "self", NULL
14940 };
14941
14942 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPaperSize",kwnames,&obj0)) goto fail;
14943 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14944 {
14945 PyThreadState* __tstate = wxPyBeginAllowThreads();
14946 {
14947 wxSize const &_result_ref = (arg1)->GetPaperSize();
14948 result = (wxSize *) &_result_ref;
14949 }
14950
14951 wxPyEndAllowThreads(__tstate);
14952 if (PyErr_Occurred()) SWIG_fail;
14953 }
14954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxSize, 0);
14955 return resultobj;
14956 fail:
14957 return NULL;
14958}
14959
14960
14961static PyObject *_wrap_PrintData_GetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
14962 PyObject *resultobj;
14963 wxPrintData *arg1 = (wxPrintData *) 0 ;
cbd72d4f 14964 int result;
d14a1e28
RD
14965 PyObject * obj0 = 0 ;
14966 char *kwnames[] = {
14967 (char *) "self", NULL
14968 };
14969
14970 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetQuality",kwnames,&obj0)) goto fail;
14971 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14972 {
14973 PyThreadState* __tstate = wxPyBeginAllowThreads();
cbd72d4f 14974 result = (int)(arg1)->GetQuality();
d14a1e28
RD
14975
14976 wxPyEndAllowThreads(__tstate);
14977 if (PyErr_Occurred()) SWIG_fail;
14978 }
cbd72d4f 14979 resultobj = PyInt_FromLong((long)result);
d14a1e28
RD
14980 return resultobj;
14981 fail:
14982 return NULL;
14983}
14984
14985
14986static PyObject *_wrap_PrintData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
14987 PyObject *resultobj;
14988 wxPrintData *arg1 = (wxPrintData *) 0 ;
14989 int arg2 ;
14990 PyObject * obj0 = 0 ;
14991 char *kwnames[] = {
14992 (char *) "self",(char *) "v", NULL
14993 };
14994
14995 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
14996 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
14997 {
14998 PyThreadState* __tstate = wxPyBeginAllowThreads();
14999 (arg1)->SetNoCopies(arg2);
15000
15001 wxPyEndAllowThreads(__tstate);
15002 if (PyErr_Occurred()) SWIG_fail;
15003 }
15004 Py_INCREF(Py_None); resultobj = Py_None;
15005 return resultobj;
15006 fail:
15007 return NULL;
15008}
15009
15010
15011static PyObject *_wrap_PrintData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
15012 PyObject *resultobj;
15013 wxPrintData *arg1 = (wxPrintData *) 0 ;
15014 bool arg2 ;
15015 PyObject * obj0 = 0 ;
15016 PyObject * obj1 = 0 ;
15017 char *kwnames[] = {
15018 (char *) "self",(char *) "flag", NULL
15019 };
15020
15021 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
15022 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15023 arg2 = PyInt_AsLong(obj1) ? true : false;
15024 if (PyErr_Occurred()) SWIG_fail;
15025 {
15026 PyThreadState* __tstate = wxPyBeginAllowThreads();
15027 (arg1)->SetCollate(arg2);
15028
15029 wxPyEndAllowThreads(__tstate);
15030 if (PyErr_Occurred()) SWIG_fail;
15031 }
15032 Py_INCREF(Py_None); resultobj = Py_None;
15033 return resultobj;
15034 fail:
15035 return NULL;
15036}
15037
15038
15039static PyObject *_wrap_PrintData_SetOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
15040 PyObject *resultobj;
15041 wxPrintData *arg1 = (wxPrintData *) 0 ;
15042 int arg2 ;
15043 PyObject * obj0 = 0 ;
15044 char *kwnames[] = {
15045 (char *) "self",(char *) "orient", NULL
15046 };
15047
15048 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetOrientation",kwnames,&obj0,&arg2)) goto fail;
15049 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15050 {
15051 PyThreadState* __tstate = wxPyBeginAllowThreads();
15052 (arg1)->SetOrientation(arg2);
15053
15054 wxPyEndAllowThreads(__tstate);
15055 if (PyErr_Occurred()) SWIG_fail;
15056 }
15057 Py_INCREF(Py_None); resultobj = Py_None;
15058 return resultobj;
15059 fail:
15060 return NULL;
15061}
15062
15063
15064static PyObject *_wrap_PrintData_SetPrinterName(PyObject *self, PyObject *args, PyObject *kwargs) {
15065 PyObject *resultobj;
15066 wxPrintData *arg1 = (wxPrintData *) 0 ;
15067 wxString *arg2 = 0 ;
423f194a 15068 bool temp2 = False ;
d14a1e28
RD
15069 PyObject * obj0 = 0 ;
15070 PyObject * obj1 = 0 ;
15071 char *kwnames[] = {
15072 (char *) "self",(char *) "name", NULL
15073 };
15074
15075 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterName",kwnames,&obj0,&obj1)) goto fail;
15076 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15077 {
15078 arg2 = wxString_in_helper(obj1);
15079 if (arg2 == NULL) SWIG_fail;
423f194a 15080 temp2 = True;
d14a1e28
RD
15081 }
15082 {
15083 PyThreadState* __tstate = wxPyBeginAllowThreads();
15084 (arg1)->SetPrinterName((wxString const &)*arg2);
15085
15086 wxPyEndAllowThreads(__tstate);
15087 if (PyErr_Occurred()) SWIG_fail;
15088 }
15089 Py_INCREF(Py_None); resultobj = Py_None;
15090 {
15091 if (temp2)
15092 delete arg2;
15093 }
15094 return resultobj;
15095 fail:
15096 {
15097 if (temp2)
15098 delete arg2;
15099 }
15100 return NULL;
15101}
15102
15103
15104static PyObject *_wrap_PrintData_SetColour(PyObject *self, PyObject *args, PyObject *kwargs) {
15105 PyObject *resultobj;
15106 wxPrintData *arg1 = (wxPrintData *) 0 ;
15107 bool arg2 ;
15108 PyObject * obj0 = 0 ;
15109 PyObject * obj1 = 0 ;
15110 char *kwnames[] = {
15111 (char *) "self",(char *) "colour", NULL
15112 };
15113
15114 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetColour",kwnames,&obj0,&obj1)) goto fail;
15115 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15116 arg2 = PyInt_AsLong(obj1) ? true : false;
15117 if (PyErr_Occurred()) SWIG_fail;
15118 {
15119 PyThreadState* __tstate = wxPyBeginAllowThreads();
15120 (arg1)->SetColour(arg2);
15121
15122 wxPyEndAllowThreads(__tstate);
15123 if (PyErr_Occurred()) SWIG_fail;
15124 }
15125 Py_INCREF(Py_None); resultobj = Py_None;
15126 return resultobj;
15127 fail:
15128 return NULL;
15129}
15130
15131
15132static PyObject *_wrap_PrintData_SetDuplex(PyObject *self, PyObject *args, PyObject *kwargs) {
15133 PyObject *resultobj;
15134 wxPrintData *arg1 = (wxPrintData *) 0 ;
15135 int arg2 ;
15136 PyObject * obj0 = 0 ;
15137 char *kwnames[] = {
15138 (char *) "self",(char *) "duplex", NULL
15139 };
15140
15141 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetDuplex",kwnames,&obj0,&arg2)) goto fail;
15142 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15143 {
15144 PyThreadState* __tstate = wxPyBeginAllowThreads();
15145 (arg1)->SetDuplex((wxDuplexMode )arg2);
15146
15147 wxPyEndAllowThreads(__tstate);
15148 if (PyErr_Occurred()) SWIG_fail;
15149 }
15150 Py_INCREF(Py_None); resultobj = Py_None;
15151 return resultobj;
15152 fail:
15153 return NULL;
15154}
15155
15156
15157static PyObject *_wrap_PrintData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
15158 PyObject *resultobj;
15159 wxPrintData *arg1 = (wxPrintData *) 0 ;
15160 int arg2 ;
15161 PyObject * obj0 = 0 ;
15162 char *kwnames[] = {
15163 (char *) "self",(char *) "sizeId", NULL
15164 };
15165
15166 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
15167 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15168 {
15169 PyThreadState* __tstate = wxPyBeginAllowThreads();
15170 (arg1)->SetPaperId((wxPaperSize )arg2);
15171
15172 wxPyEndAllowThreads(__tstate);
15173 if (PyErr_Occurred()) SWIG_fail;
15174 }
15175 Py_INCREF(Py_None); resultobj = Py_None;
15176 return resultobj;
15177 fail:
15178 return NULL;
15179}
15180
15181
15182static PyObject *_wrap_PrintData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
15183 PyObject *resultobj;
15184 wxPrintData *arg1 = (wxPrintData *) 0 ;
15185 wxSize *arg2 = 0 ;
15186 wxSize temp2 ;
15187 PyObject * obj0 = 0 ;
15188 PyObject * obj1 = 0 ;
15189 char *kwnames[] = {
15190 (char *) "self",(char *) "sz", NULL
15191 };
15192
15193 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
15194 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15195 {
15196 arg2 = &temp2;
15197 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
15198 }
15199 {
15200 PyThreadState* __tstate = wxPyBeginAllowThreads();
15201 (arg1)->SetPaperSize((wxSize const &)*arg2);
15202
15203 wxPyEndAllowThreads(__tstate);
15204 if (PyErr_Occurred()) SWIG_fail;
15205 }
15206 Py_INCREF(Py_None); resultobj = Py_None;
15207 return resultobj;
15208 fail:
15209 return NULL;
15210}
15211
15212
15213static PyObject *_wrap_PrintData_SetQuality(PyObject *self, PyObject *args, PyObject *kwargs) {
15214 PyObject *resultobj;
15215 wxPrintData *arg1 = (wxPrintData *) 0 ;
cbd72d4f 15216 int arg2 ;
d14a1e28 15217 PyObject * obj0 = 0 ;
d14a1e28
RD
15218 char *kwnames[] = {
15219 (char *) "self",(char *) "quality", NULL
15220 };
15221
cbd72d4f 15222 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetQuality",kwnames,&obj0,&arg2)) goto fail;
d14a1e28 15223 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
d14a1e28
RD
15224 {
15225 PyThreadState* __tstate = wxPyBeginAllowThreads();
15226 (arg1)->SetQuality(arg2);
15227
15228 wxPyEndAllowThreads(__tstate);
15229 if (PyErr_Occurred()) SWIG_fail;
15230 }
15231 Py_INCREF(Py_None); resultobj = Py_None;
15232 return resultobj;
15233 fail:
15234 return NULL;
15235}
15236
15237
15238static PyObject *_wrap_PrintData_GetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15239 PyObject *resultobj;
15240 wxPrintData *arg1 = (wxPrintData *) 0 ;
15241 wxString *result;
15242 PyObject * obj0 = 0 ;
15243 char *kwnames[] = {
15244 (char *) "self", NULL
15245 };
15246
15247 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterCommand",kwnames,&obj0)) goto fail;
15248 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15249 {
15250 PyThreadState* __tstate = wxPyBeginAllowThreads();
15251 {
15252 wxString const &_result_ref = (arg1)->GetPrinterCommand();
15253 result = (wxString *) &_result_ref;
15254 }
15255
15256 wxPyEndAllowThreads(__tstate);
15257 if (PyErr_Occurred()) SWIG_fail;
15258 }
0f774bef
RD
15259 {
15260#if wxUSE_UNICODE
15261 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15262#else
15263 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15264#endif
15265 }
d14a1e28
RD
15266 return resultobj;
15267 fail:
15268 return NULL;
15269}
15270
15271
15272static PyObject *_wrap_PrintData_GetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15273 PyObject *resultobj;
15274 wxPrintData *arg1 = (wxPrintData *) 0 ;
15275 wxString *result;
15276 PyObject * obj0 = 0 ;
15277 char *kwnames[] = {
15278 (char *) "self", NULL
15279 };
15280
15281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterOptions",kwnames,&obj0)) goto fail;
15282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15283 {
15284 PyThreadState* __tstate = wxPyBeginAllowThreads();
15285 {
15286 wxString const &_result_ref = (arg1)->GetPrinterOptions();
15287 result = (wxString *) &_result_ref;
15288 }
15289
15290 wxPyEndAllowThreads(__tstate);
15291 if (PyErr_Occurred()) SWIG_fail;
15292 }
0f774bef
RD
15293 {
15294#if wxUSE_UNICODE
15295 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15296#else
15297 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15298#endif
15299 }
d14a1e28
RD
15300 return resultobj;
15301 fail:
15302 return NULL;
15303}
15304
15305
15306static PyObject *_wrap_PrintData_GetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15307 PyObject *resultobj;
15308 wxPrintData *arg1 = (wxPrintData *) 0 ;
15309 wxString *result;
15310 PyObject * obj0 = 0 ;
15311 char *kwnames[] = {
15312 (char *) "self", NULL
15313 };
15314
15315 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPreviewCommand",kwnames,&obj0)) goto fail;
15316 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15317 {
15318 PyThreadState* __tstate = wxPyBeginAllowThreads();
15319 {
15320 wxString const &_result_ref = (arg1)->GetPreviewCommand();
15321 result = (wxString *) &_result_ref;
15322 }
15323
15324 wxPyEndAllowThreads(__tstate);
15325 if (PyErr_Occurred()) SWIG_fail;
15326 }
0f774bef
RD
15327 {
15328#if wxUSE_UNICODE
15329 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15330#else
15331 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15332#endif
15333 }
d14a1e28
RD
15334 return resultobj;
15335 fail:
15336 return NULL;
15337}
15338
15339
15340static PyObject *_wrap_PrintData_GetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15341 PyObject *resultobj;
15342 wxPrintData *arg1 = (wxPrintData *) 0 ;
15343 wxString *result;
15344 PyObject * obj0 = 0 ;
15345 char *kwnames[] = {
15346 (char *) "self", NULL
15347 };
15348
15349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFilename",kwnames,&obj0)) goto fail;
15350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15351 {
15352 PyThreadState* __tstate = wxPyBeginAllowThreads();
15353 {
15354 wxString const &_result_ref = (arg1)->GetFilename();
15355 result = (wxString *) &_result_ref;
15356 }
15357
15358 wxPyEndAllowThreads(__tstate);
15359 if (PyErr_Occurred()) SWIG_fail;
15360 }
0f774bef
RD
15361 {
15362#if wxUSE_UNICODE
15363 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15364#else
15365 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15366#endif
15367 }
d14a1e28
RD
15368 return resultobj;
15369 fail:
15370 return NULL;
15371}
15372
15373
15374static PyObject *_wrap_PrintData_GetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15375 PyObject *resultobj;
15376 wxPrintData *arg1 = (wxPrintData *) 0 ;
15377 wxString *result;
15378 PyObject * obj0 = 0 ;
15379 char *kwnames[] = {
15380 (char *) "self", NULL
15381 };
15382
15383 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetFontMetricPath",kwnames,&obj0)) goto fail;
15384 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15385 {
15386 PyThreadState* __tstate = wxPyBeginAllowThreads();
15387 {
15388 wxString const &_result_ref = (arg1)->GetFontMetricPath();
15389 result = (wxString *) &_result_ref;
15390 }
15391
15392 wxPyEndAllowThreads(__tstate);
15393 if (PyErr_Occurred()) SWIG_fail;
15394 }
0f774bef
RD
15395 {
15396#if wxUSE_UNICODE
15397 resultobj = PyUnicode_FromWideChar(result->c_str(), result->Len());
15398#else
15399 resultobj = PyString_FromStringAndSize(result->c_str(), result->Len());
15400#endif
15401 }
d14a1e28
RD
15402 return resultobj;
15403 fail:
15404 return NULL;
15405}
15406
15407
15408static PyObject *_wrap_PrintData_GetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15409 PyObject *resultobj;
15410 wxPrintData *arg1 = (wxPrintData *) 0 ;
15411 double result;
15412 PyObject * obj0 = 0 ;
15413 char *kwnames[] = {
15414 (char *) "self", NULL
15415 };
15416
15417 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleX",kwnames,&obj0)) goto fail;
15418 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15419 {
15420 PyThreadState* __tstate = wxPyBeginAllowThreads();
15421 result = (double)(arg1)->GetPrinterScaleX();
15422
15423 wxPyEndAllowThreads(__tstate);
15424 if (PyErr_Occurred()) SWIG_fail;
15425 }
15426 resultobj = PyFloat_FromDouble(result);
15427 return resultobj;
15428 fail:
15429 return NULL;
15430}
15431
15432
15433static PyObject *_wrap_PrintData_GetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15434 PyObject *resultobj;
15435 wxPrintData *arg1 = (wxPrintData *) 0 ;
15436 double result;
15437 PyObject * obj0 = 0 ;
15438 char *kwnames[] = {
15439 (char *) "self", NULL
15440 };
15441
15442 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterScaleY",kwnames,&obj0)) goto fail;
15443 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15444 {
15445 PyThreadState* __tstate = wxPyBeginAllowThreads();
15446 result = (double)(arg1)->GetPrinterScaleY();
15447
15448 wxPyEndAllowThreads(__tstate);
15449 if (PyErr_Occurred()) SWIG_fail;
15450 }
15451 resultobj = PyFloat_FromDouble(result);
15452 return resultobj;
15453 fail:
15454 return NULL;
15455}
15456
15457
15458static PyObject *_wrap_PrintData_GetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15459 PyObject *resultobj;
15460 wxPrintData *arg1 = (wxPrintData *) 0 ;
15461 long result;
15462 PyObject * obj0 = 0 ;
15463 char *kwnames[] = {
15464 (char *) "self", NULL
15465 };
15466
15467 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateX",kwnames,&obj0)) goto fail;
15468 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15469 {
15470 PyThreadState* __tstate = wxPyBeginAllowThreads();
15471 result = (long)(arg1)->GetPrinterTranslateX();
15472
15473 wxPyEndAllowThreads(__tstate);
15474 if (PyErr_Occurred()) SWIG_fail;
15475 }
15476 resultobj = PyInt_FromLong((long)result);
15477 return resultobj;
15478 fail:
15479 return NULL;
15480}
15481
15482
15483static PyObject *_wrap_PrintData_GetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15484 PyObject *resultobj;
15485 wxPrintData *arg1 = (wxPrintData *) 0 ;
15486 long result;
15487 PyObject * obj0 = 0 ;
15488 char *kwnames[] = {
15489 (char *) "self", NULL
15490 };
15491
15492 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrinterTranslateY",kwnames,&obj0)) goto fail;
15493 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15494 {
15495 PyThreadState* __tstate = wxPyBeginAllowThreads();
15496 result = (long)(arg1)->GetPrinterTranslateY();
15497
15498 wxPyEndAllowThreads(__tstate);
15499 if (PyErr_Occurred()) SWIG_fail;
15500 }
15501 resultobj = PyInt_FromLong((long)result);
15502 return resultobj;
15503 fail:
15504 return NULL;
15505}
15506
15507
15508static PyObject *_wrap_PrintData_GetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15509 PyObject *resultobj;
15510 wxPrintData *arg1 = (wxPrintData *) 0 ;
15511 int result;
15512 PyObject * obj0 = 0 ;
15513 char *kwnames[] = {
15514 (char *) "self", NULL
15515 };
15516
15517 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintData_GetPrintMode",kwnames,&obj0)) goto fail;
15518 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15519 {
15520 PyThreadState* __tstate = wxPyBeginAllowThreads();
15521 result = (int)(arg1)->GetPrintMode();
15522
15523 wxPyEndAllowThreads(__tstate);
15524 if (PyErr_Occurred()) SWIG_fail;
15525 }
15526 resultobj = PyInt_FromLong((long)result);
15527 return resultobj;
15528 fail:
15529 return NULL;
15530}
15531
15532
15533static PyObject *_wrap_PrintData_SetPrinterCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15534 PyObject *resultobj;
15535 wxPrintData *arg1 = (wxPrintData *) 0 ;
15536 wxString *arg2 = 0 ;
423f194a 15537 bool temp2 = False ;
d14a1e28
RD
15538 PyObject * obj0 = 0 ;
15539 PyObject * obj1 = 0 ;
15540 char *kwnames[] = {
15541 (char *) "self",(char *) "command", NULL
15542 };
15543
15544 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterCommand",kwnames,&obj0,&obj1)) goto fail;
15545 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15546 {
15547 arg2 = wxString_in_helper(obj1);
15548 if (arg2 == NULL) SWIG_fail;
423f194a 15549 temp2 = True;
d14a1e28
RD
15550 }
15551 {
15552 PyThreadState* __tstate = wxPyBeginAllowThreads();
15553 (arg1)->SetPrinterCommand((wxString const &)*arg2);
15554
15555 wxPyEndAllowThreads(__tstate);
15556 if (PyErr_Occurred()) SWIG_fail;
15557 }
15558 Py_INCREF(Py_None); resultobj = Py_None;
15559 {
15560 if (temp2)
15561 delete arg2;
15562 }
15563 return resultobj;
15564 fail:
15565 {
15566 if (temp2)
15567 delete arg2;
15568 }
15569 return NULL;
15570}
15571
15572
15573static PyObject *_wrap_PrintData_SetPrinterOptions(PyObject *self, PyObject *args, PyObject *kwargs) {
15574 PyObject *resultobj;
15575 wxPrintData *arg1 = (wxPrintData *) 0 ;
15576 wxString *arg2 = 0 ;
423f194a 15577 bool temp2 = False ;
d14a1e28
RD
15578 PyObject * obj0 = 0 ;
15579 PyObject * obj1 = 0 ;
15580 char *kwnames[] = {
15581 (char *) "self",(char *) "options", NULL
15582 };
15583
15584 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPrinterOptions",kwnames,&obj0,&obj1)) goto fail;
15585 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15586 {
15587 arg2 = wxString_in_helper(obj1);
15588 if (arg2 == NULL) SWIG_fail;
423f194a 15589 temp2 = True;
d14a1e28
RD
15590 }
15591 {
15592 PyThreadState* __tstate = wxPyBeginAllowThreads();
15593 (arg1)->SetPrinterOptions((wxString const &)*arg2);
15594
15595 wxPyEndAllowThreads(__tstate);
15596 if (PyErr_Occurred()) SWIG_fail;
15597 }
15598 Py_INCREF(Py_None); resultobj = Py_None;
15599 {
15600 if (temp2)
15601 delete arg2;
15602 }
15603 return resultobj;
15604 fail:
15605 {
15606 if (temp2)
15607 delete arg2;
15608 }
15609 return NULL;
15610}
15611
15612
15613static PyObject *_wrap_PrintData_SetPreviewCommand(PyObject *self, PyObject *args, PyObject *kwargs) {
15614 PyObject *resultobj;
15615 wxPrintData *arg1 = (wxPrintData *) 0 ;
15616 wxString *arg2 = 0 ;
423f194a 15617 bool temp2 = False ;
d14a1e28
RD
15618 PyObject * obj0 = 0 ;
15619 PyObject * obj1 = 0 ;
15620 char *kwnames[] = {
15621 (char *) "self",(char *) "command", NULL
15622 };
15623
15624 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetPreviewCommand",kwnames,&obj0,&obj1)) goto fail;
15625 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15626 {
15627 arg2 = wxString_in_helper(obj1);
15628 if (arg2 == NULL) SWIG_fail;
423f194a 15629 temp2 = True;
d14a1e28
RD
15630 }
15631 {
15632 PyThreadState* __tstate = wxPyBeginAllowThreads();
15633 (arg1)->SetPreviewCommand((wxString const &)*arg2);
15634
15635 wxPyEndAllowThreads(__tstate);
15636 if (PyErr_Occurred()) SWIG_fail;
15637 }
15638 Py_INCREF(Py_None); resultobj = Py_None;
15639 {
15640 if (temp2)
15641 delete arg2;
15642 }
15643 return resultobj;
15644 fail:
15645 {
15646 if (temp2)
15647 delete arg2;
15648 }
15649 return NULL;
15650}
15651
15652
15653static PyObject *_wrap_PrintData_SetFilename(PyObject *self, PyObject *args, PyObject *kwargs) {
15654 PyObject *resultobj;
15655 wxPrintData *arg1 = (wxPrintData *) 0 ;
15656 wxString *arg2 = 0 ;
423f194a 15657 bool temp2 = False ;
d14a1e28
RD
15658 PyObject * obj0 = 0 ;
15659 PyObject * obj1 = 0 ;
15660 char *kwnames[] = {
15661 (char *) "self",(char *) "filename", NULL
15662 };
15663
15664 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFilename",kwnames,&obj0,&obj1)) goto fail;
15665 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15666 {
15667 arg2 = wxString_in_helper(obj1);
15668 if (arg2 == NULL) SWIG_fail;
423f194a 15669 temp2 = True;
d14a1e28
RD
15670 }
15671 {
15672 PyThreadState* __tstate = wxPyBeginAllowThreads();
15673 (arg1)->SetFilename((wxString const &)*arg2);
15674
15675 wxPyEndAllowThreads(__tstate);
15676 if (PyErr_Occurred()) SWIG_fail;
15677 }
15678 Py_INCREF(Py_None); resultobj = Py_None;
15679 {
15680 if (temp2)
15681 delete arg2;
15682 }
15683 return resultobj;
15684 fail:
15685 {
15686 if (temp2)
15687 delete arg2;
15688 }
15689 return NULL;
15690}
15691
15692
15693static PyObject *_wrap_PrintData_SetFontMetricPath(PyObject *self, PyObject *args, PyObject *kwargs) {
15694 PyObject *resultobj;
15695 wxPrintData *arg1 = (wxPrintData *) 0 ;
15696 wxString *arg2 = 0 ;
423f194a 15697 bool temp2 = False ;
d14a1e28
RD
15698 PyObject * obj0 = 0 ;
15699 PyObject * obj1 = 0 ;
15700 char *kwnames[] = {
15701 (char *) "self",(char *) "path", NULL
15702 };
15703
15704 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintData_SetFontMetricPath",kwnames,&obj0,&obj1)) goto fail;
15705 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15706 {
15707 arg2 = wxString_in_helper(obj1);
15708 if (arg2 == NULL) SWIG_fail;
423f194a 15709 temp2 = True;
d14a1e28
RD
15710 }
15711 {
15712 PyThreadState* __tstate = wxPyBeginAllowThreads();
15713 (arg1)->SetFontMetricPath((wxString const &)*arg2);
15714
15715 wxPyEndAllowThreads(__tstate);
15716 if (PyErr_Occurred()) SWIG_fail;
15717 }
15718 Py_INCREF(Py_None); resultobj = Py_None;
15719 {
15720 if (temp2)
15721 delete arg2;
15722 }
15723 return resultobj;
15724 fail:
15725 {
15726 if (temp2)
15727 delete arg2;
15728 }
15729 return NULL;
15730}
15731
15732
15733static PyObject *_wrap_PrintData_SetPrinterScaleX(PyObject *self, PyObject *args, PyObject *kwargs) {
15734 PyObject *resultobj;
15735 wxPrintData *arg1 = (wxPrintData *) 0 ;
15736 double arg2 ;
15737 PyObject * obj0 = 0 ;
15738 char *kwnames[] = {
15739 (char *) "self",(char *) "x", NULL
15740 };
15741
15742 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleX",kwnames,&obj0,&arg2)) goto fail;
15743 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15744 {
15745 PyThreadState* __tstate = wxPyBeginAllowThreads();
15746 (arg1)->SetPrinterScaleX(arg2);
15747
15748 wxPyEndAllowThreads(__tstate);
15749 if (PyErr_Occurred()) SWIG_fail;
15750 }
15751 Py_INCREF(Py_None); resultobj = Py_None;
15752 return resultobj;
15753 fail:
15754 return NULL;
15755}
15756
15757
15758static PyObject *_wrap_PrintData_SetPrinterScaleY(PyObject *self, PyObject *args, PyObject *kwargs) {
15759 PyObject *resultobj;
15760 wxPrintData *arg1 = (wxPrintData *) 0 ;
15761 double arg2 ;
15762 PyObject * obj0 = 0 ;
15763 char *kwnames[] = {
15764 (char *) "self",(char *) "y", NULL
15765 };
15766
15767 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Od:PrintData_SetPrinterScaleY",kwnames,&obj0,&arg2)) goto fail;
15768 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15769 {
15770 PyThreadState* __tstate = wxPyBeginAllowThreads();
15771 (arg1)->SetPrinterScaleY(arg2);
15772
15773 wxPyEndAllowThreads(__tstate);
15774 if (PyErr_Occurred()) SWIG_fail;
15775 }
15776 Py_INCREF(Py_None); resultobj = Py_None;
15777 return resultobj;
15778 fail:
15779 return NULL;
15780}
15781
15782
15783static PyObject *_wrap_PrintData_SetPrinterScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
15784 PyObject *resultobj;
15785 wxPrintData *arg1 = (wxPrintData *) 0 ;
15786 double arg2 ;
15787 double arg3 ;
15788 PyObject * obj0 = 0 ;
15789 char *kwnames[] = {
15790 (char *) "self",(char *) "x",(char *) "y", NULL
15791 };
15792
15793 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Odd:PrintData_SetPrinterScaling",kwnames,&obj0,&arg2,&arg3)) goto fail;
15794 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15795 {
15796 PyThreadState* __tstate = wxPyBeginAllowThreads();
15797 (arg1)->SetPrinterScaling(arg2,arg3);
15798
15799 wxPyEndAllowThreads(__tstate);
15800 if (PyErr_Occurred()) SWIG_fail;
15801 }
15802 Py_INCREF(Py_None); resultobj = Py_None;
15803 return resultobj;
15804 fail:
15805 return NULL;
15806}
15807
15808
15809static PyObject *_wrap_PrintData_SetPrinterTranslateX(PyObject *self, PyObject *args, PyObject *kwargs) {
15810 PyObject *resultobj;
15811 wxPrintData *arg1 = (wxPrintData *) 0 ;
15812 long arg2 ;
15813 PyObject * obj0 = 0 ;
15814 char *kwnames[] = {
15815 (char *) "self",(char *) "x", NULL
15816 };
15817
15818 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateX",kwnames,&obj0,&arg2)) goto fail;
15819 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15820 {
15821 PyThreadState* __tstate = wxPyBeginAllowThreads();
15822 (arg1)->SetPrinterTranslateX(arg2);
15823
15824 wxPyEndAllowThreads(__tstate);
15825 if (PyErr_Occurred()) SWIG_fail;
15826 }
15827 Py_INCREF(Py_None); resultobj = Py_None;
15828 return resultobj;
15829 fail:
15830 return NULL;
15831}
15832
15833
15834static PyObject *_wrap_PrintData_SetPrinterTranslateY(PyObject *self, PyObject *args, PyObject *kwargs) {
15835 PyObject *resultobj;
15836 wxPrintData *arg1 = (wxPrintData *) 0 ;
15837 long arg2 ;
15838 PyObject * obj0 = 0 ;
15839 char *kwnames[] = {
15840 (char *) "self",(char *) "y", NULL
15841 };
15842
15843 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Ol:PrintData_SetPrinterTranslateY",kwnames,&obj0,&arg2)) goto fail;
15844 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15845 {
15846 PyThreadState* __tstate = wxPyBeginAllowThreads();
15847 (arg1)->SetPrinterTranslateY(arg2);
15848
15849 wxPyEndAllowThreads(__tstate);
15850 if (PyErr_Occurred()) SWIG_fail;
15851 }
15852 Py_INCREF(Py_None); resultobj = Py_None;
15853 return resultobj;
15854 fail:
15855 return NULL;
15856}
15857
15858
15859static PyObject *_wrap_PrintData_SetPrinterTranslation(PyObject *self, PyObject *args, PyObject *kwargs) {
15860 PyObject *resultobj;
15861 wxPrintData *arg1 = (wxPrintData *) 0 ;
15862 long arg2 ;
15863 long arg3 ;
15864 PyObject * obj0 = 0 ;
15865 char *kwnames[] = {
15866 (char *) "self",(char *) "x",(char *) "y", NULL
15867 };
15868
15869 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oll:PrintData_SetPrinterTranslation",kwnames,&obj0,&arg2,&arg3)) goto fail;
15870 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15871 {
15872 PyThreadState* __tstate = wxPyBeginAllowThreads();
15873 (arg1)->SetPrinterTranslation(arg2,arg3);
15874
15875 wxPyEndAllowThreads(__tstate);
15876 if (PyErr_Occurred()) SWIG_fail;
15877 }
15878 Py_INCREF(Py_None); resultobj = Py_None;
15879 return resultobj;
15880 fail:
15881 return NULL;
15882}
15883
15884
15885static PyObject *_wrap_PrintData_SetPrintMode(PyObject *self, PyObject *args, PyObject *kwargs) {
15886 PyObject *resultobj;
15887 wxPrintData *arg1 = (wxPrintData *) 0 ;
15888 int arg2 ;
15889 PyObject * obj0 = 0 ;
15890 char *kwnames[] = {
15891 (char *) "self",(char *) "printMode", NULL
15892 };
15893
15894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintData_SetPrintMode",kwnames,&obj0,&arg2)) goto fail;
15895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15896 {
15897 PyThreadState* __tstate = wxPyBeginAllowThreads();
15898 (arg1)->SetPrintMode((wxPrintMode )arg2);
15899
15900 wxPyEndAllowThreads(__tstate);
15901 if (PyErr_Occurred()) SWIG_fail;
15902 }
15903 Py_INCREF(Py_None); resultobj = Py_None;
15904 return resultobj;
15905 fail:
15906 return NULL;
15907}
15908
15909
15910static PyObject * PrintData_swigregister(PyObject *self, PyObject *args) {
15911 PyObject *obj;
15912 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
15913 SWIG_TypeClientData(SWIGTYPE_p_wxPrintData, obj);
15914 Py_INCREF(obj);
15915 return Py_BuildValue((char *)"");
15916}
15917static PyObject *_wrap_new_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15918 PyObject *resultobj;
15919 wxPageSetupDialogData *result;
15920 char *kwnames[] = {
15921 NULL
15922 };
15923
15924 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PageSetupDialogData",kwnames)) goto fail;
15925 {
15926 PyThreadState* __tstate = wxPyBeginAllowThreads();
15927 result = (wxPageSetupDialogData *)new wxPageSetupDialogData();
15928
15929 wxPyEndAllowThreads(__tstate);
15930 if (PyErr_Occurred()) SWIG_fail;
15931 }
15932 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 1);
15933 return resultobj;
15934 fail:
15935 return NULL;
15936}
15937
15938
15939static PyObject *_wrap_delete_PageSetupDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
15940 PyObject *resultobj;
15941 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15942 PyObject * obj0 = 0 ;
15943 char *kwnames[] = {
15944 (char *) "self", NULL
15945 };
15946
15947 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PageSetupDialogData",kwnames,&obj0)) goto fail;
15948 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15949 {
15950 PyThreadState* __tstate = wxPyBeginAllowThreads();
15951 delete arg1;
15952
15953 wxPyEndAllowThreads(__tstate);
15954 if (PyErr_Occurred()) SWIG_fail;
15955 }
15956 Py_INCREF(Py_None); resultobj = Py_None;
15957 return resultobj;
15958 fail:
15959 return NULL;
15960}
15961
15962
15963static PyObject *_wrap_PageSetupDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
15964 PyObject *resultobj;
15965 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15966 bool arg2 ;
15967 PyObject * obj0 = 0 ;
15968 PyObject * obj1 = 0 ;
15969 char *kwnames[] = {
15970 (char *) "self",(char *) "flag", NULL
15971 };
15972
15973 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
15974 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
15975 arg2 = PyInt_AsLong(obj1) ? true : false;
15976 if (PyErr_Occurred()) SWIG_fail;
15977 {
15978 PyThreadState* __tstate = wxPyBeginAllowThreads();
15979 (arg1)->EnableHelp(arg2);
15980
15981 wxPyEndAllowThreads(__tstate);
15982 if (PyErr_Occurred()) SWIG_fail;
15983 }
15984 Py_INCREF(Py_None); resultobj = Py_None;
15985 return resultobj;
15986 fail:
15987 return NULL;
15988}
15989
15990
15991static PyObject *_wrap_PageSetupDialogData_EnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
15992 PyObject *resultobj;
15993 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
15994 bool arg2 ;
15995 PyObject * obj0 = 0 ;
15996 PyObject * obj1 = 0 ;
15997 char *kwnames[] = {
15998 (char *) "self",(char *) "flag", NULL
15999 };
16000
16001 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames,&obj0,&obj1)) goto fail;
16002 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16003 arg2 = PyInt_AsLong(obj1) ? true : false;
16004 if (PyErr_Occurred()) SWIG_fail;
16005 {
16006 PyThreadState* __tstate = wxPyBeginAllowThreads();
16007 (arg1)->EnableMargins(arg2);
16008
16009 wxPyEndAllowThreads(__tstate);
16010 if (PyErr_Occurred()) SWIG_fail;
16011 }
16012 Py_INCREF(Py_None); resultobj = Py_None;
16013 return resultobj;
16014 fail:
16015 return NULL;
16016}
16017
16018
16019static PyObject *_wrap_PageSetupDialogData_EnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16020 PyObject *resultobj;
16021 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16022 bool arg2 ;
16023 PyObject * obj0 = 0 ;
16024 PyObject * obj1 = 0 ;
16025 char *kwnames[] = {
16026 (char *) "self",(char *) "flag", NULL
16027 };
16028
16029 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames,&obj0,&obj1)) goto fail;
16030 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16031 arg2 = PyInt_AsLong(obj1) ? true : false;
16032 if (PyErr_Occurred()) SWIG_fail;
16033 {
16034 PyThreadState* __tstate = wxPyBeginAllowThreads();
16035 (arg1)->EnableOrientation(arg2);
16036
16037 wxPyEndAllowThreads(__tstate);
16038 if (PyErr_Occurred()) SWIG_fail;
16039 }
16040 Py_INCREF(Py_None); resultobj = Py_None;
16041 return resultobj;
16042 fail:
16043 return NULL;
16044}
16045
16046
16047static PyObject *_wrap_PageSetupDialogData_EnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16048 PyObject *resultobj;
16049 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16050 bool arg2 ;
16051 PyObject * obj0 = 0 ;
16052 PyObject * obj1 = 0 ;
16053 char *kwnames[] = {
16054 (char *) "self",(char *) "flag", NULL
16055 };
16056
16057 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames,&obj0,&obj1)) goto fail;
16058 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16059 arg2 = PyInt_AsLong(obj1) ? true : false;
16060 if (PyErr_Occurred()) SWIG_fail;
16061 {
16062 PyThreadState* __tstate = wxPyBeginAllowThreads();
16063 (arg1)->EnablePaper(arg2);
16064
16065 wxPyEndAllowThreads(__tstate);
16066 if (PyErr_Occurred()) SWIG_fail;
16067 }
16068 Py_INCREF(Py_None); resultobj = Py_None;
16069 return resultobj;
16070 fail:
16071 return NULL;
16072}
16073
16074
16075static PyObject *_wrap_PageSetupDialogData_EnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16076 PyObject *resultobj;
16077 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16078 bool arg2 ;
16079 PyObject * obj0 = 0 ;
16080 PyObject * obj1 = 0 ;
16081 char *kwnames[] = {
16082 (char *) "self",(char *) "flag", NULL
16083 };
16084
16085 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames,&obj0,&obj1)) goto fail;
16086 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16087 arg2 = PyInt_AsLong(obj1) ? true : false;
16088 if (PyErr_Occurred()) SWIG_fail;
16089 {
16090 PyThreadState* __tstate = wxPyBeginAllowThreads();
16091 (arg1)->EnablePrinter(arg2);
16092
16093 wxPyEndAllowThreads(__tstate);
16094 if (PyErr_Occurred()) SWIG_fail;
16095 }
16096 Py_INCREF(Py_None); resultobj = Py_None;
16097 return resultobj;
16098 fail:
16099 return NULL;
16100}
16101
16102
16103static PyObject *_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16104 PyObject *resultobj;
16105 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16106 bool result;
16107 PyObject * obj0 = 0 ;
16108 char *kwnames[] = {
16109 (char *) "self", NULL
16110 };
16111
16112 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultMinMargins",kwnames,&obj0)) goto fail;
16113 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16114 {
16115 PyThreadState* __tstate = wxPyBeginAllowThreads();
16116 result = (bool)(arg1)->GetDefaultMinMargins();
16117
16118 wxPyEndAllowThreads(__tstate);
16119 if (PyErr_Occurred()) SWIG_fail;
16120 }
16121 resultobj = PyInt_FromLong((long)result);
16122 return resultobj;
16123 fail:
16124 return NULL;
16125}
16126
16127
16128static PyObject *_wrap_PageSetupDialogData_GetEnableMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16129 PyObject *resultobj;
16130 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16131 bool result;
16132 PyObject * obj0 = 0 ;
16133 char *kwnames[] = {
16134 (char *) "self", NULL
16135 };
16136
16137 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableMargins",kwnames,&obj0)) goto fail;
16138 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16139 {
16140 PyThreadState* __tstate = wxPyBeginAllowThreads();
16141 result = (bool)(arg1)->GetEnableMargins();
16142
16143 wxPyEndAllowThreads(__tstate);
16144 if (PyErr_Occurred()) SWIG_fail;
16145 }
16146 resultobj = PyInt_FromLong((long)result);
16147 return resultobj;
16148 fail:
16149 return NULL;
16150}
16151
16152
16153static PyObject *_wrap_PageSetupDialogData_GetEnableOrientation(PyObject *self, PyObject *args, PyObject *kwargs) {
16154 PyObject *resultobj;
16155 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16156 bool result;
16157 PyObject * obj0 = 0 ;
16158 char *kwnames[] = {
16159 (char *) "self", NULL
16160 };
16161
16162 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableOrientation",kwnames,&obj0)) goto fail;
16163 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16164 {
16165 PyThreadState* __tstate = wxPyBeginAllowThreads();
16166 result = (bool)(arg1)->GetEnableOrientation();
16167
16168 wxPyEndAllowThreads(__tstate);
16169 if (PyErr_Occurred()) SWIG_fail;
16170 }
16171 resultobj = PyInt_FromLong((long)result);
16172 return resultobj;
16173 fail:
16174 return NULL;
16175}
16176
16177
16178static PyObject *_wrap_PageSetupDialogData_GetEnablePaper(PyObject *self, PyObject *args, PyObject *kwargs) {
16179 PyObject *resultobj;
16180 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16181 bool result;
16182 PyObject * obj0 = 0 ;
16183 char *kwnames[] = {
16184 (char *) "self", NULL
16185 };
16186
16187 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePaper",kwnames,&obj0)) goto fail;
16188 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16189 {
16190 PyThreadState* __tstate = wxPyBeginAllowThreads();
16191 result = (bool)(arg1)->GetEnablePaper();
16192
16193 wxPyEndAllowThreads(__tstate);
16194 if (PyErr_Occurred()) SWIG_fail;
16195 }
16196 resultobj = PyInt_FromLong((long)result);
16197 return resultobj;
16198 fail:
16199 return NULL;
16200}
16201
16202
16203static PyObject *_wrap_PageSetupDialogData_GetEnablePrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
16204 PyObject *resultobj;
16205 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16206 bool result;
16207 PyObject * obj0 = 0 ;
16208 char *kwnames[] = {
16209 (char *) "self", NULL
16210 };
16211
16212 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnablePrinter",kwnames,&obj0)) goto fail;
16213 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16214 {
16215 PyThreadState* __tstate = wxPyBeginAllowThreads();
16216 result = (bool)(arg1)->GetEnablePrinter();
16217
16218 wxPyEndAllowThreads(__tstate);
16219 if (PyErr_Occurred()) SWIG_fail;
16220 }
16221 resultobj = PyInt_FromLong((long)result);
16222 return resultobj;
16223 fail:
16224 return NULL;
16225}
16226
16227
16228static PyObject *_wrap_PageSetupDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
16229 PyObject *resultobj;
16230 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16231 bool result;
16232 PyObject * obj0 = 0 ;
16233 char *kwnames[] = {
16234 (char *) "self", NULL
16235 };
16236
16237 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
16238 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16239 {
16240 PyThreadState* __tstate = wxPyBeginAllowThreads();
16241 result = (bool)(arg1)->GetEnableHelp();
16242
16243 wxPyEndAllowThreads(__tstate);
16244 if (PyErr_Occurred()) SWIG_fail;
16245 }
16246 resultobj = PyInt_FromLong((long)result);
16247 return resultobj;
16248 fail:
16249 return NULL;
16250}
16251
16252
16253static PyObject *_wrap_PageSetupDialogData_GetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16254 PyObject *resultobj;
16255 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16256 bool result;
16257 PyObject * obj0 = 0 ;
16258 char *kwnames[] = {
16259 (char *) "self", NULL
16260 };
16261
16262 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetDefaultInfo",kwnames,&obj0)) goto fail;
16263 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16264 {
16265 PyThreadState* __tstate = wxPyBeginAllowThreads();
16266 result = (bool)(arg1)->GetDefaultInfo();
16267
16268 wxPyEndAllowThreads(__tstate);
16269 if (PyErr_Occurred()) SWIG_fail;
16270 }
16271 resultobj = PyInt_FromLong((long)result);
16272 return resultobj;
16273 fail:
16274 return NULL;
16275}
16276
16277
16278static PyObject *_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16279 PyObject *resultobj;
16280 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16281 wxPoint result;
16282 PyObject * obj0 = 0 ;
16283 char *kwnames[] = {
16284 (char *) "self", NULL
16285 };
16286
16287 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginTopLeft",kwnames,&obj0)) goto fail;
16288 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16289 {
16290 PyThreadState* __tstate = wxPyBeginAllowThreads();
16291 result = (arg1)->GetMarginTopLeft();
16292
16293 wxPyEndAllowThreads(__tstate);
16294 if (PyErr_Occurred()) SWIG_fail;
16295 }
16296 {
16297 wxPoint * resultptr;
16298 resultptr = new wxPoint((wxPoint &) result);
16299 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16300 }
16301 return resultobj;
16302 fail:
16303 return NULL;
16304}
16305
16306
16307static PyObject *_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16308 PyObject *resultobj;
16309 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16310 wxPoint result;
16311 PyObject * obj0 = 0 ;
16312 char *kwnames[] = {
16313 (char *) "self", NULL
16314 };
16315
16316 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMarginBottomRight",kwnames,&obj0)) goto fail;
16317 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16318 {
16319 PyThreadState* __tstate = wxPyBeginAllowThreads();
16320 result = (arg1)->GetMarginBottomRight();
16321
16322 wxPyEndAllowThreads(__tstate);
16323 if (PyErr_Occurred()) SWIG_fail;
16324 }
16325 {
16326 wxPoint * resultptr;
16327 resultptr = new wxPoint((wxPoint &) result);
16328 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16329 }
16330 return resultobj;
16331 fail:
16332 return NULL;
16333}
16334
16335
16336static PyObject *_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16337 PyObject *resultobj;
16338 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16339 wxPoint result;
16340 PyObject * obj0 = 0 ;
16341 char *kwnames[] = {
16342 (char *) "self", NULL
16343 };
16344
16345 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginTopLeft",kwnames,&obj0)) goto fail;
16346 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16347 {
16348 PyThreadState* __tstate = wxPyBeginAllowThreads();
16349 result = (arg1)->GetMinMarginTopLeft();
16350
16351 wxPyEndAllowThreads(__tstate);
16352 if (PyErr_Occurred()) SWIG_fail;
16353 }
16354 {
16355 wxPoint * resultptr;
16356 resultptr = new wxPoint((wxPoint &) result);
16357 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16358 }
16359 return resultobj;
16360 fail:
16361 return NULL;
16362}
16363
16364
16365static PyObject *_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16366 PyObject *resultobj;
16367 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16368 wxPoint result;
16369 PyObject * obj0 = 0 ;
16370 char *kwnames[] = {
16371 (char *) "self", NULL
16372 };
16373
16374 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetMinMarginBottomRight",kwnames,&obj0)) goto fail;
16375 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16376 {
16377 PyThreadState* __tstate = wxPyBeginAllowThreads();
16378 result = (arg1)->GetMinMarginBottomRight();
16379
16380 wxPyEndAllowThreads(__tstate);
16381 if (PyErr_Occurred()) SWIG_fail;
16382 }
16383 {
16384 wxPoint * resultptr;
16385 resultptr = new wxPoint((wxPoint &) result);
16386 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxPoint, 1);
16387 }
16388 return resultobj;
16389 fail:
16390 return NULL;
16391}
16392
16393
16394static PyObject *_wrap_PageSetupDialogData_GetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16395 PyObject *resultobj;
16396 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16397 int result;
16398 PyObject * obj0 = 0 ;
16399 char *kwnames[] = {
16400 (char *) "self", NULL
16401 };
16402
16403 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperId",kwnames,&obj0)) goto fail;
16404 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16405 {
16406 PyThreadState* __tstate = wxPyBeginAllowThreads();
16407 result = (int)(arg1)->GetPaperId();
16408
16409 wxPyEndAllowThreads(__tstate);
16410 if (PyErr_Occurred()) SWIG_fail;
16411 }
16412 resultobj = PyInt_FromLong((long)result);
16413 return resultobj;
16414 fail:
16415 return NULL;
16416}
16417
16418
16419static PyObject *_wrap_PageSetupDialogData_GetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16420 PyObject *resultobj;
16421 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16422 wxSize result;
16423 PyObject * obj0 = 0 ;
16424 char *kwnames[] = {
16425 (char *) "self", NULL
16426 };
16427
16428 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPaperSize",kwnames,&obj0)) goto fail;
16429 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16430 {
16431 PyThreadState* __tstate = wxPyBeginAllowThreads();
16432 result = (arg1)->GetPaperSize();
16433
16434 wxPyEndAllowThreads(__tstate);
16435 if (PyErr_Occurred()) SWIG_fail;
16436 }
16437 {
16438 wxSize * resultptr;
16439 resultptr = new wxSize((wxSize &) result);
16440 resultobj = SWIG_NewPointerObj((void *) resultptr, SWIGTYPE_p_wxSize, 1);
16441 }
16442 return resultobj;
16443 fail:
16444 return NULL;
16445}
16446
16447
16448static PyObject *_wrap_PageSetupDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16449 PyObject *resultobj;
16450 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16451 wxPrintData *result;
16452 PyObject * obj0 = 0 ;
16453 char *kwnames[] = {
16454 (char *) "self", NULL
16455 };
16456
16457 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_GetPrintData",kwnames,&obj0)) goto fail;
16458 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16459 {
16460 PyThreadState* __tstate = wxPyBeginAllowThreads();
16461 {
16462 wxPrintData &_result_ref = (arg1)->GetPrintData();
16463 result = (wxPrintData *) &_result_ref;
16464 }
16465
16466 wxPyEndAllowThreads(__tstate);
16467 if (PyErr_Occurred()) SWIG_fail;
16468 }
16469 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
16470 return resultobj;
16471 fail:
16472 return NULL;
16473}
16474
16475
16476static PyObject *_wrap_PageSetupDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
16477 PyObject *resultobj;
16478 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16479 bool result;
16480 PyObject * obj0 = 0 ;
16481 char *kwnames[] = {
16482 (char *) "self", NULL
16483 };
16484
16485 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialogData_Ok",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 = (bool)(arg1)->Ok();
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_SetDefaultInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
16502 PyObject *resultobj;
16503 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16504 bool arg2 ;
16505 PyObject * obj0 = 0 ;
16506 PyObject * obj1 = 0 ;
16507 char *kwnames[] = {
16508 (char *) "self",(char *) "flag", NULL
16509 };
16510
16511 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames,&obj0,&obj1)) goto fail;
16512 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16513 arg2 = PyInt_AsLong(obj1) ? true : false;
16514 if (PyErr_Occurred()) SWIG_fail;
16515 {
16516 PyThreadState* __tstate = wxPyBeginAllowThreads();
16517 (arg1)->SetDefaultInfo(arg2);
16518
16519 wxPyEndAllowThreads(__tstate);
16520 if (PyErr_Occurred()) SWIG_fail;
16521 }
16522 Py_INCREF(Py_None); resultobj = Py_None;
16523 return resultobj;
16524 fail:
16525 return NULL;
16526}
16527
16528
16529static PyObject *_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject *self, PyObject *args, PyObject *kwargs) {
16530 PyObject *resultobj;
16531 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16532 bool arg2 ;
16533 PyObject * obj0 = 0 ;
16534 PyObject * obj1 = 0 ;
16535 char *kwnames[] = {
16536 (char *) "self",(char *) "flag", NULL
16537 };
16538
16539 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames,&obj0,&obj1)) goto fail;
16540 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16541 arg2 = PyInt_AsLong(obj1) ? true : false;
16542 if (PyErr_Occurred()) SWIG_fail;
16543 {
16544 PyThreadState* __tstate = wxPyBeginAllowThreads();
16545 (arg1)->SetDefaultMinMargins(arg2);
16546
16547 wxPyEndAllowThreads(__tstate);
16548 if (PyErr_Occurred()) SWIG_fail;
16549 }
16550 Py_INCREF(Py_None); resultobj = Py_None;
16551 return resultobj;
16552 fail:
16553 return NULL;
16554}
16555
16556
16557static PyObject *_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16558 PyObject *resultobj;
16559 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16560 wxPoint *arg2 = 0 ;
16561 wxPoint temp2 ;
16562 PyObject * obj0 = 0 ;
16563 PyObject * obj1 = 0 ;
16564 char *kwnames[] = {
16565 (char *) "self",(char *) "pt", NULL
16566 };
16567
16568 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16569 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16570 {
16571 arg2 = &temp2;
16572 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16573 }
16574 {
16575 PyThreadState* __tstate = wxPyBeginAllowThreads();
16576 (arg1)->SetMarginTopLeft((wxPoint const &)*arg2);
16577
16578 wxPyEndAllowThreads(__tstate);
16579 if (PyErr_Occurred()) SWIG_fail;
16580 }
16581 Py_INCREF(Py_None); resultobj = Py_None;
16582 return resultobj;
16583 fail:
16584 return NULL;
16585}
16586
16587
16588static PyObject *_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16589 PyObject *resultobj;
16590 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16591 wxPoint *arg2 = 0 ;
16592 wxPoint temp2 ;
16593 PyObject * obj0 = 0 ;
16594 PyObject * obj1 = 0 ;
16595 char *kwnames[] = {
16596 (char *) "self",(char *) "pt", NULL
16597 };
16598
16599 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16600 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16601 {
16602 arg2 = &temp2;
16603 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16604 }
16605 {
16606 PyThreadState* __tstate = wxPyBeginAllowThreads();
16607 (arg1)->SetMarginBottomRight((wxPoint const &)*arg2);
16608
16609 wxPyEndAllowThreads(__tstate);
16610 if (PyErr_Occurred()) SWIG_fail;
16611 }
16612 Py_INCREF(Py_None); resultobj = Py_None;
16613 return resultobj;
16614 fail:
16615 return NULL;
16616}
16617
16618
16619static PyObject *_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject *self, PyObject *args, PyObject *kwargs) {
16620 PyObject *resultobj;
16621 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16622 wxPoint *arg2 = 0 ;
16623 wxPoint temp2 ;
16624 PyObject * obj0 = 0 ;
16625 PyObject * obj1 = 0 ;
16626 char *kwnames[] = {
16627 (char *) "self",(char *) "pt", NULL
16628 };
16629
16630 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames,&obj0,&obj1)) goto fail;
16631 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16632 {
16633 arg2 = &temp2;
16634 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16635 }
16636 {
16637 PyThreadState* __tstate = wxPyBeginAllowThreads();
16638 (arg1)->SetMinMarginTopLeft((wxPoint const &)*arg2);
16639
16640 wxPyEndAllowThreads(__tstate);
16641 if (PyErr_Occurred()) SWIG_fail;
16642 }
16643 Py_INCREF(Py_None); resultobj = Py_None;
16644 return resultobj;
16645 fail:
16646 return NULL;
16647}
16648
16649
16650static PyObject *_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject *self, PyObject *args, PyObject *kwargs) {
16651 PyObject *resultobj;
16652 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16653 wxPoint *arg2 = 0 ;
16654 wxPoint temp2 ;
16655 PyObject * obj0 = 0 ;
16656 PyObject * obj1 = 0 ;
16657 char *kwnames[] = {
16658 (char *) "self",(char *) "pt", NULL
16659 };
16660
16661 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames,&obj0,&obj1)) goto fail;
16662 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16663 {
16664 arg2 = &temp2;
16665 if ( ! wxPoint_helper(obj1, &arg2)) SWIG_fail;
16666 }
16667 {
16668 PyThreadState* __tstate = wxPyBeginAllowThreads();
16669 (arg1)->SetMinMarginBottomRight((wxPoint const &)*arg2);
16670
16671 wxPyEndAllowThreads(__tstate);
16672 if (PyErr_Occurred()) SWIG_fail;
16673 }
16674 Py_INCREF(Py_None); resultobj = Py_None;
16675 return resultobj;
16676 fail:
16677 return NULL;
16678}
16679
16680
16681static PyObject *_wrap_PageSetupDialogData_SetPaperId(PyObject *self, PyObject *args, PyObject *kwargs) {
16682 PyObject *resultobj;
16683 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16684 int arg2 ;
16685 PyObject * obj0 = 0 ;
16686 char *kwnames[] = {
16687 (char *) "self",(char *) "id", NULL
16688 };
16689
16690 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PageSetupDialogData_SetPaperId",kwnames,&obj0,&arg2)) goto fail;
16691 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16692 {
16693 PyThreadState* __tstate = wxPyBeginAllowThreads();
16694 (arg1)->SetPaperId((wxPaperSize )arg2);
16695
16696 wxPyEndAllowThreads(__tstate);
16697 if (PyErr_Occurred()) SWIG_fail;
16698 }
16699 Py_INCREF(Py_None); resultobj = Py_None;
16700 return resultobj;
16701 fail:
16702 return NULL;
16703}
16704
16705
16706static PyObject *_wrap_PageSetupDialogData_SetPaperSize(PyObject *self, PyObject *args, PyObject *kwargs) {
16707 PyObject *resultobj;
16708 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16709 wxSize *arg2 = 0 ;
16710 wxSize temp2 ;
16711 PyObject * obj0 = 0 ;
16712 PyObject * obj1 = 0 ;
16713 char *kwnames[] = {
16714 (char *) "self",(char *) "size", NULL
16715 };
16716
16717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames,&obj0,&obj1)) goto fail;
16718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16719 {
16720 arg2 = &temp2;
16721 if ( ! wxSize_helper(obj1, &arg2)) SWIG_fail;
16722 }
16723 {
16724 PyThreadState* __tstate = wxPyBeginAllowThreads();
16725 (arg1)->SetPaperSize((wxSize const &)*arg2);
16726
16727 wxPyEndAllowThreads(__tstate);
16728 if (PyErr_Occurred()) SWIG_fail;
16729 }
16730 Py_INCREF(Py_None); resultobj = Py_None;
16731 return resultobj;
16732 fail:
16733 return NULL;
16734}
16735
16736
16737static PyObject *_wrap_PageSetupDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
16738 PyObject *resultobj;
16739 wxPageSetupDialogData *arg1 = (wxPageSetupDialogData *) 0 ;
16740 wxPrintData *arg2 = 0 ;
16741 PyObject * obj0 = 0 ;
16742 PyObject * obj1 = 0 ;
16743 char *kwnames[] = {
16744 (char *) "self",(char *) "printData", NULL
16745 };
16746
16747 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
16748 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16749 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16750 if (arg2 == NULL) {
16751 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
16752 }
16753 {
16754 PyThreadState* __tstate = wxPyBeginAllowThreads();
16755 (arg1)->SetPrintData((wxPrintData const &)*arg2);
16756
16757 wxPyEndAllowThreads(__tstate);
16758 if (PyErr_Occurred()) SWIG_fail;
16759 }
16760 Py_INCREF(Py_None); resultobj = Py_None;
16761 return resultobj;
16762 fail:
16763 return NULL;
16764}
16765
16766
16767static PyObject * PageSetupDialogData_swigregister(PyObject *self, PyObject *args) {
16768 PyObject *obj;
16769 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16770 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialogData, obj);
16771 Py_INCREF(obj);
16772 return Py_BuildValue((char *)"");
16773}
16774static PyObject *_wrap_new_PageSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
16775 PyObject *resultobj;
16776 wxWindow *arg1 = (wxWindow *) 0 ;
16777 wxPageSetupDialogData *arg2 = (wxPageSetupDialogData *) NULL ;
16778 wxPageSetupDialog *result;
16779 PyObject * obj0 = 0 ;
16780 PyObject * obj1 = 0 ;
16781 char *kwnames[] = {
16782 (char *) "parent",(char *) "data", NULL
16783 };
16784
16785 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PageSetupDialog",kwnames,&obj0,&obj1)) goto fail;
16786 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16787 if (obj1) {
16788 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPageSetupDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16789 }
16790 {
16791 PyThreadState* __tstate = wxPyBeginAllowThreads();
16792 result = (wxPageSetupDialog *)new wxPageSetupDialog(arg1,arg2);
16793
16794 wxPyEndAllowThreads(__tstate);
16795 if (PyErr_Occurred()) SWIG_fail;
16796 }
16797 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialog, 1);
16798 return resultobj;
16799 fail:
16800 return NULL;
16801}
16802
16803
16804static PyObject *_wrap_PageSetupDialog_GetPageSetupData(PyObject *self, PyObject *args, PyObject *kwargs) {
16805 PyObject *resultobj;
16806 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16807 wxPageSetupDialogData *result;
16808 PyObject * obj0 = 0 ;
16809 char *kwnames[] = {
16810 (char *) "self", NULL
16811 };
16812
16813 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_GetPageSetupData",kwnames,&obj0)) goto fail;
16814 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16815 {
16816 PyThreadState* __tstate = wxPyBeginAllowThreads();
16817 {
16818 wxPageSetupDialogData &_result_ref = (arg1)->GetPageSetupData();
16819 result = (wxPageSetupDialogData *) &_result_ref;
16820 }
16821
16822 wxPyEndAllowThreads(__tstate);
16823 if (PyErr_Occurred()) SWIG_fail;
16824 }
16825 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPageSetupDialogData, 0);
16826 return resultobj;
16827 fail:
16828 return NULL;
16829}
16830
16831
16832static PyObject *_wrap_PageSetupDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
16833 PyObject *resultobj;
16834 wxPageSetupDialog *arg1 = (wxPageSetupDialog *) 0 ;
16835 int result;
16836 PyObject * obj0 = 0 ;
16837 char *kwnames[] = {
16838 (char *) "self", NULL
16839 };
16840
16841 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PageSetupDialog_ShowModal",kwnames,&obj0)) goto fail;
16842 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPageSetupDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16843 {
16844 PyThreadState* __tstate = wxPyBeginAllowThreads();
16845 result = (int)(arg1)->ShowModal();
16846
16847 wxPyEndAllowThreads(__tstate);
16848 if (PyErr_Occurred()) SWIG_fail;
16849 }
16850 resultobj = PyInt_FromLong((long)result);
16851 return resultobj;
16852 fail:
16853 return NULL;
16854}
16855
16856
16857static PyObject * PageSetupDialog_swigregister(PyObject *self, PyObject *args) {
16858 PyObject *obj;
16859 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
16860 SWIG_TypeClientData(SWIGTYPE_p_wxPageSetupDialog, obj);
16861 Py_INCREF(obj);
16862 return Py_BuildValue((char *)"");
16863}
16864static PyObject *_wrap_new_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16865 PyObject *resultobj;
16866 wxPrintDialogData *result;
16867 char *kwnames[] = {
16868 NULL
16869 };
16870
16871 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":new_PrintDialogData",kwnames)) goto fail;
16872 {
16873 PyThreadState* __tstate = wxPyBeginAllowThreads();
16874 result = (wxPrintDialogData *)new wxPrintDialogData();
16875
16876 wxPyEndAllowThreads(__tstate);
16877 if (PyErr_Occurred()) SWIG_fail;
16878 }
16879 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 1);
16880 return resultobj;
16881 fail:
16882 return NULL;
16883}
16884
16885
16886static PyObject *_wrap_delete_PrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
16887 PyObject *resultobj;
16888 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16889 PyObject * obj0 = 0 ;
16890 char *kwnames[] = {
16891 (char *) "self", NULL
16892 };
16893
16894 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_PrintDialogData",kwnames,&obj0)) goto fail;
16895 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16896 {
16897 PyThreadState* __tstate = wxPyBeginAllowThreads();
16898 delete arg1;
16899
16900 wxPyEndAllowThreads(__tstate);
16901 if (PyErr_Occurred()) SWIG_fail;
16902 }
16903 Py_INCREF(Py_None); resultobj = Py_None;
16904 return resultobj;
16905 fail:
16906 return NULL;
16907}
16908
16909
16910static PyObject *_wrap_PrintDialogData_GetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16911 PyObject *resultobj;
16912 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16913 int result;
16914 PyObject * obj0 = 0 ;
16915 char *kwnames[] = {
16916 (char *) "self", NULL
16917 };
16918
16919 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetFromPage",kwnames,&obj0)) goto fail;
16920 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16921 {
16922 PyThreadState* __tstate = wxPyBeginAllowThreads();
16923 result = (int)((wxPrintDialogData const *)arg1)->GetFromPage();
16924
16925 wxPyEndAllowThreads(__tstate);
16926 if (PyErr_Occurred()) SWIG_fail;
16927 }
16928 resultobj = PyInt_FromLong((long)result);
16929 return resultobj;
16930 fail:
16931 return NULL;
16932}
16933
16934
16935static PyObject *_wrap_PrintDialogData_GetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16936 PyObject *resultobj;
16937 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16938 int result;
16939 PyObject * obj0 = 0 ;
16940 char *kwnames[] = {
16941 (char *) "self", NULL
16942 };
16943
16944 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetToPage",kwnames,&obj0)) goto fail;
16945 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16946 {
16947 PyThreadState* __tstate = wxPyBeginAllowThreads();
16948 result = (int)((wxPrintDialogData const *)arg1)->GetToPage();
16949
16950 wxPyEndAllowThreads(__tstate);
16951 if (PyErr_Occurred()) SWIG_fail;
16952 }
16953 resultobj = PyInt_FromLong((long)result);
16954 return resultobj;
16955 fail:
16956 return NULL;
16957}
16958
16959
16960static PyObject *_wrap_PrintDialogData_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16961 PyObject *resultobj;
16962 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16963 int result;
16964 PyObject * obj0 = 0 ;
16965 char *kwnames[] = {
16966 (char *) "self", NULL
16967 };
16968
16969 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMinPage",kwnames,&obj0)) goto fail;
16970 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16971 {
16972 PyThreadState* __tstate = wxPyBeginAllowThreads();
16973 result = (int)((wxPrintDialogData const *)arg1)->GetMinPage();
16974
16975 wxPyEndAllowThreads(__tstate);
16976 if (PyErr_Occurred()) SWIG_fail;
16977 }
16978 resultobj = PyInt_FromLong((long)result);
16979 return resultobj;
16980 fail:
16981 return NULL;
16982}
16983
16984
16985static PyObject *_wrap_PrintDialogData_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
16986 PyObject *resultobj;
16987 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
16988 int result;
16989 PyObject * obj0 = 0 ;
16990 char *kwnames[] = {
16991 (char *) "self", NULL
16992 };
16993
16994 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetMaxPage",kwnames,&obj0)) goto fail;
16995 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
16996 {
16997 PyThreadState* __tstate = wxPyBeginAllowThreads();
16998 result = (int)((wxPrintDialogData const *)arg1)->GetMaxPage();
16999
17000 wxPyEndAllowThreads(__tstate);
17001 if (PyErr_Occurred()) SWIG_fail;
17002 }
17003 resultobj = PyInt_FromLong((long)result);
17004 return resultobj;
17005 fail:
17006 return NULL;
17007}
17008
17009
17010static PyObject *_wrap_PrintDialogData_GetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17011 PyObject *resultobj;
17012 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17013 int result;
17014 PyObject * obj0 = 0 ;
17015 char *kwnames[] = {
17016 (char *) "self", NULL
17017 };
17018
17019 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetNoCopies",kwnames,&obj0)) goto fail;
17020 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17021 {
17022 PyThreadState* __tstate = wxPyBeginAllowThreads();
17023 result = (int)((wxPrintDialogData const *)arg1)->GetNoCopies();
17024
17025 wxPyEndAllowThreads(__tstate);
17026 if (PyErr_Occurred()) SWIG_fail;
17027 }
17028 resultobj = PyInt_FromLong((long)result);
17029 return resultobj;
17030 fail:
17031 return NULL;
17032}
17033
17034
17035static PyObject *_wrap_PrintDialogData_GetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17036 PyObject *resultobj;
17037 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17038 bool result;
17039 PyObject * obj0 = 0 ;
17040 char *kwnames[] = {
17041 (char *) "self", NULL
17042 };
17043
17044 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetAllPages",kwnames,&obj0)) goto fail;
17045 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17046 {
17047 PyThreadState* __tstate = wxPyBeginAllowThreads();
17048 result = (bool)((wxPrintDialogData const *)arg1)->GetAllPages();
17049
17050 wxPyEndAllowThreads(__tstate);
17051 if (PyErr_Occurred()) SWIG_fail;
17052 }
17053 resultobj = PyInt_FromLong((long)result);
17054 return resultobj;
17055 fail:
17056 return NULL;
17057}
17058
17059
17060static PyObject *_wrap_PrintDialogData_GetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17061 PyObject *resultobj;
17062 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17063 bool result;
17064 PyObject * obj0 = 0 ;
17065 char *kwnames[] = {
17066 (char *) "self", NULL
17067 };
17068
17069 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSelection",kwnames,&obj0)) goto fail;
17070 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17071 {
17072 PyThreadState* __tstate = wxPyBeginAllowThreads();
17073 result = (bool)((wxPrintDialogData const *)arg1)->GetSelection();
17074
17075 wxPyEndAllowThreads(__tstate);
17076 if (PyErr_Occurred()) SWIG_fail;
17077 }
17078 resultobj = PyInt_FromLong((long)result);
17079 return resultobj;
17080 fail:
17081 return NULL;
17082}
17083
17084
17085static PyObject *_wrap_PrintDialogData_GetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17086 PyObject *resultobj;
17087 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17088 bool result;
17089 PyObject * obj0 = 0 ;
17090 char *kwnames[] = {
17091 (char *) "self", NULL
17092 };
17093
17094 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetCollate",kwnames,&obj0)) goto fail;
17095 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17096 {
17097 PyThreadState* __tstate = wxPyBeginAllowThreads();
17098 result = (bool)((wxPrintDialogData const *)arg1)->GetCollate();
17099
17100 wxPyEndAllowThreads(__tstate);
17101 if (PyErr_Occurred()) SWIG_fail;
17102 }
17103 resultobj = PyInt_FromLong((long)result);
17104 return resultobj;
17105 fail:
17106 return NULL;
17107}
17108
17109
17110static PyObject *_wrap_PrintDialogData_GetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17111 PyObject *resultobj;
17112 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17113 bool result;
17114 PyObject * obj0 = 0 ;
17115 char *kwnames[] = {
17116 (char *) "self", NULL
17117 };
17118
17119 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintToFile",kwnames,&obj0)) goto fail;
17120 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17121 {
17122 PyThreadState* __tstate = wxPyBeginAllowThreads();
17123 result = (bool)((wxPrintDialogData const *)arg1)->GetPrintToFile();
17124
17125 wxPyEndAllowThreads(__tstate);
17126 if (PyErr_Occurred()) SWIG_fail;
17127 }
17128 resultobj = PyInt_FromLong((long)result);
17129 return resultobj;
17130 fail:
17131 return NULL;
17132}
17133
17134
17135static PyObject *_wrap_PrintDialogData_GetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17136 PyObject *resultobj;
17137 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17138 bool result;
17139 PyObject * obj0 = 0 ;
17140 char *kwnames[] = {
17141 (char *) "self", NULL
17142 };
17143
17144 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetSetupDialog",kwnames,&obj0)) goto fail;
17145 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17146 {
17147 PyThreadState* __tstate = wxPyBeginAllowThreads();
17148 result = (bool)((wxPrintDialogData const *)arg1)->GetSetupDialog();
17149
17150 wxPyEndAllowThreads(__tstate);
17151 if (PyErr_Occurred()) SWIG_fail;
17152 }
17153 resultobj = PyInt_FromLong((long)result);
17154 return resultobj;
17155 fail:
17156 return NULL;
17157}
17158
17159
17160static PyObject *_wrap_PrintDialogData_SetFromPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17161 PyObject *resultobj;
17162 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17163 int arg2 ;
17164 PyObject * obj0 = 0 ;
17165 char *kwnames[] = {
17166 (char *) "self",(char *) "v", NULL
17167 };
17168
17169 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetFromPage",kwnames,&obj0,&arg2)) goto fail;
17170 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17171 {
17172 PyThreadState* __tstate = wxPyBeginAllowThreads();
17173 (arg1)->SetFromPage(arg2);
17174
17175 wxPyEndAllowThreads(__tstate);
17176 if (PyErr_Occurred()) SWIG_fail;
17177 }
17178 Py_INCREF(Py_None); resultobj = Py_None;
17179 return resultobj;
17180 fail:
17181 return NULL;
17182}
17183
17184
17185static PyObject *_wrap_PrintDialogData_SetToPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17186 PyObject *resultobj;
17187 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17188 int arg2 ;
17189 PyObject * obj0 = 0 ;
17190 char *kwnames[] = {
17191 (char *) "self",(char *) "v", NULL
17192 };
17193
17194 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetToPage",kwnames,&obj0,&arg2)) goto fail;
17195 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17196 {
17197 PyThreadState* __tstate = wxPyBeginAllowThreads();
17198 (arg1)->SetToPage(arg2);
17199
17200 wxPyEndAllowThreads(__tstate);
17201 if (PyErr_Occurred()) SWIG_fail;
17202 }
17203 Py_INCREF(Py_None); resultobj = Py_None;
17204 return resultobj;
17205 fail:
17206 return NULL;
17207}
17208
17209
17210static PyObject *_wrap_PrintDialogData_SetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17211 PyObject *resultobj;
17212 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17213 int arg2 ;
17214 PyObject * obj0 = 0 ;
17215 char *kwnames[] = {
17216 (char *) "self",(char *) "v", NULL
17217 };
17218
17219 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMinPage",kwnames,&obj0,&arg2)) goto fail;
17220 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17221 {
17222 PyThreadState* __tstate = wxPyBeginAllowThreads();
17223 (arg1)->SetMinPage(arg2);
17224
17225 wxPyEndAllowThreads(__tstate);
17226 if (PyErr_Occurred()) SWIG_fail;
17227 }
17228 Py_INCREF(Py_None); resultobj = Py_None;
17229 return resultobj;
17230 fail:
17231 return NULL;
17232}
17233
17234
17235static PyObject *_wrap_PrintDialogData_SetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
17236 PyObject *resultobj;
17237 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17238 int arg2 ;
17239 PyObject * obj0 = 0 ;
17240 char *kwnames[] = {
17241 (char *) "self",(char *) "v", NULL
17242 };
17243
17244 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetMaxPage",kwnames,&obj0,&arg2)) goto fail;
17245 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17246 {
17247 PyThreadState* __tstate = wxPyBeginAllowThreads();
17248 (arg1)->SetMaxPage(arg2);
17249
17250 wxPyEndAllowThreads(__tstate);
17251 if (PyErr_Occurred()) SWIG_fail;
17252 }
17253 Py_INCREF(Py_None); resultobj = Py_None;
17254 return resultobj;
17255 fail:
17256 return NULL;
17257}
17258
17259
17260static PyObject *_wrap_PrintDialogData_SetNoCopies(PyObject *self, PyObject *args, PyObject *kwargs) {
17261 PyObject *resultobj;
17262 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17263 int arg2 ;
17264 PyObject * obj0 = 0 ;
17265 char *kwnames[] = {
17266 (char *) "self",(char *) "v", NULL
17267 };
17268
17269 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintDialogData_SetNoCopies",kwnames,&obj0,&arg2)) goto fail;
17270 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17271 {
17272 PyThreadState* __tstate = wxPyBeginAllowThreads();
17273 (arg1)->SetNoCopies(arg2);
17274
17275 wxPyEndAllowThreads(__tstate);
17276 if (PyErr_Occurred()) SWIG_fail;
17277 }
17278 Py_INCREF(Py_None); resultobj = Py_None;
17279 return resultobj;
17280 fail:
17281 return NULL;
17282}
17283
17284
17285static PyObject *_wrap_PrintDialogData_SetAllPages(PyObject *self, PyObject *args, PyObject *kwargs) {
17286 PyObject *resultobj;
17287 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17288 bool arg2 ;
17289 PyObject * obj0 = 0 ;
17290 PyObject * obj1 = 0 ;
17291 char *kwnames[] = {
17292 (char *) "self",(char *) "flag", NULL
17293 };
17294
17295 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetAllPages",kwnames,&obj0,&obj1)) goto fail;
17296 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17297 arg2 = PyInt_AsLong(obj1) ? true : false;
17298 if (PyErr_Occurred()) SWIG_fail;
17299 {
17300 PyThreadState* __tstate = wxPyBeginAllowThreads();
17301 (arg1)->SetAllPages(arg2);
17302
17303 wxPyEndAllowThreads(__tstate);
17304 if (PyErr_Occurred()) SWIG_fail;
17305 }
17306 Py_INCREF(Py_None); resultobj = Py_None;
17307 return resultobj;
17308 fail:
17309 return NULL;
17310}
17311
17312
17313static PyObject *_wrap_PrintDialogData_SetSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17314 PyObject *resultobj;
17315 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17316 bool arg2 ;
17317 PyObject * obj0 = 0 ;
17318 PyObject * obj1 = 0 ;
17319 char *kwnames[] = {
17320 (char *) "self",(char *) "flag", NULL
17321 };
17322
17323 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSelection",kwnames,&obj0,&obj1)) goto fail;
17324 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17325 arg2 = PyInt_AsLong(obj1) ? true : false;
17326 if (PyErr_Occurred()) SWIG_fail;
17327 {
17328 PyThreadState* __tstate = wxPyBeginAllowThreads();
17329 (arg1)->SetSelection(arg2);
17330
17331 wxPyEndAllowThreads(__tstate);
17332 if (PyErr_Occurred()) SWIG_fail;
17333 }
17334 Py_INCREF(Py_None); resultobj = Py_None;
17335 return resultobj;
17336 fail:
17337 return NULL;
17338}
17339
17340
17341static PyObject *_wrap_PrintDialogData_SetCollate(PyObject *self, PyObject *args, PyObject *kwargs) {
17342 PyObject *resultobj;
17343 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17344 bool arg2 ;
17345 PyObject * obj0 = 0 ;
17346 PyObject * obj1 = 0 ;
17347 char *kwnames[] = {
17348 (char *) "self",(char *) "flag", NULL
17349 };
17350
17351 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetCollate",kwnames,&obj0,&obj1)) goto fail;
17352 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17353 arg2 = PyInt_AsLong(obj1) ? true : false;
17354 if (PyErr_Occurred()) SWIG_fail;
17355 {
17356 PyThreadState* __tstate = wxPyBeginAllowThreads();
17357 (arg1)->SetCollate(arg2);
17358
17359 wxPyEndAllowThreads(__tstate);
17360 if (PyErr_Occurred()) SWIG_fail;
17361 }
17362 Py_INCREF(Py_None); resultobj = Py_None;
17363 return resultobj;
17364 fail:
17365 return NULL;
17366}
17367
17368
17369static PyObject *_wrap_PrintDialogData_SetPrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17370 PyObject *resultobj;
17371 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17372 bool arg2 ;
17373 PyObject * obj0 = 0 ;
17374 PyObject * obj1 = 0 ;
17375 char *kwnames[] = {
17376 (char *) "self",(char *) "flag", NULL
17377 };
17378
17379 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames,&obj0,&obj1)) goto fail;
17380 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17381 arg2 = PyInt_AsLong(obj1) ? true : false;
17382 if (PyErr_Occurred()) SWIG_fail;
17383 {
17384 PyThreadState* __tstate = wxPyBeginAllowThreads();
17385 (arg1)->SetPrintToFile(arg2);
17386
17387 wxPyEndAllowThreads(__tstate);
17388 if (PyErr_Occurred()) SWIG_fail;
17389 }
17390 Py_INCREF(Py_None); resultobj = Py_None;
17391 return resultobj;
17392 fail:
17393 return NULL;
17394}
17395
17396
17397static PyObject *_wrap_PrintDialogData_SetSetupDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17398 PyObject *resultobj;
17399 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17400 bool arg2 ;
17401 PyObject * obj0 = 0 ;
17402 PyObject * obj1 = 0 ;
17403 char *kwnames[] = {
17404 (char *) "self",(char *) "flag", NULL
17405 };
17406
17407 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetSetupDialog",kwnames,&obj0,&obj1)) goto fail;
17408 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17409 arg2 = PyInt_AsLong(obj1) ? true : false;
17410 if (PyErr_Occurred()) SWIG_fail;
17411 {
17412 PyThreadState* __tstate = wxPyBeginAllowThreads();
17413 (arg1)->SetSetupDialog(arg2);
17414
17415 wxPyEndAllowThreads(__tstate);
17416 if (PyErr_Occurred()) SWIG_fail;
17417 }
17418 Py_INCREF(Py_None); resultobj = Py_None;
17419 return resultobj;
17420 fail:
17421 return NULL;
17422}
17423
17424
17425static PyObject *_wrap_PrintDialogData_EnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17426 PyObject *resultobj;
17427 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17428 bool arg2 ;
17429 PyObject * obj0 = 0 ;
17430 PyObject * obj1 = 0 ;
17431 char *kwnames[] = {
17432 (char *) "self",(char *) "flag", NULL
17433 };
17434
17435 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames,&obj0,&obj1)) goto fail;
17436 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17437 arg2 = PyInt_AsLong(obj1) ? true : false;
17438 if (PyErr_Occurred()) SWIG_fail;
17439 {
17440 PyThreadState* __tstate = wxPyBeginAllowThreads();
17441 (arg1)->EnablePrintToFile(arg2);
17442
17443 wxPyEndAllowThreads(__tstate);
17444 if (PyErr_Occurred()) SWIG_fail;
17445 }
17446 Py_INCREF(Py_None); resultobj = Py_None;
17447 return resultobj;
17448 fail:
17449 return NULL;
17450}
17451
17452
17453static PyObject *_wrap_PrintDialogData_EnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17454 PyObject *resultobj;
17455 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17456 bool arg2 ;
17457 PyObject * obj0 = 0 ;
17458 PyObject * obj1 = 0 ;
17459 char *kwnames[] = {
17460 (char *) "self",(char *) "flag", NULL
17461 };
17462
17463 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableSelection",kwnames,&obj0,&obj1)) goto fail;
17464 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17465 arg2 = PyInt_AsLong(obj1) ? true : false;
17466 if (PyErr_Occurred()) SWIG_fail;
17467 {
17468 PyThreadState* __tstate = wxPyBeginAllowThreads();
17469 (arg1)->EnableSelection(arg2);
17470
17471 wxPyEndAllowThreads(__tstate);
17472 if (PyErr_Occurred()) SWIG_fail;
17473 }
17474 Py_INCREF(Py_None); resultobj = Py_None;
17475 return resultobj;
17476 fail:
17477 return NULL;
17478}
17479
17480
17481static PyObject *_wrap_PrintDialogData_EnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17482 PyObject *resultobj;
17483 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17484 bool arg2 ;
17485 PyObject * obj0 = 0 ;
17486 PyObject * obj1 = 0 ;
17487 char *kwnames[] = {
17488 (char *) "self",(char *) "flag", NULL
17489 };
17490
17491 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames,&obj0,&obj1)) goto fail;
17492 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17493 arg2 = PyInt_AsLong(obj1) ? true : false;
17494 if (PyErr_Occurred()) SWIG_fail;
17495 {
17496 PyThreadState* __tstate = wxPyBeginAllowThreads();
17497 (arg1)->EnablePageNumbers(arg2);
17498
17499 wxPyEndAllowThreads(__tstate);
17500 if (PyErr_Occurred()) SWIG_fail;
17501 }
17502 Py_INCREF(Py_None); resultobj = Py_None;
17503 return resultobj;
17504 fail:
17505 return NULL;
17506}
17507
17508
17509static PyObject *_wrap_PrintDialogData_EnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17510 PyObject *resultobj;
17511 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17512 bool arg2 ;
17513 PyObject * obj0 = 0 ;
17514 PyObject * obj1 = 0 ;
17515 char *kwnames[] = {
17516 (char *) "self",(char *) "flag", NULL
17517 };
17518
17519 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_EnableHelp",kwnames,&obj0,&obj1)) goto fail;
17520 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17521 arg2 = PyInt_AsLong(obj1) ? true : false;
17522 if (PyErr_Occurred()) SWIG_fail;
17523 {
17524 PyThreadState* __tstate = wxPyBeginAllowThreads();
17525 (arg1)->EnableHelp(arg2);
17526
17527 wxPyEndAllowThreads(__tstate);
17528 if (PyErr_Occurred()) SWIG_fail;
17529 }
17530 Py_INCREF(Py_None); resultobj = Py_None;
17531 return resultobj;
17532 fail:
17533 return NULL;
17534}
17535
17536
17537static PyObject *_wrap_PrintDialogData_GetEnablePrintToFile(PyObject *self, PyObject *args, PyObject *kwargs) {
17538 PyObject *resultobj;
17539 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17540 bool result;
17541 PyObject * obj0 = 0 ;
17542 char *kwnames[] = {
17543 (char *) "self", NULL
17544 };
17545
17546 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePrintToFile",kwnames,&obj0)) goto fail;
17547 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17548 {
17549 PyThreadState* __tstate = wxPyBeginAllowThreads();
17550 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePrintToFile();
17551
17552 wxPyEndAllowThreads(__tstate);
17553 if (PyErr_Occurred()) SWIG_fail;
17554 }
17555 resultobj = PyInt_FromLong((long)result);
17556 return resultobj;
17557 fail:
17558 return NULL;
17559}
17560
17561
17562static PyObject *_wrap_PrintDialogData_GetEnableSelection(PyObject *self, PyObject *args, PyObject *kwargs) {
17563 PyObject *resultobj;
17564 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17565 bool result;
17566 PyObject * obj0 = 0 ;
17567 char *kwnames[] = {
17568 (char *) "self", NULL
17569 };
17570
17571 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableSelection",kwnames,&obj0)) goto fail;
17572 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17573 {
17574 PyThreadState* __tstate = wxPyBeginAllowThreads();
17575 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableSelection();
17576
17577 wxPyEndAllowThreads(__tstate);
17578 if (PyErr_Occurred()) SWIG_fail;
17579 }
17580 resultobj = PyInt_FromLong((long)result);
17581 return resultobj;
17582 fail:
17583 return NULL;
17584}
17585
17586
17587static PyObject *_wrap_PrintDialogData_GetEnablePageNumbers(PyObject *self, PyObject *args, PyObject *kwargs) {
17588 PyObject *resultobj;
17589 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17590 bool result;
17591 PyObject * obj0 = 0 ;
17592 char *kwnames[] = {
17593 (char *) "self", NULL
17594 };
17595
17596 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnablePageNumbers",kwnames,&obj0)) goto fail;
17597 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17598 {
17599 PyThreadState* __tstate = wxPyBeginAllowThreads();
17600 result = (bool)((wxPrintDialogData const *)arg1)->GetEnablePageNumbers();
17601
17602 wxPyEndAllowThreads(__tstate);
17603 if (PyErr_Occurred()) SWIG_fail;
17604 }
17605 resultobj = PyInt_FromLong((long)result);
17606 return resultobj;
17607 fail:
17608 return NULL;
17609}
17610
17611
17612static PyObject *_wrap_PrintDialogData_GetEnableHelp(PyObject *self, PyObject *args, PyObject *kwargs) {
17613 PyObject *resultobj;
17614 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17615 bool result;
17616 PyObject * obj0 = 0 ;
17617 char *kwnames[] = {
17618 (char *) "self", NULL
17619 };
17620
17621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetEnableHelp",kwnames,&obj0)) goto fail;
17622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17623 {
17624 PyThreadState* __tstate = wxPyBeginAllowThreads();
17625 result = (bool)((wxPrintDialogData const *)arg1)->GetEnableHelp();
17626
17627 wxPyEndAllowThreads(__tstate);
17628 if (PyErr_Occurred()) SWIG_fail;
17629 }
17630 resultobj = PyInt_FromLong((long)result);
17631 return resultobj;
17632 fail:
17633 return NULL;
17634}
17635
17636
17637static PyObject *_wrap_PrintDialogData_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
17638 PyObject *resultobj;
17639 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17640 bool result;
17641 PyObject * obj0 = 0 ;
17642 char *kwnames[] = {
17643 (char *) "self", NULL
17644 };
17645
17646 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_Ok",kwnames,&obj0)) goto fail;
17647 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17648 {
17649 PyThreadState* __tstate = wxPyBeginAllowThreads();
17650 result = (bool)((wxPrintDialogData const *)arg1)->Ok();
17651
17652 wxPyEndAllowThreads(__tstate);
17653 if (PyErr_Occurred()) SWIG_fail;
17654 }
17655 resultobj = PyInt_FromLong((long)result);
17656 return resultobj;
17657 fail:
17658 return NULL;
17659}
17660
17661
17662static PyObject *_wrap_PrintDialogData_GetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17663 PyObject *resultobj;
17664 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17665 wxPrintData *result;
17666 PyObject * obj0 = 0 ;
17667 char *kwnames[] = {
17668 (char *) "self", NULL
17669 };
17670
17671 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialogData_GetPrintData",kwnames,&obj0)) goto fail;
17672 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17673 {
17674 PyThreadState* __tstate = wxPyBeginAllowThreads();
17675 {
17676 wxPrintData &_result_ref = (arg1)->GetPrintData();
17677 result = (wxPrintData *) &_result_ref;
17678 }
17679
17680 wxPyEndAllowThreads(__tstate);
17681 if (PyErr_Occurred()) SWIG_fail;
17682 }
17683 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintData, 0);
17684 return resultobj;
17685 fail:
17686 return NULL;
17687}
17688
17689
17690static PyObject *_wrap_PrintDialogData_SetPrintData(PyObject *self, PyObject *args, PyObject *kwargs) {
17691 PyObject *resultobj;
17692 wxPrintDialogData *arg1 = (wxPrintDialogData *) 0 ;
17693 wxPrintData *arg2 = 0 ;
17694 PyObject * obj0 = 0 ;
17695 PyObject * obj1 = 0 ;
17696 char *kwnames[] = {
17697 (char *) "self",(char *) "printData", NULL
17698 };
17699
17700 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintDialogData_SetPrintData",kwnames,&obj0,&obj1)) goto fail;
17701 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17702 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17703 if (arg2 == NULL) {
17704 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
17705 }
17706 {
17707 PyThreadState* __tstate = wxPyBeginAllowThreads();
17708 (arg1)->SetPrintData((wxPrintData const &)*arg2);
17709
17710 wxPyEndAllowThreads(__tstate);
17711 if (PyErr_Occurred()) SWIG_fail;
17712 }
17713 Py_INCREF(Py_None); resultobj = Py_None;
17714 return resultobj;
17715 fail:
17716 return NULL;
17717}
17718
17719
17720static PyObject * PrintDialogData_swigregister(PyObject *self, PyObject *args) {
17721 PyObject *obj;
17722 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17723 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialogData, obj);
17724 Py_INCREF(obj);
17725 return Py_BuildValue((char *)"");
17726}
17727static PyObject *_wrap_new_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17728 PyObject *resultobj;
17729 wxWindow *arg1 = (wxWindow *) 0 ;
17730 wxPrintDialogData *arg2 = (wxPrintDialogData *) NULL ;
17731 wxPrintDialog *result;
17732 PyObject * obj0 = 0 ;
17733 PyObject * obj1 = 0 ;
17734 char *kwnames[] = {
17735 (char *) "parent",(char *) "data", NULL
17736 };
17737
17738 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O|O:new_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17739 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17740 if (obj1) {
17741 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17742 }
17743 {
17744 PyThreadState* __tstate = wxPyBeginAllowThreads();
17745 result = (wxPrintDialog *)new wxPrintDialog(arg1,arg2);
17746
17747 wxPyEndAllowThreads(__tstate);
17748 if (PyErr_Occurred()) SWIG_fail;
17749 }
17750 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialog, 1);
17751 return resultobj;
17752 fail:
17753 return NULL;
17754}
17755
17756
17757static PyObject *_wrap_PrintDialog_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17758 PyObject *resultobj;
17759 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17760 wxPrintDialogData *result;
17761 PyObject * obj0 = 0 ;
17762 char *kwnames[] = {
17763 (char *) "self", NULL
17764 };
17765
17766 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDialogData",kwnames,&obj0)) goto fail;
17767 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17768 {
17769 PyThreadState* __tstate = wxPyBeginAllowThreads();
17770 {
17771 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17772 result = (wxPrintDialogData *) &_result_ref;
17773 }
17774
17775 wxPyEndAllowThreads(__tstate);
17776 if (PyErr_Occurred()) SWIG_fail;
17777 }
17778 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17779 return resultobj;
17780 fail:
17781 return NULL;
17782}
17783
17784
17785static PyObject *_wrap_PrintDialog_GetPrintDC(PyObject *self, PyObject *args, PyObject *kwargs) {
17786 PyObject *resultobj;
17787 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17788 wxDC *result;
17789 PyObject * obj0 = 0 ;
17790 char *kwnames[] = {
17791 (char *) "self", NULL
17792 };
17793
17794 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_GetPrintDC",kwnames,&obj0)) goto fail;
17795 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17796 {
17797 PyThreadState* __tstate = wxPyBeginAllowThreads();
17798 result = (wxDC *)(arg1)->GetPrintDC();
17799
17800 wxPyEndAllowThreads(__tstate);
17801 if (PyErr_Occurred()) SWIG_fail;
17802 }
17803 {
17804 resultobj = wxPyMake_wxObject(result);
17805 }
17806 return resultobj;
17807 fail:
17808 return NULL;
17809}
17810
17811
17812static PyObject *_wrap_PrintDialog_ShowModal(PyObject *self, PyObject *args, PyObject *kwargs) {
17813 PyObject *resultobj;
17814 wxPrintDialog *arg1 = (wxPrintDialog *) 0 ;
17815 int result;
17816 PyObject * obj0 = 0 ;
17817 char *kwnames[] = {
17818 (char *) "self", NULL
17819 };
17820
17821 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintDialog_ShowModal",kwnames,&obj0)) goto fail;
17822 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialog,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17823 {
17824 PyThreadState* __tstate = wxPyBeginAllowThreads();
17825 result = (int)(arg1)->ShowModal();
17826
17827 wxPyEndAllowThreads(__tstate);
17828 if (PyErr_Occurred()) SWIG_fail;
17829 }
17830 resultobj = PyInt_FromLong((long)result);
17831 return resultobj;
17832 fail:
17833 return NULL;
17834}
17835
17836
17837static PyObject * PrintDialog_swigregister(PyObject *self, PyObject *args) {
17838 PyObject *obj;
17839 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
17840 SWIG_TypeClientData(SWIGTYPE_p_wxPrintDialog, obj);
17841 Py_INCREF(obj);
17842 return Py_BuildValue((char *)"");
17843}
17844static PyObject *_wrap_new_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17845 PyObject *resultobj;
17846 wxPrintDialogData *arg1 = (wxPrintDialogData *) NULL ;
17847 wxPrinter *result;
17848 PyObject * obj0 = 0 ;
17849 char *kwnames[] = {
17850 (char *) "data", NULL
17851 };
17852
17853 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printer",kwnames,&obj0)) goto fail;
17854 if (obj0) {
17855 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintDialogData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17856 }
17857 {
17858 PyThreadState* __tstate = wxPyBeginAllowThreads();
17859 result = (wxPrinter *)new wxPrinter(arg1);
17860
17861 wxPyEndAllowThreads(__tstate);
17862 if (PyErr_Occurred()) SWIG_fail;
17863 }
17864 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrinter, 1);
17865 return resultobj;
17866 fail:
17867 return NULL;
17868}
17869
17870
17871static PyObject *_wrap_delete_Printer(PyObject *self, PyObject *args, PyObject *kwargs) {
17872 PyObject *resultobj;
17873 wxPrinter *arg1 = (wxPrinter *) 0 ;
17874 PyObject * obj0 = 0 ;
17875 char *kwnames[] = {
17876 (char *) "self", NULL
17877 };
17878
17879 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:delete_Printer",kwnames,&obj0)) goto fail;
17880 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17881 {
17882 PyThreadState* __tstate = wxPyBeginAllowThreads();
17883 delete arg1;
17884
17885 wxPyEndAllowThreads(__tstate);
17886 if (PyErr_Occurred()) SWIG_fail;
17887 }
17888 Py_INCREF(Py_None); resultobj = Py_None;
17889 return resultobj;
17890 fail:
17891 return NULL;
17892}
17893
17894
17895static PyObject *_wrap_Printer_CreateAbortWindow(PyObject *self, PyObject *args, PyObject *kwargs) {
17896 PyObject *resultobj;
17897 wxPrinter *arg1 = (wxPrinter *) 0 ;
17898 wxWindow *arg2 = (wxWindow *) 0 ;
17899 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
17900 PyObject * obj0 = 0 ;
17901 PyObject * obj1 = 0 ;
17902 PyObject * obj2 = 0 ;
17903 char *kwnames[] = {
17904 (char *) "self",(char *) "parent",(char *) "printout", NULL
17905 };
17906
17907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printer_CreateAbortWindow",kwnames,&obj0,&obj1,&obj2)) goto fail;
17908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17909 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17910 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17911 {
17912 PyThreadState* __tstate = wxPyBeginAllowThreads();
17913 (arg1)->CreateAbortWindow(arg2,arg3);
17914
17915 wxPyEndAllowThreads(__tstate);
17916 if (PyErr_Occurred()) SWIG_fail;
17917 }
17918 Py_INCREF(Py_None); resultobj = Py_None;
17919 return resultobj;
17920 fail:
17921 return NULL;
17922}
17923
17924
17925static PyObject *_wrap_Printer_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
17926 PyObject *resultobj;
17927 wxPrinter *arg1 = (wxPrinter *) 0 ;
17928 wxPrintDialogData *result;
17929 PyObject * obj0 = 0 ;
17930 char *kwnames[] = {
17931 (char *) "self", NULL
17932 };
17933
17934 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetPrintDialogData",kwnames,&obj0)) goto fail;
17935 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17936 {
17937 PyThreadState* __tstate = wxPyBeginAllowThreads();
17938 {
17939 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
17940 result = (wxPrintDialogData *) &_result_ref;
17941 }
17942
17943 wxPyEndAllowThreads(__tstate);
17944 if (PyErr_Occurred()) SWIG_fail;
17945 }
17946 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
17947 return resultobj;
17948 fail:
17949 return NULL;
17950}
17951
17952
17953static PyObject *_wrap_Printer_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
17954 PyObject *resultobj;
17955 wxPrinter *arg1 = (wxPrinter *) 0 ;
17956 wxWindow *arg2 = (wxWindow *) 0 ;
17957 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
423f194a 17958 int arg4 = (int) True ;
d14a1e28
RD
17959 bool result;
17960 PyObject * obj0 = 0 ;
17961 PyObject * obj1 = 0 ;
17962 PyObject * obj2 = 0 ;
17963 char *kwnames[] = {
17964 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
17965 };
17966
17967 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|i:Printer_Print",kwnames,&obj0,&obj1,&obj2,&arg4)) goto fail;
17968 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17969 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17970 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17971 {
17972 PyThreadState* __tstate = wxPyBeginAllowThreads();
17973 result = (bool)(arg1)->Print(arg2,arg3,arg4);
17974
17975 wxPyEndAllowThreads(__tstate);
17976 if (PyErr_Occurred()) SWIG_fail;
17977 }
17978 resultobj = PyInt_FromLong((long)result);
17979 return resultobj;
17980 fail:
17981 return NULL;
17982}
17983
17984
17985static PyObject *_wrap_Printer_PrintDialog(PyObject *self, PyObject *args, PyObject *kwargs) {
17986 PyObject *resultobj;
17987 wxPrinter *arg1 = (wxPrinter *) 0 ;
17988 wxWindow *arg2 = (wxWindow *) 0 ;
17989 wxDC *result;
17990 PyObject * obj0 = 0 ;
17991 PyObject * obj1 = 0 ;
17992 char *kwnames[] = {
17993 (char *) "self",(char *) "parent", NULL
17994 };
17995
17996 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_PrintDialog",kwnames,&obj0,&obj1)) goto fail;
17997 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17998 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
17999 {
18000 PyThreadState* __tstate = wxPyBeginAllowThreads();
18001 result = (wxDC *)(arg1)->PrintDialog(arg2);
18002
18003 wxPyEndAllowThreads(__tstate);
18004 if (PyErr_Occurred()) SWIG_fail;
18005 }
18006 {
18007 resultobj = wxPyMake_wxObject(result);
18008 }
18009 return resultobj;
18010 fail:
18011 return NULL;
18012}
18013
18014
18015static PyObject *_wrap_Printer_ReportError(PyObject *self, PyObject *args, PyObject *kwargs) {
18016 PyObject *resultobj;
18017 wxPrinter *arg1 = (wxPrinter *) 0 ;
18018 wxWindow *arg2 = (wxWindow *) 0 ;
18019 wxPyPrintout *arg3 = (wxPyPrintout *) 0 ;
18020 wxString *arg4 = 0 ;
423f194a 18021 bool temp4 = False ;
d14a1e28
RD
18022 PyObject * obj0 = 0 ;
18023 PyObject * obj1 = 0 ;
18024 PyObject * obj2 = 0 ;
18025 PyObject * obj3 = 0 ;
18026 char *kwnames[] = {
18027 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
18028 };
18029
18030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOOO:Printer_ReportError",kwnames,&obj0,&obj1,&obj2,&obj3)) goto fail;
18031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18032 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18033 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18034 {
18035 arg4 = wxString_in_helper(obj3);
18036 if (arg4 == NULL) SWIG_fail;
423f194a 18037 temp4 = True;
d14a1e28
RD
18038 }
18039 {
18040 PyThreadState* __tstate = wxPyBeginAllowThreads();
18041 (arg1)->ReportError(arg2,arg3,(wxString const &)*arg4);
18042
18043 wxPyEndAllowThreads(__tstate);
18044 if (PyErr_Occurred()) SWIG_fail;
18045 }
18046 Py_INCREF(Py_None); resultobj = Py_None;
18047 {
18048 if (temp4)
18049 delete arg4;
18050 }
18051 return resultobj;
18052 fail:
18053 {
18054 if (temp4)
18055 delete arg4;
18056 }
18057 return NULL;
18058}
18059
18060
18061static PyObject *_wrap_Printer_Setup(PyObject *self, PyObject *args, PyObject *kwargs) {
18062 PyObject *resultobj;
18063 wxPrinter *arg1 = (wxPrinter *) 0 ;
18064 wxWindow *arg2 = (wxWindow *) 0 ;
18065 bool result;
18066 PyObject * obj0 = 0 ;
18067 PyObject * obj1 = 0 ;
18068 char *kwnames[] = {
18069 (char *) "self",(char *) "parent", NULL
18070 };
18071
18072 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printer_Setup",kwnames,&obj0,&obj1)) goto fail;
18073 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18074 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18075 {
18076 PyThreadState* __tstate = wxPyBeginAllowThreads();
18077 result = (bool)(arg1)->Setup(arg2);
18078
18079 wxPyEndAllowThreads(__tstate);
18080 if (PyErr_Occurred()) SWIG_fail;
18081 }
18082 resultobj = PyInt_FromLong((long)result);
18083 return resultobj;
18084 fail:
18085 return NULL;
18086}
18087
18088
18089static PyObject *_wrap_Printer_GetAbort(PyObject *self, PyObject *args, PyObject *kwargs) {
18090 PyObject *resultobj;
18091 wxPrinter *arg1 = (wxPrinter *) 0 ;
18092 bool result;
18093 PyObject * obj0 = 0 ;
18094 char *kwnames[] = {
18095 (char *) "self", NULL
18096 };
18097
18098 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printer_GetAbort",kwnames,&obj0)) goto fail;
18099 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrinter,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18100 {
18101 PyThreadState* __tstate = wxPyBeginAllowThreads();
18102 result = (bool)(arg1)->GetAbort();
18103
18104 wxPyEndAllowThreads(__tstate);
18105 if (PyErr_Occurred()) SWIG_fail;
18106 }
18107 resultobj = PyInt_FromLong((long)result);
18108 return resultobj;
18109 fail:
18110 return NULL;
18111}
18112
18113
18114static PyObject *_wrap_Printer_GetLastError(PyObject *self, PyObject *args, PyObject *kwargs) {
18115 PyObject *resultobj;
18116 int result;
18117 char *kwnames[] = {
18118 NULL
18119 };
18120
18121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)":Printer_GetLastError",kwnames)) goto fail;
18122 {
18123 PyThreadState* __tstate = wxPyBeginAllowThreads();
18124 result = (int)wxPrinter::GetLastError();
18125
18126 wxPyEndAllowThreads(__tstate);
18127 if (PyErr_Occurred()) SWIG_fail;
18128 }
18129 resultobj = PyInt_FromLong((long)result);
18130 return resultobj;
18131 fail:
18132 return NULL;
18133}
18134
18135
18136static PyObject * Printer_swigregister(PyObject *self, PyObject *args) {
18137 PyObject *obj;
18138 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18139 SWIG_TypeClientData(SWIGTYPE_p_wxPrinter, obj);
18140 Py_INCREF(obj);
18141 return Py_BuildValue((char *)"");
18142}
18143static PyObject *_wrap_new_Printout(PyObject *self, PyObject *args, PyObject *kwargs) {
18144 PyObject *resultobj;
18145 wxString const &arg1_defvalue = wxPyPrintoutTitleStr ;
18146 wxString *arg1 = (wxString *) &arg1_defvalue ;
18147 wxPyPrintout *result;
423f194a 18148 bool temp1 = False ;
d14a1e28
RD
18149 PyObject * obj0 = 0 ;
18150 char *kwnames[] = {
18151 (char *) "title", NULL
18152 };
18153
18154 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"|O:new_Printout",kwnames,&obj0)) goto fail;
18155 if (obj0) {
18156 {
18157 arg1 = wxString_in_helper(obj0);
18158 if (arg1 == NULL) SWIG_fail;
423f194a 18159 temp1 = True;
d14a1e28
RD
18160 }
18161 }
18162 {
18163 PyThreadState* __tstate = wxPyBeginAllowThreads();
18164 result = (wxPyPrintout *)new wxPyPrintout((wxString const &)*arg1);
18165
18166 wxPyEndAllowThreads(__tstate);
18167 if (PyErr_Occurred()) SWIG_fail;
18168 }
18169 {
18170 resultobj = wxPyMake_wxObject(result);
18171 }
18172 {
18173 if (temp1)
18174 delete arg1;
18175 }
18176 return resultobj;
18177 fail:
18178 {
18179 if (temp1)
18180 delete arg1;
18181 }
18182 return NULL;
18183}
18184
18185
18186static PyObject *_wrap_Printout__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18187 PyObject *resultobj;
18188 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18189 PyObject *arg2 = (PyObject *) 0 ;
18190 PyObject *arg3 = (PyObject *) 0 ;
18191 PyObject * obj0 = 0 ;
18192 PyObject * obj1 = 0 ;
18193 PyObject * obj2 = 0 ;
18194 char *kwnames[] = {
18195 (char *) "self",(char *) "self",(char *) "_class", NULL
18196 };
18197
18198 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:Printout__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
18199 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18200 arg2 = obj1;
18201 arg3 = obj2;
18202 {
18203 PyThreadState* __tstate = wxPyBeginAllowThreads();
18204 (arg1)->_setCallbackInfo(arg2,arg3);
18205
18206 wxPyEndAllowThreads(__tstate);
18207 if (PyErr_Occurred()) SWIG_fail;
18208 }
18209 Py_INCREF(Py_None); resultobj = Py_None;
18210 return resultobj;
18211 fail:
18212 return NULL;
18213}
18214
18215
18216static PyObject *_wrap_Printout_GetTitle(PyObject *self, PyObject *args, PyObject *kwargs) {
18217 PyObject *resultobj;
18218 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18219 wxString result;
18220 PyObject * obj0 = 0 ;
18221 char *kwnames[] = {
18222 (char *) "self", NULL
18223 };
18224
18225 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetTitle",kwnames,&obj0)) goto fail;
18226 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18227 {
18228 PyThreadState* __tstate = wxPyBeginAllowThreads();
18229 result = ((wxPyPrintout const *)arg1)->GetTitle();
18230
18231 wxPyEndAllowThreads(__tstate);
18232 if (PyErr_Occurred()) SWIG_fail;
18233 }
18234 {
18235#if wxUSE_UNICODE
18236 resultobj = PyUnicode_FromWideChar((&result)->c_str(), (&result)->Len());
18237#else
18238 resultobj = PyString_FromStringAndSize((&result)->c_str(), (&result)->Len());
18239#endif
18240 }
18241 return resultobj;
18242 fail:
18243 return NULL;
18244}
18245
18246
18247static PyObject *_wrap_Printout_GetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18248 PyObject *resultobj;
18249 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18250 wxDC *result;
18251 PyObject * obj0 = 0 ;
18252 char *kwnames[] = {
18253 (char *) "self", NULL
18254 };
18255
18256 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetDC",kwnames,&obj0)) goto fail;
18257 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18258 {
18259 PyThreadState* __tstate = wxPyBeginAllowThreads();
18260 result = (wxDC *)(arg1)->GetDC();
18261
18262 wxPyEndAllowThreads(__tstate);
18263 if (PyErr_Occurred()) SWIG_fail;
18264 }
18265 {
18266 resultobj = wxPyMake_wxObject(result);
18267 }
18268 return resultobj;
18269 fail:
18270 return NULL;
18271}
18272
18273
18274static PyObject *_wrap_Printout_SetDC(PyObject *self, PyObject *args, PyObject *kwargs) {
18275 PyObject *resultobj;
18276 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18277 wxDC *arg2 = (wxDC *) 0 ;
18278 PyObject * obj0 = 0 ;
18279 PyObject * obj1 = 0 ;
18280 char *kwnames[] = {
18281 (char *) "self",(char *) "dc", NULL
18282 };
18283
18284 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetDC",kwnames,&obj0,&obj1)) goto fail;
18285 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18286 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18287 {
18288 PyThreadState* __tstate = wxPyBeginAllowThreads();
18289 (arg1)->SetDC(arg2);
18290
18291 wxPyEndAllowThreads(__tstate);
18292 if (PyErr_Occurred()) SWIG_fail;
18293 }
18294 Py_INCREF(Py_None); resultobj = Py_None;
18295 return resultobj;
18296 fail:
18297 return NULL;
18298}
18299
18300
44127b65 18301static PyObject *_wrap_Printout_SetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18302 PyObject *resultobj;
18303 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
44127b65
RD
18304 int arg2 ;
18305 int arg3 ;
d14a1e28
RD
18306 PyObject * obj0 = 0 ;
18307 char *kwnames[] = {
44127b65 18308 (char *) "self",(char *) "w",(char *) "h", NULL
d14a1e28
RD
18309 };
18310
44127b65 18311 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizePixels",kwnames,&obj0,&arg2,&arg3)) goto fail;
d14a1e28
RD
18312 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18313 {
18314 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18315 (arg1)->SetPageSizePixels(arg2,arg3);
d14a1e28
RD
18316
18317 wxPyEndAllowThreads(__tstate);
18318 if (PyErr_Occurred()) SWIG_fail;
18319 }
18320 Py_INCREF(Py_None); resultobj = Py_None;
d14a1e28
RD
18321 return resultobj;
18322 fail:
18323 return NULL;
18324}
18325
18326
44127b65 18327static PyObject *_wrap_Printout_GetPageSizePixels(PyObject *self, PyObject *args, PyObject *kwargs) {
d14a1e28
RD
18328 PyObject *resultobj;
18329 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
44127b65
RD
18330 int *arg2 = (int *) 0 ;
18331 int *arg3 = (int *) 0 ;
18332 int temp2 ;
18333 int temp3 ;
d14a1e28
RD
18334 PyObject * obj0 = 0 ;
18335 char *kwnames[] = {
44127b65 18336 (char *) "self", NULL
d14a1e28
RD
18337 };
18338
44127b65
RD
18339 arg2 = &temp2;
18340 arg3 = &temp3;
18341 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizePixels",kwnames,&obj0)) goto fail;
d14a1e28
RD
18342 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18343 {
18344 PyThreadState* __tstate = wxPyBeginAllowThreads();
44127b65 18345 (arg1)->GetPageSizePixels(arg2,arg3);
d14a1e28
RD
18346
18347 wxPyEndAllowThreads(__tstate);
18348 if (PyErr_Occurred()) SWIG_fail;
18349 }
18350 Py_INCREF(Py_None); resultobj = Py_None;
44127b65
RD
18351 {
18352 PyObject *o = PyInt_FromLong((long) (*arg2));
18353 resultobj = t_output_helper(resultobj,o);
18354 }
18355 {
18356 PyObject *o = PyInt_FromLong((long) (*arg3));
18357 resultobj = t_output_helper(resultobj,o);
18358 }
d14a1e28
RD
18359 return resultobj;
18360 fail:
18361 return NULL;
18362}
18363
18364
18365static PyObject *_wrap_Printout_SetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18366 PyObject *resultobj;
18367 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18368 int arg2 ;
18369 int arg3 ;
18370 PyObject * obj0 = 0 ;
18371 char *kwnames[] = {
18372 (char *) "self",(char *) "w",(char *) "h", NULL
18373 };
18374
18375 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPageSizeMM",kwnames,&obj0,&arg2,&arg3)) goto fail;
18376 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18377 {
18378 PyThreadState* __tstate = wxPyBeginAllowThreads();
18379 (arg1)->SetPageSizeMM(arg2,arg3);
18380
18381 wxPyEndAllowThreads(__tstate);
18382 if (PyErr_Occurred()) SWIG_fail;
18383 }
18384 Py_INCREF(Py_None); resultobj = Py_None;
18385 return resultobj;
18386 fail:
18387 return NULL;
18388}
18389
18390
18391static PyObject *_wrap_Printout_GetPageSizeMM(PyObject *self, PyObject *args, PyObject *kwargs) {
18392 PyObject *resultobj;
18393 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18394 int *arg2 = (int *) 0 ;
18395 int *arg3 = (int *) 0 ;
18396 int temp2 ;
18397 int temp3 ;
18398 PyObject * obj0 = 0 ;
18399 char *kwnames[] = {
18400 (char *) "self", NULL
18401 };
18402
18403 arg2 = &temp2;
18404 arg3 = &temp3;
18405 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPageSizeMM",kwnames,&obj0)) goto fail;
18406 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18407 {
18408 PyThreadState* __tstate = wxPyBeginAllowThreads();
18409 (arg1)->GetPageSizeMM(arg2,arg3);
18410
18411 wxPyEndAllowThreads(__tstate);
18412 if (PyErr_Occurred()) SWIG_fail;
18413 }
18414 Py_INCREF(Py_None); resultobj = Py_None;
18415 {
18416 PyObject *o = PyInt_FromLong((long) (*arg2));
18417 resultobj = t_output_helper(resultobj,o);
18418 }
18419 {
18420 PyObject *o = PyInt_FromLong((long) (*arg3));
18421 resultobj = t_output_helper(resultobj,o);
18422 }
18423 return resultobj;
18424 fail:
18425 return NULL;
18426}
18427
18428
18429static PyObject *_wrap_Printout_SetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18430 PyObject *resultobj;
18431 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18432 int arg2 ;
18433 int arg3 ;
18434 PyObject * obj0 = 0 ;
18435 char *kwnames[] = {
18436 (char *) "self",(char *) "x",(char *) "y", NULL
18437 };
18438
18439 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIScreen",kwnames,&obj0,&arg2,&arg3)) goto fail;
18440 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18441 {
18442 PyThreadState* __tstate = wxPyBeginAllowThreads();
18443 (arg1)->SetPPIScreen(arg2,arg3);
18444
18445 wxPyEndAllowThreads(__tstate);
18446 if (PyErr_Occurred()) SWIG_fail;
18447 }
18448 Py_INCREF(Py_None); resultobj = Py_None;
18449 return resultobj;
18450 fail:
18451 return NULL;
18452}
18453
18454
18455static PyObject *_wrap_Printout_GetPPIScreen(PyObject *self, PyObject *args, PyObject *kwargs) {
18456 PyObject *resultobj;
18457 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18458 int *arg2 = (int *) 0 ;
18459 int *arg3 = (int *) 0 ;
18460 int temp2 ;
18461 int temp3 ;
18462 PyObject * obj0 = 0 ;
18463 char *kwnames[] = {
18464 (char *) "self", NULL
18465 };
18466
18467 arg2 = &temp2;
18468 arg3 = &temp3;
18469 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIScreen",kwnames,&obj0)) goto fail;
18470 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18471 {
18472 PyThreadState* __tstate = wxPyBeginAllowThreads();
18473 (arg1)->GetPPIScreen(arg2,arg3);
18474
18475 wxPyEndAllowThreads(__tstate);
18476 if (PyErr_Occurred()) SWIG_fail;
18477 }
18478 Py_INCREF(Py_None); resultobj = Py_None;
18479 {
18480 PyObject *o = PyInt_FromLong((long) (*arg2));
18481 resultobj = t_output_helper(resultobj,o);
18482 }
18483 {
18484 PyObject *o = PyInt_FromLong((long) (*arg3));
18485 resultobj = t_output_helper(resultobj,o);
18486 }
18487 return resultobj;
18488 fail:
18489 return NULL;
18490}
18491
18492
18493static PyObject *_wrap_Printout_SetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18494 PyObject *resultobj;
18495 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18496 int arg2 ;
18497 int arg3 ;
18498 PyObject * obj0 = 0 ;
18499 char *kwnames[] = {
18500 (char *) "self",(char *) "x",(char *) "y", NULL
18501 };
18502
18503 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_SetPPIPrinter",kwnames,&obj0,&arg2,&arg3)) goto fail;
18504 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18505 {
18506 PyThreadState* __tstate = wxPyBeginAllowThreads();
18507 (arg1)->SetPPIPrinter(arg2,arg3);
18508
18509 wxPyEndAllowThreads(__tstate);
18510 if (PyErr_Occurred()) SWIG_fail;
18511 }
18512 Py_INCREF(Py_None); resultobj = Py_None;
18513 return resultobj;
18514 fail:
18515 return NULL;
18516}
18517
18518
18519static PyObject *_wrap_Printout_GetPPIPrinter(PyObject *self, PyObject *args, PyObject *kwargs) {
18520 PyObject *resultobj;
18521 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18522 int *arg2 = (int *) 0 ;
18523 int *arg3 = (int *) 0 ;
18524 int temp2 ;
18525 int temp3 ;
18526 PyObject * obj0 = 0 ;
18527 char *kwnames[] = {
18528 (char *) "self", NULL
18529 };
18530
18531 arg2 = &temp2;
18532 arg3 = &temp3;
18533 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_GetPPIPrinter",kwnames,&obj0)) goto fail;
18534 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18535 {
18536 PyThreadState* __tstate = wxPyBeginAllowThreads();
18537 (arg1)->GetPPIPrinter(arg2,arg3);
18538
18539 wxPyEndAllowThreads(__tstate);
18540 if (PyErr_Occurred()) SWIG_fail;
18541 }
18542 Py_INCREF(Py_None); resultobj = Py_None;
18543 {
18544 PyObject *o = PyInt_FromLong((long) (*arg2));
18545 resultobj = t_output_helper(resultobj,o);
18546 }
18547 {
18548 PyObject *o = PyInt_FromLong((long) (*arg3));
18549 resultobj = t_output_helper(resultobj,o);
18550 }
18551 return resultobj;
18552 fail:
18553 return NULL;
18554}
18555
18556
18557static PyObject *_wrap_Printout_IsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18558 PyObject *resultobj;
18559 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18560 bool result;
18561 PyObject * obj0 = 0 ;
18562 char *kwnames[] = {
18563 (char *) "self", NULL
18564 };
18565
18566 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_IsPreview",kwnames,&obj0)) goto fail;
18567 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18568 {
18569 PyThreadState* __tstate = wxPyBeginAllowThreads();
18570 result = (bool)(arg1)->IsPreview();
18571
18572 wxPyEndAllowThreads(__tstate);
18573 if (PyErr_Occurred()) SWIG_fail;
18574 }
18575 resultobj = PyInt_FromLong((long)result);
18576 return resultobj;
18577 fail:
18578 return NULL;
18579}
18580
18581
18582static PyObject *_wrap_Printout_SetIsPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
18583 PyObject *resultobj;
18584 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18585 bool arg2 ;
18586 PyObject * obj0 = 0 ;
18587 PyObject * obj1 = 0 ;
18588 char *kwnames[] = {
18589 (char *) "self",(char *) "p", NULL
18590 };
18591
18592 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:Printout_SetIsPreview",kwnames,&obj0,&obj1)) goto fail;
18593 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18594 arg2 = PyInt_AsLong(obj1) ? true : false;
18595 if (PyErr_Occurred()) SWIG_fail;
18596 {
18597 PyThreadState* __tstate = wxPyBeginAllowThreads();
18598 (arg1)->SetIsPreview(arg2);
18599
18600 wxPyEndAllowThreads(__tstate);
18601 if (PyErr_Occurred()) SWIG_fail;
18602 }
18603 Py_INCREF(Py_None); resultobj = Py_None;
18604 return resultobj;
18605 fail:
18606 return NULL;
18607}
18608
18609
18610static PyObject *_wrap_Printout_base_OnBeginDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18611 PyObject *resultobj;
18612 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18613 int arg2 ;
18614 int arg3 ;
18615 bool result;
18616 PyObject * obj0 = 0 ;
18617 char *kwnames[] = {
18618 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
18619 };
18620
18621 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oii:Printout_base_OnBeginDocument",kwnames,&obj0,&arg2,&arg3)) goto fail;
18622 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18623 {
18624 PyThreadState* __tstate = wxPyBeginAllowThreads();
18625 result = (bool)(arg1)->base_OnBeginDocument(arg2,arg3);
18626
18627 wxPyEndAllowThreads(__tstate);
18628 if (PyErr_Occurred()) SWIG_fail;
18629 }
18630 resultobj = PyInt_FromLong((long)result);
18631 return resultobj;
18632 fail:
18633 return NULL;
18634}
18635
18636
18637static PyObject *_wrap_Printout_base_OnEndDocument(PyObject *self, PyObject *args, PyObject *kwargs) {
18638 PyObject *resultobj;
18639 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18640 PyObject * obj0 = 0 ;
18641 char *kwnames[] = {
18642 (char *) "self", NULL
18643 };
18644
18645 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndDocument",kwnames,&obj0)) goto fail;
18646 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18647 {
18648 PyThreadState* __tstate = wxPyBeginAllowThreads();
18649 (arg1)->base_OnEndDocument();
18650
18651 wxPyEndAllowThreads(__tstate);
18652 if (PyErr_Occurred()) SWIG_fail;
18653 }
18654 Py_INCREF(Py_None); resultobj = Py_None;
18655 return resultobj;
18656 fail:
18657 return NULL;
18658}
18659
18660
18661static PyObject *_wrap_Printout_base_OnBeginPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18662 PyObject *resultobj;
18663 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18664 PyObject * obj0 = 0 ;
18665 char *kwnames[] = {
18666 (char *) "self", NULL
18667 };
18668
18669 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnBeginPrinting",kwnames,&obj0)) goto fail;
18670 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18671 {
18672 PyThreadState* __tstate = wxPyBeginAllowThreads();
18673 (arg1)->base_OnBeginPrinting();
18674
18675 wxPyEndAllowThreads(__tstate);
18676 if (PyErr_Occurred()) SWIG_fail;
18677 }
18678 Py_INCREF(Py_None); resultobj = Py_None;
18679 return resultobj;
18680 fail:
18681 return NULL;
18682}
18683
18684
18685static PyObject *_wrap_Printout_base_OnEndPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18686 PyObject *resultobj;
18687 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18688 PyObject * obj0 = 0 ;
18689 char *kwnames[] = {
18690 (char *) "self", NULL
18691 };
18692
18693 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnEndPrinting",kwnames,&obj0)) goto fail;
18694 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18695 {
18696 PyThreadState* __tstate = wxPyBeginAllowThreads();
18697 (arg1)->base_OnEndPrinting();
18698
18699 wxPyEndAllowThreads(__tstate);
18700 if (PyErr_Occurred()) SWIG_fail;
18701 }
18702 Py_INCREF(Py_None); resultobj = Py_None;
18703 return resultobj;
18704 fail:
18705 return NULL;
18706}
18707
18708
18709static PyObject *_wrap_Printout_base_OnPreparePrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
18710 PyObject *resultobj;
18711 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18712 PyObject * obj0 = 0 ;
18713 char *kwnames[] = {
18714 (char *) "self", NULL
18715 };
18716
18717 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_OnPreparePrinting",kwnames,&obj0)) goto fail;
18718 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18719 {
18720 PyThreadState* __tstate = wxPyBeginAllowThreads();
18721 (arg1)->base_OnPreparePrinting();
18722
18723 wxPyEndAllowThreads(__tstate);
18724 if (PyErr_Occurred()) SWIG_fail;
18725 }
18726 Py_INCREF(Py_None); resultobj = Py_None;
18727 return resultobj;
18728 fail:
18729 return NULL;
18730}
18731
18732
44127b65
RD
18733static PyObject *_wrap_Printout_base_HasPage(PyObject *self, PyObject *args, PyObject *kwargs) {
18734 PyObject *resultobj;
18735 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18736 int arg2 ;
18737 bool result;
18738 PyObject * obj0 = 0 ;
18739 char *kwnames[] = {
18740 (char *) "self",(char *) "page", NULL
18741 };
18742
18743 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:Printout_base_HasPage",kwnames,&obj0,&arg2)) goto fail;
18744 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18745 {
18746 PyThreadState* __tstate = wxPyBeginAllowThreads();
18747 result = (bool)(arg1)->base_HasPage(arg2);
18748
18749 wxPyEndAllowThreads(__tstate);
18750 if (PyErr_Occurred()) SWIG_fail;
18751 }
18752 resultobj = PyInt_FromLong((long)result);
18753 return resultobj;
18754 fail:
18755 return NULL;
18756}
18757
18758
d14a1e28
RD
18759static PyObject *_wrap_Printout_base_GetPageInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
18760 PyObject *resultobj;
18761 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
18762 int *arg2 = (int *) 0 ;
18763 int *arg3 = (int *) 0 ;
18764 int *arg4 = (int *) 0 ;
18765 int *arg5 = (int *) 0 ;
18766 int temp2 ;
18767 int temp3 ;
18768 int temp4 ;
18769 int temp5 ;
18770 PyObject * obj0 = 0 ;
18771 char *kwnames[] = {
18772 (char *) "self", NULL
18773 };
18774
18775 arg2 = &temp2;
18776 arg3 = &temp3;
18777 arg4 = &temp4;
18778 arg5 = &temp5;
18779 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:Printout_base_GetPageInfo",kwnames,&obj0)) goto fail;
18780 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18781 {
18782 PyThreadState* __tstate = wxPyBeginAllowThreads();
18783 (arg1)->base_GetPageInfo(arg2,arg3,arg4,arg5);
18784
18785 wxPyEndAllowThreads(__tstate);
18786 if (PyErr_Occurred()) SWIG_fail;
18787 }
18788 Py_INCREF(Py_None); resultobj = Py_None;
18789 {
18790 PyObject *o = PyInt_FromLong((long) (*arg2));
18791 resultobj = t_output_helper(resultobj,o);
18792 }
18793 {
18794 PyObject *o = PyInt_FromLong((long) (*arg3));
18795 resultobj = t_output_helper(resultobj,o);
18796 }
18797 {
18798 PyObject *o = PyInt_FromLong((long) (*arg4));
18799 resultobj = t_output_helper(resultobj,o);
18800 }
18801 {
18802 PyObject *o = PyInt_FromLong((long) (*arg5));
18803 resultobj = t_output_helper(resultobj,o);
18804 }
18805 return resultobj;
18806 fail:
18807 return NULL;
18808}
18809
18810
d14a1e28
RD
18811static PyObject * Printout_swigregister(PyObject *self, PyObject *args) {
18812 PyObject *obj;
18813 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18814 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintout, obj);
18815 Py_INCREF(obj);
18816 return Py_BuildValue((char *)"");
18817}
18818static PyObject *_wrap_new_PreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
18819 PyObject *resultobj;
18820 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18821 wxWindow *arg2 = (wxWindow *) 0 ;
18822 wxPoint const &arg3_defvalue = wxDefaultPosition ;
18823 wxPoint *arg3 = (wxPoint *) &arg3_defvalue ;
18824 wxSize const &arg4_defvalue = wxDefaultSize ;
18825 wxSize *arg4 = (wxSize *) &arg4_defvalue ;
18826 long arg5 = (long) 0 ;
18827 wxString const &arg6_defvalue = wxPyPreviewCanvasNameStr ;
18828 wxString *arg6 = (wxString *) &arg6_defvalue ;
18829 wxPreviewCanvas *result;
18830 wxPoint temp3 ;
18831 wxSize temp4 ;
423f194a 18832 bool temp6 = False ;
d14a1e28
RD
18833 PyObject * obj0 = 0 ;
18834 PyObject * obj1 = 0 ;
18835 PyObject * obj2 = 0 ;
18836 PyObject * obj3 = 0 ;
18837 PyObject * obj5 = 0 ;
18838 char *kwnames[] = {
18839 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18840 };
18841
18842 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|OOlO:new_PreviewCanvas",kwnames,&obj0,&obj1,&obj2,&obj3,&arg5,&obj5)) goto fail;
18843 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18844 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18845 if (obj2) {
18846 {
18847 arg3 = &temp3;
18848 if ( ! wxPoint_helper(obj2, &arg3)) SWIG_fail;
18849 }
18850 }
18851 if (obj3) {
18852 {
18853 arg4 = &temp4;
18854 if ( ! wxSize_helper(obj3, &arg4)) SWIG_fail;
18855 }
18856 }
18857 if (obj5) {
18858 {
18859 arg6 = wxString_in_helper(obj5);
18860 if (arg6 == NULL) SWIG_fail;
423f194a 18861 temp6 = True;
d14a1e28
RD
18862 }
18863 }
18864 {
18865 PyThreadState* __tstate = wxPyBeginAllowThreads();
18866 result = (wxPreviewCanvas *)new wxPreviewCanvas(arg1,arg2,(wxPoint const &)*arg3,(wxSize const &)*arg4,arg5,(wxString const &)*arg6);
18867
18868 wxPyEndAllowThreads(__tstate);
18869 if (PyErr_Occurred()) SWIG_fail;
18870 }
18871 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 1);
18872 {
18873 if (temp6)
18874 delete arg6;
18875 }
18876 return resultobj;
18877 fail:
18878 {
18879 if (temp6)
18880 delete arg6;
18881 }
18882 return NULL;
18883}
18884
18885
18886static PyObject * PreviewCanvas_swigregister(PyObject *self, PyObject *args) {
18887 PyObject *obj;
18888 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
18889 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewCanvas, obj);
18890 Py_INCREF(obj);
18891 return Py_BuildValue((char *)"");
18892}
18893static PyObject *_wrap_new_PreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
18894 PyObject *resultobj;
18895 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
18896 wxFrame *arg2 = (wxFrame *) 0 ;
18897 wxString *arg3 = 0 ;
18898 wxPoint const &arg4_defvalue = wxDefaultPosition ;
18899 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
18900 wxSize const &arg5_defvalue = wxDefaultSize ;
18901 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
18902 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
18903 wxString const &arg7_defvalue = wxPyFrameNameStr ;
18904 wxString *arg7 = (wxString *) &arg7_defvalue ;
18905 wxPreviewFrame *result;
423f194a 18906 bool temp3 = False ;
d14a1e28
RD
18907 wxPoint temp4 ;
18908 wxSize temp5 ;
423f194a 18909 bool temp7 = False ;
d14a1e28
RD
18910 PyObject * obj0 = 0 ;
18911 PyObject * obj1 = 0 ;
18912 PyObject * obj2 = 0 ;
18913 PyObject * obj3 = 0 ;
18914 PyObject * obj4 = 0 ;
18915 PyObject * obj6 = 0 ;
18916 char *kwnames[] = {
18917 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
18918 };
18919
18920 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
18921 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18922 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18923 {
18924 arg3 = wxString_in_helper(obj2);
18925 if (arg3 == NULL) SWIG_fail;
423f194a 18926 temp3 = True;
d14a1e28
RD
18927 }
18928 if (obj3) {
18929 {
18930 arg4 = &temp4;
18931 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
18932 }
18933 }
18934 if (obj4) {
18935 {
18936 arg5 = &temp5;
18937 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
18938 }
18939 }
18940 if (obj6) {
18941 {
18942 arg7 = wxString_in_helper(obj6);
18943 if (arg7 == NULL) SWIG_fail;
423f194a 18944 temp7 = True;
d14a1e28
RD
18945 }
18946 }
18947 {
18948 PyThreadState* __tstate = wxPyBeginAllowThreads();
18949 result = (wxPreviewFrame *)new wxPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
18950
18951 wxPyEndAllowThreads(__tstate);
18952 if (PyErr_Occurred()) SWIG_fail;
18953 }
18954 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewFrame, 1);
18955 {
18956 if (temp3)
18957 delete arg3;
18958 }
18959 {
18960 if (temp7)
18961 delete arg7;
18962 }
18963 return resultobj;
18964 fail:
18965 {
18966 if (temp3)
18967 delete arg3;
18968 }
18969 {
18970 if (temp7)
18971 delete arg7;
18972 }
18973 return NULL;
18974}
18975
18976
18977static PyObject *_wrap_PreviewFrame_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
18978 PyObject *resultobj;
18979 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
18980 PyObject * obj0 = 0 ;
18981 char *kwnames[] = {
18982 (char *) "self", NULL
18983 };
18984
18985 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_Initialize",kwnames,&obj0)) goto fail;
18986 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
18987 {
18988 PyThreadState* __tstate = wxPyBeginAllowThreads();
18989 (arg1)->Initialize();
18990
18991 wxPyEndAllowThreads(__tstate);
18992 if (PyErr_Occurred()) SWIG_fail;
18993 }
18994 Py_INCREF(Py_None); resultobj = Py_None;
18995 return resultobj;
18996 fail:
18997 return NULL;
18998}
18999
19000
19001static PyObject *_wrap_PreviewFrame_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19002 PyObject *resultobj;
19003 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19004 PyObject * obj0 = 0 ;
19005 char *kwnames[] = {
19006 (char *) "self", NULL
19007 };
19008
19009 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateControlBar",kwnames,&obj0)) goto fail;
19010 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19011 {
19012 PyThreadState* __tstate = wxPyBeginAllowThreads();
19013 (arg1)->CreateControlBar();
19014
19015 wxPyEndAllowThreads(__tstate);
19016 if (PyErr_Occurred()) SWIG_fail;
19017 }
19018 Py_INCREF(Py_None); resultobj = Py_None;
19019 return resultobj;
19020 fail:
19021 return NULL;
19022}
19023
19024
19025static PyObject *_wrap_PreviewFrame_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19026 PyObject *resultobj;
19027 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19028 PyObject * obj0 = 0 ;
19029 char *kwnames[] = {
19030 (char *) "self", NULL
19031 };
19032
19033 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_CreateCanvas",kwnames,&obj0)) goto fail;
19034 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19035 {
19036 PyThreadState* __tstate = wxPyBeginAllowThreads();
19037 (arg1)->CreateCanvas();
19038
19039 wxPyEndAllowThreads(__tstate);
19040 if (PyErr_Occurred()) SWIG_fail;
19041 }
19042 Py_INCREF(Py_None); resultobj = Py_None;
19043 return resultobj;
19044 fail:
19045 return NULL;
19046}
19047
19048
19049static PyObject *_wrap_PreviewFrame_GetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19050 PyObject *resultobj;
19051 wxPreviewFrame *arg1 = (wxPreviewFrame *) 0 ;
19052 wxPreviewControlBar *result;
19053 PyObject * obj0 = 0 ;
19054 char *kwnames[] = {
19055 (char *) "self", NULL
19056 };
19057
19058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewFrame_GetControlBar",kwnames,&obj0)) goto fail;
19059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19060 {
19061 PyThreadState* __tstate = wxPyBeginAllowThreads();
19062 result = (wxPreviewControlBar *)((wxPreviewFrame const *)arg1)->GetControlBar();
19063
19064 wxPyEndAllowThreads(__tstate);
19065 if (PyErr_Occurred()) SWIG_fail;
19066 }
19067 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 0);
19068 return resultobj;
19069 fail:
19070 return NULL;
19071}
19072
19073
19074static PyObject * PreviewFrame_swigregister(PyObject *self, PyObject *args) {
19075 PyObject *obj;
19076 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19077 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewFrame, obj);
19078 Py_INCREF(obj);
19079 return Py_BuildValue((char *)"");
19080}
19081static PyObject *_wrap_new_PreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
19082 PyObject *resultobj;
19083 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19084 long arg2 ;
19085 wxWindow *arg3 = (wxWindow *) 0 ;
19086 wxPoint const &arg4_defvalue = wxDefaultPosition ;
19087 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
19088 wxSize const &arg5_defvalue = wxDefaultSize ;
19089 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
19090 long arg6 = (long) wxTAB_TRAVERSAL ;
19091 wxString const &arg7_defvalue = wxPyPanelNameStr ;
19092 wxString *arg7 = (wxString *) &arg7_defvalue ;
19093 wxPreviewControlBar *result;
19094 wxPoint temp4 ;
19095 wxSize temp5 ;
423f194a 19096 bool temp7 = False ;
d14a1e28
RD
19097 PyObject * obj0 = 0 ;
19098 PyObject * obj2 = 0 ;
19099 PyObject * obj3 = 0 ;
19100 PyObject * obj4 = 0 ;
19101 PyObject * obj6 = 0 ;
19102 char *kwnames[] = {
19103 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
19104 };
19105
19106 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
19107 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19108 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19109 if (obj3) {
19110 {
19111 arg4 = &temp4;
19112 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
19113 }
19114 }
19115 if (obj4) {
19116 {
19117 arg5 = &temp5;
19118 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
19119 }
19120 }
19121 if (obj6) {
19122 {
19123 arg7 = wxString_in_helper(obj6);
19124 if (arg7 == NULL) SWIG_fail;
423f194a 19125 temp7 = True;
d14a1e28
RD
19126 }
19127 }
19128 {
19129 PyThreadState* __tstate = wxPyBeginAllowThreads();
19130 result = (wxPreviewControlBar *)new wxPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
19131
19132 wxPyEndAllowThreads(__tstate);
19133 if (PyErr_Occurred()) SWIG_fail;
19134 }
19135 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewControlBar, 1);
19136 {
19137 if (temp7)
19138 delete arg7;
19139 }
19140 return resultobj;
19141 fail:
19142 {
19143 if (temp7)
19144 delete arg7;
19145 }
19146 return NULL;
19147}
19148
19149
19150static PyObject *_wrap_PreviewControlBar_GetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19151 PyObject *resultobj;
19152 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19153 int result;
19154 PyObject * obj0 = 0 ;
19155 char *kwnames[] = {
19156 (char *) "self", NULL
19157 };
19158
19159 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetZoomControl",kwnames,&obj0)) goto fail;
19160 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19161 {
19162 PyThreadState* __tstate = wxPyBeginAllowThreads();
19163 result = (int)(arg1)->GetZoomControl();
19164
19165 wxPyEndAllowThreads(__tstate);
19166 if (PyErr_Occurred()) SWIG_fail;
19167 }
19168 resultobj = PyInt_FromLong((long)result);
19169 return resultobj;
19170 fail:
19171 return NULL;
19172}
19173
19174
19175static PyObject *_wrap_PreviewControlBar_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
19176 PyObject *resultobj;
19177 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19178 int arg2 ;
19179 PyObject * obj0 = 0 ;
19180 char *kwnames[] = {
19181 (char *) "self",(char *) "zoom", NULL
19182 };
19183
19184 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PreviewControlBar_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
19185 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19186 {
19187 PyThreadState* __tstate = wxPyBeginAllowThreads();
19188 (arg1)->SetZoomControl(arg2);
19189
19190 wxPyEndAllowThreads(__tstate);
19191 if (PyErr_Occurred()) SWIG_fail;
19192 }
19193 Py_INCREF(Py_None); resultobj = Py_None;
19194 return resultobj;
19195 fail:
19196 return NULL;
19197}
19198
19199
19200static PyObject *_wrap_PreviewControlBar_GetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19201 PyObject *resultobj;
19202 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19203 wxPrintPreview *result;
19204 PyObject * obj0 = 0 ;
19205 char *kwnames[] = {
19206 (char *) "self", NULL
19207 };
19208
19209 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_GetPrintPreview",kwnames,&obj0)) goto fail;
19210 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19211 {
19212 PyThreadState* __tstate = wxPyBeginAllowThreads();
19213 result = (wxPrintPreview *)(arg1)->GetPrintPreview();
19214
19215 wxPyEndAllowThreads(__tstate);
19216 if (PyErr_Occurred()) SWIG_fail;
19217 }
19218 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 0);
19219 return resultobj;
19220 fail:
19221 return NULL;
19222}
19223
19224
19225static PyObject *_wrap_PreviewControlBar_OnNext(PyObject *self, PyObject *args, PyObject *kwargs) {
19226 PyObject *resultobj;
19227 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19228 PyObject * obj0 = 0 ;
19229 char *kwnames[] = {
19230 (char *) "self", NULL
19231 };
19232
19233 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnNext",kwnames,&obj0)) goto fail;
19234 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19235 {
19236 PyThreadState* __tstate = wxPyBeginAllowThreads();
19237 (arg1)->OnNext();
19238
19239 wxPyEndAllowThreads(__tstate);
19240 if (PyErr_Occurred()) SWIG_fail;
19241 }
19242 Py_INCREF(Py_None); resultobj = Py_None;
19243 return resultobj;
19244 fail:
19245 return NULL;
19246}
19247
19248
19249static PyObject *_wrap_PreviewControlBar_OnPrevious(PyObject *self, PyObject *args, PyObject *kwargs) {
19250 PyObject *resultobj;
19251 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19252 PyObject * obj0 = 0 ;
19253 char *kwnames[] = {
19254 (char *) "self", NULL
19255 };
19256
19257 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnPrevious",kwnames,&obj0)) goto fail;
19258 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19259 {
19260 PyThreadState* __tstate = wxPyBeginAllowThreads();
19261 (arg1)->OnPrevious();
19262
19263 wxPyEndAllowThreads(__tstate);
19264 if (PyErr_Occurred()) SWIG_fail;
19265 }
19266 Py_INCREF(Py_None); resultobj = Py_None;
19267 return resultobj;
19268 fail:
19269 return NULL;
19270}
19271
19272
19273static PyObject *_wrap_PreviewControlBar_OnFirst(PyObject *self, PyObject *args, PyObject *kwargs) {
19274 PyObject *resultobj;
19275 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19276 PyObject * obj0 = 0 ;
19277 char *kwnames[] = {
19278 (char *) "self", NULL
19279 };
19280
19281 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnFirst",kwnames,&obj0)) goto fail;
19282 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19283 {
19284 PyThreadState* __tstate = wxPyBeginAllowThreads();
19285 (arg1)->OnFirst();
19286
19287 wxPyEndAllowThreads(__tstate);
19288 if (PyErr_Occurred()) SWIG_fail;
19289 }
19290 Py_INCREF(Py_None); resultobj = Py_None;
19291 return resultobj;
19292 fail:
19293 return NULL;
19294}
19295
19296
19297static PyObject *_wrap_PreviewControlBar_OnLast(PyObject *self, PyObject *args, PyObject *kwargs) {
19298 PyObject *resultobj;
19299 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19300 PyObject * obj0 = 0 ;
19301 char *kwnames[] = {
19302 (char *) "self", NULL
19303 };
19304
19305 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnLast",kwnames,&obj0)) goto fail;
19306 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19307 {
19308 PyThreadState* __tstate = wxPyBeginAllowThreads();
19309 (arg1)->OnLast();
19310
19311 wxPyEndAllowThreads(__tstate);
19312 if (PyErr_Occurred()) SWIG_fail;
19313 }
19314 Py_INCREF(Py_None); resultobj = Py_None;
19315 return resultobj;
19316 fail:
19317 return NULL;
19318}
19319
19320
19321static PyObject *_wrap_PreviewControlBar_OnGoto(PyObject *self, PyObject *args, PyObject *kwargs) {
19322 PyObject *resultobj;
19323 wxPreviewControlBar *arg1 = (wxPreviewControlBar *) 0 ;
19324 PyObject * obj0 = 0 ;
19325 char *kwnames[] = {
19326 (char *) "self", NULL
19327 };
19328
19329 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PreviewControlBar_OnGoto",kwnames,&obj0)) goto fail;
19330 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19331 {
19332 PyThreadState* __tstate = wxPyBeginAllowThreads();
19333 (arg1)->OnGoto();
19334
19335 wxPyEndAllowThreads(__tstate);
19336 if (PyErr_Occurred()) SWIG_fail;
19337 }
19338 Py_INCREF(Py_None); resultobj = Py_None;
19339 return resultobj;
19340 fail:
19341 return NULL;
19342}
19343
19344
19345static PyObject * PreviewControlBar_swigregister(PyObject *self, PyObject *args) {
19346 PyObject *obj;
19347 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19348 SWIG_TypeClientData(SWIGTYPE_p_wxPreviewControlBar, obj);
19349 Py_INCREF(obj);
19350 return Py_BuildValue((char *)"");
19351}
19352static PyObject *_wrap_new_PrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19353 PyObject *resultobj;
19354 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19355 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19356 wxPrintData *arg3 = (wxPrintData *) NULL ;
19357 wxPrintPreview *result;
19358 PyObject * obj0 = 0 ;
19359 PyObject * obj1 = 0 ;
19360 PyObject * obj2 = 0 ;
19361 char *kwnames[] = {
19362 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19363 };
19364
19365 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19366 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19367 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19368 if (obj2) {
19369 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19370 }
19371 {
19372 PyThreadState* __tstate = wxPyBeginAllowThreads();
19373 result = (wxPrintPreview *)new wxPrintPreview(arg1,arg2,arg3);
19374
19375 wxPyEndAllowThreads(__tstate);
19376 if (PyErr_Occurred()) SWIG_fail;
19377 }
19378 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintPreview, 1);
19379 return resultobj;
19380 fail:
19381 return NULL;
19382}
19383
19384
19385static PyObject *_wrap_PrintPreview_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19386 PyObject *resultobj;
19387 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19388 int arg2 ;
19389 bool result;
19390 PyObject * obj0 = 0 ;
19391 char *kwnames[] = {
19392 (char *) "self",(char *) "pageNum", NULL
19393 };
19394
19395 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
19396 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19397 {
19398 PyThreadState* __tstate = wxPyBeginAllowThreads();
19399 result = (bool)(arg1)->SetCurrentPage(arg2);
19400
19401 wxPyEndAllowThreads(__tstate);
19402 if (PyErr_Occurred()) SWIG_fail;
19403 }
19404 resultobj = PyInt_FromLong((long)result);
19405 return resultobj;
19406 fail:
19407 return NULL;
19408}
19409
19410
19411static PyObject *_wrap_PrintPreview_GetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19412 PyObject *resultobj;
19413 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19414 int result;
19415 PyObject * obj0 = 0 ;
19416 char *kwnames[] = {
19417 (char *) "self", NULL
19418 };
19419
19420 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCurrentPage",kwnames,&obj0)) goto fail;
19421 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19422 {
19423 PyThreadState* __tstate = wxPyBeginAllowThreads();
19424 result = (int)(arg1)->GetCurrentPage();
19425
19426 wxPyEndAllowThreads(__tstate);
19427 if (PyErr_Occurred()) SWIG_fail;
19428 }
19429 resultobj = PyInt_FromLong((long)result);
19430 return resultobj;
19431 fail:
19432 return NULL;
19433}
19434
19435
19436static PyObject *_wrap_PrintPreview_SetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19437 PyObject *resultobj;
19438 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19439 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19440 PyObject * obj0 = 0 ;
19441 PyObject * obj1 = 0 ;
19442 char *kwnames[] = {
19443 (char *) "self",(char *) "printout", NULL
19444 };
19445
19446 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetPrintout",kwnames,&obj0,&obj1)) goto fail;
19447 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19448 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19449 {
19450 PyThreadState* __tstate = wxPyBeginAllowThreads();
19451 (arg1)->SetPrintout(arg2);
19452
19453 wxPyEndAllowThreads(__tstate);
19454 if (PyErr_Occurred()) SWIG_fail;
19455 }
19456 Py_INCREF(Py_None); resultobj = Py_None;
19457 return resultobj;
19458 fail:
19459 return NULL;
19460}
19461
19462
19463static PyObject *_wrap_PrintPreview_GetPrintout(PyObject *self, PyObject *args, PyObject *kwargs) {
19464 PyObject *resultobj;
19465 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19466 wxPyPrintout *result;
19467 PyObject * obj0 = 0 ;
19468 char *kwnames[] = {
19469 (char *) "self", NULL
19470 };
19471
19472 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintout",kwnames,&obj0)) goto fail;
19473 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19474 {
19475 PyThreadState* __tstate = wxPyBeginAllowThreads();
19476 result = (wxPyPrintout *)(arg1)->GetPrintout();
19477
19478 wxPyEndAllowThreads(__tstate);
19479 if (PyErr_Occurred()) SWIG_fail;
19480 }
19481 {
19482 resultobj = wxPyMake_wxObject(result);
19483 }
19484 return resultobj;
19485 fail:
19486 return NULL;
19487}
19488
19489
19490static PyObject *_wrap_PrintPreview_GetPrintoutForPrinting(PyObject *self, PyObject *args, PyObject *kwargs) {
19491 PyObject *resultobj;
19492 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19493 wxPyPrintout *result;
19494 PyObject * obj0 = 0 ;
19495 char *kwnames[] = {
19496 (char *) "self", NULL
19497 };
19498
19499 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintoutForPrinting",kwnames,&obj0)) goto fail;
19500 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19501 {
19502 PyThreadState* __tstate = wxPyBeginAllowThreads();
19503 result = (wxPyPrintout *)(arg1)->GetPrintoutForPrinting();
19504
19505 wxPyEndAllowThreads(__tstate);
19506 if (PyErr_Occurred()) SWIG_fail;
19507 }
19508 {
19509 resultobj = wxPyMake_wxObject(result);
19510 }
19511 return resultobj;
19512 fail:
19513 return NULL;
19514}
19515
19516
19517static PyObject *_wrap_PrintPreview_SetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19518 PyObject *resultobj;
19519 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19520 wxFrame *arg2 = (wxFrame *) 0 ;
19521 PyObject * obj0 = 0 ;
19522 PyObject * obj1 = 0 ;
19523 char *kwnames[] = {
19524 (char *) "self",(char *) "frame", NULL
19525 };
19526
19527 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetFrame",kwnames,&obj0,&obj1)) goto fail;
19528 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19529 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19530 {
19531 PyThreadState* __tstate = wxPyBeginAllowThreads();
19532 (arg1)->SetFrame(arg2);
19533
19534 wxPyEndAllowThreads(__tstate);
19535 if (PyErr_Occurred()) SWIG_fail;
19536 }
19537 Py_INCREF(Py_None); resultobj = Py_None;
19538 return resultobj;
19539 fail:
19540 return NULL;
19541}
19542
19543
19544static PyObject *_wrap_PrintPreview_SetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19545 PyObject *resultobj;
19546 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19547 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19548 PyObject * obj0 = 0 ;
19549 PyObject * obj1 = 0 ;
19550 char *kwnames[] = {
19551 (char *) "self",(char *) "canvas", NULL
19552 };
19553
19554 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetCanvas",kwnames,&obj0,&obj1)) goto fail;
19555 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19556 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19557 {
19558 PyThreadState* __tstate = wxPyBeginAllowThreads();
19559 (arg1)->SetCanvas(arg2);
19560
19561 wxPyEndAllowThreads(__tstate);
19562 if (PyErr_Occurred()) SWIG_fail;
19563 }
19564 Py_INCREF(Py_None); resultobj = Py_None;
19565 return resultobj;
19566 fail:
19567 return NULL;
19568}
19569
19570
19571static PyObject *_wrap_PrintPreview_GetFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
19572 PyObject *resultobj;
19573 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19574 wxFrame *result;
19575 PyObject * obj0 = 0 ;
19576 char *kwnames[] = {
19577 (char *) "self", NULL
19578 };
19579
19580 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetFrame",kwnames,&obj0)) goto fail;
19581 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19582 {
19583 PyThreadState* __tstate = wxPyBeginAllowThreads();
19584 result = (wxFrame *)(arg1)->GetFrame();
19585
19586 wxPyEndAllowThreads(__tstate);
19587 if (PyErr_Occurred()) SWIG_fail;
19588 }
19589 {
19590 resultobj = wxPyMake_wxObject(result);
19591 }
19592 return resultobj;
19593 fail:
19594 return NULL;
19595}
19596
19597
19598static PyObject *_wrap_PrintPreview_GetCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
19599 PyObject *resultobj;
19600 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19601 wxPreviewCanvas *result;
19602 PyObject * obj0 = 0 ;
19603 char *kwnames[] = {
19604 (char *) "self", NULL
19605 };
19606
19607 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetCanvas",kwnames,&obj0)) goto fail;
19608 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19609 {
19610 PyThreadState* __tstate = wxPyBeginAllowThreads();
19611 result = (wxPreviewCanvas *)(arg1)->GetCanvas();
19612
19613 wxPyEndAllowThreads(__tstate);
19614 if (PyErr_Occurred()) SWIG_fail;
19615 }
19616 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPreviewCanvas, 0);
19617 return resultobj;
19618 fail:
19619 return NULL;
19620}
19621
19622
19623static PyObject *_wrap_PrintPreview_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19624 PyObject *resultobj;
19625 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19626 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19627 wxDC *arg3 = 0 ;
19628 bool result;
19629 PyObject * obj0 = 0 ;
19630 PyObject * obj1 = 0 ;
19631 PyObject * obj2 = 0 ;
19632 char *kwnames[] = {
19633 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19634 };
19635
19636 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_PaintPage",kwnames,&obj0,&obj1,&obj2)) 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 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19640 if (arg3 == NULL) {
19641 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19642 }
19643 {
19644 PyThreadState* __tstate = wxPyBeginAllowThreads();
19645 result = (bool)(arg1)->PaintPage(arg2,*arg3);
19646
19647 wxPyEndAllowThreads(__tstate);
19648 if (PyErr_Occurred()) SWIG_fail;
19649 }
19650 resultobj = PyInt_FromLong((long)result);
19651 return resultobj;
19652 fail:
19653 return NULL;
19654}
19655
19656
19657static PyObject *_wrap_PrintPreview_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19658 PyObject *resultobj;
19659 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19660 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19661 wxDC *arg3 = 0 ;
19662 bool result;
19663 PyObject * obj0 = 0 ;
19664 PyObject * obj1 = 0 ;
19665 PyObject * obj2 = 0 ;
19666 char *kwnames[] = {
19667 (char *) "self",(char *) "canvas",(char *) "dc", NULL
19668 };
19669
19670 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
19671 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19672 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19673 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19674 if (arg3 == NULL) {
19675 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
19676 }
19677 {
19678 PyThreadState* __tstate = wxPyBeginAllowThreads();
19679 result = (bool)(arg1)->DrawBlankPage(arg2,*arg3);
19680
19681 wxPyEndAllowThreads(__tstate);
19682 if (PyErr_Occurred()) SWIG_fail;
19683 }
19684 resultobj = PyInt_FromLong((long)result);
19685 return resultobj;
19686 fail:
19687 return NULL;
19688}
19689
19690
19691static PyObject *_wrap_PrintPreview_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19692 PyObject *resultobj;
19693 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19694 int arg2 ;
19695 bool result;
19696 PyObject * obj0 = 0 ;
19697 char *kwnames[] = {
19698 (char *) "self",(char *) "pageNum", NULL
19699 };
19700
19701 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_RenderPage",kwnames,&obj0,&arg2)) goto fail;
19702 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19703 {
19704 PyThreadState* __tstate = wxPyBeginAllowThreads();
19705 result = (bool)(arg1)->RenderPage(arg2);
19706
19707 wxPyEndAllowThreads(__tstate);
19708 if (PyErr_Occurred()) SWIG_fail;
19709 }
19710 resultobj = PyInt_FromLong((long)result);
19711 return resultobj;
19712 fail:
19713 return NULL;
19714}
19715
19716
19717static PyObject *_wrap_PrintPreview_AdjustScrollbars(PyObject *self, PyObject *args, PyObject *kwargs) {
19718 PyObject *resultobj;
19719 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19720 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
19721 PyObject * obj0 = 0 ;
19722 PyObject * obj1 = 0 ;
19723 char *kwnames[] = {
19724 (char *) "self",(char *) "canvas", NULL
19725 };
19726
19727 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames,&obj0,&obj1)) goto fail;
19728 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19729 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19730 {
19731 PyThreadState* __tstate = wxPyBeginAllowThreads();
19732 (arg1)->AdjustScrollbars(arg2);
19733
19734 wxPyEndAllowThreads(__tstate);
19735 if (PyErr_Occurred()) SWIG_fail;
19736 }
19737 Py_INCREF(Py_None); resultobj = Py_None;
19738 return resultobj;
19739 fail:
19740 return NULL;
19741}
19742
19743
19744static PyObject *_wrap_PrintPreview_GetPrintDialogData(PyObject *self, PyObject *args, PyObject *kwargs) {
19745 PyObject *resultobj;
19746 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19747 wxPrintDialogData *result;
19748 PyObject * obj0 = 0 ;
19749 char *kwnames[] = {
19750 (char *) "self", NULL
19751 };
19752
19753 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetPrintDialogData",kwnames,&obj0)) goto fail;
19754 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19755 {
19756 PyThreadState* __tstate = wxPyBeginAllowThreads();
19757 {
19758 wxPrintDialogData &_result_ref = (arg1)->GetPrintDialogData();
19759 result = (wxPrintDialogData *) &_result_ref;
19760 }
19761
19762 wxPyEndAllowThreads(__tstate);
19763 if (PyErr_Occurred()) SWIG_fail;
19764 }
19765 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPrintDialogData, 0);
19766 return resultobj;
19767 fail:
19768 return NULL;
19769}
19770
19771
19772static PyObject *_wrap_PrintPreview_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19773 PyObject *resultobj;
19774 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19775 int arg2 ;
19776 PyObject * obj0 = 0 ;
19777 char *kwnames[] = {
19778 (char *) "self",(char *) "percent", NULL
19779 };
19780
19781 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PrintPreview_SetZoom",kwnames,&obj0,&arg2)) goto fail;
19782 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19783 {
19784 PyThreadState* __tstate = wxPyBeginAllowThreads();
19785 (arg1)->SetZoom(arg2);
19786
19787 wxPyEndAllowThreads(__tstate);
19788 if (PyErr_Occurred()) SWIG_fail;
19789 }
19790 Py_INCREF(Py_None); resultobj = Py_None;
19791 return resultobj;
19792 fail:
19793 return NULL;
19794}
19795
19796
19797static PyObject *_wrap_PrintPreview_GetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
19798 PyObject *resultobj;
19799 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19800 int result;
19801 PyObject * obj0 = 0 ;
19802 char *kwnames[] = {
19803 (char *) "self", NULL
19804 };
19805
19806 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetZoom",kwnames,&obj0)) goto fail;
19807 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19808 {
19809 PyThreadState* __tstate = wxPyBeginAllowThreads();
19810 result = (int)(arg1)->GetZoom();
19811
19812 wxPyEndAllowThreads(__tstate);
19813 if (PyErr_Occurred()) SWIG_fail;
19814 }
19815 resultobj = PyInt_FromLong((long)result);
19816 return resultobj;
19817 fail:
19818 return NULL;
19819}
19820
19821
19822static PyObject *_wrap_PrintPreview_GetMaxPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19823 PyObject *resultobj;
19824 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19825 int result;
19826 PyObject * obj0 = 0 ;
19827 char *kwnames[] = {
19828 (char *) "self", NULL
19829 };
19830
19831 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMaxPage",kwnames,&obj0)) goto fail;
19832 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19833 {
19834 PyThreadState* __tstate = wxPyBeginAllowThreads();
19835 result = (int)(arg1)->GetMaxPage();
19836
19837 wxPyEndAllowThreads(__tstate);
19838 if (PyErr_Occurred()) SWIG_fail;
19839 }
19840 resultobj = PyInt_FromLong((long)result);
19841 return resultobj;
19842 fail:
19843 return NULL;
19844}
19845
19846
19847static PyObject *_wrap_PrintPreview_GetMinPage(PyObject *self, PyObject *args, PyObject *kwargs) {
19848 PyObject *resultobj;
19849 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19850 int result;
19851 PyObject * obj0 = 0 ;
19852 char *kwnames[] = {
19853 (char *) "self", NULL
19854 };
19855
19856 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_GetMinPage",kwnames,&obj0)) goto fail;
19857 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19858 {
19859 PyThreadState* __tstate = wxPyBeginAllowThreads();
19860 result = (int)(arg1)->GetMinPage();
19861
19862 wxPyEndAllowThreads(__tstate);
19863 if (PyErr_Occurred()) SWIG_fail;
19864 }
19865 resultobj = PyInt_FromLong((long)result);
19866 return resultobj;
19867 fail:
19868 return NULL;
19869}
19870
19871
19872static PyObject *_wrap_PrintPreview_Ok(PyObject *self, PyObject *args, PyObject *kwargs) {
19873 PyObject *resultobj;
19874 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19875 bool result;
19876 PyObject * obj0 = 0 ;
19877 char *kwnames[] = {
19878 (char *) "self", NULL
19879 };
19880
19881 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_Ok",kwnames,&obj0)) goto fail;
19882 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19883 {
19884 PyThreadState* __tstate = wxPyBeginAllowThreads();
19885 result = (bool)(arg1)->Ok();
19886
19887 wxPyEndAllowThreads(__tstate);
19888 if (PyErr_Occurred()) SWIG_fail;
19889 }
19890 resultobj = PyInt_FromLong((long)result);
19891 return resultobj;
19892 fail:
19893 return NULL;
19894}
19895
19896
19897static PyObject *_wrap_PrintPreview_SetOk(PyObject *self, PyObject *args, PyObject *kwargs) {
19898 PyObject *resultobj;
19899 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19900 bool arg2 ;
19901 PyObject * obj0 = 0 ;
19902 PyObject * obj1 = 0 ;
19903 char *kwnames[] = {
19904 (char *) "self",(char *) "ok", NULL
19905 };
19906
19907 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_SetOk",kwnames,&obj0,&obj1)) goto fail;
19908 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19909 arg2 = PyInt_AsLong(obj1) ? true : false;
19910 if (PyErr_Occurred()) SWIG_fail;
19911 {
19912 PyThreadState* __tstate = wxPyBeginAllowThreads();
19913 (arg1)->SetOk(arg2);
19914
19915 wxPyEndAllowThreads(__tstate);
19916 if (PyErr_Occurred()) SWIG_fail;
19917 }
19918 Py_INCREF(Py_None); resultobj = Py_None;
19919 return resultobj;
19920 fail:
19921 return NULL;
19922}
19923
19924
19925static PyObject *_wrap_PrintPreview_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
19926 PyObject *resultobj;
19927 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19928 bool arg2 ;
19929 bool result;
19930 PyObject * obj0 = 0 ;
19931 PyObject * obj1 = 0 ;
19932 char *kwnames[] = {
19933 (char *) "self",(char *) "interactive", NULL
19934 };
19935
19936 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PrintPreview_Print",kwnames,&obj0,&obj1)) goto fail;
19937 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19938 arg2 = PyInt_AsLong(obj1) ? true : false;
19939 if (PyErr_Occurred()) SWIG_fail;
19940 {
19941 PyThreadState* __tstate = wxPyBeginAllowThreads();
19942 result = (bool)(arg1)->Print(arg2);
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_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
19955 PyObject *resultobj;
19956 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
19957 PyObject * obj0 = 0 ;
19958 char *kwnames[] = {
19959 (char *) "self", NULL
19960 };
19961
19962 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PrintPreview_DetermineScaling",kwnames,&obj0)) goto fail;
19963 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
19964 {
19965 PyThreadState* __tstate = wxPyBeginAllowThreads();
19966 (arg1)->DetermineScaling();
19967
19968 wxPyEndAllowThreads(__tstate);
19969 if (PyErr_Occurred()) SWIG_fail;
19970 }
19971 Py_INCREF(Py_None); resultobj = Py_None;
19972 return resultobj;
19973 fail:
19974 return NULL;
19975}
19976
19977
19978static PyObject * PrintPreview_swigregister(PyObject *self, PyObject *args) {
19979 PyObject *obj;
19980 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
19981 SWIG_TypeClientData(SWIGTYPE_p_wxPrintPreview, obj);
19982 Py_INCREF(obj);
19983 return Py_BuildValue((char *)"");
19984}
19985static PyObject *_wrap_new_PyPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
19986 PyObject *resultobj;
19987 wxPyPrintout *arg1 = (wxPyPrintout *) 0 ;
19988 wxPyPrintout *arg2 = (wxPyPrintout *) 0 ;
19989 wxPrintData *arg3 = (wxPrintData *) NULL ;
19990 wxPyPrintPreview *result;
19991 PyObject * obj0 = 0 ;
19992 PyObject * obj1 = 0 ;
19993 PyObject * obj2 = 0 ;
19994 char *kwnames[] = {
19995 (char *) "printout",(char *) "printoutForPrinting",(char *) "data", NULL
19996 };
19997
19998 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO|O:new_PyPrintPreview",kwnames,&obj0,&obj1,&obj2)) goto fail;
19999 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20000 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPyPrintout,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20001 if (obj2) {
20002 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxPrintData,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20003 }
20004 {
20005 PyThreadState* __tstate = wxPyBeginAllowThreads();
20006 result = (wxPyPrintPreview *)new wxPyPrintPreview(arg1,arg2,arg3);
20007
20008 wxPyEndAllowThreads(__tstate);
20009 if (PyErr_Occurred()) SWIG_fail;
20010 }
20011 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPrintPreview, 1);
20012 return resultobj;
20013 fail:
20014 return NULL;
20015}
20016
20017
20018static PyObject *_wrap_PyPrintPreview__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20019 PyObject *resultobj;
20020 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20021 PyObject *arg2 = (PyObject *) 0 ;
20022 PyObject *arg3 = (PyObject *) 0 ;
20023 PyObject * obj0 = 0 ;
20024 PyObject * obj1 = 0 ;
20025 PyObject * obj2 = 0 ;
20026 char *kwnames[] = {
20027 (char *) "self",(char *) "self",(char *) "_class", NULL
20028 };
20029
20030 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20031 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20032 arg2 = obj1;
20033 arg3 = obj2;
20034 {
20035 PyThreadState* __tstate = wxPyBeginAllowThreads();
20036 (arg1)->_setCallbackInfo(arg2,arg3);
20037
20038 wxPyEndAllowThreads(__tstate);
20039 if (PyErr_Occurred()) SWIG_fail;
20040 }
20041 Py_INCREF(Py_None); resultobj = Py_None;
20042 return resultobj;
20043 fail:
20044 return NULL;
20045}
20046
20047
20048static PyObject *_wrap_PyPrintPreview_base_SetCurrentPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20049 PyObject *resultobj;
20050 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20051 int arg2 ;
20052 bool result;
20053 PyObject * obj0 = 0 ;
20054 char *kwnames[] = {
20055 (char *) "self",(char *) "pageNum", NULL
20056 };
20057
20058 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetCurrentPage",kwnames,&obj0,&arg2)) goto fail;
20059 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20060 {
20061 PyThreadState* __tstate = wxPyBeginAllowThreads();
20062 result = (bool)(arg1)->base_SetCurrentPage(arg2);
20063
20064 wxPyEndAllowThreads(__tstate);
20065 if (PyErr_Occurred()) SWIG_fail;
20066 }
20067 resultobj = PyInt_FromLong((long)result);
20068 return resultobj;
20069 fail:
20070 return NULL;
20071}
20072
20073
20074static PyObject *_wrap_PyPrintPreview_base_PaintPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20075 PyObject *resultobj;
20076 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20077 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20078 wxDC *arg3 = 0 ;
20079 bool result;
20080 PyObject * obj0 = 0 ;
20081 PyObject * obj1 = 0 ;
20082 PyObject * obj2 = 0 ;
20083 char *kwnames[] = {
20084 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20085 };
20086
20087 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_PaintPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20088 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20089 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20090 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20091 if (arg3 == NULL) {
20092 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20093 }
20094 {
20095 PyThreadState* __tstate = wxPyBeginAllowThreads();
20096 result = (bool)(arg1)->base_PaintPage(arg2,*arg3);
20097
20098 wxPyEndAllowThreads(__tstate);
20099 if (PyErr_Occurred()) SWIG_fail;
20100 }
20101 resultobj = PyInt_FromLong((long)result);
20102 return resultobj;
20103 fail:
20104 return NULL;
20105}
20106
20107
20108static PyObject *_wrap_PyPrintPreview_base_DrawBlankPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20109 PyObject *resultobj;
20110 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20111 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20112 wxDC *arg3 = 0 ;
20113 bool result;
20114 PyObject * obj0 = 0 ;
20115 PyObject * obj1 = 0 ;
20116 PyObject * obj2 = 0 ;
20117 char *kwnames[] = {
20118 (char *) "self",(char *) "canvas",(char *) "dc", NULL
20119 };
20120
20121 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPrintPreview_base_DrawBlankPage",kwnames,&obj0,&obj1,&obj2)) goto fail;
20122 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20123 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20124 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxDC,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20125 if (arg3 == NULL) {
20126 PyErr_SetString(PyExc_TypeError,"null reference"); SWIG_fail;
20127 }
20128 {
20129 PyThreadState* __tstate = wxPyBeginAllowThreads();
20130 result = (bool)(arg1)->base_DrawBlankPage(arg2,*arg3);
20131
20132 wxPyEndAllowThreads(__tstate);
20133 if (PyErr_Occurred()) SWIG_fail;
20134 }
20135 resultobj = PyInt_FromLong((long)result);
20136 return resultobj;
20137 fail:
20138 return NULL;
20139}
20140
20141
20142static PyObject *_wrap_PyPrintPreview_base_RenderPage(PyObject *self, PyObject *args, PyObject *kwargs) {
20143 PyObject *resultobj;
20144 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20145 int arg2 ;
20146 bool result;
20147 PyObject * obj0 = 0 ;
20148 char *kwnames[] = {
20149 (char *) "self",(char *) "pageNum", NULL
20150 };
20151
20152 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_RenderPage",kwnames,&obj0,&arg2)) goto fail;
20153 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20154 {
20155 PyThreadState* __tstate = wxPyBeginAllowThreads();
20156 result = (bool)(arg1)->base_RenderPage(arg2);
20157
20158 wxPyEndAllowThreads(__tstate);
20159 if (PyErr_Occurred()) SWIG_fail;
20160 }
20161 resultobj = PyInt_FromLong((long)result);
20162 return resultobj;
20163 fail:
20164 return NULL;
20165}
20166
20167
20168static PyObject *_wrap_PyPrintPreview_base_SetZoom(PyObject *self, PyObject *args, PyObject *kwargs) {
20169 PyObject *resultobj;
20170 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20171 int arg2 ;
20172 PyObject * obj0 = 0 ;
20173 char *kwnames[] = {
20174 (char *) "self",(char *) "percent", NULL
20175 };
20176
20177 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPrintPreview_base_SetZoom",kwnames,&obj0,&arg2)) goto fail;
20178 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20179 {
20180 PyThreadState* __tstate = wxPyBeginAllowThreads();
20181 (arg1)->base_SetZoom(arg2);
20182
20183 wxPyEndAllowThreads(__tstate);
20184 if (PyErr_Occurred()) SWIG_fail;
20185 }
20186 Py_INCREF(Py_None); resultobj = Py_None;
20187 return resultobj;
20188 fail:
20189 return NULL;
20190}
20191
20192
20193static PyObject *_wrap_PyPrintPreview_base_Print(PyObject *self, PyObject *args, PyObject *kwargs) {
20194 PyObject *resultobj;
20195 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20196 bool arg2 ;
20197 bool result;
20198 PyObject * obj0 = 0 ;
20199 PyObject * obj1 = 0 ;
20200 char *kwnames[] = {
20201 (char *) "self",(char *) "interactive", NULL
20202 };
20203
20204 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPrintPreview_base_Print",kwnames,&obj0,&obj1)) goto fail;
20205 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20206 arg2 = PyInt_AsLong(obj1) ? true : false;
20207 if (PyErr_Occurred()) SWIG_fail;
20208 {
20209 PyThreadState* __tstate = wxPyBeginAllowThreads();
20210 result = (bool)(arg1)->base_Print(arg2);
20211
20212 wxPyEndAllowThreads(__tstate);
20213 if (PyErr_Occurred()) SWIG_fail;
20214 }
20215 resultobj = PyInt_FromLong((long)result);
20216 return resultobj;
20217 fail:
20218 return NULL;
20219}
20220
20221
20222static PyObject *_wrap_PyPrintPreview_base_DetermineScaling(PyObject *self, PyObject *args, PyObject *kwargs) {
20223 PyObject *resultobj;
20224 wxPyPrintPreview *arg1 = (wxPyPrintPreview *) 0 ;
20225 PyObject * obj0 = 0 ;
20226 char *kwnames[] = {
20227 (char *) "self", NULL
20228 };
20229
20230 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPrintPreview_base_DetermineScaling",kwnames,&obj0)) goto fail;
20231 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20232 {
20233 PyThreadState* __tstate = wxPyBeginAllowThreads();
20234 (arg1)->base_DetermineScaling();
20235
20236 wxPyEndAllowThreads(__tstate);
20237 if (PyErr_Occurred()) SWIG_fail;
20238 }
20239 Py_INCREF(Py_None); resultobj = Py_None;
20240 return resultobj;
20241 fail:
20242 return NULL;
20243}
20244
20245
20246static PyObject * PyPrintPreview_swigregister(PyObject *self, PyObject *args) {
20247 PyObject *obj;
20248 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20249 SWIG_TypeClientData(SWIGTYPE_p_wxPyPrintPreview, obj);
20250 Py_INCREF(obj);
20251 return Py_BuildValue((char *)"");
20252}
20253static PyObject *_wrap_new_PyPreviewFrame(PyObject *self, PyObject *args, PyObject *kwargs) {
20254 PyObject *resultobj;
20255 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20256 wxFrame *arg2 = (wxFrame *) 0 ;
20257 wxString *arg3 = 0 ;
20258 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20259 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20260 wxSize const &arg5_defvalue = wxDefaultSize ;
20261 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20262 long arg6 = (long) wxDEFAULT_FRAME_STYLE ;
20263 wxString const &arg7_defvalue = wxPyFrameNameStr ;
20264 wxString *arg7 = (wxString *) &arg7_defvalue ;
20265 wxPyPreviewFrame *result;
423f194a 20266 bool temp3 = False ;
d14a1e28
RD
20267 wxPoint temp4 ;
20268 wxSize temp5 ;
423f194a 20269 bool temp7 = False ;
d14a1e28
RD
20270 PyObject * obj0 = 0 ;
20271 PyObject * obj1 = 0 ;
20272 PyObject * obj2 = 0 ;
20273 PyObject * obj3 = 0 ;
20274 PyObject * obj4 = 0 ;
20275 PyObject * obj6 = 0 ;
20276 char *kwnames[] = {
20277 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20278 };
20279
20280 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO|OOlO:new_PyPreviewFrame",kwnames,&obj0,&obj1,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20281 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20282 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20283 {
20284 arg3 = wxString_in_helper(obj2);
20285 if (arg3 == NULL) SWIG_fail;
423f194a 20286 temp3 = True;
d14a1e28
RD
20287 }
20288 if (obj3) {
20289 {
20290 arg4 = &temp4;
20291 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20292 }
20293 }
20294 if (obj4) {
20295 {
20296 arg5 = &temp5;
20297 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20298 }
20299 }
20300 if (obj6) {
20301 {
20302 arg7 = wxString_in_helper(obj6);
20303 if (arg7 == NULL) SWIG_fail;
423f194a 20304 temp7 = True;
d14a1e28
RD
20305 }
20306 }
20307 {
20308 PyThreadState* __tstate = wxPyBeginAllowThreads();
20309 result = (wxPyPreviewFrame *)new wxPyPreviewFrame(arg1,arg2,(wxString const &)*arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20310
20311 wxPyEndAllowThreads(__tstate);
20312 if (PyErr_Occurred()) SWIG_fail;
20313 }
20314 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewFrame, 1);
20315 {
20316 if (temp3)
20317 delete arg3;
20318 }
20319 {
20320 if (temp7)
20321 delete arg7;
20322 }
20323 return resultobj;
20324 fail:
20325 {
20326 if (temp3)
20327 delete arg3;
20328 }
20329 {
20330 if (temp7)
20331 delete arg7;
20332 }
20333 return NULL;
20334}
20335
20336
20337static PyObject *_wrap_PyPreviewFrame__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20338 PyObject *resultobj;
20339 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20340 PyObject *arg2 = (PyObject *) 0 ;
20341 PyObject *arg3 = (PyObject *) 0 ;
20342 PyObject * obj0 = 0 ;
20343 PyObject * obj1 = 0 ;
20344 PyObject * obj2 = 0 ;
20345 char *kwnames[] = {
20346 (char *) "self",(char *) "self",(char *) "_class", NULL
20347 };
20348
20349 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20350 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20351 arg2 = obj1;
20352 arg3 = obj2;
20353 {
20354 PyThreadState* __tstate = wxPyBeginAllowThreads();
20355 (arg1)->_setCallbackInfo(arg2,arg3);
20356
20357 wxPyEndAllowThreads(__tstate);
20358 if (PyErr_Occurred()) SWIG_fail;
20359 }
20360 Py_INCREF(Py_None); resultobj = Py_None;
20361 return resultobj;
20362 fail:
20363 return NULL;
20364}
20365
20366
20367static PyObject *_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20368 PyObject *resultobj;
20369 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20370 wxPreviewCanvas *arg2 = (wxPreviewCanvas *) 0 ;
20371 PyObject * obj0 = 0 ;
20372 PyObject * obj1 = 0 ;
20373 char *kwnames[] = {
20374 (char *) "self",(char *) "canvas", NULL
20375 };
20376
20377 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames,&obj0,&obj1)) goto fail;
20378 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20379 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewCanvas,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20380 {
20381 PyThreadState* __tstate = wxPyBeginAllowThreads();
20382 (arg1)->SetPreviewCanvas(arg2);
20383
20384 wxPyEndAllowThreads(__tstate);
20385 if (PyErr_Occurred()) SWIG_fail;
20386 }
20387 Py_INCREF(Py_None); resultobj = Py_None;
20388 return resultobj;
20389 fail:
20390 return NULL;
20391}
20392
20393
20394static PyObject *_wrap_PyPreviewFrame_SetControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20395 PyObject *resultobj;
20396 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20397 wxPreviewControlBar *arg2 = (wxPreviewControlBar *) 0 ;
20398 PyObject * obj0 = 0 ;
20399 PyObject * obj1 = 0 ;
20400 char *kwnames[] = {
20401 (char *) "self",(char *) "bar", NULL
20402 };
20403
20404 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames,&obj0,&obj1)) goto fail;
20405 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20406 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20407 {
20408 PyThreadState* __tstate = wxPyBeginAllowThreads();
20409 (arg1)->SetControlBar(arg2);
20410
20411 wxPyEndAllowThreads(__tstate);
20412 if (PyErr_Occurred()) SWIG_fail;
20413 }
20414 Py_INCREF(Py_None); resultobj = Py_None;
20415 return resultobj;
20416 fail:
20417 return NULL;
20418}
20419
20420
20421static PyObject *_wrap_PyPreviewFrame_base_Initialize(PyObject *self, PyObject *args, PyObject *kwargs) {
20422 PyObject *resultobj;
20423 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20424 PyObject * obj0 = 0 ;
20425 char *kwnames[] = {
20426 (char *) "self", NULL
20427 };
20428
20429 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_Initialize",kwnames,&obj0)) goto fail;
20430 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20431 {
20432 PyThreadState* __tstate = wxPyBeginAllowThreads();
20433 (arg1)->base_Initialize();
20434
20435 wxPyEndAllowThreads(__tstate);
20436 if (PyErr_Occurred()) SWIG_fail;
20437 }
20438 Py_INCREF(Py_None); resultobj = Py_None;
20439 return resultobj;
20440 fail:
20441 return NULL;
20442}
20443
20444
20445static PyObject *_wrap_PyPreviewFrame_base_CreateCanvas(PyObject *self, PyObject *args, PyObject *kwargs) {
20446 PyObject *resultobj;
20447 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20448 PyObject * obj0 = 0 ;
20449 char *kwnames[] = {
20450 (char *) "self", NULL
20451 };
20452
20453 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateCanvas",kwnames,&obj0)) goto fail;
20454 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20455 {
20456 PyThreadState* __tstate = wxPyBeginAllowThreads();
20457 (arg1)->base_CreateCanvas();
20458
20459 wxPyEndAllowThreads(__tstate);
20460 if (PyErr_Occurred()) SWIG_fail;
20461 }
20462 Py_INCREF(Py_None); resultobj = Py_None;
20463 return resultobj;
20464 fail:
20465 return NULL;
20466}
20467
20468
20469static PyObject *_wrap_PyPreviewFrame_base_CreateControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20470 PyObject *resultobj;
20471 wxPyPreviewFrame *arg1 = (wxPyPreviewFrame *) 0 ;
20472 PyObject * obj0 = 0 ;
20473 char *kwnames[] = {
20474 (char *) "self", NULL
20475 };
20476
20477 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewFrame_base_CreateControlBar",kwnames,&obj0)) goto fail;
20478 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewFrame,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20479 {
20480 PyThreadState* __tstate = wxPyBeginAllowThreads();
20481 (arg1)->base_CreateControlBar();
20482
20483 wxPyEndAllowThreads(__tstate);
20484 if (PyErr_Occurred()) SWIG_fail;
20485 }
20486 Py_INCREF(Py_None); resultobj = Py_None;
20487 return resultobj;
20488 fail:
20489 return NULL;
20490}
20491
20492
20493static PyObject * PyPreviewFrame_swigregister(PyObject *self, PyObject *args) {
20494 PyObject *obj;
20495 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20496 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewFrame, obj);
20497 Py_INCREF(obj);
20498 return Py_BuildValue((char *)"");
20499}
20500static PyObject *_wrap_new_PyPreviewControlBar(PyObject *self, PyObject *args, PyObject *kwargs) {
20501 PyObject *resultobj;
20502 wxPrintPreview *arg1 = (wxPrintPreview *) 0 ;
20503 long arg2 ;
20504 wxWindow *arg3 = (wxWindow *) 0 ;
20505 wxPoint const &arg4_defvalue = wxDefaultPosition ;
20506 wxPoint *arg4 = (wxPoint *) &arg4_defvalue ;
20507 wxSize const &arg5_defvalue = wxDefaultSize ;
20508 wxSize *arg5 = (wxSize *) &arg5_defvalue ;
20509 long arg6 = (long) 0 ;
20510 wxString const &arg7_defvalue = wxPyPanelNameStr ;
20511 wxString *arg7 = (wxString *) &arg7_defvalue ;
20512 wxPyPreviewControlBar *result;
20513 wxPoint temp4 ;
20514 wxSize temp5 ;
423f194a 20515 bool temp7 = False ;
d14a1e28
RD
20516 PyObject * obj0 = 0 ;
20517 PyObject * obj2 = 0 ;
20518 PyObject * obj3 = 0 ;
20519 PyObject * obj4 = 0 ;
20520 PyObject * obj6 = 0 ;
20521 char *kwnames[] = {
20522 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20523 };
20524
20525 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OlO|OOlO:new_PyPreviewControlBar",kwnames,&obj0,&arg2,&obj2,&obj3,&obj4,&arg6,&obj6)) goto fail;
20526 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20527 if ((SWIG_ConvertPtr(obj2,(void **) &arg3, SWIGTYPE_p_wxWindow,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20528 if (obj3) {
20529 {
20530 arg4 = &temp4;
20531 if ( ! wxPoint_helper(obj3, &arg4)) SWIG_fail;
20532 }
20533 }
20534 if (obj4) {
20535 {
20536 arg5 = &temp5;
20537 if ( ! wxSize_helper(obj4, &arg5)) SWIG_fail;
20538 }
20539 }
20540 if (obj6) {
20541 {
20542 arg7 = wxString_in_helper(obj6);
20543 if (arg7 == NULL) SWIG_fail;
423f194a 20544 temp7 = True;
d14a1e28
RD
20545 }
20546 }
20547 {
20548 PyThreadState* __tstate = wxPyBeginAllowThreads();
20549 result = (wxPyPreviewControlBar *)new wxPyPreviewControlBar(arg1,arg2,arg3,(wxPoint const &)*arg4,(wxSize const &)*arg5,arg6,(wxString const &)*arg7);
20550
20551 wxPyEndAllowThreads(__tstate);
20552 if (PyErr_Occurred()) SWIG_fail;
20553 }
20554 resultobj = SWIG_NewPointerObj((void *) result, SWIGTYPE_p_wxPyPreviewControlBar, 1);
20555 {
20556 if (temp7)
20557 delete arg7;
20558 }
20559 return resultobj;
20560 fail:
20561 {
20562 if (temp7)
20563 delete arg7;
20564 }
20565 return NULL;
20566}
20567
20568
20569static PyObject *_wrap_PyPreviewControlBar__setCallbackInfo(PyObject *self, PyObject *args, PyObject *kwargs) {
20570 PyObject *resultobj;
20571 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20572 PyObject *arg2 = (PyObject *) 0 ;
20573 PyObject *arg3 = (PyObject *) 0 ;
20574 PyObject * obj0 = 0 ;
20575 PyObject * obj1 = 0 ;
20576 PyObject * obj2 = 0 ;
20577 char *kwnames[] = {
20578 (char *) "self",(char *) "self",(char *) "_class", NULL
20579 };
20580
20581 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames,&obj0,&obj1,&obj2)) goto fail;
20582 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20583 arg2 = obj1;
20584 arg3 = obj2;
20585 {
20586 PyThreadState* __tstate = wxPyBeginAllowThreads();
20587 (arg1)->_setCallbackInfo(arg2,arg3);
20588
20589 wxPyEndAllowThreads(__tstate);
20590 if (PyErr_Occurred()) SWIG_fail;
20591 }
20592 Py_INCREF(Py_None); resultobj = Py_None;
20593 return resultobj;
20594 fail:
20595 return NULL;
20596}
20597
20598
20599static PyObject *_wrap_PyPreviewControlBar_SetPrintPreview(PyObject *self, PyObject *args, PyObject *kwargs) {
20600 PyObject *resultobj;
20601 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20602 wxPrintPreview *arg2 = (wxPrintPreview *) 0 ;
20603 PyObject * obj0 = 0 ;
20604 PyObject * obj1 = 0 ;
20605 char *kwnames[] = {
20606 (char *) "self",(char *) "preview", NULL
20607 };
20608
20609 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames,&obj0,&obj1)) goto fail;
20610 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20611 if ((SWIG_ConvertPtr(obj1,(void **) &arg2, SWIGTYPE_p_wxPrintPreview,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20612 {
20613 PyThreadState* __tstate = wxPyBeginAllowThreads();
20614 (arg1)->SetPrintPreview(arg2);
20615
20616 wxPyEndAllowThreads(__tstate);
20617 if (PyErr_Occurred()) SWIG_fail;
20618 }
20619 Py_INCREF(Py_None); resultobj = Py_None;
20620 return resultobj;
20621 fail:
20622 return NULL;
20623}
20624
20625
20626static PyObject *_wrap_PyPreviewControlBar_base_CreateButtons(PyObject *self, PyObject *args, PyObject *kwargs) {
20627 PyObject *resultobj;
20628 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20629 PyObject * obj0 = 0 ;
20630 char *kwnames[] = {
20631 (char *) "self", NULL
20632 };
20633
20634 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"O:PyPreviewControlBar_base_CreateButtons",kwnames,&obj0)) goto fail;
20635 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20636 {
20637 PyThreadState* __tstate = wxPyBeginAllowThreads();
20638 (arg1)->base_CreateButtons();
20639
20640 wxPyEndAllowThreads(__tstate);
20641 if (PyErr_Occurred()) SWIG_fail;
20642 }
20643 Py_INCREF(Py_None); resultobj = Py_None;
20644 return resultobj;
20645 fail:
20646 return NULL;
20647}
20648
20649
20650static PyObject *_wrap_PyPreviewControlBar_base_SetZoomControl(PyObject *self, PyObject *args, PyObject *kwargs) {
20651 PyObject *resultobj;
20652 wxPyPreviewControlBar *arg1 = (wxPyPreviewControlBar *) 0 ;
20653 int arg2 ;
20654 PyObject * obj0 = 0 ;
20655 char *kwnames[] = {
20656 (char *) "self",(char *) "zoom", NULL
20657 };
20658
20659 if(!PyArg_ParseTupleAndKeywords(args,kwargs,(char *)"Oi:PyPreviewControlBar_base_SetZoomControl",kwnames,&obj0,&arg2)) goto fail;
20660 if ((SWIG_ConvertPtr(obj0,(void **) &arg1, SWIGTYPE_p_wxPyPreviewControlBar,SWIG_POINTER_EXCEPTION | 0 )) == -1) SWIG_fail;
20661 {
20662 PyThreadState* __tstate = wxPyBeginAllowThreads();
20663 (arg1)->base_SetZoomControl(arg2);
20664
20665 wxPyEndAllowThreads(__tstate);
20666 if (PyErr_Occurred()) SWIG_fail;
20667 }
20668 Py_INCREF(Py_None); resultobj = Py_None;
20669 return resultobj;
20670 fail:
20671 return NULL;
20672}
20673
20674
20675static PyObject * PyPreviewControlBar_swigregister(PyObject *self, PyObject *args) {
20676 PyObject *obj;
20677 if (!PyArg_ParseTuple(args,(char*)"O", &obj)) return NULL;
20678 SWIG_TypeClientData(SWIGTYPE_p_wxPyPreviewControlBar, obj);
20679 Py_INCREF(obj);
20680 return Py_BuildValue((char *)"");
20681}
20682static PyMethodDef SwigMethods[] = {
20683 { (char *)"new_Panel", (PyCFunction) _wrap_new_Panel, METH_VARARGS | METH_KEYWORDS },
20684 { (char *)"new_PrePanel", (PyCFunction) _wrap_new_PrePanel, METH_VARARGS | METH_KEYWORDS },
20685 { (char *)"Panel_Create", (PyCFunction) _wrap_Panel_Create, METH_VARARGS | METH_KEYWORDS },
20686 { (char *)"Panel_InitDialog", (PyCFunction) _wrap_Panel_InitDialog, METH_VARARGS | METH_KEYWORDS },
20687 { (char *)"Panel_swigregister", Panel_swigregister, METH_VARARGS },
20688 { (char *)"new_ScrolledWindow", (PyCFunction) _wrap_new_ScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20689 { (char *)"new_PreScrolledWindow", (PyCFunction) _wrap_new_PreScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20690 { (char *)"ScrolledWindow_Create", (PyCFunction) _wrap_ScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20691 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction) _wrap_ScrolledWindow_SetScrollbars, METH_VARARGS | METH_KEYWORDS },
20692 { (char *)"ScrolledWindow_Scroll", (PyCFunction) _wrap_ScrolledWindow_Scroll, METH_VARARGS | METH_KEYWORDS },
20693 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_GetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20694 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction) _wrap_ScrolledWindow_SetScrollPageSize, METH_VARARGS | METH_KEYWORDS },
20695 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction) _wrap_ScrolledWindow_SetScrollRate, METH_VARARGS | METH_KEYWORDS },
20696 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction) _wrap_ScrolledWindow_GetScrollPixelsPerUnit, METH_VARARGS | METH_KEYWORDS },
20697 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction) _wrap_ScrolledWindow_EnableScrolling, METH_VARARGS | METH_KEYWORDS },
20698 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction) _wrap_ScrolledWindow_GetViewStart, METH_VARARGS | METH_KEYWORDS },
20699 { (char *)"ScrolledWindow_SetScale", (PyCFunction) _wrap_ScrolledWindow_SetScale, METH_VARARGS | METH_KEYWORDS },
20700 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction) _wrap_ScrolledWindow_GetScaleX, METH_VARARGS | METH_KEYWORDS },
20701 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction) _wrap_ScrolledWindow_GetScaleY, METH_VARARGS | METH_KEYWORDS },
20702 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition, METH_VARARGS },
20703 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition, METH_VARARGS },
20704 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction) _wrap_ScrolledWindow_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
20705 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction) _wrap_ScrolledWindow_CalcScrollInc, METH_VARARGS | METH_KEYWORDS },
20706 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_SetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20707 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction) _wrap_ScrolledWindow_GetTargetWindow, METH_VARARGS | METH_KEYWORDS },
20708 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction) _wrap_ScrolledWindow_SetTargetRect, METH_VARARGS | METH_KEYWORDS },
20709 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction) _wrap_ScrolledWindow_GetTargetRect, METH_VARARGS | METH_KEYWORDS },
20710 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister, METH_VARARGS },
d14a1e28
RD
20711 { (char *)"TopLevelWindow_Maximize", (PyCFunction) _wrap_TopLevelWindow_Maximize, METH_VARARGS | METH_KEYWORDS },
20712 { (char *)"TopLevelWindow_Restore", (PyCFunction) _wrap_TopLevelWindow_Restore, METH_VARARGS | METH_KEYWORDS },
20713 { (char *)"TopLevelWindow_Iconize", (PyCFunction) _wrap_TopLevelWindow_Iconize, METH_VARARGS | METH_KEYWORDS },
20714 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction) _wrap_TopLevelWindow_IsMaximized, METH_VARARGS | METH_KEYWORDS },
20715 { (char *)"TopLevelWindow_IsIconized", (PyCFunction) _wrap_TopLevelWindow_IsIconized, METH_VARARGS | METH_KEYWORDS },
20716 { (char *)"TopLevelWindow_GetIcon", (PyCFunction) _wrap_TopLevelWindow_GetIcon, METH_VARARGS | METH_KEYWORDS },
20717 { (char *)"TopLevelWindow_SetIcon", (PyCFunction) _wrap_TopLevelWindow_SetIcon, METH_VARARGS | METH_KEYWORDS },
20718 { (char *)"TopLevelWindow_SetIcons", (PyCFunction) _wrap_TopLevelWindow_SetIcons, METH_VARARGS | METH_KEYWORDS },
20719 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction) _wrap_TopLevelWindow_ShowFullScreen, METH_VARARGS | METH_KEYWORDS },
20720 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction) _wrap_TopLevelWindow_IsFullScreen, METH_VARARGS | METH_KEYWORDS },
20721 { (char *)"TopLevelWindow_SetTitle", (PyCFunction) _wrap_TopLevelWindow_SetTitle, METH_VARARGS | METH_KEYWORDS },
20722 { (char *)"TopLevelWindow_GetTitle", (PyCFunction) _wrap_TopLevelWindow_GetTitle, METH_VARARGS | METH_KEYWORDS },
20723 { (char *)"TopLevelWindow_SetShape", (PyCFunction) _wrap_TopLevelWindow_SetShape, METH_VARARGS | METH_KEYWORDS },
20724 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister, METH_VARARGS },
20725 { (char *)"new_Frame", (PyCFunction) _wrap_new_Frame, METH_VARARGS | METH_KEYWORDS },
20726 { (char *)"new_PreFrame", (PyCFunction) _wrap_new_PreFrame, METH_VARARGS | METH_KEYWORDS },
20727 { (char *)"Frame_Create", (PyCFunction) _wrap_Frame_Create, METH_VARARGS | METH_KEYWORDS },
20728 { (char *)"Frame_GetClientAreaOrigin", (PyCFunction) _wrap_Frame_GetClientAreaOrigin, METH_VARARGS | METH_KEYWORDS },
20729 { (char *)"Frame_SendSizeEvent", (PyCFunction) _wrap_Frame_SendSizeEvent, METH_VARARGS | METH_KEYWORDS },
20730 { (char *)"Frame_SetMenuBar", (PyCFunction) _wrap_Frame_SetMenuBar, METH_VARARGS | METH_KEYWORDS },
20731 { (char *)"Frame_GetMenuBar", (PyCFunction) _wrap_Frame_GetMenuBar, METH_VARARGS | METH_KEYWORDS },
20732 { (char *)"Frame_ProcessCommand", (PyCFunction) _wrap_Frame_ProcessCommand, METH_VARARGS | METH_KEYWORDS },
20733 { (char *)"Frame_CreateStatusBar", (PyCFunction) _wrap_Frame_CreateStatusBar, METH_VARARGS | METH_KEYWORDS },
20734 { (char *)"Frame_GetStatusBar", (PyCFunction) _wrap_Frame_GetStatusBar, METH_VARARGS | METH_KEYWORDS },
20735 { (char *)"Frame_SetStatusBar", (PyCFunction) _wrap_Frame_SetStatusBar, METH_VARARGS | METH_KEYWORDS },
20736 { (char *)"Frame_SetStatusText", (PyCFunction) _wrap_Frame_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20737 { (char *)"Frame_SetStatusWidths", (PyCFunction) _wrap_Frame_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20738 { (char *)"Frame_PushStatusText", (PyCFunction) _wrap_Frame_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20739 { (char *)"Frame_PopStatusText", (PyCFunction) _wrap_Frame_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20740 { (char *)"Frame_SetStatusBarPane", (PyCFunction) _wrap_Frame_SetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20741 { (char *)"Frame_GetStatusBarPane", (PyCFunction) _wrap_Frame_GetStatusBarPane, METH_VARARGS | METH_KEYWORDS },
20742 { (char *)"Frame_CreateToolBar", (PyCFunction) _wrap_Frame_CreateToolBar, METH_VARARGS | METH_KEYWORDS },
20743 { (char *)"Frame_GetToolBar", (PyCFunction) _wrap_Frame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
20744 { (char *)"Frame_SetToolBar", (PyCFunction) _wrap_Frame_SetToolBar, METH_VARARGS | METH_KEYWORDS },
20745 { (char *)"Frame_DoGiveHelp", (PyCFunction) _wrap_Frame_DoGiveHelp, METH_VARARGS | METH_KEYWORDS },
20746 { (char *)"Frame_DoMenuUpdates", (PyCFunction) _wrap_Frame_DoMenuUpdates, METH_VARARGS | METH_KEYWORDS },
20747 { (char *)"Frame_swigregister", Frame_swigregister, METH_VARARGS },
20748 { (char *)"new_Dialog", (PyCFunction) _wrap_new_Dialog, METH_VARARGS | METH_KEYWORDS },
20749 { (char *)"new_PreDialog", (PyCFunction) _wrap_new_PreDialog, METH_VARARGS | METH_KEYWORDS },
20750 { (char *)"Dialog_Create", (PyCFunction) _wrap_Dialog_Create, METH_VARARGS | METH_KEYWORDS },
20751 { (char *)"Dialog_SetReturnCode", (PyCFunction) _wrap_Dialog_SetReturnCode, METH_VARARGS | METH_KEYWORDS },
20752 { (char *)"Dialog_GetReturnCode", (PyCFunction) _wrap_Dialog_GetReturnCode, METH_VARARGS | METH_KEYWORDS },
20753 { (char *)"Dialog_CreateTextSizer", (PyCFunction) _wrap_Dialog_CreateTextSizer, METH_VARARGS | METH_KEYWORDS },
20754 { (char *)"Dialog_CreateButtonSizer", (PyCFunction) _wrap_Dialog_CreateButtonSizer, METH_VARARGS | METH_KEYWORDS },
20755 { (char *)"Dialog_SetModal", (PyCFunction) _wrap_Dialog_SetModal, METH_VARARGS | METH_KEYWORDS },
20756 { (char *)"Dialog_IsModal", (PyCFunction) _wrap_Dialog_IsModal, METH_VARARGS | METH_KEYWORDS },
20757 { (char *)"Dialog_ShowModal", (PyCFunction) _wrap_Dialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20758 { (char *)"Dialog_EndModal", (PyCFunction) _wrap_Dialog_EndModal, METH_VARARGS | METH_KEYWORDS },
20759 { (char *)"Dialog_IsModalShowing", (PyCFunction) _wrap_Dialog_IsModalShowing, METH_VARARGS | METH_KEYWORDS },
20760 { (char *)"Dialog_swigregister", Dialog_swigregister, METH_VARARGS },
20761 { (char *)"new_MiniFrame", (PyCFunction) _wrap_new_MiniFrame, METH_VARARGS | METH_KEYWORDS },
20762 { (char *)"new_PreMiniFrame", (PyCFunction) _wrap_new_PreMiniFrame, METH_VARARGS | METH_KEYWORDS },
20763 { (char *)"MiniFrame_Create", (PyCFunction) _wrap_MiniFrame_Create, METH_VARARGS | METH_KEYWORDS },
20764 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister, METH_VARARGS },
20765 { (char *)"new_SplashScreenWindow", (PyCFunction) _wrap_new_SplashScreenWindow, METH_VARARGS | METH_KEYWORDS },
20766 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction) _wrap_SplashScreenWindow_SetBitmap, METH_VARARGS | METH_KEYWORDS },
20767 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction) _wrap_SplashScreenWindow_GetBitmap, METH_VARARGS | METH_KEYWORDS },
20768 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister, METH_VARARGS },
20769 { (char *)"new_SplashScreen", (PyCFunction) _wrap_new_SplashScreen, METH_VARARGS | METH_KEYWORDS },
20770 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction) _wrap_SplashScreen_GetSplashStyle, METH_VARARGS | METH_KEYWORDS },
20771 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction) _wrap_SplashScreen_GetSplashWindow, METH_VARARGS | METH_KEYWORDS },
20772 { (char *)"SplashScreen_GetTimeout", (PyCFunction) _wrap_SplashScreen_GetTimeout, METH_VARARGS | METH_KEYWORDS },
20773 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister, METH_VARARGS },
20774 { (char *)"new_StatusBar", (PyCFunction) _wrap_new_StatusBar, METH_VARARGS | METH_KEYWORDS },
20775 { (char *)"new_PreStatusBar", (PyCFunction) _wrap_new_PreStatusBar, METH_VARARGS | METH_KEYWORDS },
20776 { (char *)"StatusBar_Create", (PyCFunction) _wrap_StatusBar_Create, METH_VARARGS | METH_KEYWORDS },
20777 { (char *)"StatusBar_SetFieldsCount", (PyCFunction) _wrap_StatusBar_SetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20778 { (char *)"StatusBar_GetFieldsCount", (PyCFunction) _wrap_StatusBar_GetFieldsCount, METH_VARARGS | METH_KEYWORDS },
20779 { (char *)"StatusBar_SetStatusText", (PyCFunction) _wrap_StatusBar_SetStatusText, METH_VARARGS | METH_KEYWORDS },
20780 { (char *)"StatusBar_GetStatusText", (PyCFunction) _wrap_StatusBar_GetStatusText, METH_VARARGS | METH_KEYWORDS },
20781 { (char *)"StatusBar_PushStatusText", (PyCFunction) _wrap_StatusBar_PushStatusText, METH_VARARGS | METH_KEYWORDS },
20782 { (char *)"StatusBar_PopStatusText", (PyCFunction) _wrap_StatusBar_PopStatusText, METH_VARARGS | METH_KEYWORDS },
20783 { (char *)"StatusBar_SetStatusWidths", (PyCFunction) _wrap_StatusBar_SetStatusWidths, METH_VARARGS | METH_KEYWORDS },
20784 { (char *)"StatusBar_GetFieldRect", (PyCFunction) _wrap_StatusBar_GetFieldRect, METH_VARARGS | METH_KEYWORDS },
20785 { (char *)"StatusBar_SetMinHeight", (PyCFunction) _wrap_StatusBar_SetMinHeight, METH_VARARGS | METH_KEYWORDS },
20786 { (char *)"StatusBar_GetBorderX", (PyCFunction) _wrap_StatusBar_GetBorderX, METH_VARARGS | METH_KEYWORDS },
20787 { (char *)"StatusBar_GetBorderY", (PyCFunction) _wrap_StatusBar_GetBorderY, METH_VARARGS | METH_KEYWORDS },
20788 { (char *)"StatusBar_swigregister", StatusBar_swigregister, METH_VARARGS },
20789 { (char *)"new_SplitterWindow", (PyCFunction) _wrap_new_SplitterWindow, METH_VARARGS | METH_KEYWORDS },
20790 { (char *)"new_PreSplitterWindow", (PyCFunction) _wrap_new_PreSplitterWindow, METH_VARARGS | METH_KEYWORDS },
20791 { (char *)"SplitterWindow_Create", (PyCFunction) _wrap_SplitterWindow_Create, METH_VARARGS | METH_KEYWORDS },
20792 { (char *)"SplitterWindow_GetWindow1", (PyCFunction) _wrap_SplitterWindow_GetWindow1, METH_VARARGS | METH_KEYWORDS },
20793 { (char *)"SplitterWindow_GetWindow2", (PyCFunction) _wrap_SplitterWindow_GetWindow2, METH_VARARGS | METH_KEYWORDS },
20794 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction) _wrap_SplitterWindow_SetSplitMode, METH_VARARGS | METH_KEYWORDS },
20795 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction) _wrap_SplitterWindow_GetSplitMode, METH_VARARGS | METH_KEYWORDS },
20796 { (char *)"SplitterWindow_Initialize", (PyCFunction) _wrap_SplitterWindow_Initialize, METH_VARARGS | METH_KEYWORDS },
20797 { (char *)"SplitterWindow_SplitVertically", (PyCFunction) _wrap_SplitterWindow_SplitVertically, METH_VARARGS | METH_KEYWORDS },
20798 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction) _wrap_SplitterWindow_SplitHorizontally, METH_VARARGS | METH_KEYWORDS },
20799 { (char *)"SplitterWindow_Unsplit", (PyCFunction) _wrap_SplitterWindow_Unsplit, METH_VARARGS | METH_KEYWORDS },
20800 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction) _wrap_SplitterWindow_ReplaceWindow, METH_VARARGS | METH_KEYWORDS },
20801 { (char *)"SplitterWindow_IsSplit", (PyCFunction) _wrap_SplitterWindow_IsSplit, METH_VARARGS | METH_KEYWORDS },
20802 { (char *)"SplitterWindow_SetSashSize", (PyCFunction) _wrap_SplitterWindow_SetSashSize, METH_VARARGS | METH_KEYWORDS },
20803 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction) _wrap_SplitterWindow_SetBorderSize, METH_VARARGS | METH_KEYWORDS },
20804 { (char *)"SplitterWindow_GetSashSize", (PyCFunction) _wrap_SplitterWindow_GetSashSize, METH_VARARGS | METH_KEYWORDS },
20805 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction) _wrap_SplitterWindow_GetBorderSize, METH_VARARGS | METH_KEYWORDS },
20806 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction) _wrap_SplitterWindow_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20807 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction) _wrap_SplitterWindow_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20808 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_SetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20809 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction) _wrap_SplitterWindow_GetMinimumPaneSize, METH_VARARGS | METH_KEYWORDS },
20810 { (char *)"SplitterWindow_SashHitTest", (PyCFunction) _wrap_SplitterWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20811 { (char *)"SplitterWindow_SizeWindows", (PyCFunction) _wrap_SplitterWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20812 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_SetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20813 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction) _wrap_SplitterWindow_GetNeedUpdating, METH_VARARGS | METH_KEYWORDS },
20814 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister, METH_VARARGS },
20815 { (char *)"new_SplitterEvent", (PyCFunction) _wrap_new_SplitterEvent, METH_VARARGS | METH_KEYWORDS },
20816 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction) _wrap_SplitterEvent_SetSashPosition, METH_VARARGS | METH_KEYWORDS },
20817 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction) _wrap_SplitterEvent_GetSashPosition, METH_VARARGS | METH_KEYWORDS },
20818 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction) _wrap_SplitterEvent_GetWindowBeingRemoved, METH_VARARGS | METH_KEYWORDS },
20819 { (char *)"SplitterEvent_GetX", (PyCFunction) _wrap_SplitterEvent_GetX, METH_VARARGS | METH_KEYWORDS },
20820 { (char *)"SplitterEvent_GetY", (PyCFunction) _wrap_SplitterEvent_GetY, METH_VARARGS | METH_KEYWORDS },
20821 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister, METH_VARARGS },
20822 { (char *)"new_SashWindow", (PyCFunction) _wrap_new_SashWindow, METH_VARARGS | METH_KEYWORDS },
20823 { (char *)"new_PreSashWindow", (PyCFunction) _wrap_new_PreSashWindow, METH_VARARGS | METH_KEYWORDS },
20824 { (char *)"SashWindow_Create", (PyCFunction) _wrap_SashWindow_Create, METH_VARARGS | METH_KEYWORDS },
20825 { (char *)"SashWindow_SetSashVisible", (PyCFunction) _wrap_SashWindow_SetSashVisible, METH_VARARGS | METH_KEYWORDS },
20826 { (char *)"SashWindow_GetSashVisible", (PyCFunction) _wrap_SashWindow_GetSashVisible, METH_VARARGS | METH_KEYWORDS },
20827 { (char *)"SashWindow_SetSashBorder", (PyCFunction) _wrap_SashWindow_SetSashBorder, METH_VARARGS | METH_KEYWORDS },
20828 { (char *)"SashWindow_HasBorder", (PyCFunction) _wrap_SashWindow_HasBorder, METH_VARARGS | METH_KEYWORDS },
20829 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction) _wrap_SashWindow_GetEdgeMargin, METH_VARARGS | METH_KEYWORDS },
20830 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_SetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20831 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction) _wrap_SashWindow_GetDefaultBorderSize, METH_VARARGS | METH_KEYWORDS },
20832 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction) _wrap_SashWindow_SetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20833 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction) _wrap_SashWindow_GetExtraBorderSize, METH_VARARGS | METH_KEYWORDS },
20834 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction) _wrap_SashWindow_SetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20835 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction) _wrap_SashWindow_SetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20836 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction) _wrap_SashWindow_GetMinimumSizeX, METH_VARARGS | METH_KEYWORDS },
20837 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction) _wrap_SashWindow_GetMinimumSizeY, METH_VARARGS | METH_KEYWORDS },
20838 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction) _wrap_SashWindow_SetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20839 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction) _wrap_SashWindow_SetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20840 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction) _wrap_SashWindow_GetMaximumSizeX, METH_VARARGS | METH_KEYWORDS },
20841 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction) _wrap_SashWindow_GetMaximumSizeY, METH_VARARGS | METH_KEYWORDS },
20842 { (char *)"SashWindow_SashHitTest", (PyCFunction) _wrap_SashWindow_SashHitTest, METH_VARARGS | METH_KEYWORDS },
20843 { (char *)"SashWindow_SizeWindows", (PyCFunction) _wrap_SashWindow_SizeWindows, METH_VARARGS | METH_KEYWORDS },
20844 { (char *)"SashWindow_swigregister", SashWindow_swigregister, METH_VARARGS },
20845 { (char *)"new_SashEvent", (PyCFunction) _wrap_new_SashEvent, METH_VARARGS | METH_KEYWORDS },
20846 { (char *)"SashEvent_SetEdge", (PyCFunction) _wrap_SashEvent_SetEdge, METH_VARARGS | METH_KEYWORDS },
20847 { (char *)"SashEvent_GetEdge", (PyCFunction) _wrap_SashEvent_GetEdge, METH_VARARGS | METH_KEYWORDS },
20848 { (char *)"SashEvent_SetDragRect", (PyCFunction) _wrap_SashEvent_SetDragRect, METH_VARARGS | METH_KEYWORDS },
20849 { (char *)"SashEvent_GetDragRect", (PyCFunction) _wrap_SashEvent_GetDragRect, METH_VARARGS | METH_KEYWORDS },
20850 { (char *)"SashEvent_SetDragStatus", (PyCFunction) _wrap_SashEvent_SetDragStatus, METH_VARARGS | METH_KEYWORDS },
20851 { (char *)"SashEvent_GetDragStatus", (PyCFunction) _wrap_SashEvent_GetDragStatus, METH_VARARGS | METH_KEYWORDS },
20852 { (char *)"SashEvent_swigregister", SashEvent_swigregister, METH_VARARGS },
20853 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction) _wrap_new_QueryLayoutInfoEvent, METH_VARARGS | METH_KEYWORDS },
20854 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20855 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetRequestedLength, METH_VARARGS | METH_KEYWORDS },
20856 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20857 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20858 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetSize, METH_VARARGS | METH_KEYWORDS },
20859 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetSize, METH_VARARGS | METH_KEYWORDS },
20860 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20861 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20862 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20863 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction) _wrap_QueryLayoutInfoEvent_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20864 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister, METH_VARARGS },
20865 { (char *)"new_CalculateLayoutEvent", (PyCFunction) _wrap_new_CalculateLayoutEvent, METH_VARARGS | METH_KEYWORDS },
20866 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
20867 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction) _wrap_CalculateLayoutEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
20868 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction) _wrap_CalculateLayoutEvent_SetRect, METH_VARARGS | METH_KEYWORDS },
20869 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction) _wrap_CalculateLayoutEvent_GetRect, METH_VARARGS | METH_KEYWORDS },
20870 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister, METH_VARARGS },
20871 { (char *)"new_SashLayoutWindow", (PyCFunction) _wrap_new_SashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20872 { (char *)"new_PreSashLayoutWindow", (PyCFunction) _wrap_new_PreSashLayoutWindow, METH_VARARGS | METH_KEYWORDS },
20873 { (char *)"SashLayoutWindow_Create", (PyCFunction) _wrap_SashLayoutWindow_Create, METH_VARARGS | METH_KEYWORDS },
20874 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction) _wrap_SashLayoutWindow_GetAlignment, METH_VARARGS | METH_KEYWORDS },
20875 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction) _wrap_SashLayoutWindow_GetOrientation, METH_VARARGS | METH_KEYWORDS },
20876 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction) _wrap_SashLayoutWindow_SetAlignment, METH_VARARGS | METH_KEYWORDS },
20877 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction) _wrap_SashLayoutWindow_SetDefaultSize, METH_VARARGS | METH_KEYWORDS },
20878 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction) _wrap_SashLayoutWindow_SetOrientation, METH_VARARGS | METH_KEYWORDS },
20879 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister, METH_VARARGS },
20880 { (char *)"new_LayoutAlgorithm", (PyCFunction) _wrap_new_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20881 { (char *)"delete_LayoutAlgorithm", (PyCFunction) _wrap_delete_LayoutAlgorithm, METH_VARARGS | METH_KEYWORDS },
20882 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutMDIFrame, METH_VARARGS | METH_KEYWORDS },
20883 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction) _wrap_LayoutAlgorithm_LayoutFrame, METH_VARARGS | METH_KEYWORDS },
20884 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction) _wrap_LayoutAlgorithm_LayoutWindow, METH_VARARGS | METH_KEYWORDS },
20885 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister, METH_VARARGS },
20886 { (char *)"new_PopupWindow", (PyCFunction) _wrap_new_PopupWindow, METH_VARARGS | METH_KEYWORDS },
20887 { (char *)"new_PrePopupWindow", (PyCFunction) _wrap_new_PrePopupWindow, METH_VARARGS | METH_KEYWORDS },
20888 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister, METH_VARARGS },
20889 { (char *)"new_PopupTransientWindow", (PyCFunction) _wrap_new_PopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20890 { (char *)"new_PrePopupTransientWindow", (PyCFunction) _wrap_new_PrePopupTransientWindow, METH_VARARGS | METH_KEYWORDS },
20891 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister, METH_VARARGS },
20892 { (char *)"new_TipWindow", (PyCFunction) _wrap_new_TipWindow, METH_VARARGS | METH_KEYWORDS },
20893 { (char *)"TipWindow_SetBoundingRect", (PyCFunction) _wrap_TipWindow_SetBoundingRect, METH_VARARGS | METH_KEYWORDS },
20894 { (char *)"TipWindow_Close", (PyCFunction) _wrap_TipWindow_Close, METH_VARARGS | METH_KEYWORDS },
20895 { (char *)"TipWindow_swigregister", TipWindow_swigregister, METH_VARARGS },
20896 { (char *)"new_VScrolledWindow", (PyCFunction) _wrap_new_VScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20897 { (char *)"new_PreVScrolledWindow", (PyCFunction) _wrap_new_PreVScrolledWindow, METH_VARARGS | METH_KEYWORDS },
20898 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction) _wrap_VScrolledWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20899 { (char *)"VScrolledWindow_Create", (PyCFunction) _wrap_VScrolledWindow_Create, METH_VARARGS | METH_KEYWORDS },
20900 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction) _wrap_VScrolledWindow_SetLineCount, METH_VARARGS | METH_KEYWORDS },
20901 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction) _wrap_VScrolledWindow_ScrollToLine, METH_VARARGS | METH_KEYWORDS },
20902 { (char *)"VScrolledWindow_ScrollLines", (PyCFunction) _wrap_VScrolledWindow_ScrollLines, METH_VARARGS | METH_KEYWORDS },
20903 { (char *)"VScrolledWindow_ScrollPages", (PyCFunction) _wrap_VScrolledWindow_ScrollPages, METH_VARARGS | METH_KEYWORDS },
20904 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction) _wrap_VScrolledWindow_RefreshLine, METH_VARARGS | METH_KEYWORDS },
20905 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction) _wrap_VScrolledWindow_RefreshLines, METH_VARARGS | METH_KEYWORDS },
20906 { (char *)"VScrolledWindow_HitTestXT", (PyCFunction) _wrap_VScrolledWindow_HitTestXT, METH_VARARGS | METH_KEYWORDS },
20907 { (char *)"VScrolledWindow_HitTest", (PyCFunction) _wrap_VScrolledWindow_HitTest, METH_VARARGS | METH_KEYWORDS },
20908 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction) _wrap_VScrolledWindow_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20909 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction) _wrap_VScrolledWindow_GetLineCount, METH_VARARGS | METH_KEYWORDS },
20910 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetFirstVisibleLine, METH_VARARGS | METH_KEYWORDS },
20911 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction) _wrap_VScrolledWindow_GetLastVisibleLine, METH_VARARGS | METH_KEYWORDS },
20912 { (char *)"VScrolledWindow_IsVisible", (PyCFunction) _wrap_VScrolledWindow_IsVisible, METH_VARARGS | METH_KEYWORDS },
20913 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister, METH_VARARGS },
20914 { (char *)"new_VListBox", (PyCFunction) _wrap_new_VListBox, METH_VARARGS | METH_KEYWORDS },
20915 { (char *)"new_PreVListBox", (PyCFunction) _wrap_new_PreVListBox, METH_VARARGS | METH_KEYWORDS },
20916 { (char *)"VListBox__setCallbackInfo", (PyCFunction) _wrap_VListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20917 { (char *)"VListBox_Create", (PyCFunction) _wrap_VListBox_Create, METH_VARARGS | METH_KEYWORDS },
20918 { (char *)"VListBox_GetItemCount", (PyCFunction) _wrap_VListBox_GetItemCount, METH_VARARGS | METH_KEYWORDS },
20919 { (char *)"VListBox_HasMultipleSelection", (PyCFunction) _wrap_VListBox_HasMultipleSelection, METH_VARARGS | METH_KEYWORDS },
20920 { (char *)"VListBox_GetSelection", (PyCFunction) _wrap_VListBox_GetSelection, METH_VARARGS | METH_KEYWORDS },
20921 { (char *)"VListBox_IsCurrent", (PyCFunction) _wrap_VListBox_IsCurrent, METH_VARARGS | METH_KEYWORDS },
20922 { (char *)"VListBox_IsSelected", (PyCFunction) _wrap_VListBox_IsSelected, METH_VARARGS | METH_KEYWORDS },
20923 { (char *)"VListBox_GetSelectedCount", (PyCFunction) _wrap_VListBox_GetSelectedCount, METH_VARARGS | METH_KEYWORDS },
20924 { (char *)"VListBox_GetFirstSelected", (PyCFunction) _wrap_VListBox_GetFirstSelected, METH_VARARGS | METH_KEYWORDS },
20925 { (char *)"VListBox_GetNextSelected", (PyCFunction) _wrap_VListBox_GetNextSelected, METH_VARARGS | METH_KEYWORDS },
20926 { (char *)"VListBox_GetMargins", (PyCFunction) _wrap_VListBox_GetMargins, METH_VARARGS | METH_KEYWORDS },
20927 { (char *)"VListBox_GetSelectionBackground", (PyCFunction) _wrap_VListBox_GetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20928 { (char *)"VListBox_SetItemCount", (PyCFunction) _wrap_VListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20929 { (char *)"VListBox_Clear", (PyCFunction) _wrap_VListBox_Clear, METH_VARARGS | METH_KEYWORDS },
20930 { (char *)"VListBox_SetSelection", (PyCFunction) _wrap_VListBox_SetSelection, METH_VARARGS | METH_KEYWORDS },
20931 { (char *)"VListBox_Select", (PyCFunction) _wrap_VListBox_Select, METH_VARARGS | METH_KEYWORDS },
20932 { (char *)"VListBox_SelectRange", (PyCFunction) _wrap_VListBox_SelectRange, METH_VARARGS | METH_KEYWORDS },
20933 { (char *)"VListBox_Toggle", (PyCFunction) _wrap_VListBox_Toggle, METH_VARARGS | METH_KEYWORDS },
20934 { (char *)"VListBox_SelectAll", (PyCFunction) _wrap_VListBox_SelectAll, METH_VARARGS | METH_KEYWORDS },
20935 { (char *)"VListBox_DeselectAll", (PyCFunction) _wrap_VListBox_DeselectAll, METH_VARARGS | METH_KEYWORDS },
20936 { (char *)"VListBox_SetMargins", (PyCFunction) _wrap_VListBox_SetMargins, METH_VARARGS | METH_KEYWORDS },
20937 { (char *)"VListBox_SetMarginsXY", (PyCFunction) _wrap_VListBox_SetMarginsXY, METH_VARARGS | METH_KEYWORDS },
20938 { (char *)"VListBox_SetSelectionBackground", (PyCFunction) _wrap_VListBox_SetSelectionBackground, METH_VARARGS | METH_KEYWORDS },
20939 { (char *)"VListBox_swigregister", VListBox_swigregister, METH_VARARGS },
20940 { (char *)"new_HtmlListBox", (PyCFunction) _wrap_new_HtmlListBox, METH_VARARGS | METH_KEYWORDS },
20941 { (char *)"new_PreHtmlListBox", (PyCFunction) _wrap_new_PreHtmlListBox, METH_VARARGS | METH_KEYWORDS },
20942 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction) _wrap_HtmlListBox__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
20943 { (char *)"HtmlListBox_Create", (PyCFunction) _wrap_HtmlListBox_Create, METH_VARARGS | METH_KEYWORDS },
20944 { (char *)"HtmlListBox_RefreshAll", (PyCFunction) _wrap_HtmlListBox_RefreshAll, METH_VARARGS | METH_KEYWORDS },
20945 { (char *)"HtmlListBox_SetItemCount", (PyCFunction) _wrap_HtmlListBox_SetItemCount, METH_VARARGS | METH_KEYWORDS },
20946 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister, METH_VARARGS },
20947 { (char *)"new_TaskBarIcon", (PyCFunction) _wrap_new_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20948 { (char *)"delete_TaskBarIcon", (PyCFunction) _wrap_delete_TaskBarIcon, METH_VARARGS | METH_KEYWORDS },
20949 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister, METH_VARARGS },
20950 { (char *)"new_TaskBarIconEvent", (PyCFunction) _wrap_new_TaskBarIconEvent, METH_VARARGS | METH_KEYWORDS },
20951 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister, METH_VARARGS },
20952 { (char *)"new_ColourData", (PyCFunction) _wrap_new_ColourData, METH_VARARGS | METH_KEYWORDS },
20953 { (char *)"delete_ColourData", (PyCFunction) _wrap_delete_ColourData, METH_VARARGS | METH_KEYWORDS },
20954 { (char *)"ColourData_GetChooseFull", (PyCFunction) _wrap_ColourData_GetChooseFull, METH_VARARGS | METH_KEYWORDS },
20955 { (char *)"ColourData_GetColour", (PyCFunction) _wrap_ColourData_GetColour, METH_VARARGS | METH_KEYWORDS },
20956 { (char *)"ColourData_GetCustomColour", (PyCFunction) _wrap_ColourData_GetCustomColour, METH_VARARGS | METH_KEYWORDS },
20957 { (char *)"ColourData_SetChooseFull", (PyCFunction) _wrap_ColourData_SetChooseFull, METH_VARARGS | METH_KEYWORDS },
20958 { (char *)"ColourData_SetColour", (PyCFunction) _wrap_ColourData_SetColour, METH_VARARGS | METH_KEYWORDS },
20959 { (char *)"ColourData_SetCustomColour", (PyCFunction) _wrap_ColourData_SetCustomColour, METH_VARARGS | METH_KEYWORDS },
20960 { (char *)"ColourData_swigregister", ColourData_swigregister, METH_VARARGS },
20961 { (char *)"new_ColourDialog", (PyCFunction) _wrap_new_ColourDialog, METH_VARARGS | METH_KEYWORDS },
20962 { (char *)"ColourDialog_GetColourData", (PyCFunction) _wrap_ColourDialog_GetColourData, METH_VARARGS | METH_KEYWORDS },
20963 { (char *)"ColourDialog_ShowModal", (PyCFunction) _wrap_ColourDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20964 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister, METH_VARARGS },
20965 { (char *)"new_DirDialog", (PyCFunction) _wrap_new_DirDialog, METH_VARARGS | METH_KEYWORDS },
20966 { (char *)"DirDialog_GetPath", (PyCFunction) _wrap_DirDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20967 { (char *)"DirDialog_GetMessage", (PyCFunction) _wrap_DirDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20968 { (char *)"DirDialog_GetStyle", (PyCFunction) _wrap_DirDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20969 { (char *)"DirDialog_SetMessage", (PyCFunction) _wrap_DirDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20970 { (char *)"DirDialog_SetPath", (PyCFunction) _wrap_DirDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20971 { (char *)"DirDialog_ShowModal", (PyCFunction) _wrap_DirDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
20972 { (char *)"DirDialog_swigregister", DirDialog_swigregister, METH_VARARGS },
20973 { (char *)"new_FileDialog", (PyCFunction) _wrap_new_FileDialog, METH_VARARGS | METH_KEYWORDS },
20974 { (char *)"FileDialog_SetMessage", (PyCFunction) _wrap_FileDialog_SetMessage, METH_VARARGS | METH_KEYWORDS },
20975 { (char *)"FileDialog_SetPath", (PyCFunction) _wrap_FileDialog_SetPath, METH_VARARGS | METH_KEYWORDS },
20976 { (char *)"FileDialog_SetDirectory", (PyCFunction) _wrap_FileDialog_SetDirectory, METH_VARARGS | METH_KEYWORDS },
20977 { (char *)"FileDialog_SetFilename", (PyCFunction) _wrap_FileDialog_SetFilename, METH_VARARGS | METH_KEYWORDS },
20978 { (char *)"FileDialog_SetWildcard", (PyCFunction) _wrap_FileDialog_SetWildcard, METH_VARARGS | METH_KEYWORDS },
20979 { (char *)"FileDialog_SetStyle", (PyCFunction) _wrap_FileDialog_SetStyle, METH_VARARGS | METH_KEYWORDS },
20980 { (char *)"FileDialog_SetFilterIndex", (PyCFunction) _wrap_FileDialog_SetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20981 { (char *)"FileDialog_GetMessage", (PyCFunction) _wrap_FileDialog_GetMessage, METH_VARARGS | METH_KEYWORDS },
20982 { (char *)"FileDialog_GetPath", (PyCFunction) _wrap_FileDialog_GetPath, METH_VARARGS | METH_KEYWORDS },
20983 { (char *)"FileDialog_GetDirectory", (PyCFunction) _wrap_FileDialog_GetDirectory, METH_VARARGS | METH_KEYWORDS },
20984 { (char *)"FileDialog_GetFilename", (PyCFunction) _wrap_FileDialog_GetFilename, METH_VARARGS | METH_KEYWORDS },
20985 { (char *)"FileDialog_GetWildcard", (PyCFunction) _wrap_FileDialog_GetWildcard, METH_VARARGS | METH_KEYWORDS },
20986 { (char *)"FileDialog_GetStyle", (PyCFunction) _wrap_FileDialog_GetStyle, METH_VARARGS | METH_KEYWORDS },
20987 { (char *)"FileDialog_GetFilterIndex", (PyCFunction) _wrap_FileDialog_GetFilterIndex, METH_VARARGS | METH_KEYWORDS },
20988 { (char *)"FileDialog_GetFilenames", (PyCFunction) _wrap_FileDialog_GetFilenames, METH_VARARGS | METH_KEYWORDS },
20989 { (char *)"FileDialog_GetPaths", (PyCFunction) _wrap_FileDialog_GetPaths, METH_VARARGS | METH_KEYWORDS },
20990 { (char *)"FileDialog_swigregister", FileDialog_swigregister, METH_VARARGS },
20991 { (char *)"new_MultiChoiceDialog", (PyCFunction) _wrap_new_MultiChoiceDialog, METH_VARARGS | METH_KEYWORDS },
20992 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction) _wrap_MultiChoiceDialog_SetSelections, METH_VARARGS | METH_KEYWORDS },
20993 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction) _wrap_MultiChoiceDialog_GetSelections, METH_VARARGS | METH_KEYWORDS },
20994 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister, METH_VARARGS },
20995 { (char *)"new_SingleChoiceDialog", (PyCFunction) _wrap_new_SingleChoiceDialog, METH_VARARGS | METH_KEYWORDS },
20996 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetSelection, METH_VARARGS | METH_KEYWORDS },
20997 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction) _wrap_SingleChoiceDialog_GetStringSelection, METH_VARARGS | METH_KEYWORDS },
20998 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction) _wrap_SingleChoiceDialog_SetSelection, METH_VARARGS | METH_KEYWORDS },
20999 { (char *)"SingleChoiceDialog_ShowModal", (PyCFunction) _wrap_SingleChoiceDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21000 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister, METH_VARARGS },
21001 { (char *)"new_TextEntryDialog", (PyCFunction) _wrap_new_TextEntryDialog, METH_VARARGS | METH_KEYWORDS },
21002 { (char *)"TextEntryDialog_GetValue", (PyCFunction) _wrap_TextEntryDialog_GetValue, METH_VARARGS | METH_KEYWORDS },
21003 { (char *)"TextEntryDialog_SetValue", (PyCFunction) _wrap_TextEntryDialog_SetValue, METH_VARARGS | METH_KEYWORDS },
21004 { (char *)"TextEntryDialog_ShowModal", (PyCFunction) _wrap_TextEntryDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21005 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister, METH_VARARGS },
21006 { (char *)"new_FontData", (PyCFunction) _wrap_new_FontData, METH_VARARGS | METH_KEYWORDS },
21007 { (char *)"delete_FontData", (PyCFunction) _wrap_delete_FontData, METH_VARARGS | METH_KEYWORDS },
21008 { (char *)"FontData_EnableEffects", (PyCFunction) _wrap_FontData_EnableEffects, METH_VARARGS | METH_KEYWORDS },
21009 { (char *)"FontData_GetAllowSymbols", (PyCFunction) _wrap_FontData_GetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21010 { (char *)"FontData_GetColour", (PyCFunction) _wrap_FontData_GetColour, METH_VARARGS | METH_KEYWORDS },
21011 { (char *)"FontData_GetChosenFont", (PyCFunction) _wrap_FontData_GetChosenFont, METH_VARARGS | METH_KEYWORDS },
21012 { (char *)"FontData_GetEnableEffects", (PyCFunction) _wrap_FontData_GetEnableEffects, METH_VARARGS | METH_KEYWORDS },
21013 { (char *)"FontData_GetInitialFont", (PyCFunction) _wrap_FontData_GetInitialFont, METH_VARARGS | METH_KEYWORDS },
21014 { (char *)"FontData_GetShowHelp", (PyCFunction) _wrap_FontData_GetShowHelp, METH_VARARGS | METH_KEYWORDS },
21015 { (char *)"FontData_SetAllowSymbols", (PyCFunction) _wrap_FontData_SetAllowSymbols, METH_VARARGS | METH_KEYWORDS },
21016 { (char *)"FontData_SetChosenFont", (PyCFunction) _wrap_FontData_SetChosenFont, METH_VARARGS | METH_KEYWORDS },
21017 { (char *)"FontData_SetColour", (PyCFunction) _wrap_FontData_SetColour, METH_VARARGS | METH_KEYWORDS },
21018 { (char *)"FontData_SetInitialFont", (PyCFunction) _wrap_FontData_SetInitialFont, METH_VARARGS | METH_KEYWORDS },
21019 { (char *)"FontData_SetRange", (PyCFunction) _wrap_FontData_SetRange, METH_VARARGS | METH_KEYWORDS },
21020 { (char *)"FontData_SetShowHelp", (PyCFunction) _wrap_FontData_SetShowHelp, METH_VARARGS | METH_KEYWORDS },
21021 { (char *)"FontData_swigregister", FontData_swigregister, METH_VARARGS },
21022 { (char *)"new_FontDialog", (PyCFunction) _wrap_new_FontDialog, METH_VARARGS | METH_KEYWORDS },
21023 { (char *)"FontDialog_GetFontData", (PyCFunction) _wrap_FontDialog_GetFontData, METH_VARARGS | METH_KEYWORDS },
21024 { (char *)"FontDialog_ShowModal", (PyCFunction) _wrap_FontDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21025 { (char *)"FontDialog_swigregister", FontDialog_swigregister, METH_VARARGS },
21026 { (char *)"new_MessageDialog", (PyCFunction) _wrap_new_MessageDialog, METH_VARARGS | METH_KEYWORDS },
21027 { (char *)"MessageDialog_ShowModal", (PyCFunction) _wrap_MessageDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21028 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister, METH_VARARGS },
21029 { (char *)"new_ProgressDialog", (PyCFunction) _wrap_new_ProgressDialog, METH_VARARGS | METH_KEYWORDS },
21030 { (char *)"ProgressDialog_Update", (PyCFunction) _wrap_ProgressDialog_Update, METH_VARARGS | METH_KEYWORDS },
21031 { (char *)"ProgressDialog_Resume", (PyCFunction) _wrap_ProgressDialog_Resume, METH_VARARGS | METH_KEYWORDS },
21032 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister, METH_VARARGS },
21033 { (char *)"new_FindDialogEvent", (PyCFunction) _wrap_new_FindDialogEvent, METH_VARARGS | METH_KEYWORDS },
21034 { (char *)"FindDialogEvent_GetFlags", (PyCFunction) _wrap_FindDialogEvent_GetFlags, METH_VARARGS | METH_KEYWORDS },
21035 { (char *)"FindDialogEvent_GetFindString", (PyCFunction) _wrap_FindDialogEvent_GetFindString, METH_VARARGS | METH_KEYWORDS },
21036 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction) _wrap_FindDialogEvent_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21037 { (char *)"FindDialogEvent_GetDialog", (PyCFunction) _wrap_FindDialogEvent_GetDialog, METH_VARARGS | METH_KEYWORDS },
21038 { (char *)"FindDialogEvent_SetFlags", (PyCFunction) _wrap_FindDialogEvent_SetFlags, METH_VARARGS | METH_KEYWORDS },
21039 { (char *)"FindDialogEvent_SetFindString", (PyCFunction) _wrap_FindDialogEvent_SetFindString, METH_VARARGS | METH_KEYWORDS },
21040 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction) _wrap_FindDialogEvent_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21041 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister, METH_VARARGS },
21042 { (char *)"new_FindReplaceData", (PyCFunction) _wrap_new_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21043 { (char *)"delete_FindReplaceData", (PyCFunction) _wrap_delete_FindReplaceData, METH_VARARGS | METH_KEYWORDS },
21044 { (char *)"FindReplaceData_GetFindString", (PyCFunction) _wrap_FindReplaceData_GetFindString, METH_VARARGS | METH_KEYWORDS },
21045 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction) _wrap_FindReplaceData_GetReplaceString, METH_VARARGS | METH_KEYWORDS },
21046 { (char *)"FindReplaceData_GetFlags", (PyCFunction) _wrap_FindReplaceData_GetFlags, METH_VARARGS | METH_KEYWORDS },
21047 { (char *)"FindReplaceData_SetFlags", (PyCFunction) _wrap_FindReplaceData_SetFlags, METH_VARARGS | METH_KEYWORDS },
21048 { (char *)"FindReplaceData_SetFindString", (PyCFunction) _wrap_FindReplaceData_SetFindString, METH_VARARGS | METH_KEYWORDS },
21049 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction) _wrap_FindReplaceData_SetReplaceString, METH_VARARGS | METH_KEYWORDS },
21050 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister, METH_VARARGS },
21051 { (char *)"new_FindReplaceDialog", (PyCFunction) _wrap_new_FindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21052 { (char *)"new_PreFindReplaceDialog", (PyCFunction) _wrap_new_PreFindReplaceDialog, METH_VARARGS | METH_KEYWORDS },
21053 { (char *)"FindReplaceDialog_Create", (PyCFunction) _wrap_FindReplaceDialog_Create, METH_VARARGS | METH_KEYWORDS },
21054 { (char *)"FindReplaceDialog_GetData", (PyCFunction) _wrap_FindReplaceDialog_GetData, METH_VARARGS | METH_KEYWORDS },
21055 { (char *)"FindReplaceDialog_SetData", (PyCFunction) _wrap_FindReplaceDialog_SetData, METH_VARARGS | METH_KEYWORDS },
21056 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister, METH_VARARGS },
21057 { (char *)"new_MDIParentFrame", (PyCFunction) _wrap_new_MDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21058 { (char *)"new_PreMDIParentFrame", (PyCFunction) _wrap_new_PreMDIParentFrame, METH_VARARGS | METH_KEYWORDS },
21059 { (char *)"MDIParentFrame_Create", (PyCFunction) _wrap_MDIParentFrame_Create, METH_VARARGS | METH_KEYWORDS },
21060 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction) _wrap_MDIParentFrame_ActivateNext, METH_VARARGS | METH_KEYWORDS },
21061 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction) _wrap_MDIParentFrame_ActivatePrevious, METH_VARARGS | METH_KEYWORDS },
21062 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction) _wrap_MDIParentFrame_ArrangeIcons, METH_VARARGS | METH_KEYWORDS },
21063 { (char *)"MDIParentFrame_Cascade", (PyCFunction) _wrap_MDIParentFrame_Cascade, METH_VARARGS | METH_KEYWORDS },
21064 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction) _wrap_MDIParentFrame_GetActiveChild, METH_VARARGS | METH_KEYWORDS },
21065 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction) _wrap_MDIParentFrame_GetClientWindow, METH_VARARGS | METH_KEYWORDS },
21066 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction) _wrap_MDIParentFrame_GetToolBar, METH_VARARGS | METH_KEYWORDS },
21067 { (char *)"MDIParentFrame_Tile", (PyCFunction) _wrap_MDIParentFrame_Tile, METH_VARARGS | METH_KEYWORDS },
21068 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister, METH_VARARGS },
21069 { (char *)"new_MDIChildFrame", (PyCFunction) _wrap_new_MDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21070 { (char *)"new_PreMDIChildFrame", (PyCFunction) _wrap_new_PreMDIChildFrame, METH_VARARGS | METH_KEYWORDS },
21071 { (char *)"MDIChildFrame_Create", (PyCFunction) _wrap_MDIChildFrame_Create, METH_VARARGS | METH_KEYWORDS },
21072 { (char *)"MDIChildFrame_Activate", (PyCFunction) _wrap_MDIChildFrame_Activate, METH_VARARGS | METH_KEYWORDS },
21073 { (char *)"MDIChildFrame_Maximize", (PyCFunction) _wrap_MDIChildFrame_Maximize, METH_VARARGS | METH_KEYWORDS },
21074 { (char *)"MDIChildFrame_Restore", (PyCFunction) _wrap_MDIChildFrame_Restore, METH_VARARGS | METH_KEYWORDS },
21075 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister, METH_VARARGS },
21076 { (char *)"new_MDIClientWindow", (PyCFunction) _wrap_new_MDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21077 { (char *)"new_PreMDIClientWindow", (PyCFunction) _wrap_new_PreMDIClientWindow, METH_VARARGS | METH_KEYWORDS },
21078 { (char *)"MDIClientWindow_Create", (PyCFunction) _wrap_MDIClientWindow_Create, METH_VARARGS | METH_KEYWORDS },
21079 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister, METH_VARARGS },
21080 { (char *)"new_PyWindow", (PyCFunction) _wrap_new_PyWindow, METH_VARARGS | METH_KEYWORDS },
21081 { (char *)"PyWindow__setCallbackInfo", (PyCFunction) _wrap_PyWindow__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21082 { (char *)"PyWindow_base_DoMoveWindow", (PyCFunction) _wrap_PyWindow_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21083 { (char *)"PyWindow_base_DoSetSize", (PyCFunction) _wrap_PyWindow_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21084 { (char *)"PyWindow_base_DoSetClientSize", (PyCFunction) _wrap_PyWindow_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21085 { (char *)"PyWindow_base_DoSetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21086 { (char *)"PyWindow_base_DoGetSize", (PyCFunction) _wrap_PyWindow_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21087 { (char *)"PyWindow_base_DoGetClientSize", (PyCFunction) _wrap_PyWindow_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21088 { (char *)"PyWindow_base_DoGetPosition", (PyCFunction) _wrap_PyWindow_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21089 { (char *)"PyWindow_base_DoGetVirtualSize", (PyCFunction) _wrap_PyWindow_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21090 { (char *)"PyWindow_base_DoGetBestSize", (PyCFunction) _wrap_PyWindow_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21091 { (char *)"PyWindow_base_InitDialog", (PyCFunction) _wrap_PyWindow_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21092 { (char *)"PyWindow_base_TransferDataToWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21093 { (char *)"PyWindow_base_TransferDataFromWindow", (PyCFunction) _wrap_PyWindow_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21094 { (char *)"PyWindow_base_Validate", (PyCFunction) _wrap_PyWindow_base_Validate, METH_VARARGS | METH_KEYWORDS },
21095 { (char *)"PyWindow_base_AcceptsFocus", (PyCFunction) _wrap_PyWindow_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21096 { (char *)"PyWindow_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyWindow_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21097 { (char *)"PyWindow_base_GetMaxSize", (PyCFunction) _wrap_PyWindow_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21098 { (char *)"PyWindow_base_AddChild", (PyCFunction) _wrap_PyWindow_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21099 { (char *)"PyWindow_base_RemoveChild", (PyCFunction) _wrap_PyWindow_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21100 { (char *)"PyWindow_swigregister", PyWindow_swigregister, METH_VARARGS },
21101 { (char *)"new_PyPanel", (PyCFunction) _wrap_new_PyPanel, METH_VARARGS | METH_KEYWORDS },
21102 { (char *)"PyPanel__setCallbackInfo", (PyCFunction) _wrap_PyPanel__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21103 { (char *)"PyPanel_base_DoMoveWindow", (PyCFunction) _wrap_PyPanel_base_DoMoveWindow, METH_VARARGS | METH_KEYWORDS },
21104 { (char *)"PyPanel_base_DoSetSize", (PyCFunction) _wrap_PyPanel_base_DoSetSize, METH_VARARGS | METH_KEYWORDS },
21105 { (char *)"PyPanel_base_DoSetClientSize", (PyCFunction) _wrap_PyPanel_base_DoSetClientSize, METH_VARARGS | METH_KEYWORDS },
21106 { (char *)"PyPanel_base_DoSetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoSetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21107 { (char *)"PyPanel_base_DoGetSize", (PyCFunction) _wrap_PyPanel_base_DoGetSize, METH_VARARGS | METH_KEYWORDS },
21108 { (char *)"PyPanel_base_DoGetClientSize", (PyCFunction) _wrap_PyPanel_base_DoGetClientSize, METH_VARARGS | METH_KEYWORDS },
21109 { (char *)"PyPanel_base_DoGetPosition", (PyCFunction) _wrap_PyPanel_base_DoGetPosition, METH_VARARGS | METH_KEYWORDS },
21110 { (char *)"PyPanel_base_DoGetVirtualSize", (PyCFunction) _wrap_PyPanel_base_DoGetVirtualSize, METH_VARARGS | METH_KEYWORDS },
21111 { (char *)"PyPanel_base_DoGetBestSize", (PyCFunction) _wrap_PyPanel_base_DoGetBestSize, METH_VARARGS | METH_KEYWORDS },
21112 { (char *)"PyPanel_base_InitDialog", (PyCFunction) _wrap_PyPanel_base_InitDialog, METH_VARARGS | METH_KEYWORDS },
21113 { (char *)"PyPanel_base_TransferDataToWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataToWindow, METH_VARARGS | METH_KEYWORDS },
21114 { (char *)"PyPanel_base_TransferDataFromWindow", (PyCFunction) _wrap_PyPanel_base_TransferDataFromWindow, METH_VARARGS | METH_KEYWORDS },
21115 { (char *)"PyPanel_base_Validate", (PyCFunction) _wrap_PyPanel_base_Validate, METH_VARARGS | METH_KEYWORDS },
21116 { (char *)"PyPanel_base_AcceptsFocus", (PyCFunction) _wrap_PyPanel_base_AcceptsFocus, METH_VARARGS | METH_KEYWORDS },
21117 { (char *)"PyPanel_base_AcceptsFocusFromKeyboard", (PyCFunction) _wrap_PyPanel_base_AcceptsFocusFromKeyboard, METH_VARARGS | METH_KEYWORDS },
21118 { (char *)"PyPanel_base_GetMaxSize", (PyCFunction) _wrap_PyPanel_base_GetMaxSize, METH_VARARGS | METH_KEYWORDS },
21119 { (char *)"PyPanel_base_AddChild", (PyCFunction) _wrap_PyPanel_base_AddChild, METH_VARARGS | METH_KEYWORDS },
21120 { (char *)"PyPanel_base_RemoveChild", (PyCFunction) _wrap_PyPanel_base_RemoveChild, METH_VARARGS | METH_KEYWORDS },
21121 { (char *)"PyPanel_swigregister", PyPanel_swigregister, METH_VARARGS },
21122 { (char *)"new_PrintData", (PyCFunction) _wrap_new_PrintData, METH_VARARGS | METH_KEYWORDS },
21123 { (char *)"delete_PrintData", (PyCFunction) _wrap_delete_PrintData, METH_VARARGS | METH_KEYWORDS },
21124 { (char *)"PrintData_GetNoCopies", (PyCFunction) _wrap_PrintData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21125 { (char *)"PrintData_GetCollate", (PyCFunction) _wrap_PrintData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21126 { (char *)"PrintData_GetOrientation", (PyCFunction) _wrap_PrintData_GetOrientation, METH_VARARGS | METH_KEYWORDS },
21127 { (char *)"PrintData_Ok", (PyCFunction) _wrap_PrintData_Ok, METH_VARARGS | METH_KEYWORDS },
21128 { (char *)"PrintData_GetPrinterName", (PyCFunction) _wrap_PrintData_GetPrinterName, METH_VARARGS | METH_KEYWORDS },
21129 { (char *)"PrintData_GetColour", (PyCFunction) _wrap_PrintData_GetColour, METH_VARARGS | METH_KEYWORDS },
21130 { (char *)"PrintData_GetDuplex", (PyCFunction) _wrap_PrintData_GetDuplex, METH_VARARGS | METH_KEYWORDS },
21131 { (char *)"PrintData_GetPaperId", (PyCFunction) _wrap_PrintData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21132 { (char *)"PrintData_GetPaperSize", (PyCFunction) _wrap_PrintData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21133 { (char *)"PrintData_GetQuality", (PyCFunction) _wrap_PrintData_GetQuality, METH_VARARGS | METH_KEYWORDS },
21134 { (char *)"PrintData_SetNoCopies", (PyCFunction) _wrap_PrintData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21135 { (char *)"PrintData_SetCollate", (PyCFunction) _wrap_PrintData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21136 { (char *)"PrintData_SetOrientation", (PyCFunction) _wrap_PrintData_SetOrientation, METH_VARARGS | METH_KEYWORDS },
21137 { (char *)"PrintData_SetPrinterName", (PyCFunction) _wrap_PrintData_SetPrinterName, METH_VARARGS | METH_KEYWORDS },
21138 { (char *)"PrintData_SetColour", (PyCFunction) _wrap_PrintData_SetColour, METH_VARARGS | METH_KEYWORDS },
21139 { (char *)"PrintData_SetDuplex", (PyCFunction) _wrap_PrintData_SetDuplex, METH_VARARGS | METH_KEYWORDS },
21140 { (char *)"PrintData_SetPaperId", (PyCFunction) _wrap_PrintData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21141 { (char *)"PrintData_SetPaperSize", (PyCFunction) _wrap_PrintData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21142 { (char *)"PrintData_SetQuality", (PyCFunction) _wrap_PrintData_SetQuality, METH_VARARGS | METH_KEYWORDS },
21143 { (char *)"PrintData_GetPrinterCommand", (PyCFunction) _wrap_PrintData_GetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21144 { (char *)"PrintData_GetPrinterOptions", (PyCFunction) _wrap_PrintData_GetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21145 { (char *)"PrintData_GetPreviewCommand", (PyCFunction) _wrap_PrintData_GetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21146 { (char *)"PrintData_GetFilename", (PyCFunction) _wrap_PrintData_GetFilename, METH_VARARGS | METH_KEYWORDS },
21147 { (char *)"PrintData_GetFontMetricPath", (PyCFunction) _wrap_PrintData_GetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21148 { (char *)"PrintData_GetPrinterScaleX", (PyCFunction) _wrap_PrintData_GetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21149 { (char *)"PrintData_GetPrinterScaleY", (PyCFunction) _wrap_PrintData_GetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21150 { (char *)"PrintData_GetPrinterTranslateX", (PyCFunction) _wrap_PrintData_GetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21151 { (char *)"PrintData_GetPrinterTranslateY", (PyCFunction) _wrap_PrintData_GetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21152 { (char *)"PrintData_GetPrintMode", (PyCFunction) _wrap_PrintData_GetPrintMode, METH_VARARGS | METH_KEYWORDS },
21153 { (char *)"PrintData_SetPrinterCommand", (PyCFunction) _wrap_PrintData_SetPrinterCommand, METH_VARARGS | METH_KEYWORDS },
21154 { (char *)"PrintData_SetPrinterOptions", (PyCFunction) _wrap_PrintData_SetPrinterOptions, METH_VARARGS | METH_KEYWORDS },
21155 { (char *)"PrintData_SetPreviewCommand", (PyCFunction) _wrap_PrintData_SetPreviewCommand, METH_VARARGS | METH_KEYWORDS },
21156 { (char *)"PrintData_SetFilename", (PyCFunction) _wrap_PrintData_SetFilename, METH_VARARGS | METH_KEYWORDS },
21157 { (char *)"PrintData_SetFontMetricPath", (PyCFunction) _wrap_PrintData_SetFontMetricPath, METH_VARARGS | METH_KEYWORDS },
21158 { (char *)"PrintData_SetPrinterScaleX", (PyCFunction) _wrap_PrintData_SetPrinterScaleX, METH_VARARGS | METH_KEYWORDS },
21159 { (char *)"PrintData_SetPrinterScaleY", (PyCFunction) _wrap_PrintData_SetPrinterScaleY, METH_VARARGS | METH_KEYWORDS },
21160 { (char *)"PrintData_SetPrinterScaling", (PyCFunction) _wrap_PrintData_SetPrinterScaling, METH_VARARGS | METH_KEYWORDS },
21161 { (char *)"PrintData_SetPrinterTranslateX", (PyCFunction) _wrap_PrintData_SetPrinterTranslateX, METH_VARARGS | METH_KEYWORDS },
21162 { (char *)"PrintData_SetPrinterTranslateY", (PyCFunction) _wrap_PrintData_SetPrinterTranslateY, METH_VARARGS | METH_KEYWORDS },
21163 { (char *)"PrintData_SetPrinterTranslation", (PyCFunction) _wrap_PrintData_SetPrinterTranslation, METH_VARARGS | METH_KEYWORDS },
21164 { (char *)"PrintData_SetPrintMode", (PyCFunction) _wrap_PrintData_SetPrintMode, METH_VARARGS | METH_KEYWORDS },
21165 { (char *)"PrintData_swigregister", PrintData_swigregister, METH_VARARGS },
21166 { (char *)"new_PageSetupDialogData", (PyCFunction) _wrap_new_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21167 { (char *)"delete_PageSetupDialogData", (PyCFunction) _wrap_delete_PageSetupDialogData, METH_VARARGS | METH_KEYWORDS },
21168 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction) _wrap_PageSetupDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21169 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction) _wrap_PageSetupDialogData_EnableMargins, METH_VARARGS | METH_KEYWORDS },
21170 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_EnableOrientation, METH_VARARGS | METH_KEYWORDS },
21171 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction) _wrap_PageSetupDialogData_EnablePaper, METH_VARARGS | METH_KEYWORDS },
21172 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_EnablePrinter, METH_VARARGS | METH_KEYWORDS },
21173 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21174 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction) _wrap_PageSetupDialogData_GetEnableMargins, METH_VARARGS | METH_KEYWORDS },
21175 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction) _wrap_PageSetupDialogData_GetEnableOrientation, METH_VARARGS | METH_KEYWORDS },
21176 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePaper, METH_VARARGS | METH_KEYWORDS },
21177 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction) _wrap_PageSetupDialogData_GetEnablePrinter, METH_VARARGS | METH_KEYWORDS },
21178 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction) _wrap_PageSetupDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21179 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_GetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21180 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21181 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21182 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21183 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_GetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21184 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction) _wrap_PageSetupDialogData_GetPaperId, METH_VARARGS | METH_KEYWORDS },
21185 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_GetPaperSize, METH_VARARGS | METH_KEYWORDS },
21186 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction) _wrap_PageSetupDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21187 { (char *)"PageSetupDialogData_Ok", (PyCFunction) _wrap_PageSetupDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21188 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultInfo, METH_VARARGS | METH_KEYWORDS },
21189 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction) _wrap_PageSetupDialogData_SetDefaultMinMargins, METH_VARARGS | METH_KEYWORDS },
21190 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21191 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21192 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginTopLeft, METH_VARARGS | METH_KEYWORDS },
21193 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction) _wrap_PageSetupDialogData_SetMinMarginBottomRight, METH_VARARGS | METH_KEYWORDS },
21194 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction) _wrap_PageSetupDialogData_SetPaperId, METH_VARARGS | METH_KEYWORDS },
21195 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction) _wrap_PageSetupDialogData_SetPaperSize, METH_VARARGS | METH_KEYWORDS },
21196 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction) _wrap_PageSetupDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21197 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister, METH_VARARGS },
21198 { (char *)"new_PageSetupDialog", (PyCFunction) _wrap_new_PageSetupDialog, METH_VARARGS | METH_KEYWORDS },
21199 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction) _wrap_PageSetupDialog_GetPageSetupData, METH_VARARGS | METH_KEYWORDS },
21200 { (char *)"PageSetupDialog_ShowModal", (PyCFunction) _wrap_PageSetupDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21201 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister, METH_VARARGS },
21202 { (char *)"new_PrintDialogData", (PyCFunction) _wrap_new_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21203 { (char *)"delete_PrintDialogData", (PyCFunction) _wrap_delete_PrintDialogData, METH_VARARGS | METH_KEYWORDS },
21204 { (char *)"PrintDialogData_GetFromPage", (PyCFunction) _wrap_PrintDialogData_GetFromPage, METH_VARARGS | METH_KEYWORDS },
21205 { (char *)"PrintDialogData_GetToPage", (PyCFunction) _wrap_PrintDialogData_GetToPage, METH_VARARGS | METH_KEYWORDS },
21206 { (char *)"PrintDialogData_GetMinPage", (PyCFunction) _wrap_PrintDialogData_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21207 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction) _wrap_PrintDialogData_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21208 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction) _wrap_PrintDialogData_GetNoCopies, METH_VARARGS | METH_KEYWORDS },
21209 { (char *)"PrintDialogData_GetAllPages", (PyCFunction) _wrap_PrintDialogData_GetAllPages, METH_VARARGS | METH_KEYWORDS },
21210 { (char *)"PrintDialogData_GetSelection", (PyCFunction) _wrap_PrintDialogData_GetSelection, METH_VARARGS | METH_KEYWORDS },
21211 { (char *)"PrintDialogData_GetCollate", (PyCFunction) _wrap_PrintDialogData_GetCollate, METH_VARARGS | METH_KEYWORDS },
21212 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction) _wrap_PrintDialogData_GetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21213 { (char *)"PrintDialogData_GetSetupDialog", (PyCFunction) _wrap_PrintDialogData_GetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21214 { (char *)"PrintDialogData_SetFromPage", (PyCFunction) _wrap_PrintDialogData_SetFromPage, METH_VARARGS | METH_KEYWORDS },
21215 { (char *)"PrintDialogData_SetToPage", (PyCFunction) _wrap_PrintDialogData_SetToPage, METH_VARARGS | METH_KEYWORDS },
21216 { (char *)"PrintDialogData_SetMinPage", (PyCFunction) _wrap_PrintDialogData_SetMinPage, METH_VARARGS | METH_KEYWORDS },
21217 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction) _wrap_PrintDialogData_SetMaxPage, METH_VARARGS | METH_KEYWORDS },
21218 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction) _wrap_PrintDialogData_SetNoCopies, METH_VARARGS | METH_KEYWORDS },
21219 { (char *)"PrintDialogData_SetAllPages", (PyCFunction) _wrap_PrintDialogData_SetAllPages, METH_VARARGS | METH_KEYWORDS },
21220 { (char *)"PrintDialogData_SetSelection", (PyCFunction) _wrap_PrintDialogData_SetSelection, METH_VARARGS | METH_KEYWORDS },
21221 { (char *)"PrintDialogData_SetCollate", (PyCFunction) _wrap_PrintDialogData_SetCollate, METH_VARARGS | METH_KEYWORDS },
21222 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction) _wrap_PrintDialogData_SetPrintToFile, METH_VARARGS | METH_KEYWORDS },
21223 { (char *)"PrintDialogData_SetSetupDialog", (PyCFunction) _wrap_PrintDialogData_SetSetupDialog, METH_VARARGS | METH_KEYWORDS },
21224 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_EnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21225 { (char *)"PrintDialogData_EnableSelection", (PyCFunction) _wrap_PrintDialogData_EnableSelection, METH_VARARGS | METH_KEYWORDS },
21226 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_EnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21227 { (char *)"PrintDialogData_EnableHelp", (PyCFunction) _wrap_PrintDialogData_EnableHelp, METH_VARARGS | METH_KEYWORDS },
21228 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction) _wrap_PrintDialogData_GetEnablePrintToFile, METH_VARARGS | METH_KEYWORDS },
21229 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction) _wrap_PrintDialogData_GetEnableSelection, METH_VARARGS | METH_KEYWORDS },
21230 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction) _wrap_PrintDialogData_GetEnablePageNumbers, METH_VARARGS | METH_KEYWORDS },
21231 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction) _wrap_PrintDialogData_GetEnableHelp, METH_VARARGS | METH_KEYWORDS },
21232 { (char *)"PrintDialogData_Ok", (PyCFunction) _wrap_PrintDialogData_Ok, METH_VARARGS | METH_KEYWORDS },
21233 { (char *)"PrintDialogData_GetPrintData", (PyCFunction) _wrap_PrintDialogData_GetPrintData, METH_VARARGS | METH_KEYWORDS },
21234 { (char *)"PrintDialogData_SetPrintData", (PyCFunction) _wrap_PrintDialogData_SetPrintData, METH_VARARGS | METH_KEYWORDS },
21235 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister, METH_VARARGS },
21236 { (char *)"new_PrintDialog", (PyCFunction) _wrap_new_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21237 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction) _wrap_PrintDialog_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21238 { (char *)"PrintDialog_GetPrintDC", (PyCFunction) _wrap_PrintDialog_GetPrintDC, METH_VARARGS | METH_KEYWORDS },
21239 { (char *)"PrintDialog_ShowModal", (PyCFunction) _wrap_PrintDialog_ShowModal, METH_VARARGS | METH_KEYWORDS },
21240 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister, METH_VARARGS },
21241 { (char *)"new_Printer", (PyCFunction) _wrap_new_Printer, METH_VARARGS | METH_KEYWORDS },
21242 { (char *)"delete_Printer", (PyCFunction) _wrap_delete_Printer, METH_VARARGS | METH_KEYWORDS },
21243 { (char *)"Printer_CreateAbortWindow", (PyCFunction) _wrap_Printer_CreateAbortWindow, METH_VARARGS | METH_KEYWORDS },
21244 { (char *)"Printer_GetPrintDialogData", (PyCFunction) _wrap_Printer_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21245 { (char *)"Printer_Print", (PyCFunction) _wrap_Printer_Print, METH_VARARGS | METH_KEYWORDS },
21246 { (char *)"Printer_PrintDialog", (PyCFunction) _wrap_Printer_PrintDialog, METH_VARARGS | METH_KEYWORDS },
21247 { (char *)"Printer_ReportError", (PyCFunction) _wrap_Printer_ReportError, METH_VARARGS | METH_KEYWORDS },
21248 { (char *)"Printer_Setup", (PyCFunction) _wrap_Printer_Setup, METH_VARARGS | METH_KEYWORDS },
21249 { (char *)"Printer_GetAbort", (PyCFunction) _wrap_Printer_GetAbort, METH_VARARGS | METH_KEYWORDS },
21250 { (char *)"Printer_GetLastError", (PyCFunction) _wrap_Printer_GetLastError, METH_VARARGS | METH_KEYWORDS },
21251 { (char *)"Printer_swigregister", Printer_swigregister, METH_VARARGS },
21252 { (char *)"new_Printout", (PyCFunction) _wrap_new_Printout, METH_VARARGS | METH_KEYWORDS },
21253 { (char *)"Printout__setCallbackInfo", (PyCFunction) _wrap_Printout__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21254 { (char *)"Printout_GetTitle", (PyCFunction) _wrap_Printout_GetTitle, METH_VARARGS | METH_KEYWORDS },
21255 { (char *)"Printout_GetDC", (PyCFunction) _wrap_Printout_GetDC, METH_VARARGS | METH_KEYWORDS },
21256 { (char *)"Printout_SetDC", (PyCFunction) _wrap_Printout_SetDC, METH_VARARGS | METH_KEYWORDS },
d14a1e28 21257 { (char *)"Printout_SetPageSizePixels", (PyCFunction) _wrap_Printout_SetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
44127b65 21258 { (char *)"Printout_GetPageSizePixels", (PyCFunction) _wrap_Printout_GetPageSizePixels, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
21259 { (char *)"Printout_SetPageSizeMM", (PyCFunction) _wrap_Printout_SetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21260 { (char *)"Printout_GetPageSizeMM", (PyCFunction) _wrap_Printout_GetPageSizeMM, METH_VARARGS | METH_KEYWORDS },
21261 { (char *)"Printout_SetPPIScreen", (PyCFunction) _wrap_Printout_SetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21262 { (char *)"Printout_GetPPIScreen", (PyCFunction) _wrap_Printout_GetPPIScreen, METH_VARARGS | METH_KEYWORDS },
21263 { (char *)"Printout_SetPPIPrinter", (PyCFunction) _wrap_Printout_SetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21264 { (char *)"Printout_GetPPIPrinter", (PyCFunction) _wrap_Printout_GetPPIPrinter, METH_VARARGS | METH_KEYWORDS },
21265 { (char *)"Printout_IsPreview", (PyCFunction) _wrap_Printout_IsPreview, METH_VARARGS | METH_KEYWORDS },
21266 { (char *)"Printout_SetIsPreview", (PyCFunction) _wrap_Printout_SetIsPreview, METH_VARARGS | METH_KEYWORDS },
21267 { (char *)"Printout_base_OnBeginDocument", (PyCFunction) _wrap_Printout_base_OnBeginDocument, METH_VARARGS | METH_KEYWORDS },
21268 { (char *)"Printout_base_OnEndDocument", (PyCFunction) _wrap_Printout_base_OnEndDocument, METH_VARARGS | METH_KEYWORDS },
21269 { (char *)"Printout_base_OnBeginPrinting", (PyCFunction) _wrap_Printout_base_OnBeginPrinting, METH_VARARGS | METH_KEYWORDS },
21270 { (char *)"Printout_base_OnEndPrinting", (PyCFunction) _wrap_Printout_base_OnEndPrinting, METH_VARARGS | METH_KEYWORDS },
21271 { (char *)"Printout_base_OnPreparePrinting", (PyCFunction) _wrap_Printout_base_OnPreparePrinting, METH_VARARGS | METH_KEYWORDS },
d14a1e28 21272 { (char *)"Printout_base_HasPage", (PyCFunction) _wrap_Printout_base_HasPage, METH_VARARGS | METH_KEYWORDS },
44127b65 21273 { (char *)"Printout_base_GetPageInfo", (PyCFunction) _wrap_Printout_base_GetPageInfo, METH_VARARGS | METH_KEYWORDS },
d14a1e28
RD
21274 { (char *)"Printout_swigregister", Printout_swigregister, METH_VARARGS },
21275 { (char *)"new_PreviewCanvas", (PyCFunction) _wrap_new_PreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21276 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister, METH_VARARGS },
21277 { (char *)"new_PreviewFrame", (PyCFunction) _wrap_new_PreviewFrame, METH_VARARGS | METH_KEYWORDS },
21278 { (char *)"PreviewFrame_Initialize", (PyCFunction) _wrap_PreviewFrame_Initialize, METH_VARARGS | METH_KEYWORDS },
21279 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction) _wrap_PreviewFrame_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21280 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction) _wrap_PreviewFrame_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21281 { (char *)"PreviewFrame_GetControlBar", (PyCFunction) _wrap_PreviewFrame_GetControlBar, METH_VARARGS | METH_KEYWORDS },
21282 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister, METH_VARARGS },
21283 { (char *)"new_PreviewControlBar", (PyCFunction) _wrap_new_PreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21284 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction) _wrap_PreviewControlBar_GetZoomControl, METH_VARARGS | METH_KEYWORDS },
21285 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction) _wrap_PreviewControlBar_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21286 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction) _wrap_PreviewControlBar_GetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21287 { (char *)"PreviewControlBar_OnNext", (PyCFunction) _wrap_PreviewControlBar_OnNext, METH_VARARGS | METH_KEYWORDS },
21288 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction) _wrap_PreviewControlBar_OnPrevious, METH_VARARGS | METH_KEYWORDS },
21289 { (char *)"PreviewControlBar_OnFirst", (PyCFunction) _wrap_PreviewControlBar_OnFirst, METH_VARARGS | METH_KEYWORDS },
21290 { (char *)"PreviewControlBar_OnLast", (PyCFunction) _wrap_PreviewControlBar_OnLast, METH_VARARGS | METH_KEYWORDS },
21291 { (char *)"PreviewControlBar_OnGoto", (PyCFunction) _wrap_PreviewControlBar_OnGoto, METH_VARARGS | METH_KEYWORDS },
21292 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister, METH_VARARGS },
21293 { (char *)"new_PrintPreview", (PyCFunction) _wrap_new_PrintPreview, METH_VARARGS | METH_KEYWORDS },
21294 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction) _wrap_PrintPreview_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21295 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction) _wrap_PrintPreview_GetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21296 { (char *)"PrintPreview_SetPrintout", (PyCFunction) _wrap_PrintPreview_SetPrintout, METH_VARARGS | METH_KEYWORDS },
21297 { (char *)"PrintPreview_GetPrintout", (PyCFunction) _wrap_PrintPreview_GetPrintout, METH_VARARGS | METH_KEYWORDS },
21298 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction) _wrap_PrintPreview_GetPrintoutForPrinting, METH_VARARGS | METH_KEYWORDS },
21299 { (char *)"PrintPreview_SetFrame", (PyCFunction) _wrap_PrintPreview_SetFrame, METH_VARARGS | METH_KEYWORDS },
21300 { (char *)"PrintPreview_SetCanvas", (PyCFunction) _wrap_PrintPreview_SetCanvas, METH_VARARGS | METH_KEYWORDS },
21301 { (char *)"PrintPreview_GetFrame", (PyCFunction) _wrap_PrintPreview_GetFrame, METH_VARARGS | METH_KEYWORDS },
21302 { (char *)"PrintPreview_GetCanvas", (PyCFunction) _wrap_PrintPreview_GetCanvas, METH_VARARGS | METH_KEYWORDS },
21303 { (char *)"PrintPreview_PaintPage", (PyCFunction) _wrap_PrintPreview_PaintPage, METH_VARARGS | METH_KEYWORDS },
21304 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction) _wrap_PrintPreview_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21305 { (char *)"PrintPreview_RenderPage", (PyCFunction) _wrap_PrintPreview_RenderPage, METH_VARARGS | METH_KEYWORDS },
21306 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction) _wrap_PrintPreview_AdjustScrollbars, METH_VARARGS | METH_KEYWORDS },
21307 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction) _wrap_PrintPreview_GetPrintDialogData, METH_VARARGS | METH_KEYWORDS },
21308 { (char *)"PrintPreview_SetZoom", (PyCFunction) _wrap_PrintPreview_SetZoom, METH_VARARGS | METH_KEYWORDS },
21309 { (char *)"PrintPreview_GetZoom", (PyCFunction) _wrap_PrintPreview_GetZoom, METH_VARARGS | METH_KEYWORDS },
21310 { (char *)"PrintPreview_GetMaxPage", (PyCFunction) _wrap_PrintPreview_GetMaxPage, METH_VARARGS | METH_KEYWORDS },
21311 { (char *)"PrintPreview_GetMinPage", (PyCFunction) _wrap_PrintPreview_GetMinPage, METH_VARARGS | METH_KEYWORDS },
21312 { (char *)"PrintPreview_Ok", (PyCFunction) _wrap_PrintPreview_Ok, METH_VARARGS | METH_KEYWORDS },
21313 { (char *)"PrintPreview_SetOk", (PyCFunction) _wrap_PrintPreview_SetOk, METH_VARARGS | METH_KEYWORDS },
21314 { (char *)"PrintPreview_Print", (PyCFunction) _wrap_PrintPreview_Print, METH_VARARGS | METH_KEYWORDS },
21315 { (char *)"PrintPreview_DetermineScaling", (PyCFunction) _wrap_PrintPreview_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21316 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister, METH_VARARGS },
21317 { (char *)"new_PyPrintPreview", (PyCFunction) _wrap_new_PyPrintPreview, METH_VARARGS | METH_KEYWORDS },
21318 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction) _wrap_PyPrintPreview__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21319 { (char *)"PyPrintPreview_base_SetCurrentPage", (PyCFunction) _wrap_PyPrintPreview_base_SetCurrentPage, METH_VARARGS | METH_KEYWORDS },
21320 { (char *)"PyPrintPreview_base_PaintPage", (PyCFunction) _wrap_PyPrintPreview_base_PaintPage, METH_VARARGS | METH_KEYWORDS },
21321 { (char *)"PyPrintPreview_base_DrawBlankPage", (PyCFunction) _wrap_PyPrintPreview_base_DrawBlankPage, METH_VARARGS | METH_KEYWORDS },
21322 { (char *)"PyPrintPreview_base_RenderPage", (PyCFunction) _wrap_PyPrintPreview_base_RenderPage, METH_VARARGS | METH_KEYWORDS },
21323 { (char *)"PyPrintPreview_base_SetZoom", (PyCFunction) _wrap_PyPrintPreview_base_SetZoom, METH_VARARGS | METH_KEYWORDS },
21324 { (char *)"PyPrintPreview_base_Print", (PyCFunction) _wrap_PyPrintPreview_base_Print, METH_VARARGS | METH_KEYWORDS },
21325 { (char *)"PyPrintPreview_base_DetermineScaling", (PyCFunction) _wrap_PyPrintPreview_base_DetermineScaling, METH_VARARGS | METH_KEYWORDS },
21326 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister, METH_VARARGS },
21327 { (char *)"new_PyPreviewFrame", (PyCFunction) _wrap_new_PyPreviewFrame, METH_VARARGS | METH_KEYWORDS },
21328 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction) _wrap_PyPreviewFrame__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21329 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction) _wrap_PyPreviewFrame_SetPreviewCanvas, METH_VARARGS | METH_KEYWORDS },
21330 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction) _wrap_PyPreviewFrame_SetControlBar, METH_VARARGS | METH_KEYWORDS },
21331 { (char *)"PyPreviewFrame_base_Initialize", (PyCFunction) _wrap_PyPreviewFrame_base_Initialize, METH_VARARGS | METH_KEYWORDS },
21332 { (char *)"PyPreviewFrame_base_CreateCanvas", (PyCFunction) _wrap_PyPreviewFrame_base_CreateCanvas, METH_VARARGS | METH_KEYWORDS },
21333 { (char *)"PyPreviewFrame_base_CreateControlBar", (PyCFunction) _wrap_PyPreviewFrame_base_CreateControlBar, METH_VARARGS | METH_KEYWORDS },
21334 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister, METH_VARARGS },
21335 { (char *)"new_PyPreviewControlBar", (PyCFunction) _wrap_new_PyPreviewControlBar, METH_VARARGS | METH_KEYWORDS },
21336 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction) _wrap_PyPreviewControlBar__setCallbackInfo, METH_VARARGS | METH_KEYWORDS },
21337 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction) _wrap_PyPreviewControlBar_SetPrintPreview, METH_VARARGS | METH_KEYWORDS },
21338 { (char *)"PyPreviewControlBar_base_CreateButtons", (PyCFunction) _wrap_PyPreviewControlBar_base_CreateButtons, METH_VARARGS | METH_KEYWORDS },
21339 { (char *)"PyPreviewControlBar_base_SetZoomControl", (PyCFunction) _wrap_PyPreviewControlBar_base_SetZoomControl, METH_VARARGS | METH_KEYWORDS },
21340 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister, METH_VARARGS },
21341 { NULL, NULL }
21342};
21343
21344
21345/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
21346
21347static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x) {
21348 return (void *)((wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21349}
21350static void *_p_wxContextMenuEventTo_p_wxEvent(void *x) {
21351 return (void *)((wxEvent *) (wxCommandEvent *) ((wxContextMenuEvent *) x));
21352}
21353static void *_p_wxMenuEventTo_p_wxEvent(void *x) {
21354 return (void *)((wxEvent *) ((wxMenuEvent *) x));
21355}
21356static void *_p_wxCloseEventTo_p_wxEvent(void *x) {
21357 return (void *)((wxEvent *) ((wxCloseEvent *) x));
21358}
21359static void *_p_wxMouseEventTo_p_wxEvent(void *x) {
21360 return (void *)((wxEvent *) ((wxMouseEvent *) x));
21361}
21362static void *_p_wxEraseEventTo_p_wxEvent(void *x) {
21363 return (void *)((wxEvent *) ((wxEraseEvent *) x));
21364}
21365static void *_p_wxSetCursorEventTo_p_wxEvent(void *x) {
21366 return (void *)((wxEvent *) ((wxSetCursorEvent *) x));
21367}
21368static void *_p_wxSplitterEventTo_p_wxEvent(void *x) {
21369 return (void *)((wxEvent *) (wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21370}
21371static void *_p_wxInitDialogEventTo_p_wxEvent(void *x) {
21372 return (void *)((wxEvent *) ((wxInitDialogEvent *) x));
21373}
21374static void *_p_wxScrollEventTo_p_wxEvent(void *x) {
21375 return (void *)((wxEvent *) (wxCommandEvent *) ((wxScrollEvent *) x));
21376}
21377static void *_p_wxFindDialogEventTo_p_wxEvent(void *x) {
21378 return (void *)((wxEvent *) (wxCommandEvent *) ((wxFindDialogEvent *) x));
21379}
21380static void *_p_wxPyEventTo_p_wxEvent(void *x) {
21381 return (void *)((wxEvent *) ((wxPyEvent *) x));
21382}
21383static void *_p_wxNotifyEventTo_p_wxEvent(void *x) {
21384 return (void *)((wxEvent *) (wxCommandEvent *) ((wxNotifyEvent *) x));
21385}
21386static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x) {
21387 return (void *)((wxEvent *) ((wxCalculateLayoutEvent *) x));
21388}
21389static void *_p_wxIdleEventTo_p_wxEvent(void *x) {
21390 return (void *)((wxEvent *) ((wxIdleEvent *) x));
21391}
21392static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x) {
21393 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowCreateEvent *) x));
21394}
21395static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x) {
21396 return (void *)((wxEvent *) ((wxQueryNewPaletteEvent *) x));
21397}
21398static void *_p_wxMaximizeEventTo_p_wxEvent(void *x) {
21399 return (void *)((wxEvent *) ((wxMaximizeEvent *) x));
21400}
21401static void *_p_wxIconizeEventTo_p_wxEvent(void *x) {
21402 return (void *)((wxEvent *) ((wxIconizeEvent *) x));
21403}
21404static void *_p_wxActivateEventTo_p_wxEvent(void *x) {
21405 return (void *)((wxEvent *) ((wxActivateEvent *) x));
21406}
21407static void *_p_wxSizeEventTo_p_wxEvent(void *x) {
21408 return (void *)((wxEvent *) ((wxSizeEvent *) x));
21409}
21410static void *_p_wxMoveEventTo_p_wxEvent(void *x) {
21411 return (void *)((wxEvent *) ((wxMoveEvent *) x));
21412}
21413static void *_p_wxPaintEventTo_p_wxEvent(void *x) {
21414 return (void *)((wxEvent *) ((wxPaintEvent *) x));
21415}
21416static void *_p_wxNcPaintEventTo_p_wxEvent(void *x) {
21417 return (void *)((wxEvent *) ((wxNcPaintEvent *) x));
21418}
21419static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x) {
21420 return (void *)((wxEvent *) (wxCommandEvent *) ((wxUpdateUIEvent *) x));
21421}
21422static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x) {
21423 return (void *)((wxEvent *) ((wxPaletteChangedEvent *) x));
21424}
21425static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x) {
21426 return (void *)((wxEvent *) ((wxDisplayChangedEvent *) x));
21427}
21428static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x) {
21429 return (void *)((wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21430}
21431static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x) {
21432 return (void *)((wxEvent *) ((wxSysColourChangedEvent *) x));
21433}
21434static void *_p_wxDropFilesEventTo_p_wxEvent(void *x) {
21435 return (void *)((wxEvent *) ((wxDropFilesEvent *) x));
21436}
21437static void *_p_wxFocusEventTo_p_wxEvent(void *x) {
21438 return (void *)((wxEvent *) ((wxFocusEvent *) x));
21439}
21440static void *_p_wxChildFocusEventTo_p_wxEvent(void *x) {
21441 return (void *)((wxEvent *) (wxCommandEvent *) ((wxChildFocusEvent *) x));
21442}
21443static void *_p_wxSashEventTo_p_wxEvent(void *x) {
21444 return (void *)((wxEvent *) (wxCommandEvent *) ((wxSashEvent *) x));
21445}
21446static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x) {
21447 return (void *)((wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21448}
21449static void *_p_wxShowEventTo_p_wxEvent(void *x) {
21450 return (void *)((wxEvent *) ((wxShowEvent *) x));
21451}
21452static void *_p_wxCommandEventTo_p_wxEvent(void *x) {
21453 return (void *)((wxEvent *) ((wxCommandEvent *) x));
21454}
21455static void *_p_wxPyCommandEventTo_p_wxEvent(void *x) {
21456 return (void *)((wxEvent *) (wxCommandEvent *) ((wxPyCommandEvent *) x));
21457}
21458static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x) {
21459 return (void *)((wxEvent *) (wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21460}
21461static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x) {
21462 return (void *)((wxEvent *) ((wxNavigationKeyEvent *) x));
21463}
21464static void *_p_wxKeyEventTo_p_wxEvent(void *x) {
21465 return (void *)((wxEvent *) ((wxKeyEvent *) x));
21466}
21467static void *_p_wxScrollWinEventTo_p_wxEvent(void *x) {
21468 return (void *)((wxEvent *) ((wxScrollWinEvent *) x));
21469}
21470static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x) {
21471 return (void *)((wxEvent *) ((wxTaskBarIconEvent *) x));
21472}
21473static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x) {
21474 return (void *)((wxNotifyEvent *) ((wxSplitterEvent *) x));
21475}
21476static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x) {
21477 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21478}
21479static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x) {
21480 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21481}
21482static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x) {
21483 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21484}
21485static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x) {
21486 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMenuBar *) x));
21487}
21488static void *_p_wxValidatorTo_p_wxEvtHandler(void *x) {
21489 return (void *)((wxEvtHandler *) ((wxValidator *) x));
21490}
21491static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x) {
21492 return (void *)((wxEvtHandler *) (wxValidator *) ((wxPyValidator *) x));
21493}
21494static void *_p_wxMenuTo_p_wxEvtHandler(void *x) {
21495 return (void *)((wxEvtHandler *) ((wxMenu *) x));
21496}
21497static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x) {
21498 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21499}
21500static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x) {
21501 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21502}
21503static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x) {
21504 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21505}
21506static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x) {
21507 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21508}
21509static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x) {
21510 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21511}
21512static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x) {
21513 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21514}
21515static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x) {
21516 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21517}
21518static void *_p_wxPanelTo_p_wxEvtHandler(void *x) {
21519 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPanel *) x));
21520}
21521static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x) {
21522 return (void *)((wxEvtHandler *) (wxWindow *) ((wxStatusBar *) x));
21523}
21524static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x) {
21525 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21526}
21527static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x) {
21528 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21529}
21530static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x) {
21531 return (void *)((wxEvtHandler *) (wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21532}
21533static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x) {
21534 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPopupWindow *) x));
21535}
21536static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x) {
21537 return (void *)((wxEvtHandler *) (wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21538}
21539static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x) {
21540 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSashWindow *) x));
21541}
21542static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x) {
21543 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplitterWindow *) x));
21544}
21545static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x) {
21546 return (void *)((wxEvtHandler *) (wxWindow *) ((wxSplashScreenWindow *) x));
21547}
21548static void *_p_wxWindowTo_p_wxEvtHandler(void *x) {
21549 return (void *)((wxEvtHandler *) ((wxWindow *) x));
21550}
21551static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x) {
21552 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21553}
21554static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x) {
21555 return (void *)((wxEvtHandler *) (wxWindow *) ((wxTopLevelWindow *) x));
21556}
21557static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x) {
21558 return (void *)((wxEvtHandler *) (wxWindow *) ((wxMDIClientWindow *) x));
21559}
21560static void *_p_wxControlTo_p_wxEvtHandler(void *x) {
21561 return (void *)((wxEvtHandler *) (wxWindow *) ((wxControl *) x));
21562}
21563static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x) {
21564 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21565}
21566static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x) {
21567 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21568}
21569static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x) {
21570 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21571}
21572static void *_p_wxPyAppTo_p_wxEvtHandler(void *x) {
21573 return (void *)((wxEvtHandler *) ((wxPyApp *) x));
21574}
21575static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x) {
21576 return (void *)((wxEvtHandler *) (wxWindow *)(wxControl *) ((wxControlWithItems *) x));
21577}
21578static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x) {
21579 return (void *)((wxEvtHandler *) (wxWindow *) ((wxPyWindow *) x));
21580}
21581static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x) {
21582 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21583}
21584static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x) {
21585 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21586}
21587static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x) {
21588 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21589}
21590static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x) {
21591 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
21592}
21593static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x) {
21594 return (void *)((wxEvtHandler *) (wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
21595}
21596static void *_p_wxTaskBarIconTo_p_wxEvtHandler(void *x) {
21597 return (void *)((wxEvtHandler *) ((wxTaskBarIcon *) x));
21598}
21599static void *_p_wxFrameTo_p_wxEvtHandler(void *x) {
21600 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21601}
21602static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x) {
21603 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21604}
21605static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x) {
21606 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21607}
21608static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x) {
21609 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21610}
21611static void *_p_wxDialogTo_p_wxEvtHandler(void *x) {
21612 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21613}
21614static void *_p_wxPageSetupDialogTo_p_wxEvtHandler(void *x) {
21615 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21616}
21617static void *_p_wxPrintDialogTo_p_wxEvtHandler(void *x) {
21618 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21619}
21620static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x) {
21621 return (void *)((wxEvtHandler *) (wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21622}
21623static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x) {
21624 return (void *)((wxPyVListBox *) ((wxPyHtmlListBox *) x));
21625}
21626static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x) {
21627 return (void *)((wxFrame *) ((wxMDIChildFrame *) x));
21628}
21629static void *_p_wxProgressDialogTo_p_wxFrame(void *x) {
21630 return (void *)((wxFrame *) ((wxProgressDialog *) x));
21631}
21632static void *_p_wxTipWindowTo_p_wxFrame(void *x) {
21633 return (void *)((wxFrame *) ((wxTipWindow *) x));
21634}
21635static void *_p_wxPreviewFrameTo_p_wxFrame(void *x) {
21636 return (void *)((wxFrame *) ((wxPreviewFrame *) x));
21637}
21638static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x) {
21639 return (void *)((wxFrame *) (wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21640}
21641static void *_p_wxMiniFrameTo_p_wxFrame(void *x) {
21642 return (void *)((wxFrame *) ((wxMiniFrame *) x));
21643}
21644static void *_p_wxSplashScreenTo_p_wxFrame(void *x) {
21645 return (void *)((wxFrame *) ((wxSplashScreen *) x));
21646}
21647static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x) {
21648 return (void *)((wxFrame *) ((wxMDIParentFrame *) x));
21649}
21650static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x) {
21651 return (void *)((wxObject *) ((wxLayoutConstraints *) x));
21652}
21653static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x) {
21654 return (void *)((wxObject *) (wxEvent *) ((wxQueryLayoutInfoEvent *) x));
21655}
21656static void *_p_wxPreviewFrameTo_p_wxObject(void *x) {
21657 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
21658}
21659static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x) {
21660 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
21661}
21662static void *_p_wxGBSizerItemTo_p_wxObject(void *x) {
21663 return (void *)((wxObject *) (wxSizerItem *) ((wxGBSizerItem *) x));
21664}
21665static void *_p_wxSizerItemTo_p_wxObject(void *x) {
21666 return (void *)((wxObject *) ((wxSizerItem *) x));
21667}
21668static void *_p_wxScrollEventTo_p_wxObject(void *x) {
21669 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxScrollEvent *) x));
21670}
21671static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x) {
21672 return (void *)((wxObject *) ((wxIndividualLayoutConstraint *) x));
21673}
21674static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x) {
21675 return (void *)((wxObject *) (wxSizer *)(wxBoxSizer *) ((wxStaticBoxSizer *) x));
21676}
21677static void *_p_wxBoxSizerTo_p_wxObject(void *x) {
21678 return (void *)((wxObject *) (wxSizer *) ((wxBoxSizer *) x));
21679}
21680static void *_p_wxSizerTo_p_wxObject(void *x) {
21681 return (void *)((wxObject *) ((wxSizer *) x));
21682}
21683static void *_p_wxGridBagSizerTo_p_wxObject(void *x) {
21684 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *)(wxFlexGridSizer *) ((wxGridBagSizer *) x));
21685}
21686static void *_p_wxUpdateUIEventTo_p_wxObject(void *x) {
21687 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxUpdateUIEvent *) x));
21688}
21689static void *_p_wxPyPanelTo_p_wxObject(void *x) {
21690 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyPanel *) x));
21691}
21692static void *_p_wxEventTo_p_wxObject(void *x) {
21693 return (void *)((wxObject *) ((wxEvent *) x));
21694}
21695static void *_p_wxFontDataTo_p_wxObject(void *x) {
21696 return (void *)((wxObject *) ((wxFontData *) x));
21697}
21698static void *_p_wxPrintDataTo_p_wxObject(void *x) {
21699 return (void *)((wxObject *) ((wxPrintData *) x));
21700}
21701static void *_p_wxFlexGridSizerTo_p_wxObject(void *x) {
21702 return (void *)((wxObject *) (wxSizer *)(wxGridSizer *) ((wxFlexGridSizer *) x));
21703}
21704static void *_p_wxGridSizerTo_p_wxObject(void *x) {
21705 return (void *)((wxObject *) (wxSizer *) ((wxGridSizer *) x));
21706}
21707static void *_p_wxInitDialogEventTo_p_wxObject(void *x) {
21708 return (void *)((wxObject *) (wxEvent *) ((wxInitDialogEvent *) x));
21709}
21710static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x) {
21711 return (void *)((wxObject *) ((wxLayoutAlgorithm *) x));
21712}
21713static void *_p_wxTaskBarIconTo_p_wxObject(void *x) {
21714 return (void *)((wxObject *) (wxEvtHandler *) ((wxTaskBarIcon *) x));
21715}
21716static void *_p_wxFindDialogEventTo_p_wxObject(void *x) {
21717 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxFindDialogEvent *) x));
21718}
21719static void *_p_wxPaintEventTo_p_wxObject(void *x) {
21720 return (void *)((wxObject *) (wxEvent *) ((wxPaintEvent *) x));
21721}
21722static void *_p_wxNcPaintEventTo_p_wxObject(void *x) {
21723 return (void *)((wxObject *) (wxEvent *) ((wxNcPaintEvent *) x));
21724}
21725static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x) {
21726 return (void *)((wxObject *) (wxEvent *) ((wxPaletteChangedEvent *) x));
21727}
21728static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x) {
21729 return (void *)((wxObject *) (wxEvent *) ((wxDisplayChangedEvent *) x));
21730}
21731static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x) {
21732 return (void *)((wxObject *) (wxEvent *) ((wxMouseCaptureChangedEvent *) x));
21733}
21734static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x) {
21735 return (void *)((wxObject *) (wxEvent *) ((wxSysColourChangedEvent *) x));
21736}
21737static void *_p_wxPreviewCanvasTo_p_wxObject(void *x) {
21738 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
21739}
21740static void *_p_wxControlTo_p_wxObject(void *x) {
21741 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxControl *) x));
21742}
21743static void *_p_wxSetCursorEventTo_p_wxObject(void *x) {
21744 return (void *)((wxObject *) (wxEvent *) ((wxSetCursorEvent *) x));
21745}
21746static void *_p_wxSplitterEventTo_p_wxObject(void *x) {
21747 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *)(wxNotifyEvent *) ((wxSplitterEvent *) x));
21748}
21749static void *_p_wxFSFileTo_p_wxObject(void *x) {
21750 return (void *)((wxObject *) ((wxFSFile *) x));
21751}
21752static void *_p_wxFindReplaceDataTo_p_wxObject(void *x) {
21753 return (void *)((wxObject *) ((wxFindReplaceData *) x));
21754}
21755static void *_p_wxPySizerTo_p_wxObject(void *x) {
21756 return (void *)((wxObject *) (wxSizer *) ((wxPySizer *) x));
21757}
21758static void *_p_wxMDIChildFrameTo_p_wxObject(void *x) {
21759 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
21760}
21761static void *_p_wxColourDataTo_p_wxObject(void *x) {
21762 return (void *)((wxObject *) ((wxColourData *) x));
21763}
21764static void *_p_wxPyEventTo_p_wxObject(void *x) {
21765 return (void *)((wxObject *) (wxEvent *) ((wxPyEvent *) x));
21766}
21767static void *_p_wxNotifyEventTo_p_wxObject(void *x) {
21768 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxNotifyEvent *) x));
21769}
21770static void *_p_wxPyWindowTo_p_wxObject(void *x) {
21771 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPyWindow *) x));
21772}
21773static void *_p_wxSplashScreenTo_p_wxObject(void *x) {
21774 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
21775}
21776static void *_p_wxFileDialogTo_p_wxObject(void *x) {
21777 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
21778}
21779static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x) {
21780 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
21781}
21782static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x) {
21783 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
21784}
21785static void *_p_wxTextEntryDialogTo_p_wxObject(void *x) {
21786 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
21787}
21788static void *_p_wxMessageDialogTo_p_wxObject(void *x) {
21789 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
21790}
21791static void *_p_wxProgressDialogTo_p_wxObject(void *x) {
21792 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
21793}
21794static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x) {
21795 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
21796}
21797static void *_p_wxShowEventTo_p_wxObject(void *x) {
21798 return (void *)((wxObject *) (wxEvent *) ((wxShowEvent *) x));
21799}
21800static void *_p_wxPrinterTo_p_wxObject(void *x) {
21801 return (void *)((wxObject *) ((wxPrinter *) x));
21802}
21803static void *_p_wxMenuItemTo_p_wxObject(void *x) {
21804 return (void *)((wxObject *) ((wxMenuItem *) x));
21805}
21806static void *_p_wxIdleEventTo_p_wxObject(void *x) {
21807 return (void *)((wxObject *) (wxEvent *) ((wxIdleEvent *) x));
21808}
21809static void *_p_wxWindowCreateEventTo_p_wxObject(void *x) {
21810 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowCreateEvent *) x));
21811}
21812static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x) {
21813 return (void *)((wxObject *) (wxEvent *) ((wxQueryNewPaletteEvent *) x));
21814}
21815static void *_p_wxMaximizeEventTo_p_wxObject(void *x) {
21816 return (void *)((wxObject *) (wxEvent *) ((wxMaximizeEvent *) x));
21817}
21818static void *_p_wxIconizeEventTo_p_wxObject(void *x) {
21819 return (void *)((wxObject *) (wxEvent *) ((wxIconizeEvent *) x));
21820}
21821static void *_p_wxSizeEventTo_p_wxObject(void *x) {
21822 return (void *)((wxObject *) (wxEvent *) ((wxSizeEvent *) x));
21823}
21824static void *_p_wxMoveEventTo_p_wxObject(void *x) {
21825 return (void *)((wxObject *) (wxEvent *) ((wxMoveEvent *) x));
21826}
21827static void *_p_wxActivateEventTo_p_wxObject(void *x) {
21828 return (void *)((wxObject *) (wxEvent *) ((wxActivateEvent *) x));
21829}
21830static void *_p_wxXPMHandlerTo_p_wxObject(void *x) {
21831 return (void *)((wxObject *) (wxImageHandler *) ((wxXPMHandler *) x));
21832}
21833static void *_p_wxPNMHandlerTo_p_wxObject(void *x) {
21834 return (void *)((wxObject *) (wxImageHandler *) ((wxPNMHandler *) x));
21835}
21836static void *_p_wxJPEGHandlerTo_p_wxObject(void *x) {
21837 return (void *)((wxObject *) (wxImageHandler *) ((wxJPEGHandler *) x));
21838}
21839static void *_p_wxPCXHandlerTo_p_wxObject(void *x) {
21840 return (void *)((wxObject *) (wxImageHandler *) ((wxPCXHandler *) x));
21841}
21842static void *_p_wxGIFHandlerTo_p_wxObject(void *x) {
21843 return (void *)((wxObject *) (wxImageHandler *) ((wxGIFHandler *) x));
21844}
21845static void *_p_wxPNGHandlerTo_p_wxObject(void *x) {
21846 return (void *)((wxObject *) (wxImageHandler *) ((wxPNGHandler *) x));
21847}
21848static void *_p_wxANIHandlerTo_p_wxObject(void *x) {
21849 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *)(wxCURHandler *) ((wxANIHandler *) x));
21850}
21851static void *_p_wxCURHandlerTo_p_wxObject(void *x) {
21852 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *)(wxICOHandler *) ((wxCURHandler *) x));
21853}
21854static void *_p_wxICOHandlerTo_p_wxObject(void *x) {
21855 return (void *)((wxObject *) (wxImageHandler *)(wxBMPHandler *) ((wxICOHandler *) x));
21856}
21857static void *_p_wxBMPHandlerTo_p_wxObject(void *x) {
21858 return (void *)((wxObject *) (wxImageHandler *) ((wxBMPHandler *) x));
21859}
21860static void *_p_wxImageHandlerTo_p_wxObject(void *x) {
21861 return (void *)((wxObject *) ((wxImageHandler *) x));
21862}
21863static void *_p_wxTIFFHandlerTo_p_wxObject(void *x) {
21864 return (void *)((wxObject *) (wxImageHandler *) ((wxTIFFHandler *) x));
21865}
21866static void *_p_wxEvtHandlerTo_p_wxObject(void *x) {
21867 return (void *)((wxObject *) ((wxEvtHandler *) x));
21868}
21869static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x) {
21870 return (void *)((wxObject *) (wxEvent *) ((wxCalculateLayoutEvent *) x));
21871}
21872static void *_p_wxPyVListBoxTo_p_wxObject(void *x) {
21873 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
21874}
21875static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x) {
21876 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
21877}
21878static void *_p_wxAcceleratorTableTo_p_wxObject(void *x) {
21879 return (void *)((wxObject *) ((wxAcceleratorTable *) x));
21880}
21881static void *_p_wxMiniFrameTo_p_wxObject(void *x) {
21882 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
21883}
21884static void *_p_wxImageTo_p_wxObject(void *x) {
21885 return (void *)((wxObject *) ((wxImage *) x));
21886}
21887static void *_p_wxFrameTo_p_wxObject(void *x) {
21888 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxFrame *) x));
21889}
21890static void *_p_wxPyPrintoutTo_p_wxObject(void *x) {
21891 return (void *)((wxObject *) ((wxPyPrintout *) x));
21892}
21893static void *_p_wxScrollWinEventTo_p_wxObject(void *x) {
21894 return (void *)((wxObject *) (wxEvent *) ((wxScrollWinEvent *) x));
21895}
21896static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x) {
21897 return (void *)((wxObject *) (wxEvent *) ((wxTaskBarIconEvent *) x));
21898}
21899static void *_p_wxStatusBarTo_p_wxObject(void *x) {
21900 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxStatusBar *) x));
21901}
21902static void *_p_wxMDIParentFrameTo_p_wxObject(void *x) {
21903 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
21904}
21905static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x) {
21906 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxWindowDestroyEvent *) x));
21907}
21908static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x) {
21909 return (void *)((wxObject *) (wxEvent *) ((wxNavigationKeyEvent *) x));
21910}
21911static void *_p_wxKeyEventTo_p_wxObject(void *x) {
21912 return (void *)((wxObject *) (wxEvent *) ((wxKeyEvent *) x));
21913}
d14a1e28
RD
21914static void *_p_wxWindowTo_p_wxObject(void *x) {
21915 return (void *)((wxObject *) (wxEvtHandler *) ((wxWindow *) x));
21916}
21917static void *_p_wxMenuTo_p_wxObject(void *x) {
21918 return (void *)((wxObject *) (wxEvtHandler *) ((wxMenu *) x));
21919}
21920static void *_p_wxMenuBarTo_p_wxObject(void *x) {
21921 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMenuBar *) x));
21922}
41f1cec7
RD
21923static void *_p_wxScrolledWindowTo_p_wxObject(void *x) {
21924 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxScrolledWindow *) x));
21925}
d14a1e28
RD
21926static void *_p_wxTopLevelWindowTo_p_wxObject(void *x) {
21927 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxTopLevelWindow *) x));
21928}
21929static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x) {
21930 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplashScreenWindow *) x));
21931}
21932static void *_p_wxSplitterWindowTo_p_wxObject(void *x) {
21933 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSplitterWindow *) x));
21934}
21935static void *_p_wxSashWindowTo_p_wxObject(void *x) {
21936 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxSashWindow *) x));
21937}
21938static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x) {
21939 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxSashWindow *) ((wxSashLayoutWindow *) x));
21940}
21941static void *_p_wxPopupWindowTo_p_wxObject(void *x) {
21942 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPopupWindow *) x));
21943}
21944static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x) {
21945 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
21946}
21947static void *_p_wxTipWindowTo_p_wxObject(void *x) {
21948 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
21949}
21950static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x) {
21951 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPyVScrolledWindow *) x));
21952}
21953static void *_p_wxMDIClientWindowTo_p_wxObject(void *x) {
21954 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxMDIClientWindow *) x));
21955}
21956static void *_p_wxSashEventTo_p_wxObject(void *x) {
21957 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxSashEvent *) x));
21958}
21959static void *_p_wxPrintPreviewTo_p_wxObject(void *x) {
21960 return (void *)((wxObject *) ((wxPrintPreview *) x));
21961}
21962static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x) {
21963 return (void *)((wxObject *) (wxPrintPreview *) ((wxPyPrintPreview *) x));
21964}
21965static void *_p_wxPanelTo_p_wxObject(void *x) {
21966 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *) ((wxPanel *) x));
21967}
21968static void *_p_wxDialogTo_p_wxObject(void *x) {
21969 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *) ((wxDialog *) x));
21970}
21971static void *_p_wxColourDialogTo_p_wxObject(void *x) {
21972 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
21973}
21974static void *_p_wxDirDialogTo_p_wxObject(void *x) {
21975 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
21976}
21977static void *_p_wxFontDialogTo_p_wxObject(void *x) {
21978 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
21979}
21980static void *_p_wxPageSetupDialogTo_p_wxObject(void *x) {
21981 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
21982}
21983static void *_p_wxPrintDialogTo_p_wxObject(void *x) {
21984 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
21985}
21986static void *_p_wxFileSystemTo_p_wxObject(void *x) {
21987 return (void *)((wxObject *) ((wxFileSystem *) x));
21988}
21989static void *_p_wxContextMenuEventTo_p_wxObject(void *x) {
21990 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxContextMenuEvent *) x));
21991}
21992static void *_p_wxMenuEventTo_p_wxObject(void *x) {
21993 return (void *)((wxObject *) (wxEvent *) ((wxMenuEvent *) x));
21994}
21995static void *_p_wxPyAppTo_p_wxObject(void *x) {
21996 return (void *)((wxObject *) (wxEvtHandler *) ((wxPyApp *) x));
21997}
21998static void *_p_wxCloseEventTo_p_wxObject(void *x) {
21999 return (void *)((wxObject *) (wxEvent *) ((wxCloseEvent *) x));
22000}
22001static void *_p_wxMouseEventTo_p_wxObject(void *x) {
22002 return (void *)((wxObject *) (wxEvent *) ((wxMouseEvent *) x));
22003}
22004static void *_p_wxEraseEventTo_p_wxObject(void *x) {
22005 return (void *)((wxObject *) (wxEvent *) ((wxEraseEvent *) x));
22006}
22007static void *_p_wxPyCommandEventTo_p_wxObject(void *x) {
22008 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxPyCommandEvent *) x));
22009}
22010static void *_p_wxCommandEventTo_p_wxObject(void *x) {
22011 return (void *)((wxObject *) (wxEvent *) ((wxCommandEvent *) x));
22012}
22013static void *_p_wxPreviewControlBarTo_p_wxObject(void *x) {
22014 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *) ((wxPreviewControlBar *) x));
22015}
22016static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x) {
22017 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22018}
22019static void *_p_wxDropFilesEventTo_p_wxObject(void *x) {
22020 return (void *)((wxObject *) (wxEvent *) ((wxDropFilesEvent *) x));
22021}
22022static void *_p_wxFocusEventTo_p_wxObject(void *x) {
22023 return (void *)((wxObject *) (wxEvent *) ((wxFocusEvent *) x));
22024}
22025static void *_p_wxChildFocusEventTo_p_wxObject(void *x) {
22026 return (void *)((wxObject *) (wxEvent *)(wxCommandEvent *) ((wxChildFocusEvent *) x));
22027}
22028static void *_p_wxControlWithItemsTo_p_wxObject(void *x) {
22029 return (void *)((wxObject *) (wxEvtHandler *)(wxWindow *)(wxControl *) ((wxControlWithItems *) x));
22030}
22031static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x) {
22032 return (void *)((wxObject *) ((wxPageSetupDialogData *) x));
22033}
22034static void *_p_wxPrintDialogDataTo_p_wxObject(void *x) {
22035 return (void *)((wxObject *) ((wxPrintDialogData *) x));
22036}
22037static void *_p_wxPyValidatorTo_p_wxObject(void *x) {
22038 return (void *)((wxObject *) (wxEvtHandler *)(wxValidator *) ((wxPyValidator *) x));
22039}
22040static void *_p_wxValidatorTo_p_wxObject(void *x) {
22041 return (void *)((wxObject *) (wxEvtHandler *) ((wxValidator *) x));
22042}
22043static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x) {
22044 return (void *)((wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22045}
22046static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x) {
22047 return (void *)((wxPyVScrolledWindow *) (wxPyVListBox *) ((wxPyHtmlListBox *) x));
22048}
22049static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x) {
22050 return (void *)((wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22051}
22052static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x) {
22053 return (void *)((wxSashWindow *) ((wxSashLayoutWindow *) x));
22054}
22055static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x) {
22056 return (void *)((wxTopLevelWindow *) ((wxFrame *) x));
22057}
22058static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x) {
22059 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMiniFrame *) x));
22060}
22061static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x) {
22062 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFontDialog *) x));
22063}
22064static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x) {
22065 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxDirDialog *) x));
22066}
22067static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x) {
22068 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxColourDialog *) x));
22069}
22070static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x) {
22071 return (void *)((wxTopLevelWindow *) ((wxDialog *) x));
22072}
22073static void *_p_wxPageSetupDialogTo_p_wxTopLevelWindow(void *x) {
22074 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPageSetupDialog *) x));
22075}
22076static void *_p_wxPrintDialogTo_p_wxTopLevelWindow(void *x) {
22077 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxPrintDialog *) x));
22078}
22079static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x) {
22080 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxSplashScreen *) x));
22081}
22082static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x) {
22083 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxTipWindow *) x));
22084}
22085static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x) {
22086 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIParentFrame *) x));
22087}
22088static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x) {
22089 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxMDIChildFrame *) x));
22090}
22091static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x) {
22092 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxProgressDialog *) x));
22093}
22094static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x) {
22095 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMessageDialog *) x));
22096}
22097static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x) {
22098 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxTextEntryDialog *) x));
22099}
22100static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22101 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxSingleChoiceDialog *) x));
22102}
22103static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x) {
22104 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxMultiChoiceDialog *) x));
22105}
22106static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x) {
22107 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFileDialog *) x));
22108}
22109static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x) {
22110 return (void *)((wxTopLevelWindow *) (wxDialog *) ((wxFindReplaceDialog *) x));
22111}
22112static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22113 return (void *)((wxTopLevelWindow *) (wxFrame *) ((wxPreviewFrame *) x));
22114}
22115static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x) {
22116 return (void *)((wxTopLevelWindow *) (wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22117}
22118static void *_p_wxSplashScreenTo_p_wxWindow(void *x) {
22119 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxSplashScreen *) x));
22120}
22121static void *_p_wxMiniFrameTo_p_wxWindow(void *x) {
22122 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMiniFrame *) x));
22123}
22124static void *_p_wxPyPanelTo_p_wxWindow(void *x) {
22125 return (void *)((wxWindow *) (wxPanel *) ((wxPyPanel *) x));
22126}
22127static void *_p_wxMenuBarTo_p_wxWindow(void *x) {
22128 return (void *)((wxWindow *) ((wxMenuBar *) x));
22129}
22130static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x) {
22131 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFindReplaceDialog *) x));
22132}
22133static void *_p_wxProgressDialogTo_p_wxWindow(void *x) {
22134 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxProgressDialog *) x));
22135}
22136static void *_p_wxMessageDialogTo_p_wxWindow(void *x) {
22137 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMessageDialog *) x));
22138}
22139static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x) {
22140 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxTextEntryDialog *) x));
22141}
22142static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x) {
22143 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxSingleChoiceDialog *) x));
22144}
22145static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x) {
22146 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxMultiChoiceDialog *) x));
22147}
22148static void *_p_wxFileDialogTo_p_wxWindow(void *x) {
22149 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFileDialog *) x));
22150}
22151static void *_p_wxPanelTo_p_wxWindow(void *x) {
22152 return (void *)((wxWindow *) ((wxPanel *) x));
22153}
22154static void *_p_wxStatusBarTo_p_wxWindow(void *x) {
22155 return (void *)((wxWindow *) ((wxStatusBar *) x));
22156}
22157static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x) {
22158 return (void *)((wxWindow *) ((wxMDIClientWindow *) x));
22159}
22160static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x) {
22161 return (void *)((wxWindow *) (wxPanel *) ((wxPyVScrolledWindow *) x));
22162}
22163static void *_p_wxTipWindowTo_p_wxWindow(void *x) {
22164 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxTipWindow *) x));
22165}
22166static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x) {
22167 return (void *)((wxWindow *) (wxPopupWindow *) ((wxPyPopupTransientWindow *) x));
22168}
22169static void *_p_wxPopupWindowTo_p_wxWindow(void *x) {
22170 return (void *)((wxWindow *) ((wxPopupWindow *) x));
22171}
22172static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x) {
22173 return (void *)((wxWindow *) (wxSashWindow *) ((wxSashLayoutWindow *) x));
22174}
22175static void *_p_wxScrolledWindowTo_p_wxWindow(void *x) {
22176 return (void *)((wxWindow *) (wxPanel *) ((wxScrolledWindow *) x));
22177}
22178static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x) {
22179 return (void *)((wxWindow *) ((wxTopLevelWindow *) x));
22180}
22181static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x) {
22182 return (void *)((wxWindow *) ((wxSplashScreenWindow *) x));
22183}
22184static void *_p_wxSplitterWindowTo_p_wxWindow(void *x) {
22185 return (void *)((wxWindow *) ((wxSplitterWindow *) x));
22186}
22187static void *_p_wxSashWindowTo_p_wxWindow(void *x) {
22188 return (void *)((wxWindow *) ((wxSashWindow *) x));
22189}
22190static void *_p_wxControlTo_p_wxWindow(void *x) {
22191 return (void *)((wxWindow *) ((wxControl *) x));
22192}
22193static void *_p_wxPreviewFrameTo_p_wxWindow(void *x) {
22194 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxPreviewFrame *) x));
22195}
22196static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x) {
22197 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *)(wxPreviewFrame *) ((wxPyPreviewFrame *) x));
22198}
22199static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x) {
22200 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIChildFrame *) x));
22201}
22202static void *_p_wxControlWithItemsTo_p_wxWindow(void *x) {
22203 return (void *)((wxWindow *) (wxControl *) ((wxControlWithItems *) x));
22204}
22205static void *_p_wxPyWindowTo_p_wxWindow(void *x) {
22206 return (void *)((wxWindow *) ((wxPyWindow *) x));
22207}
22208static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x) {
22209 return (void *)((wxWindow *) (wxPanel *)(wxScrolledWindow *) ((wxPreviewCanvas *) x));
22210}
22211static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x) {
22212 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22213}
22214static void *_p_wxPyVListBoxTo_p_wxWindow(void *x) {
22215 return (void *)((wxWindow *) (wxPanel *)(wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22216}
22217static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x) {
22218 return (void *)((wxWindow *) (wxPanel *) ((wxPreviewControlBar *) x));
22219}
22220static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x) {
22221 return (void *)((wxWindow *) (wxPanel *)(wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22222}
22223static void *_p_wxFrameTo_p_wxWindow(void *x) {
22224 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxFrame *) x));
22225}
22226static void *_p_wxFontDialogTo_p_wxWindow(void *x) {
22227 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxFontDialog *) x));
22228}
22229static void *_p_wxDirDialogTo_p_wxWindow(void *x) {
22230 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxDirDialog *) x));
22231}
22232static void *_p_wxColourDialogTo_p_wxWindow(void *x) {
22233 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxColourDialog *) x));
22234}
22235static void *_p_wxDialogTo_p_wxWindow(void *x) {
22236 return (void *)((wxWindow *) (wxTopLevelWindow *) ((wxDialog *) x));
22237}
22238static void *_p_wxPageSetupDialogTo_p_wxWindow(void *x) {
22239 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPageSetupDialog *) x));
22240}
22241static void *_p_wxPrintDialogTo_p_wxWindow(void *x) {
22242 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxDialog *) ((wxPrintDialog *) x));
22243}
22244static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x) {
22245 return (void *)((wxWindow *) (wxTopLevelWindow *)(wxFrame *) ((wxMDIParentFrame *) x));
22246}
22247static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x) {
22248 return (void *)((wxScrolledWindow *) ((wxPreviewCanvas *) x));
22249}
22250static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x) {
22251 return (void *)((wxPrintPreview *) ((wxPyPrintPreview *) x));
22252}
22253static void *_p_wxColourDialogTo_p_wxDialog(void *x) {
22254 return (void *)((wxDialog *) ((wxColourDialog *) x));
22255}
22256static void *_p_wxDirDialogTo_p_wxDialog(void *x) {
22257 return (void *)((wxDialog *) ((wxDirDialog *) x));
22258}
22259static void *_p_wxFontDialogTo_p_wxDialog(void *x) {
22260 return (void *)((wxDialog *) ((wxFontDialog *) x));
22261}
22262static void *_p_wxPageSetupDialogTo_p_wxDialog(void *x) {
22263 return (void *)((wxDialog *) ((wxPageSetupDialog *) x));
22264}
22265static void *_p_wxPrintDialogTo_p_wxDialog(void *x) {
22266 return (void *)((wxDialog *) ((wxPrintDialog *) x));
22267}
22268static void *_p_wxFileDialogTo_p_wxDialog(void *x) {
22269 return (void *)((wxDialog *) ((wxFileDialog *) x));
22270}
22271static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x) {
22272 return (void *)((wxDialog *) ((wxMultiChoiceDialog *) x));
22273}
22274static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x) {
22275 return (void *)((wxDialog *) ((wxSingleChoiceDialog *) x));
22276}
22277static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x) {
22278 return (void *)((wxDialog *) ((wxTextEntryDialog *) x));
22279}
22280static void *_p_wxMessageDialogTo_p_wxDialog(void *x) {
22281 return (void *)((wxDialog *) ((wxMessageDialog *) x));
22282}
22283static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x) {
22284 return (void *)((wxDialog *) ((wxFindReplaceDialog *) x));
22285}
22286static void *_p_wxScrolledWindowTo_p_wxPanel(void *x) {
22287 return (void *)((wxPanel *) ((wxScrolledWindow *) x));
22288}
22289static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x) {
22290 return (void *)((wxPanel *) ((wxPyVScrolledWindow *) x));
22291}
22292static void *_p_wxPyVListBoxTo_p_wxPanel(void *x) {
22293 return (void *)((wxPanel *) (wxPyVScrolledWindow *) ((wxPyVListBox *) x));
22294}
22295static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x) {
22296 return (void *)((wxPanel *) (wxPyVScrolledWindow *)(wxPyVListBox *) ((wxPyHtmlListBox *) x));
22297}
22298static void *_p_wxPyPanelTo_p_wxPanel(void *x) {
22299 return (void *)((wxPanel *) ((wxPyPanel *) x));
22300}
22301static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x) {
22302 return (void *)((wxPanel *) (wxScrolledWindow *) ((wxPreviewCanvas *) x));
22303}
22304static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x) {
22305 return (void *)((wxPanel *) ((wxPreviewControlBar *) x));
22306}
22307static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x) {
22308 return (void *)((wxPanel *) (wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22309}
22310static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x) {
22311 return (void *)((wxCommandEvent *) ((wxChildFocusEvent *) x));
22312}
22313static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x) {
22314 return (void *)((wxCommandEvent *) ((wxScrollEvent *) x));
22315}
22316static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x) {
22317 return (void *)((wxCommandEvent *) ((wxWindowCreateEvent *) x));
22318}
22319static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x) {
22320 return (void *)((wxCommandEvent *) ((wxUpdateUIEvent *) x));
22321}
22322static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x) {
22323 return (void *)((wxCommandEvent *) ((wxFindDialogEvent *) x));
22324}
22325static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x) {
22326 return (void *)((wxCommandEvent *) ((wxWindowDestroyEvent *) x));
22327}
22328static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x) {
22329 return (void *)((wxCommandEvent *) ((wxContextMenuEvent *) x));
22330}
22331static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x) {
22332 return (void *)((wxCommandEvent *) (wxNotifyEvent *) ((wxSplitterEvent *) x));
22333}
22334static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x) {
22335 return (void *)((wxCommandEvent *) ((wxNotifyEvent *) x));
22336}
22337static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x) {
22338 return (void *)((wxCommandEvent *) ((wxPyCommandEvent *) x));
22339}
22340static void *_p_wxSashEventTo_p_wxCommandEvent(void *x) {
22341 return (void *)((wxCommandEvent *) ((wxSashEvent *) x));
22342}
22343static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x) {
22344 return (void *)((wxPreviewControlBar *) ((wxPyPreviewControlBar *) x));
22345}
22346static swig_type_info _swigt__p_wxQueryLayoutInfoEvent[] = {{"_p_wxQueryLayoutInfoEvent", 0, "wxQueryLayoutInfoEvent *", 0},{"_p_wxQueryLayoutInfoEvent"},{0}};
22347static swig_type_info _swigt__p_wxPreviewFrame[] = {{"_p_wxPreviewFrame", 0, "wxPreviewFrame *", 0},{"_p_wxPreviewFrame"},{"_p_wxPyPreviewFrame", _p_wxPyPreviewFrameTo_p_wxPreviewFrame},{0}};
22348static swig_type_info _swigt__p_wxPyPreviewFrame[] = {{"_p_wxPyPreviewFrame", 0, "wxPyPreviewFrame *", 0},{"_p_wxPyPreviewFrame"},{0}};
d14a1e28
RD
22349static swig_type_info _swigt__p_wxPyPanel[] = {{"_p_wxPyPanel", 0, "wxPyPanel *", 0},{"_p_wxPyPanel"},{0}};
22350static swig_type_info _swigt__p_wxMenu[] = {{"_p_wxMenu", 0, "wxMenu *", 0},{"_p_wxMenu"},{0}};
22351static swig_type_info _swigt__p_wxPrintData[] = {{"_p_wxPrintData", 0, "wxPrintData *", 0},{"_p_wxPrintData"},{0}};
22352static swig_type_info _swigt__p_wxFontData[] = {{"_p_wxFontData", 0, "wxFontData *", 0},{"_p_wxFontData"},{0}};
22353static 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}};
22354static swig_type_info _swigt__p_wxTaskBarIcon[] = {{"_p_wxTaskBarIcon", 0, "wxTaskBarIcon *", 0},{"_p_wxTaskBarIcon"},{0}};
22355static swig_type_info _swigt__p_wxIconBundle[] = {{"_p_wxIconBundle", 0, "wxIconBundle *", 0},{"_p_wxIconBundle"},{0}};
22356static swig_type_info _swigt__p_wxLayoutAlgorithm[] = {{"_p_wxLayoutAlgorithm", 0, "wxLayoutAlgorithm *", 0},{"_p_wxLayoutAlgorithm"},{0}};
22357static swig_type_info _swigt__p_wxFindDialogEvent[] = {{"_p_wxFindDialogEvent", 0, "wxFindDialogEvent *", 0},{"_p_wxFindDialogEvent"},{0}};
22358static swig_type_info _swigt__p_wxPreviewCanvas[] = {{"_p_wxPreviewCanvas", 0, "wxPreviewCanvas *", 0},{"_p_wxPreviewCanvas"},{0}};
22359static swig_type_info _swigt__p_wxFont[] = {{"_p_wxFont", 0, "wxFont *", 0},{"_p_wxFont"},{0}};
22360static swig_type_info _swigt__p_wxSplitterEvent[] = {{"_p_wxSplitterEvent", 0, "wxSplitterEvent *", 0},{"_p_wxSplitterEvent"},{0}};
22361static swig_type_info _swigt__p_wxRegion[] = {{"_p_wxRegion", 0, "wxRegion *", 0},{"_p_wxRegion"},{0}};
22362static swig_type_info _swigt__p_wxFindReplaceData[] = {{"_p_wxFindReplaceData", 0, "wxFindReplaceData *", 0},{"_p_wxFindReplaceData"},{0}};
22363static swig_type_info _swigt__p_int[] = {{"_p_int", 0, "int *", 0},{"_p_int"},{0}};
22364static swig_type_info _swigt__p_wxSize[] = {{"_p_wxSize", 0, "wxSize *", 0},{"_p_wxSize"},{0}};
22365static swig_type_info _swigt__p_wxDC[] = {{"_p_wxDC", 0, "wxDC *", 0},{"_p_wxDC"},{0}};
22366static swig_type_info _swigt__p_wxIcon[] = {{"_p_wxIcon", 0, "wxIcon *", 0},{"_p_wxIcon"},{0}};
22367static swig_type_info _swigt__p_wxMDIChildFrame[] = {{"_p_wxMDIChildFrame", 0, "wxMDIChildFrame *", 0},{"_p_wxMDIChildFrame"},{0}};
22368static swig_type_info _swigt__p_wxColourData[] = {{"_p_wxColourData", 0, "wxColourData *", 0},{"_p_wxColourData"},{0}};
22369static swig_type_info _swigt__p_wxNotifyEvent[] = {{"_p_wxNotifyEvent", 0, "wxNotifyEvent *", 0},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxNotifyEvent},{"_p_wxNotifyEvent"},{0}};
22370static swig_type_info _swigt__p_wxPyWindow[] = {{"_p_wxPyWindow", 0, "wxPyWindow *", 0},{"_p_wxPyWindow"},{0}};
22371static swig_type_info _swigt__p_wxSplashScreen[] = {{"_p_wxSplashScreen", 0, "wxSplashScreen *", 0},{"_p_wxSplashScreen"},{0}};
22372static swig_type_info _swigt__p_wxFindReplaceDialog[] = {{"_p_wxFindReplaceDialog", 0, "wxFindReplaceDialog *", 0},{"_p_wxFindReplaceDialog"},{0}};
22373static swig_type_info _swigt__p_wxProgressDialog[] = {{"_p_wxProgressDialog", 0, "wxProgressDialog *", 0},{"_p_wxProgressDialog"},{0}};
22374static swig_type_info _swigt__p_wxMessageDialog[] = {{"_p_wxMessageDialog", 0, "wxMessageDialog *", 0},{"_p_wxMessageDialog"},{0}};
22375static swig_type_info _swigt__p_wxTextEntryDialog[] = {{"_p_wxTextEntryDialog", 0, "wxTextEntryDialog *", 0},{"_p_wxTextEntryDialog"},{0}};
22376static swig_type_info _swigt__p_wxSingleChoiceDialog[] = {{"_p_wxSingleChoiceDialog", 0, "wxSingleChoiceDialog *", 0},{"_p_wxSingleChoiceDialog"},{0}};
22377static swig_type_info _swigt__p_wxMultiChoiceDialog[] = {{"_p_wxMultiChoiceDialog", 0, "wxMultiChoiceDialog *", 0},{"_p_wxMultiChoiceDialog"},{0}};
22378static swig_type_info _swigt__p_wxFileDialog[] = {{"_p_wxFileDialog", 0, "wxFileDialog *", 0},{"_p_wxFileDialog"},{0}};
22379static swig_type_info _swigt__p_wxPrinter[] = {{"_p_wxPrinter", 0, "wxPrinter *", 0},{"_p_wxPrinter"},{0}};
d14a1e28
RD
22380static swig_type_info _swigt__p_wxArrayInt[] = {{"_p_wxArrayInt", 0, "wxArrayInt *", 0},{"_p_wxArrayInt"},{0}};
22381static 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxDialog", _p_wxDialogTo_p_wxEvtHandler},{"_p_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxEvtHandler},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxEvtHandler},{"_p_wxColourDialog", _p_wxColourDialogTo_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}};
22382static swig_type_info _swigt__p_wxCalculateLayoutEvent[] = {{"_p_wxCalculateLayoutEvent", 0, "wxCalculateLayoutEvent *", 0},{"_p_wxCalculateLayoutEvent"},{0}};
22383static swig_type_info _swigt__p_wxPyHtmlListBox[] = {{"_p_wxPyHtmlListBox", 0, "wxPyHtmlListBox *", 0},{"_p_wxPyHtmlListBox"},{0}};
22384static swig_type_info _swigt__p_wxPyVListBox[] = {{"_p_wxPyVListBox", 0, "wxPyVListBox *", 0},{"_p_wxPyVListBox"},{"_p_wxPyHtmlListBox", _p_wxPyHtmlListBoxTo_p_wxPyVListBox},{0}};
22385static swig_type_info _swigt__p_wxRect[] = {{"_p_wxRect", 0, "wxRect *", 0},{"_p_wxRect"},{0}};
d14a1e28
RD
22386static swig_type_info _swigt__p_wxMiniFrame[] = {{"_p_wxMiniFrame", 0, "wxMiniFrame *", 0},{"_p_wxMiniFrame"},{0}};
22387static swig_type_info _swigt__p_wxFrame[] = {{"_p_wxFrame", 0, "wxFrame *", 0},{"_p_wxMDIChildFrame", _p_wxMDIChildFrameTo_p_wxFrame},{"_p_wxProgressDialog", _p_wxProgressDialogTo_p_wxFrame},{"_p_wxTipWindow", _p_wxTipWindowTo_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}};
22388static swig_type_info _swigt__p_wxPyPrintout[] = {{"_p_wxPyPrintout", 0, "wxPyPrintout *", 0},{"_p_wxPyPrintout"},{0}};
22389static swig_type_info _swigt__p_wxTaskBarIconEvent[] = {{"_p_wxTaskBarIconEvent", 0, "wxTaskBarIconEvent *", 0},{"_p_wxTaskBarIconEvent"},{0}};
22390static swig_type_info _swigt__p_wxScrollWinEvent[] = {{"_p_wxScrollWinEvent", 0, "wxScrollWinEvent *", 0},{"_p_wxScrollWinEvent"},{0}};
22391static swig_type_info _swigt__p_wxStatusBar[] = {{"_p_wxStatusBar", 0, "wxStatusBar *", 0},{"_p_wxStatusBar"},{0}};
22392static swig_type_info _swigt__p_wxMDIParentFrame[] = {{"_p_wxMDIParentFrame", 0, "wxMDIParentFrame *", 0},{"_p_wxMDIParentFrame"},{0}};
22393static swig_type_info _swigt__p_wxPoint[] = {{"_p_wxPoint", 0, "wxPoint *", 0},{"_p_wxPoint"},{0}};
22394static 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_wxTipWindow", _p_wxTipWindowTo_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_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}};
22395static swig_type_info _swigt__p_unsigned_long[] = {{"_p_unsigned_long", 0, "unsigned long *", 0},{"_p_unsigned_long"},{0}};
22396static swig_type_info _swigt__p_wxMDIClientWindow[] = {{"_p_wxMDIClientWindow", 0, "wxMDIClientWindow *", 0},{"_p_wxMDIClientWindow"},{0}};
22397static swig_type_info _swigt__p_wxTipWindow[] = {{"_p_wxTipWindow", 0, "wxTipWindow *", 0},{"_p_wxTipWindow"},{0}};
22398static swig_type_info _swigt__p_wxPyPopupTransientWindow[] = {{"_p_wxPyPopupTransientWindow", 0, "wxPyPopupTransientWindow *", 0},{"_p_wxPyPopupTransientWindow"},{0}};
22399static swig_type_info _swigt__p_wxSashLayoutWindow[] = {{"_p_wxSashLayoutWindow", 0, "wxSashLayoutWindow *", 0},{"_p_wxSashLayoutWindow"},{0}};
22400static swig_type_info _swigt__p_wxSplitterWindow[] = {{"_p_wxSplitterWindow", 0, "wxSplitterWindow *", 0},{"_p_wxSplitterWindow"},{0}};
d14a1e28
RD
22401static 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}};
22402static swig_type_info _swigt__p_wxPopupWindow[] = {{"_p_wxPopupWindow", 0, "wxPopupWindow *", 0},{"_p_wxPopupWindow"},{"_p_wxPyPopupTransientWindow", _p_wxPyPopupTransientWindowTo_p_wxPopupWindow},{0}};
22403static swig_type_info _swigt__p_wxSashWindow[] = {{"_p_wxSashWindow", 0, "wxSashWindow *", 0},{"_p_wxSashWindow"},{"_p_wxSashLayoutWindow", _p_wxSashLayoutWindowTo_p_wxSashWindow},{0}};
22404static swig_type_info _swigt__p_wxTopLevelWindow[] = {{"_p_wxTopLevelWindow", 0, "wxTopLevelWindow *", 0},{"_p_wxFrame", _p_wxFrameTo_p_wxTopLevelWindow},{"_p_wxMiniFrame", _p_wxMiniFrameTo_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_wxDirDialog", _p_wxDirDialogTo_p_wxTopLevelWindow},{"_p_wxFontDialog", _p_wxFontDialogTo_p_wxTopLevelWindow},{"_p_wxSplashScreen", _p_wxSplashScreenTo_p_wxTopLevelWindow},{"_p_wxTipWindow", _p_wxTipWindowTo_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}};
22405static 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_wxTipWindow", _p_wxTipWindowTo_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_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_wxPageSetupDialog", _p_wxPageSetupDialogTo_p_wxWindow},{"_p_wxPrintDialog", _p_wxPrintDialogTo_p_wxWindow},{"_p_wxDialog", _p_wxDialogTo_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}};
22406static swig_type_info _swigt__p_wxScrolledWindow[] = {{"_p_wxScrolledWindow", 0, "wxScrolledWindow *", 0},{"_p_wxScrolledWindow"},{"_p_wxPreviewCanvas", _p_wxPreviewCanvasTo_p_wxScrolledWindow},{0}};
41f1cec7 22407static swig_type_info _swigt__p_wxSplashScreenWindow[] = {{"_p_wxSplashScreenWindow", 0, "wxSplashScreenWindow *", 0},{"_p_wxSplashScreenWindow"},{0}};
d14a1e28
RD
22408static swig_type_info _swigt__p_wxMenuBar[] = {{"_p_wxMenuBar", 0, "wxMenuBar *", 0},{"_p_wxMenuBar"},{0}};
22409static swig_type_info _swigt__p_wxPrintPreview[] = {{"_p_wxPrintPreview", 0, "wxPrintPreview *", 0},{"_p_wxPrintPreview"},{"_p_wxPyPrintPreview", _p_wxPyPrintPreviewTo_p_wxPrintPreview},{0}};
22410static swig_type_info _swigt__p_wxSashEvent[] = {{"_p_wxSashEvent", 0, "wxSashEvent *", 0},{"_p_wxSashEvent"},{0}};
22411static swig_type_info _swigt__p_wxString[] = {{"_p_wxString", 0, "wxString *", 0},{"_p_wxString"},{0}};
22412static swig_type_info _swigt__p_wxPyPrintPreview[] = {{"_p_wxPyPrintPreview", 0, "wxPyPrintPreview *", 0},{"_p_wxPyPrintPreview"},{0}};
41f1cec7 22413static swig_type_info _swigt__p_wxPageSetupDialog[] = {{"_p_wxPageSetupDialog", 0, "wxPageSetupDialog *", 0},{"_p_wxPageSetupDialog"},{0}};
d14a1e28
RD
22414static swig_type_info _swigt__p_wxFontDialog[] = {{"_p_wxFontDialog", 0, "wxFontDialog *", 0},{"_p_wxFontDialog"},{0}};
22415static swig_type_info _swigt__p_wxDirDialog[] = {{"_p_wxDirDialog", 0, "wxDirDialog *", 0},{"_p_wxDirDialog"},{0}};
22416static swig_type_info _swigt__p_wxColourDialog[] = {{"_p_wxColourDialog", 0, "wxColourDialog *", 0},{"_p_wxColourDialog"},{0}};
22417static 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}};
22418static 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
22419static swig_type_info _swigt__p_wxPrintDialog[] = {{"_p_wxPrintDialog", 0, "wxPrintDialog *", 0},{"_p_wxPrintDialog"},{0}};
22420static swig_type_info _swigt__p_wxBitmap[] = {{"_p_wxBitmap", 0, "wxBitmap *", 0},{"_p_wxBitmap"},{0}};
22421static swig_type_info _swigt__p_wxCommandEvent[] = {{"_p_wxCommandEvent", 0, "wxCommandEvent *", 0},{"_p_wxChildFocusEvent", _p_wxChildFocusEventTo_p_wxCommandEvent},{"_p_wxScrollEvent", _p_wxScrollEventTo_p_wxCommandEvent},{"_p_wxWindowCreateEvent", _p_wxWindowCreateEventTo_p_wxCommandEvent},{"_p_wxUpdateUIEvent", _p_wxUpdateUIEventTo_p_wxCommandEvent},{"_p_wxFindDialogEvent", _p_wxFindDialogEventTo_p_wxCommandEvent},{"_p_wxWindowDestroyEvent", _p_wxWindowDestroyEventTo_p_wxCommandEvent},{"_p_wxContextMenuEvent", _p_wxContextMenuEventTo_p_wxCommandEvent},{"_p_wxSplitterEvent", _p_wxSplitterEventTo_p_wxCommandEvent},{"_p_wxCommandEvent"},{"_p_wxNotifyEvent", _p_wxNotifyEventTo_p_wxCommandEvent},{"_p_wxPyCommandEvent", _p_wxPyCommandEventTo_p_wxCommandEvent},{"_p_wxSashEvent", _p_wxSashEventTo_p_wxCommandEvent},{0}};
d14a1e28
RD
22422static swig_type_info _swigt__p_wxPreviewControlBar[] = {{"_p_wxPreviewControlBar", 0, "wxPreviewControlBar *", 0},{"_p_wxPreviewControlBar"},{"_p_wxPyPreviewControlBar", _p_wxPyPreviewControlBarTo_p_wxPreviewControlBar},{0}};
22423static swig_type_info _swigt__p_wxPyPreviewControlBar[] = {{"_p_wxPyPreviewControlBar", 0, "wxPyPreviewControlBar *", 0},{"_p_wxPyPreviewControlBar"},{0}};
22424static swig_type_info _swigt__p_wxColour[] = {{"_p_wxColour", 0, "wxColour *", 0},{"_p_wxColour"},{0}};
22425static swig_type_info _swigt__p_wxToolBar[] = {{"_p_wxToolBar", 0, "wxToolBar *", 0},{"_p_wxToolBar"},{0}};
d14a1e28 22426static swig_type_info _swigt__p_wxPrintDialogData[] = {{"_p_wxPrintDialogData", 0, "wxPrintDialogData *", 0},{"_p_wxPrintDialogData"},{0}};
cbd72d4f 22427static swig_type_info _swigt__p_wxPageSetupDialogData[] = {{"_p_wxPageSetupDialogData", 0, "wxPageSetupDialogData *", 0},{"_p_wxPageSetupDialogData"},{0}};
d14a1e28
RD
22428
22429static swig_type_info *swig_types_initial[] = {
22430_swigt__p_wxQueryLayoutInfoEvent,
22431_swigt__p_wxPreviewFrame,
22432_swigt__p_wxPyPreviewFrame,
d14a1e28
RD
22433_swigt__p_wxPyPanel,
22434_swigt__p_wxMenu,
22435_swigt__p_wxPrintData,
22436_swigt__p_wxFontData,
22437_swigt__p_wxEvent,
22438_swigt__p_wxTaskBarIcon,
22439_swigt__p_wxIconBundle,
22440_swigt__p_wxLayoutAlgorithm,
22441_swigt__p_wxFindDialogEvent,
22442_swigt__p_wxPreviewCanvas,
22443_swigt__p_wxFont,
22444_swigt__p_wxSplitterEvent,
22445_swigt__p_wxRegion,
22446_swigt__p_wxFindReplaceData,
22447_swigt__p_int,
22448_swigt__p_wxSize,
22449_swigt__p_wxDC,
22450_swigt__p_wxIcon,
22451_swigt__p_wxMDIChildFrame,
22452_swigt__p_wxColourData,
22453_swigt__p_wxNotifyEvent,
22454_swigt__p_wxPyWindow,
22455_swigt__p_wxSplashScreen,
22456_swigt__p_wxFindReplaceDialog,
22457_swigt__p_wxProgressDialog,
22458_swigt__p_wxMessageDialog,
22459_swigt__p_wxTextEntryDialog,
22460_swigt__p_wxSingleChoiceDialog,
22461_swigt__p_wxMultiChoiceDialog,
22462_swigt__p_wxFileDialog,
22463_swigt__p_wxPrinter,
d14a1e28
RD
22464_swigt__p_wxArrayInt,
22465_swigt__p_wxEvtHandler,
22466_swigt__p_wxCalculateLayoutEvent,
22467_swigt__p_wxPyHtmlListBox,
22468_swigt__p_wxPyVListBox,
22469_swigt__p_wxRect,
d14a1e28
RD
22470_swigt__p_wxMiniFrame,
22471_swigt__p_wxFrame,
22472_swigt__p_wxPyPrintout,
22473_swigt__p_wxTaskBarIconEvent,
22474_swigt__p_wxScrollWinEvent,
22475_swigt__p_wxStatusBar,
22476_swigt__p_wxMDIParentFrame,
22477_swigt__p_wxPoint,
22478_swigt__p_wxObject,
22479_swigt__p_unsigned_long,
22480_swigt__p_wxMDIClientWindow,
22481_swigt__p_wxTipWindow,
22482_swigt__p_wxPyPopupTransientWindow,
22483_swigt__p_wxSashLayoutWindow,
22484_swigt__p_wxSplitterWindow,
d14a1e28
RD
22485_swigt__p_wxPyVScrolledWindow,
22486_swigt__p_wxPopupWindow,
22487_swigt__p_wxSashWindow,
22488_swigt__p_wxTopLevelWindow,
22489_swigt__p_wxWindow,
22490_swigt__p_wxScrolledWindow,
41f1cec7 22491_swigt__p_wxSplashScreenWindow,
d14a1e28
RD
22492_swigt__p_wxMenuBar,
22493_swigt__p_wxPrintPreview,
22494_swigt__p_wxSashEvent,
22495_swigt__p_wxString,
22496_swigt__p_wxPyPrintPreview,
41f1cec7 22497_swigt__p_wxPageSetupDialog,
d14a1e28
RD
22498_swigt__p_wxFontDialog,
22499_swigt__p_wxDirDialog,
22500_swigt__p_wxColourDialog,
22501_swigt__p_wxDialog,
22502_swigt__p_wxPanel,
d14a1e28
RD
22503_swigt__p_wxPrintDialog,
22504_swigt__p_wxBitmap,
22505_swigt__p_wxCommandEvent,
d14a1e28
RD
22506_swigt__p_wxPreviewControlBar,
22507_swigt__p_wxPyPreviewControlBar,
22508_swigt__p_wxColour,
22509_swigt__p_wxToolBar,
d14a1e28 22510_swigt__p_wxPrintDialogData,
cbd72d4f 22511_swigt__p_wxPageSetupDialogData,
d14a1e28
RD
225120
22513};
22514
22515
22516/* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
22517
22518static swig_const_info swig_const_table[] = {
22519{ SWIG_PY_INT, (char *)"FULLSCREEN_NOMENUBAR", (long) wxFULLSCREEN_NOMENUBAR, 0, 0, 0},
22520{ SWIG_PY_INT, (char *)"FULLSCREEN_NOTOOLBAR", (long) wxFULLSCREEN_NOTOOLBAR, 0, 0, 0},
22521{ SWIG_PY_INT, (char *)"FULLSCREEN_NOSTATUSBAR", (long) wxFULLSCREEN_NOSTATUSBAR, 0, 0, 0},
22522{ SWIG_PY_INT, (char *)"FULLSCREEN_NOBORDER", (long) wxFULLSCREEN_NOBORDER, 0, 0, 0},
22523{ SWIG_PY_INT, (char *)"FULLSCREEN_NOCAPTION", (long) wxFULLSCREEN_NOCAPTION, 0, 0, 0},
22524{ SWIG_PY_INT, (char *)"FULLSCREEN_ALL", (long) wxFULLSCREEN_ALL, 0, 0, 0},
22525{ SWIG_PY_INT, (char *)"TOPLEVEL_EX_DIALOG", (long) wxTOPLEVEL_EX_DIALOG, 0, 0, 0},
22526{ SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_PARENT", (long) wxSPLASH_CENTRE_ON_PARENT, 0, 0, 0},
22527{ SWIG_PY_INT, (char *)"SPLASH_CENTRE_ON_SCREEN", (long) wxSPLASH_CENTRE_ON_SCREEN, 0, 0, 0},
22528{ SWIG_PY_INT, (char *)"SPLASH_NO_CENTRE", (long) wxSPLASH_NO_CENTRE, 0, 0, 0},
22529{ SWIG_PY_INT, (char *)"SPLASH_TIMEOUT", (long) wxSPLASH_TIMEOUT, 0, 0, 0},
22530{ SWIG_PY_INT, (char *)"SPLASH_NO_TIMEOUT", (long) wxSPLASH_NO_TIMEOUT, 0, 0, 0},
22531{ SWIG_PY_INT, (char *)"SP_NOBORDER", (long) wxSP_NOBORDER, 0, 0, 0},
22532{ SWIG_PY_INT, (char *)"SP_NOSASH", (long) wxSP_NOSASH, 0, 0, 0},
22533{ SWIG_PY_INT, (char *)"SP_PERMIT_UNSPLIT", (long) wxSP_PERMIT_UNSPLIT, 0, 0, 0},
22534{ SWIG_PY_INT, (char *)"SP_LIVE_UPDATE", (long) wxSP_LIVE_UPDATE, 0, 0, 0},
22535{ SWIG_PY_INT, (char *)"SP_3DSASH", (long) wxSP_3DSASH, 0, 0, 0},
22536{ SWIG_PY_INT, (char *)"SP_3DBORDER", (long) wxSP_3DBORDER, 0, 0, 0},
22537{ SWIG_PY_INT, (char *)"SP_BORDER", (long) wxSP_BORDER, 0, 0, 0},
22538{ SWIG_PY_INT, (char *)"SP_3D", (long) wxSP_3D, 0, 0, 0},
22539{ SWIG_PY_INT, (char *)"SPLIT_HORIZONTAL", (long) wxSPLIT_HORIZONTAL, 0, 0, 0},
22540{ SWIG_PY_INT, (char *)"SPLIT_VERTICAL", (long) wxSPLIT_VERTICAL, 0, 0, 0},
22541{ SWIG_PY_INT, (char *)"SPLIT_DRAG_NONE", (long) wxSPLIT_DRAG_NONE, 0, 0, 0},
22542{ SWIG_PY_INT, (char *)"SPLIT_DRAG_DRAGGING", (long) wxSPLIT_DRAG_DRAGGING, 0, 0, 0},
22543{ SWIG_PY_INT, (char *)"SPLIT_DRAG_LEFT_DOWN", (long) wxSPLIT_DRAG_LEFT_DOWN, 0, 0, 0},
22544{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED, 0, 0, 0},
22545{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", (long) wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING, 0, 0, 0},
22546{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", (long) wxEVT_COMMAND_SPLITTER_DOUBLECLICKED, 0, 0, 0},
22547{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_SPLITTER_UNSPLIT", (long) wxEVT_COMMAND_SPLITTER_UNSPLIT, 0, 0, 0},
22548{ SWIG_PY_INT, (char *)"SASH_DRAG_NONE", (long) wxSASH_DRAG_NONE, 0, 0, 0},
22549{ SWIG_PY_INT, (char *)"SASH_DRAG_DRAGGING", (long) wxSASH_DRAG_DRAGGING, 0, 0, 0},
22550{ SWIG_PY_INT, (char *)"SASH_DRAG_LEFT_DOWN", (long) wxSASH_DRAG_LEFT_DOWN, 0, 0, 0},
22551{ SWIG_PY_INT, (char *)"SW_NOBORDER", (long) wxSW_NOBORDER, 0, 0, 0},
22552{ SWIG_PY_INT, (char *)"SW_BORDER", (long) wxSW_BORDER, 0, 0, 0},
22553{ SWIG_PY_INT, (char *)"SW_3DSASH", (long) wxSW_3DSASH, 0, 0, 0},
22554{ SWIG_PY_INT, (char *)"SW_3DBORDER", (long) wxSW_3DBORDER, 0, 0, 0},
22555{ SWIG_PY_INT, (char *)"SW_3D", (long) wxSW_3D, 0, 0, 0},
22556{ SWIG_PY_INT, (char *)"SASH_TOP", (long) wxSASH_TOP, 0, 0, 0},
22557{ SWIG_PY_INT, (char *)"SASH_RIGHT", (long) wxSASH_RIGHT, 0, 0, 0},
22558{ SWIG_PY_INT, (char *)"SASH_BOTTOM", (long) wxSASH_BOTTOM, 0, 0, 0},
22559{ SWIG_PY_INT, (char *)"SASH_LEFT", (long) wxSASH_LEFT, 0, 0, 0},
22560{ SWIG_PY_INT, (char *)"SASH_NONE", (long) wxSASH_NONE, 0, 0, 0},
22561{ SWIG_PY_INT, (char *)"SASH_STATUS_OK", (long) wxSASH_STATUS_OK, 0, 0, 0},
22562{ SWIG_PY_INT, (char *)"SASH_STATUS_OUT_OF_RANGE", (long) wxSASH_STATUS_OUT_OF_RANGE, 0, 0, 0},
22563{ SWIG_PY_INT, (char *)"wxEVT_SASH_DRAGGED", (long) wxEVT_SASH_DRAGGED, 0, 0, 0},
22564{ SWIG_PY_INT, (char *)"LAYOUT_HORIZONTAL", (long) wxLAYOUT_HORIZONTAL, 0, 0, 0},
22565{ SWIG_PY_INT, (char *)"LAYOUT_VERTICAL", (long) wxLAYOUT_VERTICAL, 0, 0, 0},
22566{ SWIG_PY_INT, (char *)"LAYOUT_NONE", (long) wxLAYOUT_NONE, 0, 0, 0},
22567{ SWIG_PY_INT, (char *)"LAYOUT_TOP", (long) wxLAYOUT_TOP, 0, 0, 0},
22568{ SWIG_PY_INT, (char *)"LAYOUT_LEFT", (long) wxLAYOUT_LEFT, 0, 0, 0},
22569{ SWIG_PY_INT, (char *)"LAYOUT_RIGHT", (long) wxLAYOUT_RIGHT, 0, 0, 0},
22570{ SWIG_PY_INT, (char *)"LAYOUT_BOTTOM", (long) wxLAYOUT_BOTTOM, 0, 0, 0},
22571{ SWIG_PY_INT, (char *)"LAYOUT_LENGTH_Y", (long) wxLAYOUT_LENGTH_Y, 0, 0, 0},
22572{ SWIG_PY_INT, (char *)"LAYOUT_LENGTH_X", (long) wxLAYOUT_LENGTH_X, 0, 0, 0},
22573{ SWIG_PY_INT, (char *)"LAYOUT_MRU_LENGTH", (long) wxLAYOUT_MRU_LENGTH, 0, 0, 0},
22574{ SWIG_PY_INT, (char *)"LAYOUT_QUERY", (long) wxLAYOUT_QUERY, 0, 0, 0},
22575{ SWIG_PY_INT, (char *)"wxEVT_QUERY_LAYOUT_INFO", (long) wxEVT_QUERY_LAYOUT_INFO, 0, 0, 0},
22576{ SWIG_PY_INT, (char *)"wxEVT_CALCULATE_LAYOUT", (long) wxEVT_CALCULATE_LAYOUT, 0, 0, 0},
22577{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_MOVE", (long) wxEVT_TASKBAR_MOVE, 0, 0, 0},
22578{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DOWN", (long) wxEVT_TASKBAR_LEFT_DOWN, 0, 0, 0},
22579{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_UP", (long) wxEVT_TASKBAR_LEFT_UP, 0, 0, 0},
22580{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DOWN", (long) wxEVT_TASKBAR_RIGHT_DOWN, 0, 0, 0},
22581{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_UP", (long) wxEVT_TASKBAR_RIGHT_UP, 0, 0, 0},
22582{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_LEFT_DCLICK", (long) wxEVT_TASKBAR_LEFT_DCLICK, 0, 0, 0},
22583{ SWIG_PY_INT, (char *)"wxEVT_TASKBAR_RIGHT_DCLICK", (long) wxEVT_TASKBAR_RIGHT_DCLICK, 0, 0, 0},
22584{ SWIG_PY_INT, (char *)"CHOICEDLG_STYLE", (long) wxCHOICEDLG_STYLE, 0, 0, 0},
22585{ SWIG_PY_INT, (char *)"FR_DOWN", (long) wxFR_DOWN, 0, 0, 0},
22586{ SWIG_PY_INT, (char *)"FR_WHOLEWORD", (long) wxFR_WHOLEWORD, 0, 0, 0},
22587{ SWIG_PY_INT, (char *)"FR_MATCHCASE", (long) wxFR_MATCHCASE, 0, 0, 0},
22588{ SWIG_PY_INT, (char *)"FR_REPLACEDIALOG", (long) wxFR_REPLACEDIALOG, 0, 0, 0},
22589{ SWIG_PY_INT, (char *)"FR_NOUPDOWN", (long) wxFR_NOUPDOWN, 0, 0, 0},
22590{ SWIG_PY_INT, (char *)"FR_NOMATCHCASE", (long) wxFR_NOMATCHCASE, 0, 0, 0},
22591{ SWIG_PY_INT, (char *)"FR_NOWHOLEWORD", (long) wxFR_NOWHOLEWORD, 0, 0, 0},
22592{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND", (long) wxEVT_COMMAND_FIND, 0, 0, 0},
22593{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_NEXT", (long) wxEVT_COMMAND_FIND_NEXT, 0, 0, 0},
22594{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE", (long) wxEVT_COMMAND_FIND_REPLACE, 0, 0, 0},
22595{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_REPLACE_ALL", (long) wxEVT_COMMAND_FIND_REPLACE_ALL, 0, 0, 0},
22596{ SWIG_PY_INT, (char *)"wxEVT_COMMAND_FIND_CLOSE", (long) wxEVT_COMMAND_FIND_CLOSE, 0, 0, 0},
22597{ SWIG_PY_INT, (char *)"IDM_WINDOWTILE", (long) 4001, 0, 0, 0},
22598{ SWIG_PY_INT, (char *)"IDM_WINDOWTILEHOR", (long) 4001, 0, 0, 0},
22599{ SWIG_PY_INT, (char *)"IDM_WINDOWCASCADE", (long) 4002, 0, 0, 0},
22600{ SWIG_PY_INT, (char *)"IDM_WINDOWICONS", (long) 4003, 0, 0, 0},
22601{ SWIG_PY_INT, (char *)"IDM_WINDOWNEXT", (long) 4004, 0, 0, 0},
22602{ SWIG_PY_INT, (char *)"IDM_WINDOWTILEVERT", (long) 4005, 0, 0, 0},
22603{ SWIG_PY_INT, (char *)"FIRST_MDI_CHILD", (long) 4100, 0, 0, 0},
22604{ SWIG_PY_INT, (char *)"LAST_MDI_CHILD", (long) 4600, 0, 0, 0},
22605{ SWIG_PY_INT, (char *)"PRINT_MODE_NONE", (long) wxPRINT_MODE_NONE, 0, 0, 0},
22606{ SWIG_PY_INT, (char *)"PRINT_MODE_PREVIEW", (long) wxPRINT_MODE_PREVIEW, 0, 0, 0},
22607{ SWIG_PY_INT, (char *)"PRINT_MODE_FILE", (long) wxPRINT_MODE_FILE, 0, 0, 0},
22608{ SWIG_PY_INT, (char *)"PRINT_MODE_PRINTER", (long) wxPRINT_MODE_PRINTER, 0, 0, 0},
22609{ SWIG_PY_INT, (char *)"PRINTER_NO_ERROR", (long) wxPRINTER_NO_ERROR, 0, 0, 0},
22610{ SWIG_PY_INT, (char *)"PRINTER_CANCELLED", (long) wxPRINTER_CANCELLED, 0, 0, 0},
22611{ SWIG_PY_INT, (char *)"PRINTER_ERROR", (long) wxPRINTER_ERROR, 0, 0, 0},
22612{ SWIG_PY_INT, (char *)"PREVIEW_PRINT", (long) wxPREVIEW_PRINT, 0, 0, 0},
22613{ SWIG_PY_INT, (char *)"PREVIEW_PREVIOUS", (long) wxPREVIEW_PREVIOUS, 0, 0, 0},
22614{ SWIG_PY_INT, (char *)"PREVIEW_NEXT", (long) wxPREVIEW_NEXT, 0, 0, 0},
22615{ SWIG_PY_INT, (char *)"PREVIEW_ZOOM", (long) wxPREVIEW_ZOOM, 0, 0, 0},
22616{ SWIG_PY_INT, (char *)"PREVIEW_FIRST", (long) wxPREVIEW_FIRST, 0, 0, 0},
22617{ SWIG_PY_INT, (char *)"PREVIEW_LAST", (long) wxPREVIEW_LAST, 0, 0, 0},
22618{ SWIG_PY_INT, (char *)"PREVIEW_GOTO", (long) wxPREVIEW_GOTO, 0, 0, 0},
22619{ SWIG_PY_INT, (char *)"PREVIEW_DEFAULT", (long) wxPREVIEW_DEFAULT, 0, 0, 0},
22620{ SWIG_PY_INT, (char *)"ID_PREVIEW_CLOSE", (long) wxID_PREVIEW_CLOSE, 0, 0, 0},
22621{ SWIG_PY_INT, (char *)"ID_PREVIEW_NEXT", (long) wxID_PREVIEW_NEXT, 0, 0, 0},
22622{ SWIG_PY_INT, (char *)"ID_PREVIEW_PREVIOUS", (long) wxID_PREVIEW_PREVIOUS, 0, 0, 0},
22623{ SWIG_PY_INT, (char *)"ID_PREVIEW_PRINT", (long) wxID_PREVIEW_PRINT, 0, 0, 0},
22624{ SWIG_PY_INT, (char *)"ID_PREVIEW_ZOOM", (long) wxID_PREVIEW_ZOOM, 0, 0, 0},
22625{ SWIG_PY_INT, (char *)"ID_PREVIEW_FIRST", (long) wxID_PREVIEW_FIRST, 0, 0, 0},
22626{ SWIG_PY_INT, (char *)"ID_PREVIEW_LAST", (long) wxID_PREVIEW_LAST, 0, 0, 0},
22627{ SWIG_PY_INT, (char *)"ID_PREVIEW_GOTO", (long) wxID_PREVIEW_GOTO, 0, 0, 0},
22628{0}};
22629
22630#ifdef __cplusplus
22631}
22632#endif
22633
22634#ifdef __cplusplus
22635extern "C"
22636#endif
22637SWIGEXPORT(void) SWIG_init(void) {
22638 static PyObject *SWIG_globals = 0;
22639 static int typeinit = 0;
22640 PyObject *m, *d;
22641 int i;
22642 if (!SWIG_globals) SWIG_globals = SWIG_newvarlink();
22643 m = Py_InitModule((char *) SWIG_name, SwigMethods);
22644 d = PyModule_GetDict(m);
22645
22646 if (!typeinit) {
22647 for (i = 0; swig_types_initial[i]; i++) {
22648 swig_types[i] = SWIG_TypeRegister(swig_types_initial[i]);
22649 }
22650 typeinit = 1;
22651 }
22652 SWIG_InstallConstants(d,swig_const_table);
22653
cbd72d4f
RD
22654 PyDict_SetItemString(d,(char*)"cvar", SWIG_globals);
22655 SWIG_addvarlink(SWIG_globals,(char*)"FrameNameStr",_wrap_FrameNameStr_get, _wrap_FrameNameStr_set);
22656 SWIG_addvarlink(SWIG_globals,(char*)"DialogNameStr",_wrap_DialogNameStr_get, _wrap_DialogNameStr_set);
22657 SWIG_addvarlink(SWIG_globals,(char*)"StatusLineNameStr",_wrap_StatusLineNameStr_get, _wrap_StatusLineNameStr_set);
22658 SWIG_addvarlink(SWIG_globals,(char*)"ToolBarNameStr",_wrap_ToolBarNameStr_get, _wrap_ToolBarNameStr_set);
22659 SWIG_addvarlink(SWIG_globals,(char*)"SplitterNameStr",_wrap_SplitterNameStr_get, _wrap_SplitterNameStr_set);
d14a1e28
RD
22660 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED));
22661 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING));
22662 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED));
22663 PyDict_SetItemString(d, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT));
cbd72d4f
RD
22664 SWIG_addvarlink(SWIG_globals,(char*)"SashNameStr",_wrap_SashNameStr_get, _wrap_SashNameStr_set);
22665 SWIG_addvarlink(SWIG_globals,(char*)"SashLayoutNameStr",_wrap_SashLayoutNameStr_get, _wrap_SashLayoutNameStr_set);
d14a1e28
RD
22666 PyDict_SetItemString(d, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED));
22667 PyDict_SetItemString(d, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO));
22668 PyDict_SetItemString(d, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT));
cbd72d4f 22669 SWIG_addvarlink(SWIG_globals,(char*)"VListBoxNameStr",_wrap_VListBoxNameStr_get, _wrap_VListBoxNameStr_set);
d14a1e28
RD
22670
22671 // Map renamed classes back to their common name for OOR
22672 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
22673 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
22674 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
22675
22676 PyDict_SetItemString(d, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE));
22677 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN));
22678 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP));
22679 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN));
22680 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP));
22681 PyDict_SetItemString(d, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK));
22682 PyDict_SetItemString(d, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK));
cbd72d4f
RD
22683 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorPromptStr",_wrap_FileSelectorPromptStr_get, _wrap_FileSelectorPromptStr_set);
22684 SWIG_addvarlink(SWIG_globals,(char*)"DirSelectorPromptStr",_wrap_DirSelectorPromptStr_get, _wrap_DirSelectorPromptStr_set);
22685 SWIG_addvarlink(SWIG_globals,(char*)"DirDialogNameStr",_wrap_DirDialogNameStr_get, _wrap_DirDialogNameStr_set);
22686 SWIG_addvarlink(SWIG_globals,(char*)"FileSelectorDefaultWildcardStr",_wrap_FileSelectorDefaultWildcardStr_get, _wrap_FileSelectorDefaultWildcardStr_set);
22687 SWIG_addvarlink(SWIG_globals,(char*)"GetTextFromUserPromptStr",_wrap_GetTextFromUserPromptStr_get, _wrap_GetTextFromUserPromptStr_set);
22688 SWIG_addvarlink(SWIG_globals,(char*)"MessageBoxCaptionStr",_wrap_MessageBoxCaptionStr_get, _wrap_MessageBoxCaptionStr_set);
d14a1e28
RD
22689 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND));
22690 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT));
22691 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE));
22692 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL));
22693 PyDict_SetItemString(d, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE));
cbd72d4f
RD
22694 SWIG_addvarlink(SWIG_globals,(char*)"PrintoutTitleStr",_wrap_PrintoutTitleStr_get, _wrap_PrintoutTitleStr_set);
22695 SWIG_addvarlink(SWIG_globals,(char*)"PreviewCanvasNameStr",_wrap_PreviewCanvasNameStr_get, _wrap_PreviewCanvasNameStr_set);
d14a1e28
RD
22696
22697 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");
22698
22699}
22700